Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
200
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
iNKiES
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: Copyright iNKiES pragma solidity ^0.8.0; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./ERC721Burnable.sol"; import "./ERC721Pausable.sol"; import "./ERC721URIStorage.sol"; import "./AccessControlEnumerable.sol"; import "./Context.sol"; import "./Strings.sol"; import "./Counters.sol"; interface INFTContract { function getMaxSupply() external view returns (uint max); function getMinted() external view returns (uint minted); function getMintPrice() external view returns (uint mintPrice); function recoverETH () external; function setMaxPerWallet(uint amount) external ; function mintMany(uint256 quantity) external payable; function setMintingEnabled(bool Allowed) external; } /** * @dev {ERC721} token, including: * * - ability for holders to burn (destroy) their tokens * - a minter role that allows for token minting (creation) * - token ID and URI autogenerationA * * This contract uses {AccessControl} to lock permissioned functions using the * different roles - head to its documentation for details. * * The account that deploys the contract will be granted the minter and pauser * roles, as well as the default admin role, which will let it grant both minter * and pauser roles to other accounts. */ contract iNKiES is Context, AccessControlEnumerable, ERC721Enumerable, ERC721URIStorage, INFTContract { using Counters for Counters.Counter; Counters.Counter public _tokenIdTracker; string private _baseTokenURI = "https://ipfs.filebase.io/ipfs/QmPFX7EXLf5pRGbcyvjkx7RzCnUiDbycAcaa62erv4CKYH/"; string public _contractMeta; uint private _tokenPrice = 100000000000000000; // 0.1 ETH uint public maxSupply = 1111; uint public maxPerWallet = 10; address private _admin = 0x5a08A4695128e9e8B77c75D03475268C26779F7F; bool public canMint = false; address public marketingWallet = 0x5a08A4695128e9e8B77c75D03475268C26779F7F; mapping (uint256 => address ) public creator; constructor() ERC721("iNKiES", "iNKiES") { _setupRole(DEFAULT_ADMIN_ROLE, _admin); } receive () external payable { payable(marketingWallet).transfer(msg.value); } function setMarketingWallet(address _marketingWallet) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to make this change"); marketingWallet = _marketingWallet; } function contractURI() public view returns (string memory) { return _contractMeta; } function SetcontractURI(string calldata URI) external { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: only the admin role can do this"); _contractMeta = URI; } function SetMintPrice(uint256 _mintPrice) external { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: only the admin role can do this"); _tokenPrice = _mintPrice; } function getMinted() external view override returns (uint minted){ return _tokenIdTracker.current()-1; } function getMaxSupply() external view override returns (uint max){ return maxSupply; } function getMintPrice() external view override returns (uint mintPrice){ return _tokenPrice; } function setAdditionalAdmin(address newAdmin) external { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to add admins"); _setupRole(DEFAULT_ADMIN_ROLE, newAdmin); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) external { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to change base URI"); _baseTokenURI = baseURI; } function setTokenURI(uint256 tokenId, string memory _tokenURI) external { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to change token URI"); _setTokenURI(tokenId, _tokenURI); } function setMintingEnabled(bool Allowed) external override { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to change minting ability"); canMint = Allowed; } function setMaxPerWallet(uint amount) external override { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to change max per wallet limit"); maxPerWallet = amount; } function mint() external payable { require(canMint, "iNKiES: minting currently disabled"); require(msg.value >= (_tokenPrice), "iNKiES: must send correct price"); require(balanceOf(msg.sender)+1 <= maxPerWallet, "iNKiES: max allowed limit reached."); require((_tokenIdTracker.current()) <= maxSupply, "iNKiES: all NFTs have been minted"); _mint(msg.sender, _tokenIdTracker.current()); creator[_tokenIdTracker.current()] = msg.sender; _setTokenURI(_tokenIdTracker.current(), string(abi.encodePacked(Strings.toString(_tokenIdTracker.current()), ".json"))); _tokenIdTracker.increment(); splitBalance(1); } function mintMany(uint256 quantity) external payable override { require(canMint, "iNKiES: minting currently disabled"); require(msg.value >= (quantity * _tokenPrice), "iNKiES: must send correct price"); require((_tokenIdTracker.current() + quantity) <= maxSupply, "iNKiES: all NFTs have been minted"); require(balanceOf(msg.sender)+quantity <= maxPerWallet, "iNKiES: max allowed limit reached."); for(uint i = 0; i < quantity; i++){ _mint(msg.sender, _tokenIdTracker.current()); creator[_tokenIdTracker.current()] = msg.sender; _setTokenURI(_tokenIdTracker.current(), string(abi.encodePacked(Strings.toString(_tokenIdTracker.current()), ".json"))); _tokenIdTracker.increment(); } splitBalance(quantity); } function mintMultiples(address[] calldata recipients)public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to initial mint"); for (uint256 i = 0; i < recipients.length; i++){ _mint(recipients[i], _tokenIdTracker.current()); creator[_tokenIdTracker.current()] = recipients[i]; _setTokenURI(_tokenIdTracker.current(), string(abi.encodePacked(Strings.toString(_tokenIdTracker.current()), ".json"))); _tokenIdTracker.increment(); } } function NftCreator(uint256 tokenId) public view returns(address){ return creator[tokenId]; } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { return ERC721URIStorage._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return ERC721URIStorage.tokenURI(tokenId); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function recoverETH () external override { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "iNKiES: must have admin role to claim the balance"); // make sure we capture all ETH that may or may not be sent to this contract payable(_admin).transfer(address(this).balance); } function splitBalance(uint256 amount) private { uint totalETH = amount * _tokenPrice; // get the total token price to sell for reflection purchases payable(marketingWallet).transfer(totalETH); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Context.sol"; import "./ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping (address => bool) members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AccessControl.sol"; import "./EnumerableSet.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable { function getRoleMember(bytes32 role, uint256 index) external view returns (address); function getRoleMemberCount(bytes32 role) external view returns (uint256); } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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+1; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
// SPDX-License-Identifier: MIT 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. * * ``` * 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. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.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 name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Pausable.sol"; /** * @dev ERC721 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. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; /** * @dev ERC721 token with storage based token uri management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./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); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @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); }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT 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 `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NftCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"SetMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"SetcontractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_contractMeta","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIdTracker","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"mintPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinted","outputs":[{"internalType":"uint256","name":"minted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintMany","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"mintMultiples","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdditionalAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"Allowed","type":"bool"}],"name":"setMintingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610100604052604d6080818152906200371b60a039600e90620000239082620002e6565b5067016345785d8a0000601055610457601155600a601255601380546001600160a81b031916735a08a4695128e9e8b77c75d03475268c26779f7f908117909155601480546001600160a01b03191690911790553480156200008457600080fd5b50604080518082018252600680825265694e4b69455360d01b6020808401829052845180860190955291845290830152906002620000c38382620002e6565b506003620000d28282620002e6565b5050601354620000ef91506000906001600160a01b0316620000f5565b620003b2565b62000101828262000120565b60008281526001602052604090206200011b908262000130565b505050565b6200012c828262000150565b5050565b600062000147836001600160a01b038416620001f0565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200012c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001ac3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205462000239575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200014a565b5060006200014a565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026d57607f821691505b6020821081036200028e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200011b57600081815260208120601f850160051c81016020861015620002bd5750805b601f850160051c820191505b81811015620002de57828155600101620002c9565b505050505050565b81516001600160401b0381111562000302576200030262000242565b6200031a8162000313845462000258565b8462000294565b602080601f831160018114620003525760008415620003395750858301515b600019600386901b1c1916600185901b178555620002de565b600085815260208120601f198616915b82811015620003835788860151825594840194600190910190840162000362565b5085821015620003a25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61335980620003c26000396000f3fe6080604052600436106102975760003560e01c80635d098b381161015a578063a7f93ebd116100c1578063ca15c8731161007a578063ca15c87314610802578063d547741f14610822578063d5abeb0114610842578063e268e4d314610858578063e8a3d48514610878578063e985e9c51461088d57600080fd5b8063a7f93ebd14610741578063ac72200d14610756578063b75308191461076b578063b88d4fde146107a1578063beb9716d146107c1578063c87b56dd146107e257600080fd5b806391d148541161011357806391d14854146106a0578063926f353b146106c057806395d89b41146106e057806398bcede9146106f5578063a217fddf1461070c578063a22cb4651461072157600080fd5b80635d098b38146105e05780636352211e14610600578063653088cf1461062057806370a082311461064057806375f0a874146106605780639010d07c1461068057600080fd5b8063248a9ca3116101fe578063453c2310116101b7578063453c23101461051f5780634c0f38c2146105355780634ea3871a1461054a5780634f6ccce71461056a578063510b51581461058a57806355f804b3146105c057600080fd5b8063248a9ca31461045a5780632f2ff15d1461048a5780632f745c59146104aa57806336568abe146104ca57806342842e0e146104ea57806343e61a411461050a57600080fd5b8063095ea7b311610250578063095ea7b3146103b35780631249c58b146103d3578063162094c4146103db57806318160ddd146103fb5780631e1a1e761461041a57806323b872dd1461043a57600080fd5b806301ffc9a7146102dc57806302ebcb7914610311578063059513a6146103315780630614117a1461034457806306fdde0314610359578063081812fc1461037b57600080fd5b366102d7576014546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156102d5573d6000803e3d6000fd5b005b600080fd5b3480156102e857600080fd5b506102fc6102f7366004612947565b6108d6565b60405190151581526020015b60405180910390f35b34801561031d57600080fd5b506102d561032c366004612964565b6108e7565b6102d561033f366004612964565b61091c565b34801561035057600080fd5b506102d5610adb565b34801561036557600080fd5b5061036e610b73565b60405161030891906129cd565b34801561038757600080fd5b5061039b610396366004612964565b610c05565b6040516001600160a01b039091168152602001610308565b3480156103bf57600080fd5b506102d56103ce3660046129fc565b610c8d565b6102d5610da2565b3480156103e757600080fd5b506102d56103f6366004612ad2565b610ef3565b34801561040757600080fd5b50600a545b604051908152602001610308565b34801561042657600080fd5b506102d5610435366004612b19565b610f5f565b34801561044657600080fd5b506102d5610455366004612b8e565b61108c565b34801561046657600080fd5b5061040c610475366004612964565b60009081526020819052604090206001015490565b34801561049657600080fd5b506102d56104a5366004612bca565b6110bd565b3480156104b657600080fd5b5061040c6104c53660046129fc565b6110df565b3480156104d657600080fd5b506102d56104e5366004612bca565b611175565b3480156104f657600080fd5b506102d5610505366004612b8e565b611197565b34801561051657600080fd5b5061036e6111b2565b34801561052b57600080fd5b5061040c60125481565b34801561054157600080fd5b5060115461040c565b34801561055657600080fd5b506102d5610565366004612c06565b611240565b34801561057657600080fd5b5061040c610585366004612964565b6112c2565b34801561059657600080fd5b5061039b6105a5366004612964565b6015602052600090815260409020546001600160a01b031681565b3480156105cc57600080fd5b506102d56105db366004612c21565b611355565b3480156105ec57600080fd5b506102d56105fb366004612c56565b6113be565b34801561060c57600080fd5b5061039b61061b366004612964565b61143e565b34801561062c57600080fd5b506102d561063b366004612c71565b6114b5565b34801561064c57600080fd5b5061040c61065b366004612c56565b6114e9565b34801561066c57600080fd5b5060145461039b906001600160a01b031681565b34801561068c57600080fd5b5061039b61069b366004612cd1565b611570565b3480156106ac57600080fd5b506102fc6106bb366004612bca565b61158f565b3480156106cc57600080fd5b506102d56106db366004612c56565b6115b8565b3480156106ec57600080fd5b5061036e61161b565b34801561070157600080fd5b50600d5461040c9081565b34801561071857600080fd5b5061040c600081565b34801561072d57600080fd5b506102d561073c366004612cf3565b61162a565b34801561074d57600080fd5b5060105461040c565b34801561076257600080fd5b5061040c6116ee565b34801561077757600080fd5b5061039b610786366004612964565b6000908152601560205260409020546001600160a01b031690565b3480156107ad57600080fd5b506102d56107bc366004612d1d565b61170b565b3480156107cd57600080fd5b506013546102fc90600160a01b900460ff1681565b3480156107ee57600080fd5b5061036e6107fd366004612964565b611743565b34801561080e57600080fd5b5061040c61081d366004612964565b61174e565b34801561082e57600080fd5b506102d561083d366004612bca565b611765565b34801561084e57600080fd5b5061040c60115481565b34801561086457600080fd5b506102d5610873366004612964565b61176f565b34801561088457600080fd5b5061036e6117df565b34801561089957600080fd5b506102fc6108a8366004612d99565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006108e1826117ee565b92915050565b6108f260003361158f565b6109175760405162461bcd60e51b815260040161090e90612dc3565b60405180910390fd5b601055565b601354600160a01b900460ff166109455760405162461bcd60e51b815260040161090e90612e0a565b6010546109529082612e62565b3410156109a15760405162461bcd60e51b815260206004820152601f60248201527f694e4b6945533a206d7573742073656e6420636f727265637420707269636500604482015260640161090e565b601154816109af600d611813565b6109b99190612e79565b11156109d75760405162461bcd60e51b815260040161090e90612e8c565b601254816109e4336114e9565b6109ee9190612e79565b1115610a0c5760405162461bcd60e51b815260040161090e90612ecd565b60005b81811015610ace57610a2a33610a25600d611813565b611823565b3360156000610a39600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610aae610a78600d611813565b610a8a610a85600d611813565b611962565b604051602001610a9a9190612f0f565b604051602081830303815290604052611a6b565b610abc600d80546001019055565b80610ac681612f38565b915050610a0f565b50610ad881611aef565b50565b610ae660003361158f565b610b3a5760405162461bcd60e51b81526020600482015260316024820152600080516020613304833981519152604482015270636c61696d207468652062616c616e636560781b606482015260840161090e565b6013546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ad8573d6000803e3d6000fd5b606060028054610b8290612f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae90612f51565b8015610bfb5780601f10610bd057610100808354040283529160200191610bfb565b820191906000526020600020905b815481529060010190602001808311610bde57829003601f168201915b5050505050905090565b6000610c1082611b3a565b610c715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090e565b506000908152600660205260409020546001600160a01b031690565b6000610c988261143e565b9050806001600160a01b0316836001600160a01b031603610d055760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161090e565b336001600160a01b0382161480610d215750610d2181336108a8565b610d935760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090e565b610d9d8383611b57565b505050565b601354600160a01b900460ff16610dcb5760405162461bcd60e51b815260040161090e90612e0a565b601054341015610e1d5760405162461bcd60e51b815260206004820152601f60248201527f694e4b6945533a206d7573742073656e6420636f727265637420707269636500604482015260640161090e565b601254610e29336114e9565b610e34906001612e79565b1115610e525760405162461bcd60e51b815260040161090e90612ecd565b601154610e5f600d611813565b1115610e7d5760405162461bcd60e51b815260040161090e90612e8c565b610e8b33610a25600d611813565b3360156000610e9a600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610ed9610a78600d611813565b610ee7600d80546001019055565b610ef16001611aef565b565b610efe60003361158f565b610f515760405162461bcd60e51b8152602060048201526030602482015260008051602061330483398151915260448201526f6368616e676520746f6b656e2055524960801b606482015260840161090e565b610f5b8282611a6b565b5050565b610f6a60003361158f565b610fb95760405162461bcd60e51b815260206004820152602c602482015260008051602061330483398151915260448201526b1a5b9a5d1a585b081b5a5b9d60a21b606482015260840161090e565b60005b81811015610d9d57610ff8838383818110610fd957610fd9612f8b565b9050602002016020810190610fee9190612c56565b610a25600d611813565b82828281811061100a5761100a612f8b565b905060200201602081019061101f9190612c56565b6015600061102d600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061106c610a78600d611813565b61107a600d80546001019055565b8061108481612f38565b915050610fbc565b6110963382611bc5565b6110b25760405162461bcd60e51b815260040161090e90612fa1565b610d9d838383611cab565b6110c78282611e56565b6000828152600160205260409020610d9d9082611ee1565b60006110ea836114e9565b821061114c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090e565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b61117f8282611ef6565b6000828152600160205260409020610d9d9082611f70565b610d9d8383836040518060200160405280600081525061170b565b600f80546111bf90612f51565b80601f01602080910402602001604051908101604052809291908181526020018280546111eb90612f51565b80156112385780601f1061120d57610100808354040283529160200191611238565b820191906000526020600020905b81548152906001019060200180831161121b57829003601f168201915b505050505081565b61124b60003361158f565b6112a45760405162461bcd60e51b815260206004820152603660248201526000805160206133048339815191526044820152756368616e6765206d696e74696e67206162696c69747960501b606482015260840161090e565b60138054911515600160a01b0260ff60a01b19909216919091179055565b60006112cd600a5490565b82106113305760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161090e565b600a828154811061134357611343612f8b565b90600052602060002001549050919050565b61136060003361158f565b6113b25760405162461bcd60e51b815260206004820152602f602482015260008051602061330483398151915260448201526e6368616e676520626173652055524960881b606482015260840161090e565b600e610f5b8282613040565b6113c960003361158f565b61141c5760405162461bcd60e51b8152602060048201526030602482015260008051602061330483398151915260448201526f6d616b652074686973206368616e676560801b606482015260840161090e565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600460205260408120546001600160a01b0316806108e15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161090e565b6114c060003361158f565b6114dc5760405162461bcd60e51b815260040161090e90612dc3565b600f610d9d828483613100565b60006001600160a01b0382166115545760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161090e565b506001600160a01b031660009081526005602052604090205490565b60008281526001602052604081206115889083611f85565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6115c360003361158f565b6116105760405162461bcd60e51b815260206004820152602a60248201526000805160206133048339815191526044820152696164642061646d696e7360b01b606482015260840161090e565b610ad8600082611f91565b606060038054610b8290612f51565b336001600160a01b038316036116825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600060016116fc600d611813565b61170691906131c1565b905090565b6117153383611bc5565b6117315760405162461bcd60e51b815260040161090e90612fa1565b61173d84848484611f9b565b50505050565b60606108e182611fce565b60008181526001602052604081206108e19061212f565b61117f8282612139565b61177a60003361158f565b6117da5760405162461bcd60e51b815260206004820152603b602482015260008051602061330483398151915260448201527f6368616e6765206d6178207065722077616c6c6574206c696d69740000000000606482015260840161090e565b601255565b6060600f8054610b8290612f51565b60006001600160e01b0319821663780e9d6360e01b14806108e157506108e1826121b9565b80546000906108e1906001612e79565b6001600160a01b0382166118795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161090e565b61188281611b3a565b156118cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161090e565b6118db600083836121f9565b6001600160a01b0382166000908152600560205260408120805460019290611904908490612e79565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816000036119895750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b3578061199d81612f38565b91506119ac9050600a836131ea565b915061198d565b60008167ffffffffffffffff8111156119ce576119ce612a26565b6040519080825280601f01601f1916602001820160405280156119f8576020820181803683370190505b5090505b8415611a6357611a0d6001836131c1565b9150611a1a600a866131fe565b611a25906030612e79565b60f81b818381518110611a3a57611a3a612f8b565b60200101906001600160f81b031916908160001a905350611a5c600a866131ea565b94506119fc565b949350505050565b611a7482611b3a565b611ad75760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161090e565b6000828152600c60205260409020610d9d8282613040565b600060105482611aff9190612e62565b6014546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610d9d573d6000803e3d6000fd5b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8c8261143e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd082611b3a565b611c315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090e565b6000611c3c8361143e565b9050806001600160a01b0316846001600160a01b03161480611c775750836001600160a01b0316611c6c84610c05565b6001600160a01b0316145b80611a6357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16611a63565b826001600160a01b0316611cbe8261143e565b6001600160a01b031614611d265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161090e565b6001600160a01b038216611d885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161090e565b611d938383836121f9565b611d9e600082611b57565b6001600160a01b0383166000908152600560205260408120805460019290611dc79084906131c1565b90915550506001600160a01b0382166000908152600560205260408120805460019290611df5908490612e79565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082815260208190526040902060010154611e73905b3361158f565b611ed75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161090e565b610f5b8282612204565b6000611588836001600160a01b038416612288565b6001600160a01b0381163314611f665760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161090e565b610f5b82826122d7565b6000611588836001600160a01b03841661233c565b6000611588838361242f565b6110c78282611ed7565b611fa6848484611cab565b611fb2848484846124b5565b61173d5760405162461bcd60e51b815260040161090e90613212565b6060611fd982611b3a565b61203f5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161090e565b6000828152600c60205260408120805461205890612f51565b80601f016020809104026020016040519081016040528092919081815260200182805461208490612f51565b80156120d15780601f106120a6576101008083540402835291602001916120d1565b820191906000526020600020905b8154815290600101906020018083116120b457829003601f168201915b5050505050905060006120e26125b6565b905080516000036120f4575092915050565b81511561212657808260405160200161210e929190613264565b60405160208183030381529060405292505050919050565b611a63846125c5565b60006108e1825490565b60008281526020819052604090206001015461215490611e6d565b611f665760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161090e565b60006001600160e01b031982166380ac58cd60e01b14806121ea57506001600160e01b03198216635b5e139f60e01b145b806108e157506108e18261268f565b610d9d8383836126b4565b61220e828261158f565b610f5b576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556122443390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546122cf575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e1565b5060006108e1565b6122e1828261158f565b15610f5b576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156124255760006123606001836131c1565b8554909150600090612374906001906131c1565b9050600086600001828154811061238d5761238d612f8b565b90600052602060002001549050808760000184815481106123b0576123b0612f8b565b6000918252602090912001556123c7836001612e79565b600082815260018901602052604090205586548790806123e9576123e9613293565b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506108e1565b60009150506108e1565b8154600090821061248d5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161090e565b8260000182815481106124a2576124a2612f8b565b9060005260206000200154905092915050565b60006001600160a01b0384163b156125ab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124f99033908990889088906004016132a9565b6020604051808303816000875af1925050508015612534575060408051601f3d908101601f19168201909252612531918101906132e6565b60015b612591573d808015612562576040519150601f19603f3d011682016040523d82523d6000602084013e612567565b606091505b5080516000036125895760405162461bcd60e51b815260040161090e90613212565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a63565b506001949350505050565b6060600e8054610b8290612f51565b60606125d082611b3a565b6126345760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161090e565b600061263e6125b6565b9050600081511161265e5760405180602001604052806000815250611588565b8061266884611962565b604051602001612679929190613264565b6040516020818303038152906040529392505050565b60006001600160e01b03198216635a05180f60e01b14806108e157506108e18261276c565b6001600160a01b03831661270f5761270a81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612732565b816001600160a01b0316836001600160a01b0316146127325761273283826127a1565b6001600160a01b03821661274957610d9d8161283e565b826001600160a01b0316826001600160a01b031614610d9d57610d9d82826128ed565b60006001600160e01b03198216637965db0b60e01b14806108e157506301ffc9a760e01b6001600160e01b03198316146108e1565b600060016127ae846114e9565b6127b891906131c1565b60008381526009602052604090205490915080821461280b576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612850906001906131c1565b6000838152600b6020526040812054600a805493945090928490811061287857612878612f8b565b9060005260206000200154905080600a838154811061289957612899612f8b565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806128d1576128d1613293565b6001900381819060005260206000200160009055905550505050565b60006128f8836114e9565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160e01b031981168114610ad857600080fd5b60006020828403121561295957600080fd5b813561158881612931565b60006020828403121561297657600080fd5b5035919050565b60005b83811015612998578181015183820152602001612980565b50506000910152565b600081518084526129b981602086016020860161297d565b601f01601f19169290920160200192915050565b60208152600061158860208301846129a1565b80356001600160a01b03811681146129f757600080fd5b919050565b60008060408385031215612a0f57600080fd5b612a18836129e0565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a5757612a57612a26565b604051601f8501601f19908116603f01168101908282118183101715612a7f57612a7f612a26565b81604052809350858152868686011115612a9857600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612ac357600080fd5b61158883833560208501612a3c565b60008060408385031215612ae557600080fd5b82359150602083013567ffffffffffffffff811115612b0357600080fd5b612b0f85828601612ab2565b9150509250929050565b60008060208385031215612b2c57600080fd5b823567ffffffffffffffff80821115612b4457600080fd5b818501915085601f830112612b5857600080fd5b813581811115612b6757600080fd5b8660208260051b8501011115612b7c57600080fd5b60209290920196919550909350505050565b600080600060608486031215612ba357600080fd5b612bac846129e0565b9250612bba602085016129e0565b9150604084013590509250925092565b60008060408385031215612bdd57600080fd5b82359150612bed602084016129e0565b90509250929050565b803580151581146129f757600080fd5b600060208284031215612c1857600080fd5b61158882612bf6565b600060208284031215612c3357600080fd5b813567ffffffffffffffff811115612c4a57600080fd5b611a6384828501612ab2565b600060208284031215612c6857600080fd5b611588826129e0565b60008060208385031215612c8457600080fd5b823567ffffffffffffffff80821115612c9c57600080fd5b818501915085601f830112612cb057600080fd5b813581811115612cbf57600080fd5b866020828501011115612b7c57600080fd5b60008060408385031215612ce457600080fd5b50508035926020909101359150565b60008060408385031215612d0657600080fd5b612d0f836129e0565b9150612bed60208401612bf6565b60008060008060808587031215612d3357600080fd5b612d3c856129e0565b9350612d4a602086016129e0565b925060408501359150606085013567ffffffffffffffff811115612d6d57600080fd5b8501601f81018713612d7e57600080fd5b612d8d87823560208401612a3c565b91505092959194509250565b60008060408385031215612dac57600080fd5b612db5836129e0565b9150612bed602084016129e0565b60208082526027908201527f694e4b6945533a206f6e6c79207468652061646d696e20726f6c652063616e20604082015266646f207468697360c81b606082015260800190565b60208082526022908201527f694e4b6945533a206d696e74696e672063757272656e746c792064697361626c604082015261195960f21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108e1576108e1612e4c565b808201808211156108e1576108e1612e4c565b60208082526021908201527f694e4b6945533a20616c6c204e4654732068617665206265656e206d696e74656040820152601960fa1b606082015260800190565b60208082526022908201527f694e4b6945533a206d617820616c6c6f776564206c696d697420726561636865604082015261321760f11b606082015260800190565b60008251612f2181846020870161297d565b64173539b7b760d91b920191825250600501919050565b600060018201612f4a57612f4a612e4c565b5060010190565b600181811c90821680612f6557607f821691505b602082108103612f8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b601f821115610d9d57600081815260208120601f850160051c810160208610156130195750805b601f850160051c820191505b8181101561303857828155600101613025565b505050505050565b815167ffffffffffffffff81111561305a5761305a612a26565b61306e816130688454612f51565b84612ff2565b602080601f8311600181146130a3576000841561308b5750858301515b600019600386901b1c1916600185901b178555613038565b600085815260208120601f198616915b828110156130d2578886015182559484019460019091019084016130b3565b50858210156130f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff83111561311857613118612a26565b61312c836131268354612f51565b83612ff2565b6000601f84116001811461316057600085156131485750838201355b600019600387901b1c1916600186901b1783556131ba565b600083815260209020601f19861690835b828110156131915786850135825560209485019460019092019101613171565b50868210156131ae5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b818103818111156108e1576108e1612e4c565b634e487b7160e01b600052601260045260246000fd5b6000826131f9576131f96131d4565b500490565b60008261320d5761320d6131d4565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000835161327681846020880161297d565b83519083019061328a81836020880161297d565b01949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906132dc908301846129a1565b9695505050505050565b6000602082840312156132f857600080fd5b81516115888161293156fe694e4b6945533a206d75737420686176652061646d696e20726f6c6520746f20a264697066735822122000c5e91a9ffdb21b57a01575ba8079bedf30103681a8b3f4786bdc6eb35892c564736f6c6343000813003368747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d5046583745584c6635705247626379766a6b7837527a436e55694462796341636161363265727634434b59482f
Deployed Bytecode
0x6080604052600436106102975760003560e01c80635d098b381161015a578063a7f93ebd116100c1578063ca15c8731161007a578063ca15c87314610802578063d547741f14610822578063d5abeb0114610842578063e268e4d314610858578063e8a3d48514610878578063e985e9c51461088d57600080fd5b8063a7f93ebd14610741578063ac72200d14610756578063b75308191461076b578063b88d4fde146107a1578063beb9716d146107c1578063c87b56dd146107e257600080fd5b806391d148541161011357806391d14854146106a0578063926f353b146106c057806395d89b41146106e057806398bcede9146106f5578063a217fddf1461070c578063a22cb4651461072157600080fd5b80635d098b38146105e05780636352211e14610600578063653088cf1461062057806370a082311461064057806375f0a874146106605780639010d07c1461068057600080fd5b8063248a9ca3116101fe578063453c2310116101b7578063453c23101461051f5780634c0f38c2146105355780634ea3871a1461054a5780634f6ccce71461056a578063510b51581461058a57806355f804b3146105c057600080fd5b8063248a9ca31461045a5780632f2ff15d1461048a5780632f745c59146104aa57806336568abe146104ca57806342842e0e146104ea57806343e61a411461050a57600080fd5b8063095ea7b311610250578063095ea7b3146103b35780631249c58b146103d3578063162094c4146103db57806318160ddd146103fb5780631e1a1e761461041a57806323b872dd1461043a57600080fd5b806301ffc9a7146102dc57806302ebcb7914610311578063059513a6146103315780630614117a1461034457806306fdde0314610359578063081812fc1461037b57600080fd5b366102d7576014546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156102d5573d6000803e3d6000fd5b005b600080fd5b3480156102e857600080fd5b506102fc6102f7366004612947565b6108d6565b60405190151581526020015b60405180910390f35b34801561031d57600080fd5b506102d561032c366004612964565b6108e7565b6102d561033f366004612964565b61091c565b34801561035057600080fd5b506102d5610adb565b34801561036557600080fd5b5061036e610b73565b60405161030891906129cd565b34801561038757600080fd5b5061039b610396366004612964565b610c05565b6040516001600160a01b039091168152602001610308565b3480156103bf57600080fd5b506102d56103ce3660046129fc565b610c8d565b6102d5610da2565b3480156103e757600080fd5b506102d56103f6366004612ad2565b610ef3565b34801561040757600080fd5b50600a545b604051908152602001610308565b34801561042657600080fd5b506102d5610435366004612b19565b610f5f565b34801561044657600080fd5b506102d5610455366004612b8e565b61108c565b34801561046657600080fd5b5061040c610475366004612964565b60009081526020819052604090206001015490565b34801561049657600080fd5b506102d56104a5366004612bca565b6110bd565b3480156104b657600080fd5b5061040c6104c53660046129fc565b6110df565b3480156104d657600080fd5b506102d56104e5366004612bca565b611175565b3480156104f657600080fd5b506102d5610505366004612b8e565b611197565b34801561051657600080fd5b5061036e6111b2565b34801561052b57600080fd5b5061040c60125481565b34801561054157600080fd5b5060115461040c565b34801561055657600080fd5b506102d5610565366004612c06565b611240565b34801561057657600080fd5b5061040c610585366004612964565b6112c2565b34801561059657600080fd5b5061039b6105a5366004612964565b6015602052600090815260409020546001600160a01b031681565b3480156105cc57600080fd5b506102d56105db366004612c21565b611355565b3480156105ec57600080fd5b506102d56105fb366004612c56565b6113be565b34801561060c57600080fd5b5061039b61061b366004612964565b61143e565b34801561062c57600080fd5b506102d561063b366004612c71565b6114b5565b34801561064c57600080fd5b5061040c61065b366004612c56565b6114e9565b34801561066c57600080fd5b5060145461039b906001600160a01b031681565b34801561068c57600080fd5b5061039b61069b366004612cd1565b611570565b3480156106ac57600080fd5b506102fc6106bb366004612bca565b61158f565b3480156106cc57600080fd5b506102d56106db366004612c56565b6115b8565b3480156106ec57600080fd5b5061036e61161b565b34801561070157600080fd5b50600d5461040c9081565b34801561071857600080fd5b5061040c600081565b34801561072d57600080fd5b506102d561073c366004612cf3565b61162a565b34801561074d57600080fd5b5060105461040c565b34801561076257600080fd5b5061040c6116ee565b34801561077757600080fd5b5061039b610786366004612964565b6000908152601560205260409020546001600160a01b031690565b3480156107ad57600080fd5b506102d56107bc366004612d1d565b61170b565b3480156107cd57600080fd5b506013546102fc90600160a01b900460ff1681565b3480156107ee57600080fd5b5061036e6107fd366004612964565b611743565b34801561080e57600080fd5b5061040c61081d366004612964565b61174e565b34801561082e57600080fd5b506102d561083d366004612bca565b611765565b34801561084e57600080fd5b5061040c60115481565b34801561086457600080fd5b506102d5610873366004612964565b61176f565b34801561088457600080fd5b5061036e6117df565b34801561089957600080fd5b506102fc6108a8366004612d99565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006108e1826117ee565b92915050565b6108f260003361158f565b6109175760405162461bcd60e51b815260040161090e90612dc3565b60405180910390fd5b601055565b601354600160a01b900460ff166109455760405162461bcd60e51b815260040161090e90612e0a565b6010546109529082612e62565b3410156109a15760405162461bcd60e51b815260206004820152601f60248201527f694e4b6945533a206d7573742073656e6420636f727265637420707269636500604482015260640161090e565b601154816109af600d611813565b6109b99190612e79565b11156109d75760405162461bcd60e51b815260040161090e90612e8c565b601254816109e4336114e9565b6109ee9190612e79565b1115610a0c5760405162461bcd60e51b815260040161090e90612ecd565b60005b81811015610ace57610a2a33610a25600d611813565b611823565b3360156000610a39600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610aae610a78600d611813565b610a8a610a85600d611813565b611962565b604051602001610a9a9190612f0f565b604051602081830303815290604052611a6b565b610abc600d80546001019055565b80610ac681612f38565b915050610a0f565b50610ad881611aef565b50565b610ae660003361158f565b610b3a5760405162461bcd60e51b81526020600482015260316024820152600080516020613304833981519152604482015270636c61696d207468652062616c616e636560781b606482015260840161090e565b6013546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ad8573d6000803e3d6000fd5b606060028054610b8290612f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae90612f51565b8015610bfb5780601f10610bd057610100808354040283529160200191610bfb565b820191906000526020600020905b815481529060010190602001808311610bde57829003601f168201915b5050505050905090565b6000610c1082611b3a565b610c715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090e565b506000908152600660205260409020546001600160a01b031690565b6000610c988261143e565b9050806001600160a01b0316836001600160a01b031603610d055760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161090e565b336001600160a01b0382161480610d215750610d2181336108a8565b610d935760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090e565b610d9d8383611b57565b505050565b601354600160a01b900460ff16610dcb5760405162461bcd60e51b815260040161090e90612e0a565b601054341015610e1d5760405162461bcd60e51b815260206004820152601f60248201527f694e4b6945533a206d7573742073656e6420636f727265637420707269636500604482015260640161090e565b601254610e29336114e9565b610e34906001612e79565b1115610e525760405162461bcd60e51b815260040161090e90612ecd565b601154610e5f600d611813565b1115610e7d5760405162461bcd60e51b815260040161090e90612e8c565b610e8b33610a25600d611813565b3360156000610e9a600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610ed9610a78600d611813565b610ee7600d80546001019055565b610ef16001611aef565b565b610efe60003361158f565b610f515760405162461bcd60e51b8152602060048201526030602482015260008051602061330483398151915260448201526f6368616e676520746f6b656e2055524960801b606482015260840161090e565b610f5b8282611a6b565b5050565b610f6a60003361158f565b610fb95760405162461bcd60e51b815260206004820152602c602482015260008051602061330483398151915260448201526b1a5b9a5d1a585b081b5a5b9d60a21b606482015260840161090e565b60005b81811015610d9d57610ff8838383818110610fd957610fd9612f8b565b9050602002016020810190610fee9190612c56565b610a25600d611813565b82828281811061100a5761100a612f8b565b905060200201602081019061101f9190612c56565b6015600061102d600d611813565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061106c610a78600d611813565b61107a600d80546001019055565b8061108481612f38565b915050610fbc565b6110963382611bc5565b6110b25760405162461bcd60e51b815260040161090e90612fa1565b610d9d838383611cab565b6110c78282611e56565b6000828152600160205260409020610d9d9082611ee1565b60006110ea836114e9565b821061114c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090e565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b61117f8282611ef6565b6000828152600160205260409020610d9d9082611f70565b610d9d8383836040518060200160405280600081525061170b565b600f80546111bf90612f51565b80601f01602080910402602001604051908101604052809291908181526020018280546111eb90612f51565b80156112385780601f1061120d57610100808354040283529160200191611238565b820191906000526020600020905b81548152906001019060200180831161121b57829003601f168201915b505050505081565b61124b60003361158f565b6112a45760405162461bcd60e51b815260206004820152603660248201526000805160206133048339815191526044820152756368616e6765206d696e74696e67206162696c69747960501b606482015260840161090e565b60138054911515600160a01b0260ff60a01b19909216919091179055565b60006112cd600a5490565b82106113305760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161090e565b600a828154811061134357611343612f8b565b90600052602060002001549050919050565b61136060003361158f565b6113b25760405162461bcd60e51b815260206004820152602f602482015260008051602061330483398151915260448201526e6368616e676520626173652055524960881b606482015260840161090e565b600e610f5b8282613040565b6113c960003361158f565b61141c5760405162461bcd60e51b8152602060048201526030602482015260008051602061330483398151915260448201526f6d616b652074686973206368616e676560801b606482015260840161090e565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600460205260408120546001600160a01b0316806108e15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161090e565b6114c060003361158f565b6114dc5760405162461bcd60e51b815260040161090e90612dc3565b600f610d9d828483613100565b60006001600160a01b0382166115545760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161090e565b506001600160a01b031660009081526005602052604090205490565b60008281526001602052604081206115889083611f85565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6115c360003361158f565b6116105760405162461bcd60e51b815260206004820152602a60248201526000805160206133048339815191526044820152696164642061646d696e7360b01b606482015260840161090e565b610ad8600082611f91565b606060038054610b8290612f51565b336001600160a01b038316036116825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600060016116fc600d611813565b61170691906131c1565b905090565b6117153383611bc5565b6117315760405162461bcd60e51b815260040161090e90612fa1565b61173d84848484611f9b565b50505050565b60606108e182611fce565b60008181526001602052604081206108e19061212f565b61117f8282612139565b61177a60003361158f565b6117da5760405162461bcd60e51b815260206004820152603b602482015260008051602061330483398151915260448201527f6368616e6765206d6178207065722077616c6c6574206c696d69740000000000606482015260840161090e565b601255565b6060600f8054610b8290612f51565b60006001600160e01b0319821663780e9d6360e01b14806108e157506108e1826121b9565b80546000906108e1906001612e79565b6001600160a01b0382166118795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161090e565b61188281611b3a565b156118cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161090e565b6118db600083836121f9565b6001600160a01b0382166000908152600560205260408120805460019290611904908490612e79565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816000036119895750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b3578061199d81612f38565b91506119ac9050600a836131ea565b915061198d565b60008167ffffffffffffffff8111156119ce576119ce612a26565b6040519080825280601f01601f1916602001820160405280156119f8576020820181803683370190505b5090505b8415611a6357611a0d6001836131c1565b9150611a1a600a866131fe565b611a25906030612e79565b60f81b818381518110611a3a57611a3a612f8b565b60200101906001600160f81b031916908160001a905350611a5c600a866131ea565b94506119fc565b949350505050565b611a7482611b3a565b611ad75760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161090e565b6000828152600c60205260409020610d9d8282613040565b600060105482611aff9190612e62565b6014546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610d9d573d6000803e3d6000fd5b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8c8261143e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd082611b3a565b611c315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090e565b6000611c3c8361143e565b9050806001600160a01b0316846001600160a01b03161480611c775750836001600160a01b0316611c6c84610c05565b6001600160a01b0316145b80611a6357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16611a63565b826001600160a01b0316611cbe8261143e565b6001600160a01b031614611d265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161090e565b6001600160a01b038216611d885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161090e565b611d938383836121f9565b611d9e600082611b57565b6001600160a01b0383166000908152600560205260408120805460019290611dc79084906131c1565b90915550506001600160a01b0382166000908152600560205260408120805460019290611df5908490612e79565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082815260208190526040902060010154611e73905b3361158f565b611ed75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161090e565b610f5b8282612204565b6000611588836001600160a01b038416612288565b6001600160a01b0381163314611f665760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161090e565b610f5b82826122d7565b6000611588836001600160a01b03841661233c565b6000611588838361242f565b6110c78282611ed7565b611fa6848484611cab565b611fb2848484846124b5565b61173d5760405162461bcd60e51b815260040161090e90613212565b6060611fd982611b3a565b61203f5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161090e565b6000828152600c60205260408120805461205890612f51565b80601f016020809104026020016040519081016040528092919081815260200182805461208490612f51565b80156120d15780601f106120a6576101008083540402835291602001916120d1565b820191906000526020600020905b8154815290600101906020018083116120b457829003601f168201915b5050505050905060006120e26125b6565b905080516000036120f4575092915050565b81511561212657808260405160200161210e929190613264565b60405160208183030381529060405292505050919050565b611a63846125c5565b60006108e1825490565b60008281526020819052604090206001015461215490611e6d565b611f665760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161090e565b60006001600160e01b031982166380ac58cd60e01b14806121ea57506001600160e01b03198216635b5e139f60e01b145b806108e157506108e18261268f565b610d9d8383836126b4565b61220e828261158f565b610f5b576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556122443390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546122cf575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e1565b5060006108e1565b6122e1828261158f565b15610f5b576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156124255760006123606001836131c1565b8554909150600090612374906001906131c1565b9050600086600001828154811061238d5761238d612f8b565b90600052602060002001549050808760000184815481106123b0576123b0612f8b565b6000918252602090912001556123c7836001612e79565b600082815260018901602052604090205586548790806123e9576123e9613293565b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506108e1565b60009150506108e1565b8154600090821061248d5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161090e565b8260000182815481106124a2576124a2612f8b565b9060005260206000200154905092915050565b60006001600160a01b0384163b156125ab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124f99033908990889088906004016132a9565b6020604051808303816000875af1925050508015612534575060408051601f3d908101601f19168201909252612531918101906132e6565b60015b612591573d808015612562576040519150601f19603f3d011682016040523d82523d6000602084013e612567565b606091505b5080516000036125895760405162461bcd60e51b815260040161090e90613212565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a63565b506001949350505050565b6060600e8054610b8290612f51565b60606125d082611b3a565b6126345760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161090e565b600061263e6125b6565b9050600081511161265e5760405180602001604052806000815250611588565b8061266884611962565b604051602001612679929190613264565b6040516020818303038152906040529392505050565b60006001600160e01b03198216635a05180f60e01b14806108e157506108e18261276c565b6001600160a01b03831661270f5761270a81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612732565b816001600160a01b0316836001600160a01b0316146127325761273283826127a1565b6001600160a01b03821661274957610d9d8161283e565b826001600160a01b0316826001600160a01b031614610d9d57610d9d82826128ed565b60006001600160e01b03198216637965db0b60e01b14806108e157506301ffc9a760e01b6001600160e01b03198316146108e1565b600060016127ae846114e9565b6127b891906131c1565b60008381526009602052604090205490915080821461280b576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612850906001906131c1565b6000838152600b6020526040812054600a805493945090928490811061287857612878612f8b565b9060005260206000200154905080600a838154811061289957612899612f8b565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806128d1576128d1613293565b6001900381819060005260206000200160009055905550505050565b60006128f8836114e9565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160e01b031981168114610ad857600080fd5b60006020828403121561295957600080fd5b813561158881612931565b60006020828403121561297657600080fd5b5035919050565b60005b83811015612998578181015183820152602001612980565b50506000910152565b600081518084526129b981602086016020860161297d565b601f01601f19169290920160200192915050565b60208152600061158860208301846129a1565b80356001600160a01b03811681146129f757600080fd5b919050565b60008060408385031215612a0f57600080fd5b612a18836129e0565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a5757612a57612a26565b604051601f8501601f19908116603f01168101908282118183101715612a7f57612a7f612a26565b81604052809350858152868686011115612a9857600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612ac357600080fd5b61158883833560208501612a3c565b60008060408385031215612ae557600080fd5b82359150602083013567ffffffffffffffff811115612b0357600080fd5b612b0f85828601612ab2565b9150509250929050565b60008060208385031215612b2c57600080fd5b823567ffffffffffffffff80821115612b4457600080fd5b818501915085601f830112612b5857600080fd5b813581811115612b6757600080fd5b8660208260051b8501011115612b7c57600080fd5b60209290920196919550909350505050565b600080600060608486031215612ba357600080fd5b612bac846129e0565b9250612bba602085016129e0565b9150604084013590509250925092565b60008060408385031215612bdd57600080fd5b82359150612bed602084016129e0565b90509250929050565b803580151581146129f757600080fd5b600060208284031215612c1857600080fd5b61158882612bf6565b600060208284031215612c3357600080fd5b813567ffffffffffffffff811115612c4a57600080fd5b611a6384828501612ab2565b600060208284031215612c6857600080fd5b611588826129e0565b60008060208385031215612c8457600080fd5b823567ffffffffffffffff80821115612c9c57600080fd5b818501915085601f830112612cb057600080fd5b813581811115612cbf57600080fd5b866020828501011115612b7c57600080fd5b60008060408385031215612ce457600080fd5b50508035926020909101359150565b60008060408385031215612d0657600080fd5b612d0f836129e0565b9150612bed60208401612bf6565b60008060008060808587031215612d3357600080fd5b612d3c856129e0565b9350612d4a602086016129e0565b925060408501359150606085013567ffffffffffffffff811115612d6d57600080fd5b8501601f81018713612d7e57600080fd5b612d8d87823560208401612a3c565b91505092959194509250565b60008060408385031215612dac57600080fd5b612db5836129e0565b9150612bed602084016129e0565b60208082526027908201527f694e4b6945533a206f6e6c79207468652061646d696e20726f6c652063616e20604082015266646f207468697360c81b606082015260800190565b60208082526022908201527f694e4b6945533a206d696e74696e672063757272656e746c792064697361626c604082015261195960f21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108e1576108e1612e4c565b808201808211156108e1576108e1612e4c565b60208082526021908201527f694e4b6945533a20616c6c204e4654732068617665206265656e206d696e74656040820152601960fa1b606082015260800190565b60208082526022908201527f694e4b6945533a206d617820616c6c6f776564206c696d697420726561636865604082015261321760f11b606082015260800190565b60008251612f2181846020870161297d565b64173539b7b760d91b920191825250600501919050565b600060018201612f4a57612f4a612e4c565b5060010190565b600181811c90821680612f6557607f821691505b602082108103612f8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b601f821115610d9d57600081815260208120601f850160051c810160208610156130195750805b601f850160051c820191505b8181101561303857828155600101613025565b505050505050565b815167ffffffffffffffff81111561305a5761305a612a26565b61306e816130688454612f51565b84612ff2565b602080601f8311600181146130a3576000841561308b5750858301515b600019600386901b1c1916600185901b178555613038565b600085815260208120601f198616915b828110156130d2578886015182559484019460019091019084016130b3565b50858210156130f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff83111561311857613118612a26565b61312c836131268354612f51565b83612ff2565b6000601f84116001811461316057600085156131485750838201355b600019600387901b1c1916600186901b1783556131ba565b600083815260209020601f19861690835b828110156131915786850135825560209485019460019092019101613171565b50868210156131ae5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b818103818111156108e1576108e1612e4c565b634e487b7160e01b600052601260045260246000fd5b6000826131f9576131f96131d4565b500490565b60008261320d5761320d6131d4565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000835161327681846020880161297d565b83519083019061328a81836020880161297d565b01949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906132dc908301846129a1565b9695505050505050565b6000602082840312156132f857600080fd5b81516115888161293156fe694e4b6945533a206d75737420686176652061646d696e20726f6c6520746f20a264697066735822122000c5e91a9ffdb21b57a01575ba8079bedf30103681a8b3f4786bdc6eb35892c564736f6c63430008130033
Deployed Bytecode Sourcemap
1343:6531:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2217:15;;2209:44;;-1:-1:-1;;;;;2217:15:19;;;;2243:9;2209:44;;;;;2217:15;2209:44;2217:15;2209:44;2243:9;2217:15;2209:44;;;;;;;;;;;;;;;;;;;;;1343:6531;;;;7149:198;;;;;;;;;;-1:-1:-1;7149:198:19;;;;;:::i;:::-;;:::i;:::-;;;565:14:20;;558:22;540:41;;528:2;513:18;7149:198:19;;;;;;;;2798:196;;;;;;;;;;-1:-1:-1;2798:196:19;;;;;:::i;:::-;;:::i;5180:771::-;;;;;;:::i;:::-;;:::i;7353:293::-;;;;;;;;;;;;;:::i;2456:100:6:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3923:221::-;;;;;;;;;;-1:-1:-1;3923:221:6;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:20;;;1679:51;;1667:2;1652:18;3923:221:6;1533:203:20;3453:404:6;;;;;;;;;;-1:-1:-1;3453:404:6;;;;;:::i;:::-;;:::i;4522:652:19:-;;;:::i;3862:226::-;;;;;;;;;;-1:-1:-1;3862:226:19;;;;;:::i;:::-;;:::i;1590:113:8:-;;;;;;;;;;-1:-1:-1;1678:10:8;:17;1590:113;;;3715:25:20;;;3703:2;3688:18;1590:113:8;3569:177:20;5959:515:19;;;;;;;;;;-1:-1:-1;5959:515:19;;;;;:::i;:::-;;:::i;4813:305:6:-;;;;;;;;;;-1:-1:-1;4813:305:6;;;;;:::i;:::-;;:::i;4273:123:0:-;;;;;;;;;;-1:-1:-1;4273:123:0;;;;;:::i;:::-;4339:7;4366:12;;;;;;;;;;:22;;;;4273:123;2201:165:1;;;;;;;;;;-1:-1:-1;2201:165:1;;;;;:::i;:::-;;:::i;1258:256:8:-;;;;;;;;;;-1:-1:-1;1258:256:8;;;;;:::i;:::-;;:::i;2724:174:1:-;;;;;;;;;;-1:-1:-1;2724:174:1;;;;;:::i;:::-;;:::i;5189:151:6:-;;;;;;;;;;-1:-1:-1;5189:151:6;;;;;:::i;:::-;;:::i;1655:27:19:-;;;;;;;;;;;;;:::i;1781:29::-;;;;;;;;;;;;;;;;3118:94;;;;;;;;;;-1:-1:-1;3197:9:19;;3118:94;;4094:204;;;;;;;;;;-1:-1:-1;4094:204:19;;;;;:::i;:::-;;:::i;1780:233:8:-;;;;;;;;;;-1:-1:-1;1780:233:8;;;;;:::i;:::-;;:::i;2005:44:19:-;;;;;;;;;;-1:-1:-1;2005:44:19;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;2005:44:19;;;3660:196;;;;;;;;;;-1:-1:-1;3660:196:19;;;;;:::i;:::-;;:::i;2272:218::-;;;;;;;;;;-1:-1:-1;2272:218:19;;;;;:::i;:::-;;:::i;2150:239:6:-;;;;;;;;;;-1:-1:-1;2150:239:6;;;;;:::i;:::-;;:::i;2598:194:19:-;;;;;;;;;;-1:-1:-1;2598:194:19;;;;;:::i;:::-;;:::i;1880:208:6:-;;;;;;;;;;-1:-1:-1;1880:208:6;;;;;:::i;:::-;;:::i;1923:75:19:-;;;;;;;;;;-1:-1:-1;1923:75:19;;;;-1:-1:-1;;;;;1923:75:19;;;1656:145:1;;;;;;;;;;-1:-1:-1;1656:145:1;;;;;:::i;:::-;;:::i;3945:139:0:-;;;;;;;;;;-1:-1:-1;3945:139:0;;;;;:::i;:::-;;:::i;3326:211:19:-;;;;;;;;;;-1:-1:-1;3326:211:19;;;;;:::i;:::-;;:::i;2625:104:6:-;;;;;;;;;;;;;:::i;1494:39:19:-;;;;;;;;;;-1:-1:-1;1494:39:19;;;;;;2401:49:0;;;;;;;;;;-1:-1:-1;2401:49:0;2446:4;2401:49;;4216:295:6;;;;;;;;;;-1:-1:-1;4216:295:6;;;;;:::i;:::-;;:::i;3218:102:19:-;;;;;;;;;;-1:-1:-1;3303:11:19;;3218:102;;3000:112;;;;;;;;;;;;;:::i;6480:101::-;;;;;;;;;;-1:-1:-1;6480:101:19;;;;;:::i;:::-;6537:7;6559:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6559:16:19;;6480:101;5411:285:6;;;;;;;;;;-1:-1:-1;5411:285:6;;;;;:::i;:::-;;:::i;1889:27:19:-;;;;;;;;;;-1:-1:-1;1889:27:19;;;;-1:-1:-1;;;1889:27:19;;;;;;6728:160;;;;;;;;;;-1:-1:-1;6728:160:19;;;;;:::i;:::-;;:::i;1975:134:1:-;;;;;;;;;;-1:-1:-1;1975:134:1;;;;;:::i;:::-;;:::i;2459:170::-;;;;;;;;;;-1:-1:-1;2459:170:1;;;;;:::i;:::-;;:::i;1748:28:19:-;;;;;;;;;;;;;;;;4304:210;;;;;;;;;;-1:-1:-1;4304:210:19;;;;;:::i;:::-;;:::i;2496:96::-;;;;;;;;;;;;;:::i;4582:164:6:-;;;;;;;;;;-1:-1:-1;4582:164:6;;;;;:::i;:::-;-1:-1:-1;;;;;4703:25:6;;;4679:4;4703:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4582:164;7149:198:19;7285:4;7305:36;7329:11;7305:23;:36::i;:::-;7298:43;7149:198;-1:-1:-1;;7149:198:19:o;2798:196::-;2868:41;2446:4:0;681:10:3;3945:139:0;:::i;2868:41:19:-;2860:93;;;;-1:-1:-1;;;2860:93:19;;;;;;;:::i;:::-;;;;;;;;;2964:11;:24;2798:196::o;5180:771::-;5257:7;;-1:-1:-1;;;5257:7:19;;;;5249:54;;;;-1:-1:-1;;;5249:54:19;;;;;;;:::i;:::-;5343:11;;5332:22;;:8;:22;:::i;:::-;5318:9;:37;;5310:81;;;;-1:-1:-1;;;5310:81:19;;9562:2:20;5310:81:19;;;9544:21:20;9601:2;9581:18;;;9574:30;9640:33;9620:18;;;9613:61;9691:18;;5310:81:19;9360:355:20;5310:81:19;5448:9;;5435:8;5407:25;:15;:23;:25::i;:::-;:36;;;;:::i;:::-;5406:51;;5398:97;;;;-1:-1:-1;;;5398:97:19;;;;;;;:::i;:::-;5544:12;;5532:8;5510:21;5520:10;5510:9;:21::i;:::-;:30;;;;:::i;:::-;:46;;5502:93;;;;-1:-1:-1;;;5502:93:19;;;;;;;:::i;:::-;5606:6;5602:315;5622:8;5618:1;:12;5602:315;;;5645:44;5651:10;5663:25;:15;:23;:25::i;:::-;5645:5;:44::i;:::-;5735:10;5698:7;:34;5706:25;:15;:23;:25::i;:::-;5698:34;;;;;;;;;;;;:47;;;;;-1:-1:-1;;;;;5698:47:19;;;;;-1:-1:-1;;;;;5698:47:19;;;;;;5754:119;5767:25;:15;:23;:25::i;:::-;5818:43;5835:25;:15;:23;:25::i;:::-;5818:16;:43::i;:::-;5801:70;;;;;;;;:::i;:::-;;;;;;;;;;;;;5754:12;:119::i;:::-;5882:27;:15;1006:19:4;;1024:1;1006:19;;;917:127;5882:27:19;5632:3;;;;:::i;:::-;;;;5602:315;;;;5923:22;5936:8;5923:12;:22::i;:::-;5180:771;:::o;7353:293::-;7409:41;2446:4:0;681:10:3;3945:139:0;:::i;7409:41:19:-;7401:103;;;;-1:-1:-1;;;7401:103:19;;11458:2:20;7401:103:19;;;11440:21:20;11497:2;11477:18;;;11470:30;-1:-1:-1;;;;;;;;;;;11516:18:20;;;11509:62;-1:-1:-1;;;11587:18:20;;;11580:47;11644:19;;7401:103:19;11256:413:20;7401:103:19;7601:6;;7593:47;;-1:-1:-1;;;;;7601:6:19;;;;7618:21;7593:47;;;;;7601:6;7593:47;7601:6;7593:47;7618:21;7601:6;7593:47;;;;;;;;;;;;;;;;;;;2456:100:6;2510:13;2543:5;2536:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2456:100;:::o;3923:221::-;3999:7;4027:16;4035:7;4027;:16::i;:::-;4019:73;;;;-1:-1:-1;;;4019:73:6;;12261:2:20;4019:73:6;;;12243:21:20;12300:2;12280:18;;;12273:30;12339:34;12319:18;;;12312:62;-1:-1:-1;;;12390:18:20;;;12383:42;12442:19;;4019:73:6;12059:408:20;4019:73:6;-1:-1:-1;4112:24:6;;;;:15;:24;;;;;;-1:-1:-1;;;;;4112:24:6;;3923:221::o;3453:404::-;3534:13;3550:23;3565:7;3550:14;:23::i;:::-;3534:39;;3598:5;-1:-1:-1;;;;;3592:11:6;:2;-1:-1:-1;;;;;3592:11:6;;3584:57;;;;-1:-1:-1;;;3584:57:6;;12674:2:20;3584:57:6;;;12656:21:20;12713:2;12693:18;;;12686:30;12752:34;12732:18;;;12725:62;-1:-1:-1;;;12803:18:20;;;12796:31;12844:19;;3584:57:6;12472:397:20;3584:57:6;681:10:3;-1:-1:-1;;;;;3662:21:6;;;;:69;;-1:-1:-1;3687:44:6;3711:5;681:10:3;4582:164:6;:::i;3687:44::-;3654:161;;;;-1:-1:-1;;;3654:161:6;;13076:2:20;3654:161:6;;;13058:21:20;13115:2;13095:18;;;13088:30;13154:34;13134:18;;;13127:62;13225:26;13205:18;;;13198:54;13269:19;;3654:161:6;12874:420:20;3654:161:6;3828:21;3837:2;3841:7;3828:8;:21::i;:::-;3523:334;3453:404;;:::o;4522:652:19:-;4570:7;;-1:-1:-1;;;4570:7:19;;;;4562:54;;;;-1:-1:-1;;;4562:54:19;;;;;;;:::i;:::-;4645:11;;4631:9;:26;;4623:70;;;;-1:-1:-1;;;4623:70:19;;9562:2:20;4623:70:19;;;9544:21:20;9601:2;9581:18;;;9574:30;9640:33;9620:18;;;9613:61;9691:18;;4623:70:19;9360:355:20;4623:70:19;4735:12;;4708:21;4718:10;4708:9;:21::i;:::-;:23;;4730:1;4708:23;:::i;:::-;:39;;4700:86;;;;-1:-1:-1;;;4700:86:19;;;;;;;:::i;:::-;4832:9;;4802:25;:15;:23;:25::i;:::-;4801:40;;4793:86;;;;-1:-1:-1;;;4793:86:19;;;;;;;:::i;:::-;4888:44;4894:10;4906:25;:15;:23;:25::i;4888:44::-;4976:10;4939:7;:34;4947:25;:15;:23;:25::i;:::-;4939:34;;;;;;;;;;;;:47;;;;;-1:-1:-1;;;;;4939:47:19;;;;;-1:-1:-1;;;;;4939:47:19;;;;;;4993:119;5006:25;:15;:23;:25::i;4993:119::-;5119:27;:15;1006:19:4;;1024:1;1006:19;;;917:127;5119:27:19;5153:15;5166:1;5153:12;:15::i;:::-;4522:652::o;3862:226::-;3949:41;2446:4:0;681:10:3;3945:139:0;:::i;3949:41:19:-;3941:102;;;;-1:-1:-1;;;3941:102:19;;13501:2:20;3941:102:19;;;13483:21:20;13540:2;13520:18;;;13513:30;-1:-1:-1;;;;;;;;;;;13559:18:20;;;13552:62;-1:-1:-1;;;13630:18:20;;;13623:46;13686:19;;3941:102:19;13299:412:20;3941:102:19;4050:32;4063:7;4072:9;4050:12;:32::i;:::-;3862:226;;:::o;5959:515::-;6034:41;2446:4:0;681:10:3;3945:139:0;:::i;6034:41:19:-;6026:98;;;;-1:-1:-1;;;6026:98:19;;13918:2:20;6026:98:19;;;13900:21:20;13957:2;13937:18;;;13930:30;-1:-1:-1;;;;;;;;;;;13976:18:20;;;13969:62;-1:-1:-1;;;14047:18:20;;;14040:42;14099:19;;6026:98:19;13716:408:20;6026:98:19;6140:9;6135:334;6155:21;;;6135:334;;;6191:47;6197:10;;6208:1;6197:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;6212:25;:15;:23;:25::i;6191:47::-;6284:10;;6295:1;6284:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;6247:7;:34;6255:25;:15;:23;:25::i;:::-;6247:34;;;;;;;;;;;;:50;;;;;-1:-1:-1;;;;;6247:50:19;;;;;-1:-1:-1;;;;;6247:50:19;;;;;;6306:119;6319:25;:15;:23;:25::i;6306:119::-;6434:27;:15;1006:19:4;;1024:1;1006:19;;;917:127;6434:27:19;6178:3;;;;:::i;:::-;;;;6135:334;;4813:305:6;4974:41;681:10:3;5007:7:6;4974:18;:41::i;:::-;4966:103;;;;-1:-1:-1;;;4966:103:6;;;;;;;:::i;:::-;5082:28;5092:4;5098:2;5102:7;5082:9;:28::i;2201:165:1:-;2286:30;2302:4;2308:7;2286:15;:30::i;:::-;2327:18;;;;:12;:18;;;;;:31;;2350:7;2327:22;:31::i;1258:256:8:-;1355:7;1391:23;1408:5;1391:16;:23::i;:::-;1383:5;:31;1375:87;;;;-1:-1:-1;;;1375:87:8;;14881:2:20;1375:87:8;;;14863:21:20;14920:2;14900:18;;;14893:30;14959:34;14939:18;;;14932:62;-1:-1:-1;;;15010:18:20;;;15003:41;15061:19;;1375:87:8;14679:407:20;1375:87:8;-1:-1:-1;;;;;;1480:19:8;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1258:256::o;2724:174:1:-;2812:33;2831:4;2837:7;2812:18;:33::i;:::-;2856:18;;;;:12;:18;;;;;:34;;2882:7;2856:25;:34::i;5189:151:6:-;5293:39;5310:4;5316:2;5320:7;5293:39;;;;;;;;;;;;:16;:39::i;1655:27:19:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4094:204::-;4168:41;2446:4:0;681:10:3;3945:139:0;:::i;4168:41:19:-;4160:108;;;;-1:-1:-1;;;4160:108:19;;15293:2:20;4160:108:19;;;15275:21:20;15332:2;15312:18;;;15305:30;-1:-1:-1;;;;;;;;;;;15351:18:20;;;15344:62;-1:-1:-1;;;15422:18:20;;;15415:52;15484:19;;4160:108:19;15091:418:20;4160:108:19;4275:7;:17;;;;;-1:-1:-1;;;4275:17:19;-1:-1:-1;;;;4275:17:19;;;;;;;;;4094:204::o;1780:233:8:-;1855:7;1891:30;1678:10;:17;;1590:113;1891:30;1883:5;:38;1875:95;;;;-1:-1:-1;;;1875:95:8;;15716:2:20;1875:95:8;;;15698:21:20;15755:2;15735:18;;;15728:30;15794:34;15774:18;;;15767:62;-1:-1:-1;;;15845:18:20;;;15838:42;15897:19;;1875:95:8;15514:408:20;1875:95:8;1988:10;1999:5;1988:17;;;;;;;;:::i;:::-;;;;;;;;;1981:24;;1780:233;;;:::o;3660:196:19:-;3727:41;2446:4:0;681:10:3;3945:139:0;:::i;3727:41:19:-;3719:101;;;;-1:-1:-1;;;3719:101:19;;16129:2:20;3719:101:19;;;16111:21:20;16168:2;16148:18;;;16141:30;-1:-1:-1;;;;;;;;;;;16187:18:20;;;16180:62;-1:-1:-1;;;16258:18:20;;;16251:45;16313:19;;3719:101:19;15927:411:20;3719:101:19;3827:13;:23;3843:7;3827:13;:23;:::i;2272:218::-;2349:41;2446:4:0;681:10:3;3945:139:0;:::i;2349:41:19:-;2341:102;;;;-1:-1:-1;;;2341:102:19;;18749:2:20;2341:102:19;;;18731:21:20;18788:2;18768:18;;;18761:30;-1:-1:-1;;;;;;;;;;;18807:18:20;;;18800:62;-1:-1:-1;;;18878:18:20;;;18871:46;18934:19;;2341:102:19;18547:412:20;2341:102:19;2450:15;:34;;-1:-1:-1;;;;;;2450:34:19;-1:-1:-1;;;;;2450:34:19;;;;;;;;;;2272:218::o;2150:239:6:-;2222:7;2258:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2258:16:6;;2285:73;;;;-1:-1:-1;;;2285:73:6;;19166:2:20;2285:73:6;;;19148:21:20;19205:2;19185:18;;;19178:30;19244:34;19224:18;;;19217:62;-1:-1:-1;;;19295:18:20;;;19288:39;19344:19;;2285:73:6;18964:405:20;2598:194:19;2671:41;2446:4:0;681:10:3;3945:139:0;:::i;2671:41:19:-;2663:93;;;;-1:-1:-1;;;2663:93:19;;;;;;;:::i;:::-;2767:13;:19;2783:3;;2767:13;:19;:::i;1880:208:6:-;1952:7;-1:-1:-1;;;;;1980:19:6;;1972:74;;;;-1:-1:-1;;;1972:74:6;;20787:2:20;1972:74:6;;;20769:21:20;20826:2;20806:18;;;20799:30;20865:34;20845:18;;;20838:62;-1:-1:-1;;;20916:18:20;;;20909:40;20966:19;;1972:74:6;20585:406:20;1972:74:6;-1:-1:-1;;;;;;2064:16:6;;;;;:9;:16;;;;;;;1880:208::o;1656:145:1:-;1738:7;1765:18;;;:12;:18;;;;;:28;;1787:5;1765:21;:28::i;:::-;1758:35;1656:145;-1:-1:-1;;;1656:145:1:o;3945:139:0:-;4023:4;4047:12;;;;;;;;;;;-1:-1:-1;;;;;4047:29:0;;;;;;;;;;;;;;;3945:139::o;3326:211:19:-;3396:41;2446:4:0;681:10:3;3945:139:0;:::i;3396:41:19:-;3388:96;;;;-1:-1:-1;;;3388:96:19;;21198:2:20;3388:96:19;;;21180:21:20;21237:2;21217:18;;;21210:30;-1:-1:-1;;;;;;;;;;;21256:18:20;;;21249:62;-1:-1:-1;;;21327:18:20;;;21320:40;21377:19;;3388:96:19;20996:406:20;3388:96:19;3491:40;2446:4:0;3522:8:19;3491:10;:40::i;2625:104:6:-;2681:13;2714:7;2707:14;;;;;:::i;4216:295::-;681:10:3;-1:-1:-1;;;;;4319:24:6;;;4311:62;;;;-1:-1:-1;;;4311:62:6;;21609:2:20;4311:62:6;;;21591:21:20;21648:2;21628:18;;;21621:30;21687:27;21667:18;;;21660:55;21732:18;;4311:62:6;21407:349:20;4311:62:6;681:10:3;4386:32:6;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4386:42:6;;;;;;;;;;;;:53;;-1:-1:-1;;4386:53:6;;;;;;;;;;4455:48;;540:41:20;;;4386:42:6;;681:10:3;4455:48:6;;513:18:20;4455:48:6;;;;;;;4216:295;;:::o;3000:112:19:-;3053:11;3105:1;3079:25;:15;:23;:25::i;:::-;:27;;;;:::i;:::-;3072:34;;3000:112;:::o;5411:285:6:-;5543:41;681:10:3;5576:7:6;5543:18;:41::i;:::-;5535:103;;;;-1:-1:-1;;;5535:103:6;;;;;;;:::i;:::-;5649:39;5663:4;5669:2;5673:7;5682:5;5649:13;:39::i;:::-;5411:285;;;;:::o;6728:160:19:-;6819:13;6848:34;6874:7;6848:25;:34::i;1975:134:1:-;2047:7;2074:18;;;:12;:18;;;;;:27;;:25;:27::i;2459:170::-;2545:31;2562:4;2568:7;2545:16;:31::i;4304:210:19:-;4375:41;2446:4:0;681:10:3;3945:139:0;:::i;4375:41:19:-;4367:113;;;;-1:-1:-1;;;4367:113:19;;22096:2:20;4367:113:19;;;22078:21:20;22135:2;22115:18;;;22108:30;-1:-1:-1;;;;;;;;;;;22154:18:20;;;22147:62;22245:29;22225:18;;;22218:57;22292:19;;4367:113:19;21894:423:20;4367:113:19;4487:12;:21;4304:210::o;2496:96::-;2540:13;2573;2566:20;;;;;:::i;937:237:8:-;1039:4;-1:-1:-1;;;;;;1063:50:8;;-1:-1:-1;;;1063:50:8;;:103;;;1130:36;1154:11;1130:23;:36::i;793:116:4:-;885:14;;858:7;;885:16;;900:1;885:16;:::i;9077:382:6:-;-1:-1:-1;;;;;9157:16:6;;9149:61;;;;-1:-1:-1;;;9149:61:6;;22524:2:20;9149:61:6;;;22506:21:20;;;22543:18;;;22536:30;22602:34;22582:18;;;22575:62;22654:18;;9149:61:6;22322:356:20;9149:61:6;9230:16;9238:7;9230;:16::i;:::-;9229:17;9221:58;;;;-1:-1:-1;;;9221:58:6;;22885:2:20;9221:58:6;;;22867:21:20;22924:2;22904:18;;;22897:30;22963;22943:18;;;22936:58;23011:18;;9221:58:6;22683:352:20;9221:58:6;9292:45;9321:1;9325:2;9329:7;9292:20;:45::i;:::-;-1:-1:-1;;;;;9350:13:6;;;;;;:9;:13;;;;;:18;;9367:1;;9350:13;:18;;9367:1;;9350:18;:::i;:::-;;;;-1:-1:-1;;9379:16:6;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9379:21:6;-1:-1:-1;;;;;9379:21:6;;;;;;;;9418:33;;9379:16;;;9418:33;;9379:16;;9418:33;9077:382;;:::o;284:723:18:-;340:13;561:5;570:1;561:10;557:53;;-1:-1:-1;;588:10:18;;;;;;;;;;;;-1:-1:-1;;;588:10:18;;;;;284:723::o;557:53::-;635:5;620:12;676:78;683:9;;676:78;;709:8;;;;:::i;:::-;;-1:-1:-1;732:10:18;;-1:-1:-1;740:2:18;732:10;;:::i;:::-;;;676:78;;;764:19;796:6;786:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;786:17:18;;764:39;;814:154;821:10;;814:154;;848:11;858:1;848:11;;:::i;:::-;;-1:-1:-1;917:10:18;925:2;917:5;:10;:::i;:::-;904:24;;:2;:24;:::i;:::-;891:39;;874:6;881;874:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;874:56:18;;;;;;;;-1:-1:-1;945:11:18;954:2;945:11;;:::i;:::-;;;814:154;;;992:6;284:723;-1:-1:-1;;;;284:723:18:o;1240:217:10:-;1340:16;1348:7;1340;:16::i;:::-;1332:75;;;;-1:-1:-1;;;1332:75:10;;23616:2:20;1332:75:10;;;23598:21:20;23655:2;23635:18;;;23628:30;23694:34;23674:18;;;23667:62;-1:-1:-1;;;23745:18:20;;;23738:44;23799:19;;1332:75:10;23414:410:20;1332:75:10;1418:19;;;;:10;:19;;;;;:31;1440:9;1418:19;:31;:::i;7652:215:19:-;7707:13;7732:11;;7723:6;:20;;;;:::i;:::-;7824:15;;7816:43;;7707:36;;-1:-1:-1;;;;;;7824:15:19;;7816:43;;;;;7707:36;;7824:15;7816:43;7824:15;7816:43;7707:36;7824:15;7816:43;;;;;;;;;;;;;;;;;;;7163:127:6;7228:4;7252:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7252:16:6;:30;;;7163:127::o;11047:174::-;11122:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11122:29:6;-1:-1:-1;;;;;11122:29:6;;;;;;;;:24;;11176:23;11122:24;11176:14;:23::i;:::-;-1:-1:-1;;;;;11167:46:6;;;;;;;;;;;11047:174;;:::o;7457:355::-;7550:4;7575:16;7583:7;7575;:16::i;:::-;7567:73;;;;-1:-1:-1;;;7567:73:6;;24031:2:20;7567:73:6;;;24013:21:20;24070:2;24050:18;;;24043:30;24109:34;24089:18;;;24082:62;-1:-1:-1;;;24160:18:20;;;24153:42;24212:19;;7567:73:6;23829:408:20;7567:73:6;7651:13;7667:23;7682:7;7667:14;:23::i;:::-;7651:39;;7720:5;-1:-1:-1;;;;;7709:16:6;:7;-1:-1:-1;;;;;7709:16:6;;:51;;;;7753:7;-1:-1:-1;;;;;7729:31:6;:20;7741:7;7729:11;:20::i;:::-;-1:-1:-1;;;;;7729:31:6;;7709:51;:94;;;-1:-1:-1;;;;;;4703:25:6;;;4679:4;4703:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7764:39;4582:164;10385:544;10510:4;-1:-1:-1;;;;;10483:31:6;:23;10498:7;10483:14;:23::i;:::-;-1:-1:-1;;;;;10483:31:6;;10475:85;;;;-1:-1:-1;;;10475:85:6;;24444:2:20;10475:85:6;;;24426:21:20;24483:2;24463:18;;;24456:30;24522:34;24502:18;;;24495:62;-1:-1:-1;;;24573:18:20;;;24566:39;24622:19;;10475:85:6;24242:405:20;10475:85:6;-1:-1:-1;;;;;10579:16:6;;10571:65;;;;-1:-1:-1;;;10571:65:6;;24854:2:20;10571:65:6;;;24836:21:20;24893:2;24873:18;;;24866:30;24932:34;24912:18;;;24905:62;-1:-1:-1;;;24983:18:20;;;24976:34;25027:19;;10571:65:6;24652:400:20;10571:65:6;10649:39;10670:4;10676:2;10680:7;10649:20;:39::i;:::-;10753:29;10770:1;10774:7;10753:8;:29::i;:::-;-1:-1:-1;;;;;10795:15:6;;;;;;:9;:15;;;;;:20;;10814:1;;10795:15;:20;;10814:1;;10795:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10826:13:6;;;;;;:9;:13;;;;;:18;;10843:1;;10826:13;:18;;10843:1;;10826:18;:::i;:::-;;;;-1:-1:-1;;10855:16:6;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10855:21:6;-1:-1:-1;;;;;10855:21:6;;;;;;;;;10894:27;;10855:16;;10894:27;;;;;;;10385:544;;;:::o;4658:232:0:-;4339:7;4366:12;;;;;;;;;;:22;;;4751:41;;4759:18;681:10:3;3945:139:0;:::i;4751:41::-;4743:101;;;;-1:-1:-1;;;4743:101:0;;25259:2:20;4743:101:0;;;25241:21:20;25298:2;25278:18;;;25271:30;25337:34;25317:18;;;25310:62;-1:-1:-1;;;25388:18:20;;;25381:45;25443:19;;4743:101:0;25057:411:20;4743:101:0;4857:25;4868:4;4874:7;4857:10;:25::i;6621:152:11:-;6691:4;6715:50;6720:3;-1:-1:-1;;;;;6740:23:11;;6715:4;:50::i;5877:218:0:-;-1:-1:-1;;;;;5973:23:0;;681:10:3;5973:23:0;5965:83;;;;-1:-1:-1;;;5965:83:0;;25675:2:20;5965:83:0;;;25657:21:20;25714:2;25694:18;;;25687:30;25753:34;25733:18;;;25726:62;-1:-1:-1;;;25804:18:20;;;25797:45;25859:19;;5965:83:0;25473:411:20;5965:83:0;6061:26;6073:4;6079:7;6061:11;:26::i;6949:158:11:-;7022:4;7046:53;7054:3;-1:-1:-1;;;;;7074:23:11;;7046:7;:53::i;7907:158::-;7981:7;8032:22;8036:3;8048:5;8032:3;:22::i;2991:169:1:-;3079:31;3096:4;3102:7;3079:16;:31::i;6578:272:6:-;6692:28;6702:4;6708:2;6712:7;6692:9;:28::i;:::-;6739:48;6762:4;6768:2;6772:7;6781:5;6739:22;:48::i;:::-;6731:111;;;;-1:-1:-1;;;6731:111:6;;;;;;;:::i;405:679:10:-;478:13;512:16;520:7;512;:16::i;:::-;504:78;;;;-1:-1:-1;;;504:78:10;;26510:2:20;504:78:10;;;26492:21:20;26549:2;26529:18;;;26522:30;26588:34;26568:18;;;26561:62;-1:-1:-1;;;26639:18:20;;;26632:47;26696:19;;504:78:10;26308:413:20;504:78:10;595:23;621:19;;;:10;:19;;;;;595:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;651:18;672:10;:8;:10::i;:::-;651:31;;764:4;758:18;780:1;758:23;754:72;;-1:-1:-1;805:9:10;405:679;-1:-1:-1;;405:679:10:o;754:72::-;930:23;;:27;926:108;;1005:4;1011:9;988:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;974:48;;;;405:679;;;:::o;926:108::-;1053:23;1068:7;1053:14;:23::i;7446:117:11:-;7509:7;7536:19;7544:3;4203:18;;4120:109;5135:235:0;4339:7;4366:12;;;;;;;;;;:22;;;5229:41;;5237:18;4273:123;5229:41;5221:102;;;;-1:-1:-1;;;5221:102:0;;27429:2:20;5221:102:0;;;27411:21:20;27468:2;27448:18;;;27441:30;27507:34;27487:18;;;27480:62;-1:-1:-1;;;27558:18:20;;;27551:46;27614:19;;5221:102:0;27227:412:20;1524:292:6;1626:4;-1:-1:-1;;;;;;1650:40:6;;-1:-1:-1;;;1650:40:6;;:105;;-1:-1:-1;;;;;;;1707:48:6;;-1:-1:-1;;;1707:48:6;1650:105;:158;;;;1772:36;1796:11;1772:23;:36::i;6896:187:19:-;7032:45;7059:4;7065:2;7069:7;7032:26;:45::i;7125:229:0:-;7200:22;7208:4;7214:7;7200;:22::i;:::-;7195:152;;7239:6;:12;;;;;;;;;;;-1:-1:-1;;;;;7239:29:0;;;;;;;;;:36;;-1:-1:-1;;7239:36:0;7271:4;7239:36;;;7322:12;681:10:3;;601:98;7322:12:0;-1:-1:-1;;;;;7295:40:0;7313:7;-1:-1:-1;;;;;7295:40:0;7307:4;7295:40;;;;;;;;;;7125:229;;:::o;1685:414:11:-;1748:4;4002:19;;;:12;;;:19;;;;;;1765:327;;-1:-1:-1;1808:23:11;;;;;;;;:11;:23;;;;;;;;;;;;;1991:18;;1969:19;;;:12;;;:19;;;;;;:40;;;;2024:11;;1765:327;-1:-1:-1;2075:5:11;2068:12;;7362:230:0;7437:22;7445:4;7451:7;7437;:22::i;:::-;7433:152;;;7508:5;7476:12;;;;;;;;;;;-1:-1:-1;;;;;7476:29:0;;;;;;;;;;:37;;-1:-1:-1;;7476:37:0;;;7533:40;681:10:3;;7476:12:0;;7533:40;;7508:5;7533:40;7362:230;;:::o;2275:1544:11:-;2341:4;2480:19;;;:12;;;:19;;;;;;2516:15;;2512:1300;;2878:21;2902:14;2915:1;2902:10;:14;:::i;:::-;2951:18;;2878:38;;-1:-1:-1;2931:17:11;;2951:22;;2972:1;;2951:22;:::i;:::-;2931:42;;3218:17;3238:3;:11;;3250:9;3238:22;;;;;;;;:::i;:::-;;;;;;;;;3218:42;;3384:9;3355:3;:11;;3367:13;3355:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;3487:17;:13;3503:1;3487:17;:::i;:::-;3461:23;;;;:12;;;:23;;;;;:43;3613:17;;3461:3;;3613:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3708:3;:12;;:19;3721:5;3708:19;;;;;;;;;;;3701:26;;;3751:4;3744:11;;;;;;;;2512:1300;3795:5;3788:12;;;;;4573:204;4668:18;;4640:7;;4668:26;-1:-1:-1;4660:73:11;;;;-1:-1:-1;;;4660:73:11;;27978:2:20;4660:73:11;;;27960:21:20;28017:2;27997:18;;;27990:30;28056:34;28036:18;;;28029:62;-1:-1:-1;;;28107:18:20;;;28100:32;28149:19;;4660:73:11;27776:398:20;4660:73:11;4751:3;:11;;4763:5;4751:18;;;;;;;;:::i;:::-;;;;;;;;;4744:25;;4573:204;;;;:::o;11786:843:6:-;11907:4;-1:-1:-1;;;;;11933:13:6;;1110:20:2;1149:8;11929:693:6;;11969:72;;-1:-1:-1;;;11969:72:6;;-1:-1:-1;;;;;11969:36:6;;;;;:72;;681:10:3;;12020:4:6;;12026:7;;12035:5;;11969:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11969:72:6;;;;;;;;-1:-1:-1;;11969:72:6;;;;;;;;;;;;:::i;:::-;;;11965:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12215:6;:13;12232:1;12215:18;12211:341;;12258:60;;-1:-1:-1;;;12258:60:6;;;;;;;:::i;12211:341::-;12502:6;12496:13;12487:6;12483:2;12479:15;12472:38;11965:602;-1:-1:-1;;;;;;12092:55:6;-1:-1:-1;;;12092:55:6;;-1:-1:-1;12085:62:6;;11929:693;-1:-1:-1;12606:4:6;11786:843;;;;;;:::o;3544:110:19:-;3604:13;3635;3628:20;;;;;:::i;2800:360:6:-;2873:13;2907:16;2915:7;2907;:16::i;:::-;2899:76;;;;-1:-1:-1;;;2899:76:6;;29129:2:20;2899:76:6;;;29111:21:20;29168:2;29148:18;;;29141:30;29207:34;29187:18;;;29180:62;-1:-1:-1;;;29258:18:20;;;29251:45;29313:19;;2899:76:6;28927:411:20;2899:76:6;2988:21;3012:10;:8;:10::i;:::-;2988:34;;3064:1;3046:7;3040:21;:25;:112;;;;;;;;;;;;;;;;;3105:7;3114:18;:7;:16;:18::i;:::-;3088:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3033:119;2800:360;-1:-1:-1;;;2800:360:6:o;830:227:1:-;915:4;-1:-1:-1;;;;;;939:57:1;;-1:-1:-1;;;939:57:1;;:110;;;1013:36;1037:11;1013:23;:36::i;2626:555:8:-;-1:-1:-1;;;;;2798:18:8;;2794:187;;2833:40;2865:7;4008:10;:17;;3981:24;;;;:15;:24;;;;;:44;;;4036:24;;;;;;;;;;;;3904:164;2833:40;2794:187;;;2903:2;-1:-1:-1;;;;;2895:10:8;:4;-1:-1:-1;;;;;2895:10:8;;2891:90;;2922:47;2955:4;2961:7;2922:32;:47::i;:::-;-1:-1:-1;;;;;2995:16:8;;2991:183;;3028:45;3065:7;3028:36;:45::i;2991:183::-;3101:4;-1:-1:-1;;;;;3095:10:8;:2;-1:-1:-1;;;;;3095:10:8;;3091:83;;3122:40;3150:2;3154:7;3122:27;:40::i;3636:217:0:-;3721:4;-1:-1:-1;;;;;;3745:47:0;;-1:-1:-1;;;3745:47:0;;:100;;-1:-1:-1;;;;;;;;;;898:40:5;;;3809:36:0;789:157:5;4695:988:8;4961:22;5011:1;4986:22;5003:4;4986:16;:22::i;:::-;:26;;;;:::i;:::-;5023:18;5044:26;;;:17;:26;;;;;;4961:51;;-1:-1:-1;5177:28:8;;;5173:328;;-1:-1:-1;;;;;5244:18:8;;5222:19;5244:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5295:30;;;;;;:44;;;5412:30;;:17;:30;;;;;:43;;;5173:328;-1:-1:-1;5597:26:8;;;;:17;:26;;;;;;;;5590:33;;;-1:-1:-1;;;;;5641:18:8;;;;;:12;:18;;;;;:34;;;;;;;5634:41;4695:988::o;5978:1079::-;6256:10;:17;6231:22;;6256:21;;6276:1;;6256:21;:::i;:::-;6288:18;6309:24;;;:15;:24;;;;;;6682:10;:26;;6231:46;;-1:-1:-1;6309:24:8;;6231:46;;6682:26;;;;;;:::i;:::-;;;;;;;;;6660:48;;6746:11;6721:10;6732;6721:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6826:28;;;:15;:28;;;;;;;:41;;;6998:24;;;;;6991:31;7033:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6049:1008;;;5978:1079;:::o;3482:221::-;3567:14;3584:20;3601:2;3584:16;:20::i;:::-;-1:-1:-1;;;;;3615:16:8;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3660:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3482:221:8:o;14:131:20:-;-1:-1:-1;;;;;;88:32:20;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:20;;592:180;-1:-1:-1;592:180:20:o;777:250::-;862:1;872:113;886:6;883:1;880:13;872:113;;;962:11;;;956:18;943:11;;;936:39;908:2;901:10;872:113;;;-1:-1:-1;;1019:1:20;1001:16;;994:27;777:250::o;1032:271::-;1074:3;1112:5;1106:12;1139:6;1134:3;1127:19;1155:76;1224:6;1217:4;1212:3;1208:14;1201:4;1194:5;1190:16;1155:76;:::i;:::-;1285:2;1264:15;-1:-1:-1;;1260:29:20;1251:39;;;;1292:4;1247:50;;1032:271;-1:-1:-1;;1032:271:20:o;1308:220::-;1457:2;1446:9;1439:21;1420:4;1477:45;1518:2;1507:9;1503:18;1495:6;1477:45;:::i;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:20;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:20:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:632;2375:5;2405:18;2446:2;2438:6;2435:14;2432:40;;;2452:18;;:::i;:::-;2527:2;2521:9;2495:2;2581:15;;-1:-1:-1;;2577:24:20;;;2603:2;2573:33;2569:42;2557:55;;;2627:18;;;2647:22;;;2624:46;2621:72;;;2673:18;;:::i;:::-;2713:10;2709:2;2702:22;2742:6;2733:15;;2772:6;2764;2757:22;2812:3;2803:6;2798:3;2794:16;2791:25;2788:45;;;2829:1;2826;2819:12;2788:45;2879:6;2874:3;2867:4;2859:6;2855:17;2842:44;2934:1;2927:4;2918:6;2910;2906:19;2902:30;2895:41;;;;2310:632;;;;;:::o;2947:222::-;2990:5;3043:3;3036:4;3028:6;3024:17;3020:27;3010:55;;3061:1;3058;3051:12;3010:55;3083:80;3159:3;3150:6;3137:20;3130:4;3122:6;3118:17;3083:80;:::i;3174:390::-;3252:6;3260;3313:2;3301:9;3292:7;3288:23;3284:32;3281:52;;;3329:1;3326;3319:12;3281:52;3365:9;3352:23;3342:33;;3426:2;3415:9;3411:18;3398:32;3453:18;3445:6;3442:30;3439:50;;;3485:1;3482;3475:12;3439:50;3508;3550:7;3541:6;3530:9;3526:22;3508:50;:::i;:::-;3498:60;;;3174:390;;;;;:::o;3751:615::-;3837:6;3845;3898:2;3886:9;3877:7;3873:23;3869:32;3866:52;;;3914:1;3911;3904:12;3866:52;3954:9;3941:23;3983:18;4024:2;4016:6;4013:14;4010:34;;;4040:1;4037;4030:12;4010:34;4078:6;4067:9;4063:22;4053:32;;4123:7;4116:4;4112:2;4108:13;4104:27;4094:55;;4145:1;4142;4135:12;4094:55;4185:2;4172:16;4211:2;4203:6;4200:14;4197:34;;;4227:1;4224;4217:12;4197:34;4280:7;4275:2;4265:6;4262:1;4258:14;4254:2;4250:23;4246:32;4243:45;4240:65;;;4301:1;4298;4291:12;4240:65;4332:2;4324:11;;;;;4354:6;;-1:-1:-1;3751:615:20;;-1:-1:-1;;;;3751:615:20:o;4371:328::-;4448:6;4456;4464;4517:2;4505:9;4496:7;4492:23;4488:32;4485:52;;;4533:1;4530;4523:12;4485:52;4556:29;4575:9;4556:29;:::i;:::-;4546:39;;4604:38;4638:2;4627:9;4623:18;4604:38;:::i;:::-;4594:48;;4689:2;4678:9;4674:18;4661:32;4651:42;;4371:328;;;;;:::o;5071:254::-;5139:6;5147;5200:2;5188:9;5179:7;5175:23;5171:32;5168:52;;;5216:1;5213;5206:12;5168:52;5252:9;5239:23;5229:33;;5281:38;5315:2;5304:9;5300:18;5281:38;:::i;:::-;5271:48;;5071:254;;;;;:::o;5330:160::-;5395:20;;5451:13;;5444:21;5434:32;;5424:60;;5480:1;5477;5470:12;5495:180;5551:6;5604:2;5592:9;5583:7;5579:23;5575:32;5572:52;;;5620:1;5617;5610:12;5572:52;5643:26;5659:9;5643:26;:::i;5680:322::-;5749:6;5802:2;5790:9;5781:7;5777:23;5773:32;5770:52;;;5818:1;5815;5808:12;5770:52;5858:9;5845:23;5891:18;5883:6;5880:30;5877:50;;;5923:1;5920;5913:12;5877:50;5946;5988:7;5979:6;5968:9;5964:22;5946:50;:::i;6007:186::-;6066:6;6119:2;6107:9;6098:7;6094:23;6090:32;6087:52;;;6135:1;6132;6125:12;6087:52;6158:29;6177:9;6158:29;:::i;6198:592::-;6269:6;6277;6330:2;6318:9;6309:7;6305:23;6301:32;6298:52;;;6346:1;6343;6336:12;6298:52;6386:9;6373:23;6415:18;6456:2;6448:6;6445:14;6442:34;;;6472:1;6469;6462:12;6442:34;6510:6;6499:9;6495:22;6485:32;;6555:7;6548:4;6544:2;6540:13;6536:27;6526:55;;6577:1;6574;6567:12;6526:55;6617:2;6604:16;6643:2;6635:6;6632:14;6629:34;;;6659:1;6656;6649:12;6629:34;6704:7;6699:2;6690:6;6686:2;6682:15;6678:24;6675:37;6672:57;;;6725:1;6722;6715:12;6795:248;6863:6;6871;6924:2;6912:9;6903:7;6899:23;6895:32;6892:52;;;6940:1;6937;6930:12;6892:52;-1:-1:-1;;6963:23:20;;;7033:2;7018:18;;;7005:32;;-1:-1:-1;6795:248:20:o;7048:254::-;7113:6;7121;7174:2;7162:9;7153:7;7149:23;7145:32;7142:52;;;7190:1;7187;7180:12;7142:52;7213:29;7232:9;7213:29;:::i;:::-;7203:39;;7261:35;7292:2;7281:9;7277:18;7261:35;:::i;7307:667::-;7402:6;7410;7418;7426;7479:3;7467:9;7458:7;7454:23;7450:33;7447:53;;;7496:1;7493;7486:12;7447:53;7519:29;7538:9;7519:29;:::i;:::-;7509:39;;7567:38;7601:2;7590:9;7586:18;7567:38;:::i;:::-;7557:48;;7652:2;7641:9;7637:18;7624:32;7614:42;;7707:2;7696:9;7692:18;7679:32;7734:18;7726:6;7723:30;7720:50;;;7766:1;7763;7756:12;7720:50;7789:22;;7842:4;7834:13;;7830:27;-1:-1:-1;7820:55:20;;7871:1;7868;7861:12;7820:55;7894:74;7960:7;7955:2;7942:16;7937:2;7933;7929:11;7894:74;:::i;:::-;7884:84;;;7307:667;;;;;;;:::o;7979:260::-;8047:6;8055;8108:2;8096:9;8087:7;8083:23;8079:32;8076:52;;;8124:1;8121;8114:12;8076:52;8147:29;8166:9;8147:29;:::i;:::-;8137:39;;8195:38;8229:2;8218:9;8214:18;8195:38;:::i;8244:403::-;8446:2;8428:21;;;8485:2;8465:18;;;8458:30;8524:34;8519:2;8504:18;;8497:62;-1:-1:-1;;;8590:2:20;8575:18;;8568:37;8637:3;8622:19;;8244:403::o;8652:398::-;8854:2;8836:21;;;8893:2;8873:18;;;8866:30;8932:34;8927:2;8912:18;;8905:62;-1:-1:-1;;;8998:2:20;8983:18;;8976:32;9040:3;9025:19;;8652:398::o;9055:127::-;9116:10;9111:3;9107:20;9104:1;9097:31;9147:4;9144:1;9137:15;9171:4;9168:1;9161:15;9187:168;9260:9;;;9291;;9308:15;;;9302:22;;9288:37;9278:71;;9329:18;;:::i;9720:125::-;9785:9;;;9806:10;;;9803:36;;;9819:18;;:::i;9850:397::-;10052:2;10034:21;;;10091:2;10071:18;;;10064:30;10130:34;10125:2;10110:18;;10103:62;-1:-1:-1;;;10196:2:20;10181:18;;10174:31;10237:3;10222:19;;9850:397::o;10252:398::-;10454:2;10436:21;;;10493:2;10473:18;;;10466:30;10532:34;10527:2;10512:18;;10505:62;-1:-1:-1;;;10598:2:20;10583:18;;10576:32;10640:3;10625:19;;10252:398::o;10655:456::-;10887:3;10925:6;10919:13;10941:66;11000:6;10995:3;10988:4;10980:6;10976:17;10941:66;:::i;:::-;-1:-1:-1;;;11029:16:20;;11054:22;;;-1:-1:-1;11103:1:20;11092:13;;10655:456;-1:-1:-1;10655:456:20:o;11116:135::-;11155:3;11176:17;;;11173:43;;11196:18;;:::i;:::-;-1:-1:-1;11243:1:20;11232:13;;11116:135::o;11674:380::-;11753:1;11749:12;;;;11796;;;11817:61;;11871:4;11863:6;11859:17;11849:27;;11817:61;11924:2;11916:6;11913:14;11893:18;11890:38;11887:161;;11970:10;11965:3;11961:20;11958:1;11951:31;12005:4;12002:1;11995:15;12033:4;12030:1;12023:15;11887:161;;11674:380;;;:::o;14129:127::-;14190:10;14185:3;14181:20;14178:1;14171:31;14221:4;14218:1;14211:15;14245:4;14242:1;14235:15;14261:413;14463:2;14445:21;;;14502:2;14482:18;;;14475:30;14541:34;14536:2;14521:18;;14514:62;-1:-1:-1;;;14607:2:20;14592:18;;14585:47;14664:3;14649:19;;14261:413::o;16469:545::-;16571:2;16566:3;16563:11;16560:448;;;16607:1;16632:5;16628:2;16621:17;16677:4;16673:2;16663:19;16747:2;16735:10;16731:19;16728:1;16724:27;16718:4;16714:38;16783:4;16771:10;16768:20;16765:47;;;-1:-1:-1;16806:4:20;16765:47;16861:2;16856:3;16852:12;16849:1;16845:20;16839:4;16835:31;16825:41;;16916:82;16934:2;16927:5;16924:13;16916:82;;;16979:17;;;16960:1;16949:13;16916:82;;;16920:3;;;16469:545;;;:::o;17190:1352::-;17316:3;17310:10;17343:18;17335:6;17332:30;17329:56;;;17365:18;;:::i;:::-;17394:97;17484:6;17444:38;17476:4;17470:11;17444:38;:::i;:::-;17438:4;17394:97;:::i;:::-;17546:4;;17610:2;17599:14;;17627:1;17622:663;;;;18329:1;18346:6;18343:89;;;-1:-1:-1;18398:19:20;;;18392:26;18343:89;-1:-1:-1;;17147:1:20;17143:11;;;17139:24;17135:29;17125:40;17171:1;17167:11;;;17122:57;18445:81;;17592:944;;17622:663;16416:1;16409:14;;;16453:4;16440:18;;-1:-1:-1;;17658:20:20;;;17776:236;17790:7;17787:1;17784:14;17776:236;;;17879:19;;;17873:26;17858:42;;17971:27;;;;17939:1;17927:14;;;;17806:19;;17776:236;;;17780:3;18040:6;18031:7;18028:19;18025:201;;;18101:19;;;18095:26;-1:-1:-1;;18184:1:20;18180:14;;;18196:3;18176:24;18172:37;18168:42;18153:58;18138:74;;18025:201;-1:-1:-1;;;;;18272:1:20;18256:14;;;18252:22;18239:36;;-1:-1:-1;17190:1352:20:o;19374:1206::-;19498:18;19493:3;19490:27;19487:53;;;19520:18;;:::i;:::-;19549:94;19639:3;19599:38;19631:4;19625:11;19599:38;:::i;:::-;19593:4;19549:94;:::i;:::-;19669:1;19694:2;19689:3;19686:11;19711:1;19706:616;;;;20366:1;20383:3;20380:93;;;-1:-1:-1;20439:19:20;;;20426:33;20380:93;-1:-1:-1;;17147:1:20;17143:11;;;17139:24;17135:29;17125:40;17171:1;17167:11;;;17122:57;20486:78;;19679:895;;19706:616;16416:1;16409:14;;;16453:4;16440:18;;-1:-1:-1;;19742:17:20;;;19843:9;19865:229;19879:7;19876:1;19873:14;19865:229;;;19968:19;;;19955:33;19940:49;;20075:4;20060:20;;;;20028:1;20016:14;;;;19895:12;19865:229;;;19869:3;20122;20113:7;20110:16;20107:159;;;20246:1;20242:6;20236:3;20230;20227:1;20223:11;20219:21;20215:34;20211:39;20198:9;20193:3;20189:19;20176:33;20172:79;20164:6;20157:95;20107:159;;;20309:1;20303:3;20300:1;20296:11;20292:19;20286:4;20279:33;19679:895;;;19374:1206;;;:::o;21761:128::-;21828:9;;;21849:11;;;21846:37;;;21863:18;;:::i;23040:127::-;23101:10;23096:3;23092:20;23089:1;23082:31;23132:4;23129:1;23122:15;23156:4;23153:1;23146:15;23172:120;23212:1;23238;23228:35;;23243:18;;:::i;:::-;-1:-1:-1;23277:9:20;;23172:120::o;23297:112::-;23329:1;23355;23345:35;;23360:18;;:::i;:::-;-1:-1:-1;23394:9:20;;23297:112::o;25889:414::-;26091:2;26073:21;;;26130:2;26110:18;;;26103:30;26169:34;26164:2;26149:18;;26142:62;-1:-1:-1;;;26235:2:20;26220:18;;26213:48;26293:3;26278:19;;25889:414::o;26726:496::-;26905:3;26943:6;26937:13;26959:66;27018:6;27013:3;27006:4;26998:6;26994:17;26959:66;:::i;:::-;27088:13;;27047:16;;;;27110:70;27088:13;27047:16;27157:4;27145:17;;27110:70;:::i;:::-;27196:20;;26726:496;-1:-1:-1;;;;26726:496:20:o;27644:127::-;27705:10;27700:3;27696:20;27693:1;27686:31;27736:4;27733:1;27726:15;27760:4;27757:1;27750:15;28179:489;-1:-1:-1;;;;;28448:15:20;;;28430:34;;28500:15;;28495:2;28480:18;;28473:43;28547:2;28532:18;;28525:34;;;28595:3;28590:2;28575:18;;28568:31;;;28373:4;;28616:46;;28642:19;;28634:6;28616:46;:::i;:::-;28608:54;28179:489;-1:-1:-1;;;;;;28179:489:20:o;28673:249::-;28742:6;28795:2;28783:9;28774:7;28770:23;28766:32;28763:52;;;28811:1;28808;28801:12;28763:52;28843:9;28837:16;28862:30;28886:5;28862:30;:::i
Swarm Source
ipfs://00c5e91a9ffdb21b57a01575ba8079bedf30103681a8b3f4786bdc6eb35892c5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.