ERC-721
Overview
Max Total Supply
1,465 CS2A
Holders
509
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 CS2ALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xEE06C38f...70070c3E8 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Achievements
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-22 */ /* * Crypto stamp 2 Achievements * Awarding Achievements for collecting digital-physical collectible postage stamps * * Developed by Capacity Blockchain Solutions GmbH <capacity.at> * for Österreichische Post AG <post.at> */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.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 GSN 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.6.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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.6.2; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transfered 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`, `to` cannot be zero. * - `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`, `to` cannot be zero. * - `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`, `to` cannot be zero. * - `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; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.6.2; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.6.2; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.6.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ abstract contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a {IERC721-safeTransferFrom}. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public virtual returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.6.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.0.0, only sets of type `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]; } // 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(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(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(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(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)); } } // File: contracts/EnumerableMapSimple.sol pragma solidity ^0.6.0; library EnumerableMapSimple { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of map keys and values bytes32[] _entries; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { uint256 uintKey = uint256(key); require(uintKey <= map._entries.length, "Cannot add entry that is not connected to existing IDs"); if (uintKey == map._entries.length) { // add new entry map._entries.push(value); return true; } else { map._entries[uintKey] = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage /*map*/, bytes32 /*key*/) private pure returns (bool) { revert("No removal supported"); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return uint256(key) < map._entries.length; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); return (bytes32(index), map._entries[index]); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { return _get(map, key, "EnumerableMap: nonexistent key"); } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 uintKey = uint256(key); require(map._entries.length > uintKey, errorMessage); // Equivalent to contains(map, key) return map._entries[uintKey]; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint256(value))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key)))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key), errorMessage))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.6.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: contracts/OZ_Clone/ERC721_simplemaps.sol pragma solidity ^0.6.0; // Clone of OpenZeppelin 3.0.0 token/ERC721/ERC721.sol with just imports adapted and EnumerableMap exchanged for EnumerableMapSimple. /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMapSimple for EnumerableMapSimple.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMapSimple.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev Gets the balance of the specified address. * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev Gets the owner of the specified token ID. * @param tokenId uint256 ID of the token to query the owner of * @return address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev Gets the token name. * @return string representing the token name */ function name() public view override returns (string memory) { return _name; } /** * @dev Gets the token symbol. * @return string representing the token symbol */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev Returns the URI for a given token ID. May return an empty string. * * If a base URI is set (via {_setBaseURI}), it is added as a prefix to the * token's own URI (via {_setTokenURI}). * * If there is a base URI but no token URI, the token's ID will be used as * its URI when appending it to the base URI. This pattern for autogenerated * token URIs can lead to large gas savings. * * .Examples * |=== * |`_setBaseURI()` |`_setTokenURI()` |`tokenURI()` * | "" * | "" * | "" * | "" * | "token.uri/123" * | "token.uri/123" * | "token.uri/" * | "123" * | "token.uri/123" * | "token.uri/" * | "" * | "token.uri/<tokenId>" * |=== * * Requirements: * * - `tokenId` must exist. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; // If there is no base URI, return the token URI. if (bytes(_baseURI).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(_baseURI, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(_baseURI, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner. * @param owner address owning the tokens list to be accessed * @param index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev Gets the total amount of tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens. * @param index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 index) public view override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf. * @param operator operator address to set the approval * @param approved representing the status of the approval to be set */ 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 Tells whether an operator is approved by a given owner. * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Transfers the ownership of a given token ID to another address. * Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * Requires the msg.sender to be the owner, approved, or operator. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ 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 Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the _msgSender() to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ 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 the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ 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 the specified token exists. * @param tokenId uint256 ID of the token to query the existence of * @return bool whether the token exists */ function _exists(uint256 tokenId) internal view returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether the given spender can transfer a given token ID. * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted * @param _data bytes data to send along with a safe transfer check */ 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 Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ 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); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * @param tokenId uint256 ID of the token being burned */ function _burn(uint256 tokenId) internal virtual { address owner = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Internal function to set the token URI for a given token. * * Reverts if the token ID does not exist. * * TIP: If all token IDs share a prefix (for example, if your URIs look like * `https://api.myproject.com/token/<id>`), use {_setBaseURI} to store * it and save gas. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = to.call(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data )); if (!success) { if (returndata.length > 0) { // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert("ERC721: transfer to non ERC721Receiver implementer"); } } else { bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @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` and `to` are never both zero. * * 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 { } } // File: contracts/ERC721SimpleMapsURI.sol pragma solidity ^0.6.0; /** * @title ERC721 With a nicer simple token URI * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721SimpleMapsURI is ERC721 { // Similar to ERC1155 URI() event, but without a token ID. event BaseURI(string value); constructor (string memory name, string memory symbol, string memory baseURI) ERC721(name, symbol) public { _setBaseURI(baseURI); } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}. */ function _setBaseURI(string memory baseURI_) internal override virtual { super._setBaseURI(baseURI_); emit BaseURI(baseURI()); } } // File: contracts/ENSReverseRegistrarI.sol /* * Interfaces for ENS Reverse Registrar * See https://github.com/ensdomains/ens/blob/master/contracts/ReverseRegistrar.sol for full impl * Also see https://github.com/wealdtech/wealdtech-solidity/blob/master/contracts/ens/ENSReverseRegister.sol * * Use this as follows (registryAddress is the address of the ENS registry to use): * ----- * // This hex value is caclulated by namehash('addr.reverse') * bytes32 public constant ENS_ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2; * function registerReverseENS(address registryAddress, string memory calldata) external { * require(registryAddress != address(0), "need a valid registry"); * address reverseRegistrarAddress = ENSRegistryOwnerI(registryAddress).owner(ENS_ADDR_REVERSE_NODE) * require(reverseRegistrarAddress != address(0), "need a valid reverse registrar"); * ENSReverseRegistrarI(reverseRegistrarAddress).setName(name); * } * ----- * or * ----- * function registerReverseENS(address reverseRegistrarAddress, string memory calldata) external { * require(reverseRegistrarAddress != address(0), "need a valid reverse registrar"); * ENSReverseRegistrarI(reverseRegistrarAddress).setName(name); * } * ----- * ENS deployments can be found at https://docs.ens.domains/ens-deployments * E.g. Etherscan can be used to look up that owner on those contracts. * namehash.hash("addr.reverse") == "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" * Ropsten: ens.owner(namehash.hash("addr.reverse")) == "0x6F628b68b30Dc3c17f345c9dbBb1E483c2b7aE5c" * Mainnet: ens.owner(namehash.hash("addr.reverse")) == "0x084b1c3C81545d370f3634392De611CaaBFf8148" */ pragma solidity ^0.6.0; interface ENSRegistryOwnerI { function owner(bytes32 node) external view returns (address); } interface ENSReverseRegistrarI { function setName(string calldata name) external returns (bytes32 node); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: contracts/CollectionNotificationI.sol /* Interface for Collection notification contracts. */ pragma solidity ^0.6.0; interface CollectionNotificationI is IERC165 { /* * Calculate the interface ID for ERC 165: * * bytes4(keccak256('onContractAdded(bool)')) == 0xdaf96bfb * bytes4(keccak256('onContractRemoved()')) == 0x4664c35c * bytes4(keccak256('onAssetAdded(address,uint256,uint8)')) == 0x60dec1cc * bytes4(keccak256('onAssetRemoved(address,uint256,uint8)')) == 0xb5ed6ea2 * * => 0xdaf96bfb ^ 0x4664c35c ^ 0x60dec1cc ^ 0xb5ed6ea2 == 0x49ae07c9 */ enum TokenType { ERC721, ERC1155 } /** * @notice Notify about being added as a notification contract on the Collection * @dev The Collection smart contract calls this function when adding this contract * as a notification contract. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onContractAdded.selector`. This * function MAY throw to revert and reject the transfer. * Note: the Collection contract address is always the message sender. * @param initial This is being called in the initial constructor of the Collection * @return bytes4 `bytes4(keccak256("onContractAdded(bool)"))` */ function onContractAdded(bool initial) external returns (bytes4); /** * @notice Notify about being removed as a notification contract on the Collection * @dev The Collection smart contract calls this function when removing this contract * as a notification contract. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onContractRemoved.selector`. This * function MAY throw to revert and reject the transfer. * Note: the Collection contract address is always the message sender. * @return bytes4 `bytes4(keccak256("onContractRemoved()"))` */ function onContractRemoved() external returns (bytes4); /** * @notice Notify about adding an asset to the Collection * @dev The Collection smart contract calls this function when adding any asset to * its internal tracking of assets. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onAssetAdded.selector`. This * function MAY throw to revert and reject the transfer. * Note: the Collection contract address is always the message sender. * @param tokenAddress The address of the token contract * @param tokenId The token identifier which is being transferred * @param tokenType The type of token this asset represents (can be ERC721 or ERC1155) * @return bytes4 `bytes4(keccak256("onAssetAdded(address,uint256,uint8)"))` */ function onAssetAdded(address tokenAddress, uint256 tokenId, TokenType tokenType) external returns (bytes4); /** * @notice Notify about removing an asset from the Collection * @dev The Collection smart contract calls this function when removing any asset from * its internal tracking of assets. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onAssetAdded.selector`. This * function MAY throw to revert and reject the transfer. * Note: the Collection contract address is always the message sender. * @param tokenAddress The address of the token contract * @param tokenId The token identifier which is being transferred * @param tokenType The type of token this asset represents (can be ERC721 or ERC1155) * @return bytes4 `bytes4(keccak256("onAssetRemoved(address,uint256,uint8)"))` */ function onAssetRemoved(address tokenAddress, uint256 tokenId, TokenType tokenType) external returns (bytes4); } // File: contracts/CS2PropertiesI.sol /* Interface for CS2 properties. */ pragma solidity ^0.6.0; interface CS2PropertiesI { enum AssetType { Honeybadger, Llama, Panda, Doge } enum Colors { Black, Green, Blue, Yellow, Red } function getType(uint256 tokenId) external view returns (AssetType); function getColor(uint256 tokenId) external view returns (Colors); } // File: contracts/AchievementsUpgradingI.sol /* Interface for CS2 color upgrading support by achievements. */ pragma solidity ^0.6.0; interface AchievementsUpgradingI is IERC165 { /* * Calculate the interface ID for ERC 165: * * bytes4(keccak256('onContractAdded(bool)')) == 0x58cac597 */ /** * @notice Notify about changing a CS2 color as done by the "upgrading" mechanism * @dev The Cryptostamp2 smart contract calls this function when changing the color of any asset, * esp. as the result of upgrading. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onCS2ColorChanged.selector`. This * function MAY throw to revert and reject the transfer. * Note: the Collection contract address is always the message sender. * @param tokenId The token identifier which is being changed * @param previousColor The previous color held by the token * @param newColor The new color assigned to the token, which MUST match the current color at time of this call * @return bytes4 `bytes4(keccak256("onCS2ColorChanged(uint256,uint8,uint8)"))` */ function onCS2ColorChanged(uint256 tokenId, CS2PropertiesI.Colors previousColor, CS2PropertiesI.Colors newColor) external returns (bytes4); } // File: contracts/CS1ColorsI.sol /* Color store interface for Crypto stamp 1 */ pragma solidity ^0.6.0; interface CS1ColorsI { enum Colors { Black, Green, Blue, Yellow, Red } // Returns the color of a given token ID function getColor(uint256 tokenId) external view returns (Colors); } // File: contracts/ERC721ExistsI.sol pragma solidity ^0.6.0; /** * @dev ERC721 compliant contract with an exists() function. */ abstract contract ERC721ExistsI is IERC721 { // Returns whether the specified token exists function exists(uint256 tokenId) public view virtual returns (bool); } // File: contracts/CollectionOwnedI.sol pragma solidity ^0.6.0; /** * @dev interface for collection exposing a function for a count of owned assets. */ abstract contract CollectionOwnedI { // Returns number of owned assets. function ownedAssetsCount() public view virtual returns (uint256); } // File: contracts/Achievements.sol /* Implements Collections of ERC 721 tokens, exposed as yet another ERC721 token. */ pragma solidity ^0.6.0; contract Achievements is ERC165, ERC721SimpleMapsURI, CollectionNotificationI, AchievementsUpgradingI { using SafeMath for uint256; enum AchievementCategory { TOTAL, COLOR, ALLANIMALS, ALLCOLORS, ALL } bytes4 private constant _INTERFACE_ID_COLLECTION_NOTIFICATION = 0x49ae07c9; bytes4 private constant _INTERFACE_ID_ACHIEVEMENTS_UPGRADING = 0x58cac597; address public CS1Address; address public CS1ColorsAddress; address public CS2Address; address public collectionsAddress; address public tokenAssignmentControl; uint8 public constant totalTypes = 5; uint8 public constant totalColors = 5; uint public constant confirmationTime = 2 days; uint8[5] public colorWeight; // quasi-constant, as array constants are not supported, set in constructor. // For every collection, for every token type, for every color, a count. mapping(address => mapping(uint256 => mapping(uint256 => uint256))) public assetCount; // For every collection, for every token type, a count. mapping(address => mapping(uint256 => uint256)) public assetTypeCount; // For every collection, a total count. mapping(address => uint256) public assetTotalCount; // For every collection, see if achievement of specified code was awarded (pointing to token ID, so you need to reverse-try, esp. for ID 0) mapping(address => mapping(uint256 => uint256)) public awardedTokenId; // For every collection, note if it has been completely revoked. mapping(address => bool) public allAchievementsRevoked; // Token properties (for every token ID) mapping(uint256 => uint256) public achievementCode; mapping(uint256 => uint) public creationTime; event AchievementAwarded(address indexed owner, uint256 achievementCode, uint256 tokenId); event AchievementRevoked(address indexed owner, uint256 achievementCode, uint256 tokenId); event AllAchievementsRevoked(address indexed owner); event TokenAssignmentControlTransferred(address indexed previousTokenAssignmentControl, address indexed newTokenAssignmentControl); constructor(address _CS1Address, address _CS1ColorsAddress, address _CS2Address, address _collectionsAddress, address _tokenAssignmentControl) ERC721SimpleMapsURI("Crypto stamp 2 Achievements", "CS2A", "https://test.crypto.post.at/CS2A/meta/") public { _registerInterface(_INTERFACE_ID_COLLECTION_NOTIFICATION); _registerInterface(_INTERFACE_ID_ACHIEVEMENTS_UPGRADING); CS1Address = _CS1Address; CS1ColorsAddress = _CS1ColorsAddress; CS2Address = _CS2Address; collectionsAddress = _collectionsAddress; tokenAssignmentControl = _tokenAssignmentControl; // Set quasi-constant array values: point weights for colors. colorWeight = [1, 2, 4, 8, 20]; } modifier onlyTokenAssignmentControl() { require(msg.sender == tokenAssignmentControl, "tokenAssignmentControl key required for this function."); _; } /*** Enable adjusting variables after deployment ***/ function transferTokenAssignmentControl(address _newTokenAssignmentControl) public onlyTokenAssignmentControl { require(_newTokenAssignmentControl != address(0), "tokenAssignmentControl cannot be the zero address."); emit TokenAssignmentControlTransferred(tokenAssignmentControl, _newTokenAssignmentControl); tokenAssignmentControl = _newTokenAssignmentControl; } // Set new base for the token URI. function setBaseURI(string memory _newBaseURI) public onlyTokenAssignmentControl { super._setBaseURI(_newBaseURI); } /*** Handle assets being added and removed on a collection ***/ // This is being called when a collection adds this one as a notification contract. function onContractAdded(bool _initial) external override returns (bytes4) { // Just make sure that this is a valid collection and is empty. ERC721ExistsI collections = ERC721ExistsI(collectionsAddress); require(collections.exists(uint256(msg.sender)), "Sender needs to be a valid Collection."); if (!_initial) { // When called from the constructor, we cannot call the contract back, but we know it's empty. // When called later, we need to verify that it's empty. require(CollectionOwnedI(msg.sender).ownedAssetsCount() == 0, "Collection needs to be empty."); } return this.onContractAdded.selector; } // Called when this contract is removed as a notification contract from a collection. function onContractRemoved() external override returns (bytes4) { // Revoke all achievements. for (uint i = 1; i <= totalTypes; i++) { // 1-based, so use <= for (uint j = 0; j < totalColors; j++) { assetCount[msg.sender][i][j] = 0; } assetTypeCount[msg.sender][i] = 0; } assetTotalCount[msg.sender] = 0; allAchievementsRevoked[msg.sender] = true; emit AllAchievementsRevoked(msg.sender); return this.onContractRemoved.selector; } // This function is called when an asset is added to a collection's tracked list, either by transfer or by "sync". function onAssetAdded(address _tokenAddress, uint256 _tokenId, CollectionNotificationI.TokenType _tokenType) external override returns (bytes4) { if (_tokenType == CollectionNotificationI.TokenType.ERC721) { // We only look at ERC721 tokens for achievements. require(IERC721(_tokenAddress).ownerOf(_tokenId) == msg.sender, "NFT needs to be owned by the caller of this function."); uint256 typeNum = getTypeNum(_tokenAddress, _tokenId); if (typeNum > 0) { // We have a tracked asset. ERC721ExistsI collections = ERC721ExistsI(collectionsAddress); require(collections.exists(uint256(msg.sender)), "Sender needs to be a valid Collection."); uint256 colorNum = getColorNum(_tokenAddress, _tokenId); assetCount[msg.sender][typeNum][colorNum] = assetCount[msg.sender][typeNum][colorNum].add(1); assetTypeCount[msg.sender][typeNum] = assetTypeCount[msg.sender][typeNum].add(1); assetTotalCount[msg.sender] = assetTotalCount[msg.sender].add(1); // We maybe need to award new or reactivate existing achievements here. _checkAndAwardAchievements(msg.sender, typeNum, colorNum); } } return this.onAssetAdded.selector; } // This function is called when an asset is removed from a collection's tracked list, either by transfer or by "sync". function onAssetRemoved(address _tokenAddress, uint256 _tokenId, CollectionNotificationI.TokenType _tokenType) external override returns (bytes4) { if (_tokenType == CollectionNotificationI.TokenType.ERC721) { // We only care about ERC721 tokens. require(IERC721(_tokenAddress).ownerOf(_tokenId) != msg.sender, "NFT needs not to be owned by the caller of this function."); uint256 typeNum = getTypeNum(_tokenAddress, _tokenId); if (typeNum > 0) { // We have a tracked asset. uint256 colorNum = getColorNum(_tokenAddress, _tokenId); assetCount[msg.sender][typeNum][colorNum] = assetCount[msg.sender][typeNum][colorNum].sub(1); assetTypeCount[msg.sender][typeNum] = assetTypeCount[msg.sender][typeNum].sub(1); assetTotalCount[msg.sender] = assetTotalCount[msg.sender].sub(1); // We maybe need to disable achievements here. _checkAndRevokeAchievements(msg.sender, typeNum, colorNum); } } return this.onAssetRemoved.selector; } // This function is called when an asset changes its color (see CS2 "upgrading"). Needs to be called by the CS2 contract. function onCS2ColorChanged(uint256 _tokenId, CS2PropertiesI.Colors _previousColor, CS2PropertiesI.Colors _newColor) external override returns (bytes4) { require(msg.sender == CS2Address, "Needs to be called by CS2 contract."); address owner = IERC721(CS2Address).ownerOf(_tokenId); uint256 typeNum = getTypeNum(CS2Address, _tokenId); uint256 prevColorNum = uint256(_previousColor); uint256 newColorNum = uint256(_newColor); // Remove this token from previous color count. assetCount[owner][typeNum][prevColorNum] = assetCount[owner][typeNum][prevColorNum].sub(1); // We maybe need to disable achievements here. _checkAndRevokeAchievements(owner, typeNum, prevColorNum); // Add this token to new color count. assetCount[owner][typeNum][newColorNum] = assetCount[owner][typeNum][newColorNum].add(1); // We maybe need to award new or reactivate existing achievements here. _checkAndAwardAchievements(owner, typeNum, newColorNum); return this.onCS2ColorChanged.selector; } // Check if any achievements need to be awarded and if that's the case, make it so. function _checkAndAwardAchievements(address _collAddr, uint256 _typeNum, uint256 _colorNum) internal { // Determine how many stamps of this color the collection owns. uint256 thisColorCount = 0; for (uint i = 1; i <= totalTypes; i++) { // 1-based, so use <= thisColorCount = thisColorCount.add(assetCount[_collAddr][i][_colorNum]); } // Check if we need to award new achievements. if (assetCount[_collAddr][_typeNum][_colorNum] == 1) { // Check for achievements that can be awarded when getting the first stamp of a sort. uint256 aCode = getAchievementCode(AchievementCategory.ALLCOLORS, _typeNum, 0, 1); if (!hasAchievement(_collAddr, aCode)) { bool hasAllColors = true; for (uint i = 0; i < totalColors; i++) { if (assetCount[_collAddr][_typeNum][i] < 1) { hasAllColors = false; } } if (hasAllColors) { _createAchievement(_collAddr, aCode); // ALLCOLORS-{type} // If we get the last of the ALLCOLORS, we may get the overall ALL achievement as well! aCode = getAchievementCode(AchievementCategory.ALL, 0, 0, 1); if (!hasAchievement(_collAddr, aCode)) { bool hasAllTypes = true; for (uint i = 1; i <= totalTypes; i++) { // 1-based, so use <= uint256 aTestCode = getAchievementCode(AchievementCategory.ALLCOLORS, i, 0, 1); if (!hasAchievement(_collAddr, aTestCode)) { hasAllTypes = false; } } if (hasAllTypes) { _createAchievement(_collAddr, aCode); // ALL } } } } } if (thisColorCount == 5 || thisColorCount == 10 || (thisColorCount == 50 && _colorNum == uint256(CS2PropertiesI.Colors.Blue))) { // Check for achievements that can be awarded when getting to 5, 10, or 50 stamps of that color. uint256 aCode = getAchievementCode(AchievementCategory.COLOR, 0, _colorNum, thisColorCount); if (!hasAchievement(_collAddr, aCode)) { _createAchievement(_collAddr, aCode); // COLOR-{color}-{5,10,50} } } if (assetTypeCount[_collAddr][_typeNum] == 1 || assetTypeCount[_collAddr][_typeNum] == 5 || assetTypeCount[_collAddr][_typeNum] == 10) { // Check for achievements that can be awarded when getting to 1,5, or 10 stamps of every type. uint256 aCode = getAchievementCode(AchievementCategory.ALLANIMALS, 0, 0, assetTypeCount[_collAddr][_typeNum]); if (!hasAchievement(_collAddr, aCode)) { bool hasAllTypes = true; for (uint i = 1; i <= totalTypes; i++) { // 1-based, so use <= if (assetTypeCount[_collAddr][i] < assetTypeCount[_collAddr][_typeNum]) { hasAllTypes = false; } } if (hasAllTypes) { _createAchievement(_collAddr, aCode); // ALLANIMALS-{1,5,10} } } } if (assetTotalCount[_collAddr] == 1 || assetTotalCount[_collAddr] == 5 || assetTotalCount[_collAddr] == 10) { // Check for achievements that can be awarded when getting to 1, 5, or 10 total stamps. uint256 aCode = getAchievementCode(AchievementCategory.TOTAL, 0, 0, assetTotalCount[_collAddr]); if (!hasAchievement(_collAddr, aCode)) { _createAchievement(_collAddr, aCode); // TOTAL-{1,5,10} } } } // Check if any achievements need to be revoked and if that's the case, make it so. function _checkAndRevokeAchievements(address _collAddr, uint256 _typeNum, uint256 _colorNum) internal { // Determine how many stamps of this color the collection owns. uint256 thisColorCount = 0; for (uint i = 1; i <= totalTypes; i++) { // 1-based, so use <= thisColorCount = thisColorCount.add(assetCount[_collAddr][i][_colorNum]); } // Check if we need to un-award any achievements. if (assetCount[_collAddr][_typeNum][_colorNum] == 0) { // Check for achievements that need to be revoked due to removing the last stamp of a sort. // We definitely have lost at least one color for this type: ALLCOLORS-{type} _disableAchievementIfApplicable(_collAddr, getAchievementCode(AchievementCategory.ALLCOLORS, _typeNum, 0, 1)); // As we have lost one color/type combination, revoke this as well: ALL _disableAchievementIfApplicable(_collAddr, getAchievementCode(AchievementCategory.ALL, 0, 0, 1)); } if (thisColorCount == 4 || thisColorCount == 9 || (thisColorCount == 49 && _colorNum == uint256(CS2PropertiesI.Colors.Blue))) { // Check for achievements that were awarded when getting to 5, 10, or 50 stamps of that color: COLOR-{color}-{5,10,50} _disableAchievementIfApplicable(_collAddr, getAchievementCode(AchievementCategory.COLOR, 0, _colorNum, thisColorCount.add(1))); } if (assetTypeCount[_collAddr][_typeNum] == 0 || assetTypeCount[_collAddr][_typeNum] == 4 || assetTypeCount[_collAddr][_typeNum] == 9) { // Check for achievements that were awarded when getting to 1,5, or 10 stamps of every type: ALLANIMALS-{1,5,10} _disableAchievementIfApplicable(_collAddr, getAchievementCode(AchievementCategory.ALLANIMALS, 0, 0, assetTypeCount[_collAddr][_typeNum].add(1))); } if (assetTotalCount[_collAddr] == 0 || assetTotalCount[_collAddr] == 4 || assetTotalCount[_collAddr] == 9) { // Check for achievements that were awarded when getting to 1, 5, or 10 total stamps: TOTAL-{1,5,10} _disableAchievementIfApplicable(_collAddr, getAchievementCode(AchievementCategory.TOTAL, 0, 0, assetTotalCount[_collAddr].add(1))); } } // Create new achievement or reactivate existing one, as needed. function _createAchievement(address _newOwner, uint256 _achievementCode) internal { uint256 potentialTokenId = awardedTokenId[_newOwner][_achievementCode]; if (_exists(potentialTokenId) && achievementCode[potentialTokenId] == _achievementCode && ownerOf(potentialTokenId) == _newOwner) { // Achievement token already exists, reactivate it. creationTime[potentialTokenId] = now; emit AchievementAwarded(_newOwner, _achievementCode, potentialTokenId); } else { // Create new achievement token, current totalSupply() is the new token ID. // _safeMint() checks if the recipient can actually receive ERC721 tokens. uint256 newTokenId = totalSupply(); _safeMint(_newOwner, newTokenId); achievementCode[newTokenId] = _achievementCode; creationTime[newTokenId] = now; awardedTokenId[_newOwner][_achievementCode] = newTokenId; emit AchievementAwarded(_newOwner, _achievementCode, newTokenId); } } // Deactivate achievement, if the owner actually owns it and it is not confimed. function _disableAchievementIfApplicable(address _owner, uint256 _achievementCode) internal { uint256 potentialTokenId = awardedTokenId[_owner][_achievementCode]; if (hasAchievement(_owner, _achievementCode) && !isConfirmed(potentialTokenId)) { creationTime[potentialTokenId] = 0; emit AchievementRevoked(_owner, _achievementCode, potentialTokenId); } } //*** Getters for token properties that are not explicit public variables *** // Returns whether the specified token exists. function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } // Returns whether the specified achievement has been confirmed. // This is the case if creationTime is not 0 but is older than confirmationTime. function isConfirmed(uint256 _tokenId) public view returns (bool) { // Compare creationTime to now before subtraction to avoid underflow. return (creationTime[_tokenId] > 0 && creationTime[_tokenId] < now && (now - creationTime[_tokenId]) > confirmationTime); } // Returns whether the specified achievement is actually active. // This is the case if creationTime is not 0 but equals now or is in the past, // AND if either allAchievementsRevoked is false or it's a confirmed achievement. function isActive(uint256 _tokenId) public view returns (bool) { return (creationTime[_tokenId] > 0 && creationTime[_tokenId] <= now && (allAchievementsRevoked[ownerOf(_tokenId)] == false || (now - creationTime[_tokenId]) > confirmationTime)); } // Returns the points for the specified achievement. function getPoints(uint256 _tokenId) public view returns (uint256) { return getPointsByCode(achievementCode[_tokenId]); } //*** Functions (pure or view) around handling achievement code and points *** // Encode achievement code from details. function getAchievementCode(AchievementCategory _category, uint256 _typeNum, uint256 _colorNum, uint256 _count) internal pure returns (uint256) { return uint256(_category).mul(2 ** 30).add(_typeNum.mul(2 ** 20)).add(_colorNum.mul(2 ** 10)).add(_count); } // Decode details from achievement code. function getDetailsFromCode(uint256 _achievementCode) public pure returns (AchievementCategory, uint256, uint256, uint256) { uint256 count = _achievementCode % (2 ** 10); uint256 colorNum = (_achievementCode >> 10) % (2 ** 10); uint256 typeNum = (_achievementCode >> 20) % (2 ** 10); AchievementCategory category = AchievementCategory((_achievementCode >> 30)); return (category, typeNum, colorNum, count); } // Determine if a collection actually has a given achievement and it is active. function hasAchievement(address _owner, uint256 _achievementCode) public view returns (bool) { uint256 potentialTokenId = awardedTokenId[_owner][_achievementCode]; return (_exists(potentialTokenId) && achievementCode[potentialTokenId] == _achievementCode && ownerOf(potentialTokenId) == _owner && creationTime[potentialTokenId] > 0); } // Get type number for a given token address and ID. // - For non-supported tokens, returns 0. // - For CS1 (Unicorn), returns 1. // - For CS2, returns 2 for Honeybadger, 3 for Llama, 4 for Panda, 5 for Doge. function getTypeNum(address _tokenAddress, uint256 _tokenId) public view returns (uint256) { if (_tokenAddress == CS1Address) { ERC721ExistsI CS1 = ERC721ExistsI(CS1Address); require(CS1.exists(_tokenId), "Token ID needs to exist."); return 1; } else if (_tokenAddress == CS2Address) { CS2PropertiesI CS2 = CS2PropertiesI(CS2Address); return 2 + uint256(CS2.getType(_tokenId)); } return 0; } // Get color number for a given token address and ID. // returns 0 for black, 1 for green, 2 for blue, 3 for yellow, 4 for red. function getColorNum(address _tokenAddress, uint256 _tokenId) public view returns (uint256) { if (_tokenAddress == CS1Address) { CS1ColorsI CS1 = CS1ColorsI(CS1ColorsAddress); return uint256(CS1.getColor(_tokenId)); } else if (_tokenAddress == CS2Address) { CS2PropertiesI CS2 = CS2PropertiesI(CS2Address); return uint256(CS2.getColor(_tokenId)); } return 0; } // Get points for a given achievement code. function getPointsByCode(uint256 _achievementCode) public view returns (uint256) { (AchievementCategory category, uint256 typeNum, uint256 colorNum, uint256 count) = getDetailsFromCode(_achievementCode); return getPointsByDetails(category, typeNum, colorNum, count); } // Get points for a given set of details. function getPointsByDetails(AchievementCategory _category, uint256 _typeNum, uint256 _colorNum, uint256 _count) public view returns (uint256) { if (_category == AchievementCategory.TOTAL) { return _count; } else if (_category == AchievementCategory.COLOR) { return _count * colorWeight[_colorNum]; } else if (_category == AchievementCategory.ALLANIMALS) { return _count * 5; } else if (_category == AchievementCategory.ALLCOLORS) { if (_typeNum == 1) { return 222; } else { return 200; } } else if (_category == AchievementCategory.ALL) { return 1000; } // This should be unreachable if we handle all possible categories above. return 0; } /*** Block transfers and approvals ***/ function _beforeTokenTransfer(address from, address to, uint256 tokenId) virtual override internal { if (from != address(0) && to != address(0)) { revert("Transfer of achievements is not possible."); } super._beforeTokenTransfer(from, to, tokenId); } function approve(address /*to*/, uint256 /*tokenId*/) public virtual override { revert("Transfer of achievements is not possible, so approvals are blocked."); } function setApprovalForAll(address /*operator*/, bool /*approved*/) public virtual override { revert("Transfer of achievements is not possible, so approvals are blocked."); } /*** Enable reverse ENS registration ***/ // Call this with the address of the reverse registrar for the respecitve network and the ENS name to register. // The reverse registrar can be found as the owner of 'addr.reverse' in the ENS system. // See https://docs.ens.domains/ens-deployments for address of ENS deployments, e.g. Etherscan can be used to look up that owner on those. // namehash.hash("addr.reverse") == "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" // Ropsten: ens.owner(namehash.hash("addr.reverse")) == "0x6F628b68b30Dc3c17f345c9dbBb1E483c2b7aE5c" // Mainnet: ens.owner(namehash.hash("addr.reverse")) == "0x084b1c3C81545d370f3634392De611CaaBFf8148" function registerReverseENS(address _reverseRegistrarAddress, string calldata _name) external onlyTokenAssignmentControl { require(_reverseRegistrarAddress != address(0), "need a valid reverse registrar"); ENSReverseRegistrarI(_reverseRegistrarAddress).setName(_name); } /*** Make sure currency doesn't get stranded in this contract ***/ // If this contract gets a balance in some ERC20 contract after it's finished, then we can rescue it. function rescueToken(IERC20 _foreignToken, address _to) external onlyTokenAssignmentControl { _foreignToken.transfer(_to, _foreignToken.balanceOf(address(this))); } // If this contract gets a balance in some ERC721 contract after it's finished, then we can rescue it. function approveNFTrescue(IERC721 _foreignNFT, address _to) external onlyTokenAssignmentControl { _foreignNFT.setApprovalForAll(_to, true); } // Make sure this contract cannot receive ETH. receive() external payable { revert("The contract cannot receive ETH payments."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_CS1Address","type":"address"},{"internalType":"address","name":"_CS1ColorsAddress","type":"address"},{"internalType":"address","name":"_CS2Address","type":"address"},{"internalType":"address","name":"_collectionsAddress","type":"address"},{"internalType":"address","name":"_tokenAssignmentControl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"achievementCode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AchievementAwarded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"achievementCode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AchievementRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"AllAchievementsRevoked","type":"event"},{"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":false,"internalType":"string","name":"value","type":"string"}],"name":"BaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousTokenAssignmentControl","type":"address"},{"indexed":true,"internalType":"address","name":"newTokenAssignmentControl","type":"address"}],"name":"TokenAssignmentControlTransferred","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":"CS1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CS1ColorsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CS2Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"achievementCode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allAchievementsRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"_foreignNFT","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"approveNFTrescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"assetCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"assetTotalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"assetTypeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"awardedTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"colorWeight","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"confirmationTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creationTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getColorNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_achievementCode","type":"uint256"}],"name":"getDetailsFromCode","outputs":[{"internalType":"enum Achievements.AchievementCategory","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_achievementCode","type":"uint256"}],"name":"getPointsByCode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Achievements.AchievementCategory","name":"_category","type":"uint8"},{"internalType":"uint256","name":"_typeNum","type":"uint256"},{"internalType":"uint256","name":"_colorNum","type":"uint256"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"getPointsByDetails","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTypeNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_achievementCode","type":"uint256"}],"name":"hasAchievement","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isActive","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isConfirmed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"enum CollectionNotificationI.TokenType","name":"_tokenType","type":"uint8"}],"name":"onAssetAdded","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"enum CollectionNotificationI.TokenType","name":"_tokenType","type":"uint8"}],"name":"onAssetRemoved","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"enum CS2PropertiesI.Colors","name":"_previousColor","type":"uint8"},{"internalType":"enum CS2PropertiesI.Colors","name":"_newColor","type":"uint8"}],"name":"onCS2ColorChanged","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_initial","type":"bool"}],"name":"onContractAdded","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"onContractRemoved","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_reverseRegistrarAddress","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"name":"registerReverseENS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_foreignToken","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueToken","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":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","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":[],"name":"tokenAssignmentControl","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"totalColors","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTypes","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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"},{"inputs":[{"internalType":"address","name":"_newTokenAssignmentControl","type":"address"}],"name":"transferTokenAssignmentControl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004a6938038062004a69833981810160405260a08110156200003757600080fd5b50805160208083015160408085015160608087015160809097015183518085018552601b81527f43727970746f207374616d70203220416368696576656d656e74730000000000818801528451808601865260048152634353324160e01b81890152855193840190955260268084529798959793969194909390929162004a43908301398282620000d86301ffc9a760e01b6001600160e01b036200024516565b8151620000ed90600590602085019062000442565b5080516200010390600690602084019062000442565b506200011f6380ac58cd60e01b6001600160e01b036200024516565b6200013a635b5e139f60e01b6001600160e01b036200024516565b6200015563780e9d6360e01b6001600160e01b036200024516565b506200016c9050816001600160e01b03620002ca16565b506200018c91506349ae07c960e01b90506001600160e01b036200024516565b620001a76358cac59760e01b6001600160e01b036200024516565b600980546001600160a01b03199081166001600160a01b0388811691909117909255600a80548216878416179055600b80548216868416179055600c80548216858416179055600d80549091169183169190911790556040805160a081018252600181526002602082015260049181019190915260086060820152601460808201526200023990600e906005620004c7565b5050505050506200059b565b6001600160e01b03198082161415620002a5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620002e0816200038e60201b620029861760201c565b7f01e56a02aca7f26a28165a040851ba78f30282b55ca81c63a804cdc1e2dcea72620003146001600160e01b03620003a716565b6040805160208082528351818301528351919283929083019185019080838360005b838110156200035057818101518382015260200162000336565b50505050905090810190601f1680156200037e5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b8051620003a390600890602084019062000442565b5050565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015620004375780601f106200040b5761010080835404028352916020019162000437565b820191906000526020600020905b8154815290600101906020018083116200041957829003601f168201915b505050505090505b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048557805160ff1916838001178555620004b5565b82800160010185558215620004b5579182015b82811115620004b557825182559160200191906001019062000498565b50620004c39291506200055d565b5090565b6001830191839082156200054f5791602002820160005b838211156200051e57835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302620004de565b80156200054d5782816101000a81549060ff02191690556001016020816000010492830192600103026200051e565b505b50620004c39291506200057a565b6200043f91905b80821115620004c3576000815560010162000564565b6200043f91905b80821115620004c357805460ff1916815560010162000581565b61449880620005ab6000396000f3fe60806040526004361061031e5760003560e01c80637336ecc1116101ab578063b5ed6ea2116100f7578063daf96bfb11610095578063f15df2e51161006f578063f15df2e514610571578063f26fd37a14610ea7578063f2d476bd14610ed1578063f70ef23d14610ee65761035a565b8063daf96bfb14610e05578063dd48f77414610e31578063e985e9c514610e6c5761035a565b8063c8c2ed54116100d1578063c8c2ed5414610d5a578063cba13f7214610d6f578063d0763c9514610da8578063d5ae33e214610ddb5761035a565b8063b5ed6ea214610c1b578063b88d4fde14610c5d578063c87b56dd14610d305761035a565b806395d89b4111610164578063a967eee41161013e578063a967eee414610b46578063ab5eba1614610b70578063afed8ffb14610ba9578063b5d7d9a614610be85761035a565b806395d89b4114610ac3578063a22cb46514610ad8578063a7e558d914610b135761035a565b80637336ecc1146109405780637840d7351461096a578063784547a71461097f57806382afd23b146109a95780638d1b0711146109d35780638e8fa11f14610a365761035a565b806346cf802c1161026a5780635a54b6ff11610223578063679e9f3a116101fd578063679e9f3a146108aa5780636c0360eb146108bf5780636e46d1b9146108d457806370a082311461090d5761035a565b80635a54b6ff1461080557806360dec1cc1461083e5780636352211e146108805761035a565b806346cf802c146106735780634707d000146106885780634f558e79146106c35780634f6ccce7146106ed57806355f804b31461071757806358cac597146107ca5761035a565b8063212562a0116102d75780632f745c59116102b15780632f745c591461058657806342842e0e146105bf57806343591f99146106025780634664c35c146106415761035a565b8063212562a0146104ee57806323b872dd1461052e5780632977c400146105715761035a565b806301ffc9a71461035f57806306fdde03146103a7578063081812fc14610431578063095ea7b3146104775780630a800a5f146104b257806318160ddd146104c75761035a565b3661035a5760405162461bcd60e51b815260040180806020018281038252602981526020018061415a6029913960400191505060405180910390fd5b600080fd5b34801561036b57600080fd5b506103936004803603602081101561038257600080fd5b50356001600160e01b031916610f1f565b604080519115158252519081900360200190f35b3480156103b357600080fd5b506103bc610f42565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f65781810151838201526020016103de565b50505050905090810190601f1680156104235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043d57600080fd5b5061045b6004803603602081101561045457600080fd5b5035610fd9565b604080516001600160a01b039092168252519081900360200190f35b34801561048357600080fd5b506104b06004803603604081101561049a57600080fd5b506001600160a01b03813516906020013561103b565b005b3480156104be57600080fd5b5061045b611072565b3480156104d357600080fd5b506104dc611081565b60408051918252519081900360200190f35b3480156104fa57600080fd5b506105186004803603602081101561051157600080fd5b5035611092565b6040805160ff9092168252519081900360200190f35b34801561053a57600080fd5b506104b06004803603606081101561055157600080fd5b506001600160a01b038135811691602081013590911690604001356110b9565b34801561057d57600080fd5b50610518611115565b34801561059257600080fd5b506104dc600480360360408110156105a957600080fd5b506001600160a01b03813516906020013561111a565b3480156105cb57600080fd5b506104b0600480360360608110156105e257600080fd5b506001600160a01b0381358116916020810135909116906040013561114b565b34801561060e57600080fd5b506104dc6004803603606081101561062557600080fd5b506001600160a01b038135169060208101359060400135611166565b34801561064d57600080fd5b50610656611189565b604080516001600160e01b03199092168252519081900360200190f35b34801561067f57600080fd5b5061045b61124b565b34801561069457600080fd5b506104b0600480360360408110156106ab57600080fd5b506001600160a01b038135811691602001351661125a565b3480156106cf57600080fd5b50610393600480360360208110156106e657600080fd5b503561139f565b3480156106f957600080fd5b506104dc6004803603602081101561071057600080fd5b50356113aa565b34801561072357600080fd5b506104b06004803603602081101561073a57600080fd5b81019060208101813564010000000081111561075557600080fd5b82018360208201111561076757600080fd5b8035906020019184600183028401116401000000008311171561078957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113c6945050505050565b3480156107d657600080fd5b50610656600480360360608110156107ed57600080fd5b5080359060ff6020820135811691604001351661141b565b34801561081157600080fd5b506104dc6004803603604081101561082857600080fd5b506001600160a01b03813516906020013561161c565b34801561084a57600080fd5b506106566004803603606081101561086157600080fd5b5080356001600160a01b0316906020810135906040013560ff1661172d565b34801561088c57600080fd5b5061045b600480360360208110156108a357600080fd5b50356119c0565b3480156108b657600080fd5b506104dc6119ee565b3480156108cb57600080fd5b506103bc6119f5565b3480156108e057600080fd5b506104dc600480360360408110156108f757600080fd5b506001600160a01b038135169060200135611a56565b34801561091957600080fd5b506104dc6004803603602081101561093057600080fd5b50356001600160a01b0316611a73565b34801561094c57600080fd5b506104dc6004803603602081101561096357600080fd5b5035611adb565b34801561097657600080fd5b5061045b611b0a565b34801561098b57600080fd5b50610393600480360360208110156109a257600080fd5b5035611b19565b3480156109b557600080fd5b50610393600480360360208110156109cc57600080fd5b5035611b67565b3480156109df57600080fd5b506109fd600480360360208110156109f657600080fd5b5035611be7565b60405180856004811115610a0d57fe5b60ff16815260200184815260200183815260200182815260200194505050505060405180910390f35b348015610a4257600080fd5b506104b060048036036040811015610a5957600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610a8457600080fd5b820183602082011115610a9657600080fd5b80359060200191846001830284011164010000000083111715610ab857600080fd5b509092509050611c23565b348015610acf57600080fd5b506103bc611d6c565b348015610ae457600080fd5b506104b060048036036040811015610afb57600080fd5b506001600160a01b038135169060200135151561103b565b348015610b1f57600080fd5b5061039360048036036020811015610b3657600080fd5b50356001600160a01b0316611dcd565b348015610b5257600080fd5b506104dc60048036036020811015610b6957600080fd5b5035611de2565b348015610b7c57600080fd5b5061039360048036036040811015610b9357600080fd5b506001600160a01b038135169060200135611dfa565b348015610bb557600080fd5b506104dc60048036036080811015610bcc57600080fd5b5060ff8135169060208101359060408101359060600135611e86565b348015610bf457600080fd5b506104dc60048036036020811015610c0b57600080fd5b50356001600160a01b0316611f55565b348015610c2757600080fd5b5061065660048036036060811015610c3e57600080fd5b5080356001600160a01b0316906020810135906040013560ff16611f67565b348015610c6957600080fd5b506104b060048036036080811015610c8057600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610cbb57600080fd5b820183602082011115610ccd57600080fd5b80359060200191846001830284011164010000000083111715610cef57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612147945050505050565b348015610d3c57600080fd5b506103bc60048036036020811015610d5357600080fd5b503561219f565b348015610d6657600080fd5b5061045b612446565b348015610d7b57600080fd5b506104dc60048036036040811015610d9257600080fd5b506001600160a01b038135169060200135612455565b348015610db457600080fd5b506104b060048036036020811015610dcb57600080fd5b50356001600160a01b0316612472565b348015610de757600080fd5b506104dc60048036036020811015610dfe57600080fd5b503561255c565b348015610e1157600080fd5b5061065660048036036020811015610e2857600080fd5b5035151561256e565b348015610e3d57600080fd5b506104b060048036036040811015610e5457600080fd5b506001600160a01b03813581169160200135166126ee565b348015610e7857600080fd5b5061039360048036036040811015610e8f57600080fd5b506001600160a01b03813581169160200135166127a5565b348015610eb357600080fd5b506104dc60048036036020811015610eca57600080fd5b50356127d3565b348015610edd57600080fd5b5061045b6127e5565b348015610ef257600080fd5b506104dc60048036036040811015610f0957600080fd5b506001600160a01b0381351690602001356127f4565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b820191906000526020600020905b815481529060010190602001808311610fb157829003601f168201915b505050505090505b90565b6000610fe48261299d565b61101f5760405162461bcd60e51b815260040180806020018281038252602c815260200180614329602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60405162461bcd60e51b81526004018080602001828103825260438152602001806140ac6043913960600191505060405180910390fd5b6009546001600160a01b031681565b600061108d60026129b0565b905090565b600e816005811061109f57fe5b60209182820401919006915054906101000a900460ff1681565b6110ca6110c46129bb565b826129bf565b6111055760405162461bcd60e51b81526004018080602001828103825260318152602001806144096031913960400191505060405180910390fd5b611110838383612a5b565b505050565b600581565b6001600160a01b0382166000908152600160205260408120611142908363ffffffff612bb916565b90505b92915050565b61111083838360405180602001604052806000815250612147565b600f60209081526000938452604080852082529284528284209052825290205481565b600060015b600581116111f15760005b60058110156111cd57336000908152600f602090815260408083208584528252808320848452909152812055600101611199565b5033600090815260106020908152604080832084845290915281205560010161118e565b503360008181526011602090815260408083208390556013909152808220805460ff19166001179055517ff16f8aec6ea5a5e824cd8fa070ff5e282045b30347f065adc98652e5f4f1de919190a25063119930d760e21b90565b600c546001600160a01b031681565b600d546001600160a01b031633146112a35760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b604080516370a0823160e01b815230600482015290516001600160a01b0384169163a9059cbb91849184916370a0823191602480820192602092909190829003018186803b1580156112f457600080fd5b505afa158015611308573d6000803e3d6000fd5b505050506040513d602081101561131e57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505050506040513d602081101561139957600080fd5b50505050565b60006111458261299d565b6000806113be60028463ffffffff612bc516565b509392505050565b600d546001600160a01b0316331461140f5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b61141881612be1565b50565b600b546000906001600160a01b031633146114675760405162461bcd60e51b81526004018080602001828103825260238152602001806142af6023913960400191505060405180910390fd5b600b54604080516331a9108f60e11b81526004810187905290516000926001600160a01b031691636352211e916024808301926020929190829003018186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d60208110156114dd57600080fd5b5051600b549091506000906114fb906001600160a01b0316876127f4565b9050600085600481111561150b57fe5b9050600085600481111561151b57fe5b6001600160a01b0385166000908152600f60209081526040808320878452825280832086845290915290205490915061155b90600163ffffffff612c8a16565b6001600160a01b0385166000908152600f602090815260408083208784528252808320868452909152902055611592848484612ccc565b6001600160a01b0384166000908152600f6020908152604080832086845282528083208484529091529020546115cf90600163ffffffff612f2f16565b6001600160a01b0385166000908152600f602090815260408083208784528252808320858452909152902055611606848483612f89565b506358cac59760e01b93505050505b9392505050565b6009546000906001600160a01b03848116911614156116c157600a5460408051634002bdcd60e11b81526004810185905290516001600160a01b039092169182916380057b9a916024808301926020929190829003018186803b15801561168257600080fd5b505afa158015611696573d6000803e3d6000fd5b505050506040513d60208110156116ac57600080fd5b505160048111156116b957fe5b915050611145565b600b546001600160a01b038481169116141561172457600b5460408051634002bdcd60e11b81526004810185905290516001600160a01b039092169182916380057b9a916024808301926020929190829003018186803b15801561168257600080fd5b50600092915050565b60008082600181111561173c57fe5b14156119b057336001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561179057600080fd5b505afa1580156117a4573d6000803e3d6000fd5b505050506040513d60208110156117ba57600080fd5b50516001600160a01b0316146118015760405162461bcd60e51b815260040180806020018281038252603581526020018061427a6035913960400191505060405180910390fd5b600061180d85856127f4565b905080156119ae57600c5460408051634f558e7960e01b815233600482015290516001600160a01b03909216918291634f558e79916024808301926020929190829003018186803b15801561186157600080fd5b505afa158015611875573d6000803e3d6000fd5b505050506040513d602081101561188b57600080fd5b50516118c85760405162461bcd60e51b81526004018080602001828103825260268152602001806143556026913960400191505060405180910390fd5b60006118d4878761161c565b336000908152600f60209081526040808320878452825280832084845290915290205490915061190b90600163ffffffff612f2f16565b336000818152600f60209081526040808320888452825280832086845282528083209490945591815260108252828120868252909152205461195490600163ffffffff612f2f16565b3360008181526010602090815260408083208884528252808320949094559181526011909152205461198d90600163ffffffff612f2f16565b336000818152601160205260409020919091556119ab908483612f89565b50505b505b50631837b07360e21b9392505050565b6000611145826040518060600160405280602981526020016141fd602991396002919063ffffffff61332e16565b6202a30081565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b601260209081526000928352604080842090915290825290205481565b60006001600160a01b038216611aba5760405162461bcd60e51b815260040180806020018281038252602a8152602001806141d3602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020611145906129b0565b6000806000806000611aec86611be7565b9350935093509350611b0084848484611e86565b9695505050505050565b600b546001600160a01b031681565b60008181526015602052604081205415801590611b43575060008281526015602052604090205442115b80156111455750506000908152601560205260409020546202a30042919091031190565b60008181526015602052604081205415801590611b9257506000828152601560205260409020544210155b8015611145575060136000611ba6846119c0565b6001600160a01b0316815260208101919091526040016000205460ff1615806111455750506000908152601560205260409020546202a30042919091031190565b60008080806103ff80861690600a87901c811690601488901c1683601e89901c6004811115611c1257fe5b999198509196509194509092505050565b600d546001600160a01b03163314611c6c5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6001600160a01b038316611cc7576040805162461bcd60e51b815260206004820152601e60248201527f6e65656420612076616c69642072657665727365207265676973747261720000604482015290519081900360640190fd5b60405163c47f002760e01b8152602060048201908152602482018390526001600160a01b0385169163c47f00279185918591908190604401848480828437600081840152601f19601f8201169050808301925050509350505050602060405180830381600087803b158015611d3b57600080fd5b505af1158015611d4f573d6000803e3d6000fd5b505050506040513d6020811015611d6557600080fd5b5050505050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b60136020526000908152604090205460ff1681565b60008181526014602052604081205461114590611adb565b6001600160a01b0382166000908152601260209081526040808320848452909152812054611e278161299d565b8015611e40575060008181526014602052604090205483145b8015611e655750836001600160a01b0316611e5a826119c0565b6001600160a01b0316145b8015611e7e575060008181526015602052604090205415155b949350505050565b600080856004811115611e9557fe5b1415611ea2575080611e7e565b6001856004811115611eb057fe5b1415611ee257600e8360058110611ec357fe5b602081049091015460ff601f9092166101000a90041682029050611e7e565b6002856004811115611ef057fe5b1415611f00575060058102611e7e565b6003856004811115611f0e57fe5b1415611f2d578360011415611f25575060de611e7e565b5060c8611e7e565b6004856004811115611f3b57fe5b1415611f4a57506103e8611e7e565b506000949350505050565b60116020526000908152604090205481565b600080826001811115611f7657fe5b141561213757336001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611fca57600080fd5b505afa158015611fde573d6000803e3d6000fd5b505050506040513d6020811015611ff457600080fd5b50516001600160a01b0316141561203c5760405162461bcd60e51b81526004018080602001828103825260398152602001806140ef6039913960400191505060405180910390fd5b600061204885856127f4565b9050801561213557600061205c868661161c565b336000908152600f60209081526040808320868452825280832084845290915290205490915061209390600163ffffffff612c8a16565b336000818152600f6020908152604080832087845282528083208684528252808320949094559181526010825282812085825290915220546120dc90600163ffffffff612c8a16565b3360008181526010602090815260408083208784528252808320949094559181526011909152205461211590600163ffffffff612c8a16565b33600081815260116020526040902091909155612133908383612ccc565b505b505b50635af6b75160e11b9392505050565b6121586121526129bb565b836129bf565b6121935760405162461bcd60e51b81526004018080602001828103825260318152602001806144096031913960400191505060405180910390fd5b6113998484848461333b565b60606121aa8261299d565b6121e55760405162461bcd60e51b815260040180806020018281038252602f8152602001806143a4602f913960400191505060405180910390fd5b60008281526007602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561227a5780601f1061224f5761010080835404028352916020019161227a565b820191906000526020600020905b81548152906001019060200180831161225d57829003601f168201915b5050600854939450505050600260001961010060018416150201909116046122a3579050610f3d565b80511561237457600881604051602001808380546001816001161561010002031660029004801561230b5780601f106122e957610100808354040283529182019161230b565b820191906000526020600020905b8154815290600101906020018083116122f7575b5050825160208401908083835b602083106123375780518252601f199092019160209182019101612318565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610f3d565b600861237f8461338d565b60405160200180838054600181600116156101000203166002900480156123dd5780601f106123bb5761010080835404028352918201916123dd565b820191906000526020600020905b8154815290600101906020018083116123c9575b5050825160208401908083835b602083106124095780518252601f1990920191602091820191016123ea565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600d546001600160a01b031681565b601060209081526000928352604080842090915290825290205481565b600d546001600160a01b031633146124bb5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6001600160a01b0381166125005760405162461bcd60e51b81526004018080602001828103825260328152602001806142266032913960400191505060405180910390fd5b600d546040516001600160a01b038084169216907fe74ad8e35ae0d7f4389ff1318666007250321a66dd644dca021b5e2e30fa2a5c90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205481565b600c5460408051634f558e7960e01b815233600482015290516000926001600160a01b0316918291634f558e7991602480820192602092909190829003018186803b1580156125bc57600080fd5b505afa1580156125d0573d6000803e3d6000fd5b505050506040513d60208110156125e657600080fd5b50516126235760405162461bcd60e51b81526004018080602001828103825260268152602001806143556026913960400191505060405180910390fd5b826126df57336001600160a01b03166355c857fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561266157600080fd5b505afa158015612675573d6000803e3d6000fd5b505050506040513d602081101561268b57600080fd5b5051156126df576040805162461bcd60e51b815260206004820152601d60248201527f436f6c6c656374696f6e206e6565647320746f20626520656d7074792e000000604482015290519081900360640190fd5b5063daf96bfb60e01b92915050565b600d546001600160a01b031633146127375760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6040805163a22cb46560e01b81526001600160a01b0383811660048301526001602483015291519184169163a22cb4659160448082019260009290919082900301818387803b15801561278957600080fd5b505af115801561279d573d6000803e3d6000fd5b505050505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b60146020526000908152604090205481565b600a546001600160a01b031681565b6009546000906001600160a01b03848116911614156128e15760095460408051634f558e7960e01b81526004810185905290516001600160a01b03909216918291634f558e79916024808301926020929190829003018186803b15801561285a57600080fd5b505afa15801561286e573d6000803e3d6000fd5b505050506040513d602081101561288457600080fd5b50516128d7576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e204944206e6565647320746f2065786973742e0000000000000000604482015290519081900360640190fd5b6001915050611145565b600b546001600160a01b038481169116141561172457600b5460408051630806d56f60e31b81526004810185905290516001600160a01b03909216918291634036ab78916024808301926020929190829003018186803b15801561294457600080fd5b505afa158015612958573d6000803e3d6000fd5b505050506040513d602081101561296e57600080fd5b5051600381111561297b57fe5b600201915050611145565b8051612999906008906020840190613ff1565b5050565b600061114560028363ffffffff61346816565b600061114582613474565b3390565b60006129ca8261299d565b612a055760405162461bcd60e51b815260040180806020018281038252602c8152602001806141a7602c913960400191505060405180910390fd5b6000612a10836119c0565b9050806001600160a01b0316846001600160a01b03161480612a4b5750836001600160a01b0316612a4084610fd9565b6001600160a01b0316145b80611e7e5750611e7e81856127a5565b826001600160a01b0316612a6e826119c0565b6001600160a01b031614612ab35760405162461bcd60e51b815260040180806020018281038252602981526020018061437b6029913960400191505060405180910390fd5b6001600160a01b038216612af85760405162461bcd60e51b81526004018080602001828103825260248152602001806141836024913960400191505060405180910390fd5b612b03838383613478565b612b0e6000826134df565b6001600160a01b0383166000908152600160205260409020612b36908263ffffffff61354d16565b506001600160a01b0382166000908152600160205260409020612b5f908263ffffffff61355916565b50612b726002828463ffffffff61356516565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611142838361357b565b6000808080612bd486866135df565b9097909650945050505050565b612bea81612986565b7f01e56a02aca7f26a28165a040851ba78f30282b55ca81c63a804cdc1e2dcea72612c136119f5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015612c4d578181015183820152602001612c35565b50505050905090810190601f168015612c7a5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b600061114283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613649565b600060015b60058111612d20576001600160a01b0385166000908152600f602090815260408083208484528252808320868452909152902054612d1690839063ffffffff612f2f16565b9150600101612cd1565b506001600160a01b0384166000908152600f602090815260408083208684528252808320858452909152902054612d7c57612d6984612d64600386600060016136e0565b613746565b612d7c84612d64600460008060016136e0565b8060041480612d8b5750806009145b80612da15750806031148015612da15750600282145b15612dc757612dc784612d646001600086612dc2878463ffffffff612f2f16565b6136e0565b6001600160a01b03841660009081526010602090815260408083208684529091529020541580612e1a57506001600160a01b03841660009081526010602090815260408083208684529091529020546004145b80612e4857506001600160a01b03841660009081526010602090815260408083208684529091529020546009145b15612e91576001600160a01b0384166000908152601060209081526040808320868452909152812054612e91918691612d64916002918190612dc290600163ffffffff612f2f16565b6001600160a01b0384166000908152601160205260409020541580612ece57506001600160a01b0384166000908152601160205260409020546004145b80612ef157506001600160a01b0384166000908152601160205260409020546009145b15611399576001600160a01b038416600090815260116020526040812054611399918691612d64919081908190612dc290600163ffffffff612f2f16565b600082820183811015611142576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600060015b60058111612fdd576001600160a01b0385166000908152600f602090815260408083208484528252808320868452909152902054612fd390839063ffffffff612f2f16565b9150600101612f8e565b506001600160a01b0384166000908152600f60209081526040808320868452825280832085845290915290205460011415613104576000613023600385600060016136e0565b905061302f8582611dfa565b61310257600160005b6005811015613082576001600160a01b0387166000908152600f6020908152604080832089845282528083208484529091529020546001111561307a57600091505b600101613038565b5080156131005761309386836137e5565b6130a2600460008060016136e0565b91506130ae8683611dfa565b613100576001805b600581116130ed5760006130cf600383600060016136e0565b90506130db8982611dfa565b6130e457600092505b506001016130b6565b5080156130fe576130fe87846137e5565b505b505b505b8060051480613113575080600a145b8061312957508060321480156131295750600282145b1561315a57600061313e6001600085856136e0565b905061314a8582611dfa565b6131585761315885826137e5565b505b6001600160a01b0384166000908152601060209081526040808320868452909152902054600114806131af57506001600160a01b03841660009081526010602090815260408083208684529091529020546005145b806131dd57506001600160a01b0384166000908152601060209081526040808320868452909152902054600a145b15613285576001600160a01b038416600090815260106020908152604080832086845290915281205461321690600290839081906136e0565b90506132228582611dfa565b613283576001805b60058111613270576001600160a01b038716600090815260106020908152604080832089845290915280822054838352912054101561326857600091505b60010161322a565b5080156132815761328186836137e5565b505b505b6001600160a01b038416600090815260116020526040902054600114806132c457506001600160a01b0384166000908152601160205260409020546005145b806132e757506001600160a01b038416600090815260116020526040902054600a145b15611399576001600160a01b038416600090815260116020526040812054613314908290819081906136e0565b90506133208582611dfa565b611d6557611d6585826137e5565b6000611e7e848484613940565b613346848484612a5b565b613352848484846139bb565b6113995760405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6060816133b257506040805180820190915260018152600360fc1b6020820152610f3d565b8160005b81156133ca57600101600a820491506133b6565b60608167ffffffffffffffff811180156133e357600080fd5b506040519080825280601f01601f19166020018201604052801561340e576020820181803683370190505b50859350905060001982015b831561345f57600a840660300160f81b8282806001900393508151811061343d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061341a565b50949350505050565b60006111428383613bf6565b5490565b6001600160a01b0383161580159061349857506001600160a01b03821615155b156134d45760405162461bcd60e51b815260040180806020018281038252602981526020018061443a6029913960400191505060405180910390fd5b611110838383611110565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613514826119c0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111428383613bfc565b60006111428383613cc2565b6000611e7e84846001600160a01b038516613d0c565b815460009082106135bd5760405162461bcd60e51b815260040180806020018281038252602281526020018061408a6022913960400191505060405180910390fd5b8260000182815481106135cc57fe5b9060005260206000200154905092915050565b8154600090819083106136235760405162461bcd60e51b81526004018080602001828103825260228152602001806142586022913960400191505060405180910390fd5b8354839085908290811061363357fe5b9060005260206000200154915091509250929050565b600081848411156136d85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561369d578181015183820152602001613685565b50505050905090810190601f1680156136ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061373d826137316136fb8661040063ffffffff613da116565b613731613711896210000063ffffffff613da116565b61373163400000008c600481111561372557fe5b9063ffffffff613da116565b9063ffffffff612f2f16565b95945050505050565b6001600160a01b03821660009081526012602090815260408083208484529091529020546137748383611dfa565b8015613786575061378481611b19565b155b1561111057600081815260156020908152604080832092909255815184815290810183905281516001600160a01b038616927f3fac85127337ec6997c22d7f8e2a9cd26f4ed2ce272fa065f38266987dea517b928290030190a2505050565b6001600160a01b03821660009081526012602090815260408083208484529091529020546138128161299d565b801561382b575060008181526014602052604090205482145b80156138505750826001600160a01b0316613845826119c0565b6001600160a01b0316145b156138af57600081815260156020908152604091829020429055815184815290810183905281516001600160a01b038616927fa5dfff4d76327e349a0c6cf870aa05b149d2e1d7de51ad101c593d244f6eb4c1928290030190a2611110565b60006138b9611081565b90506138c58482613dfa565b6000818152601460209081526040808320869055601582528083204290556001600160a01b03871680845260128352818420878552835292819020849055805186815291820184905280517fa5dfff4d76327e349a0c6cf870aa05b149d2e1d7de51ad101c593d244f6eb4c19281900390910190a250505050565b82546000908390839082106139965760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561369d578181015183820152602001613685565b508460000181815481106139a657fe5b90600052602060002001549150509392505050565b60006139cf846001600160a01b0316613e14565b6139db57506001611e7e565b600060606001600160a01b038616630a85bd0160e11b6139f96129bb565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613a72578181015183820152602001613a5a565b50505050905090810190601f168015613a9f5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b60208310613b075780518252601f199092019160209182019101613ae8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613b69576040519150601f19603f3d011682016040523d82523d6000602084013e613b6e565b606091505b509150915081613bbf57805115613b885780518082602001fd5b60405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6000818060200190516020811015613bd657600080fd5b50516001600160e01b031916630a85bd0160e11b149350611e7e92505050565b90541190565b60008181526001830160205260408120548015613cb85783546000198083019190810190600090879083908110613c2f57fe5b9060005260206000200154905080876000018481548110613c4c57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613c7c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611145565b6000915050611145565b6000613cce8383613e4d565b613d0457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611145565b506000611145565b82546000908390811115613d515760405162461bcd60e51b81526004018080602001828103825260368152602001806142d26036913960400191505060405180910390fd5b8454811415613d79575050825460018181018555600085815260209020909101829055611615565b82856000018281548110613d8957fe5b90600052602060002001819055506000915050611615565b600082613db057506000611145565b82820282848281613dbd57fe5b04146111425760405162461bcd60e51b81526004018080602001828103825260218152602001806143086021913960400191505060405180910390fd5b612999828260405180602001604052806000815250613e65565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611e7e575050151592915050565b60009081526001919091016020526040902054151590565b613e6f8383613eb7565b613e7c60008484846139bb565b6111105760405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6001600160a01b038216613f12576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b613f1b8161299d565b15613f6d576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b613f7960008383613478565b6001600160a01b0382166000908152600160205260409020613fa1908263ffffffff61355916565b50613fb46002828463ffffffff61356516565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061403257805160ff191683800117855561405f565b8280016001018555821561405f579182015b8281111561405f578251825591602001919060010190614044565b5061406b92915061406f565b5090565b610fd691905b8082111561406b576000815560010161407556fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64735472616e73666572206f6620616368696576656d656e7473206973206e6f7420706f737369626c652c20736f20617070726f76616c732061726520626c6f636b65642e4e4654206e65656473206e6f7420746f206265206f776e6564206279207468652063616c6c6572206f6620746869732066756e6374696f6e2e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657254686520636f6e74726163742063616e6e6f74207265636569766520455448207061796d656e74732e4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e41737369676e6d656e74436f6e74726f6c2063616e6e6f7420626520746865207a65726f20616464726573732e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734e4654206e6565647320746f206265206f776e6564206279207468652063616c6c6572206f6620746869732066756e6374696f6e2e4e6565647320746f2062652063616c6c65642062792043533220636f6e74726163742e43616e6e6f742061646420656e7472792074686174206973206e6f7420636f6e6e656374656420746f206578697374696e6720494473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e53656e646572206e6565647320746f20626520612076616c696420436f6c6c656374696f6e2e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e41737369676e6d656e74436f6e74726f6c206b657920726571756972656420666f7220746869732066756e6374696f6e2e4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645472616e73666572206f6620616368696576656d656e7473206973206e6f7420706f737369626c652ea26469706673582212205278ee1754267221279acca38d957a9992b1b8db0f9790caaa2b49355a88987f64736f6c6343000608003368747470733a2f2f746573742e63727970746f2e706f73742e61742f435332412f6d6574612f0000000000000000000000007e789e2dd1340971de0a9bca35b14ac0939aa3300000000000000000000000006b0ec039d368b9a9d044391de2437ba24131e87b0000000000000000000000006e1270ecc4a770e4267b6a44545083c7c4dc78a2000000000000000000000000574317b5167521d2e3e34469a6993102fbbd92ed000000000000000000000000596e620e175c2c37a5f35a41d9f2305a991ffc89
Deployed Bytecode
0x60806040526004361061031e5760003560e01c80637336ecc1116101ab578063b5ed6ea2116100f7578063daf96bfb11610095578063f15df2e51161006f578063f15df2e514610571578063f26fd37a14610ea7578063f2d476bd14610ed1578063f70ef23d14610ee65761035a565b8063daf96bfb14610e05578063dd48f77414610e31578063e985e9c514610e6c5761035a565b8063c8c2ed54116100d1578063c8c2ed5414610d5a578063cba13f7214610d6f578063d0763c9514610da8578063d5ae33e214610ddb5761035a565b8063b5ed6ea214610c1b578063b88d4fde14610c5d578063c87b56dd14610d305761035a565b806395d89b4111610164578063a967eee41161013e578063a967eee414610b46578063ab5eba1614610b70578063afed8ffb14610ba9578063b5d7d9a614610be85761035a565b806395d89b4114610ac3578063a22cb46514610ad8578063a7e558d914610b135761035a565b80637336ecc1146109405780637840d7351461096a578063784547a71461097f57806382afd23b146109a95780638d1b0711146109d35780638e8fa11f14610a365761035a565b806346cf802c1161026a5780635a54b6ff11610223578063679e9f3a116101fd578063679e9f3a146108aa5780636c0360eb146108bf5780636e46d1b9146108d457806370a082311461090d5761035a565b80635a54b6ff1461080557806360dec1cc1461083e5780636352211e146108805761035a565b806346cf802c146106735780634707d000146106885780634f558e79146106c35780634f6ccce7146106ed57806355f804b31461071757806358cac597146107ca5761035a565b8063212562a0116102d75780632f745c59116102b15780632f745c591461058657806342842e0e146105bf57806343591f99146106025780634664c35c146106415761035a565b8063212562a0146104ee57806323b872dd1461052e5780632977c400146105715761035a565b806301ffc9a71461035f57806306fdde03146103a7578063081812fc14610431578063095ea7b3146104775780630a800a5f146104b257806318160ddd146104c75761035a565b3661035a5760405162461bcd60e51b815260040180806020018281038252602981526020018061415a6029913960400191505060405180910390fd5b600080fd5b34801561036b57600080fd5b506103936004803603602081101561038257600080fd5b50356001600160e01b031916610f1f565b604080519115158252519081900360200190f35b3480156103b357600080fd5b506103bc610f42565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f65781810151838201526020016103de565b50505050905090810190601f1680156104235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043d57600080fd5b5061045b6004803603602081101561045457600080fd5b5035610fd9565b604080516001600160a01b039092168252519081900360200190f35b34801561048357600080fd5b506104b06004803603604081101561049a57600080fd5b506001600160a01b03813516906020013561103b565b005b3480156104be57600080fd5b5061045b611072565b3480156104d357600080fd5b506104dc611081565b60408051918252519081900360200190f35b3480156104fa57600080fd5b506105186004803603602081101561051157600080fd5b5035611092565b6040805160ff9092168252519081900360200190f35b34801561053a57600080fd5b506104b06004803603606081101561055157600080fd5b506001600160a01b038135811691602081013590911690604001356110b9565b34801561057d57600080fd5b50610518611115565b34801561059257600080fd5b506104dc600480360360408110156105a957600080fd5b506001600160a01b03813516906020013561111a565b3480156105cb57600080fd5b506104b0600480360360608110156105e257600080fd5b506001600160a01b0381358116916020810135909116906040013561114b565b34801561060e57600080fd5b506104dc6004803603606081101561062557600080fd5b506001600160a01b038135169060208101359060400135611166565b34801561064d57600080fd5b50610656611189565b604080516001600160e01b03199092168252519081900360200190f35b34801561067f57600080fd5b5061045b61124b565b34801561069457600080fd5b506104b0600480360360408110156106ab57600080fd5b506001600160a01b038135811691602001351661125a565b3480156106cf57600080fd5b50610393600480360360208110156106e657600080fd5b503561139f565b3480156106f957600080fd5b506104dc6004803603602081101561071057600080fd5b50356113aa565b34801561072357600080fd5b506104b06004803603602081101561073a57600080fd5b81019060208101813564010000000081111561075557600080fd5b82018360208201111561076757600080fd5b8035906020019184600183028401116401000000008311171561078957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113c6945050505050565b3480156107d657600080fd5b50610656600480360360608110156107ed57600080fd5b5080359060ff6020820135811691604001351661141b565b34801561081157600080fd5b506104dc6004803603604081101561082857600080fd5b506001600160a01b03813516906020013561161c565b34801561084a57600080fd5b506106566004803603606081101561086157600080fd5b5080356001600160a01b0316906020810135906040013560ff1661172d565b34801561088c57600080fd5b5061045b600480360360208110156108a357600080fd5b50356119c0565b3480156108b657600080fd5b506104dc6119ee565b3480156108cb57600080fd5b506103bc6119f5565b3480156108e057600080fd5b506104dc600480360360408110156108f757600080fd5b506001600160a01b038135169060200135611a56565b34801561091957600080fd5b506104dc6004803603602081101561093057600080fd5b50356001600160a01b0316611a73565b34801561094c57600080fd5b506104dc6004803603602081101561096357600080fd5b5035611adb565b34801561097657600080fd5b5061045b611b0a565b34801561098b57600080fd5b50610393600480360360208110156109a257600080fd5b5035611b19565b3480156109b557600080fd5b50610393600480360360208110156109cc57600080fd5b5035611b67565b3480156109df57600080fd5b506109fd600480360360208110156109f657600080fd5b5035611be7565b60405180856004811115610a0d57fe5b60ff16815260200184815260200183815260200182815260200194505050505060405180910390f35b348015610a4257600080fd5b506104b060048036036040811015610a5957600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610a8457600080fd5b820183602082011115610a9657600080fd5b80359060200191846001830284011164010000000083111715610ab857600080fd5b509092509050611c23565b348015610acf57600080fd5b506103bc611d6c565b348015610ae457600080fd5b506104b060048036036040811015610afb57600080fd5b506001600160a01b038135169060200135151561103b565b348015610b1f57600080fd5b5061039360048036036020811015610b3657600080fd5b50356001600160a01b0316611dcd565b348015610b5257600080fd5b506104dc60048036036020811015610b6957600080fd5b5035611de2565b348015610b7c57600080fd5b5061039360048036036040811015610b9357600080fd5b506001600160a01b038135169060200135611dfa565b348015610bb557600080fd5b506104dc60048036036080811015610bcc57600080fd5b5060ff8135169060208101359060408101359060600135611e86565b348015610bf457600080fd5b506104dc60048036036020811015610c0b57600080fd5b50356001600160a01b0316611f55565b348015610c2757600080fd5b5061065660048036036060811015610c3e57600080fd5b5080356001600160a01b0316906020810135906040013560ff16611f67565b348015610c6957600080fd5b506104b060048036036080811015610c8057600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610cbb57600080fd5b820183602082011115610ccd57600080fd5b80359060200191846001830284011164010000000083111715610cef57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612147945050505050565b348015610d3c57600080fd5b506103bc60048036036020811015610d5357600080fd5b503561219f565b348015610d6657600080fd5b5061045b612446565b348015610d7b57600080fd5b506104dc60048036036040811015610d9257600080fd5b506001600160a01b038135169060200135612455565b348015610db457600080fd5b506104b060048036036020811015610dcb57600080fd5b50356001600160a01b0316612472565b348015610de757600080fd5b506104dc60048036036020811015610dfe57600080fd5b503561255c565b348015610e1157600080fd5b5061065660048036036020811015610e2857600080fd5b5035151561256e565b348015610e3d57600080fd5b506104b060048036036040811015610e5457600080fd5b506001600160a01b03813581169160200135166126ee565b348015610e7857600080fd5b5061039360048036036040811015610e8f57600080fd5b506001600160a01b03813581169160200135166127a5565b348015610eb357600080fd5b506104dc60048036036020811015610eca57600080fd5b50356127d3565b348015610edd57600080fd5b5061045b6127e5565b348015610ef257600080fd5b506104dc60048036036040811015610f0957600080fd5b506001600160a01b0381351690602001356127f4565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b820191906000526020600020905b815481529060010190602001808311610fb157829003601f168201915b505050505090505b90565b6000610fe48261299d565b61101f5760405162461bcd60e51b815260040180806020018281038252602c815260200180614329602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60405162461bcd60e51b81526004018080602001828103825260438152602001806140ac6043913960600191505060405180910390fd5b6009546001600160a01b031681565b600061108d60026129b0565b905090565b600e816005811061109f57fe5b60209182820401919006915054906101000a900460ff1681565b6110ca6110c46129bb565b826129bf565b6111055760405162461bcd60e51b81526004018080602001828103825260318152602001806144096031913960400191505060405180910390fd5b611110838383612a5b565b505050565b600581565b6001600160a01b0382166000908152600160205260408120611142908363ffffffff612bb916565b90505b92915050565b61111083838360405180602001604052806000815250612147565b600f60209081526000938452604080852082529284528284209052825290205481565b600060015b600581116111f15760005b60058110156111cd57336000908152600f602090815260408083208584528252808320848452909152812055600101611199565b5033600090815260106020908152604080832084845290915281205560010161118e565b503360008181526011602090815260408083208390556013909152808220805460ff19166001179055517ff16f8aec6ea5a5e824cd8fa070ff5e282045b30347f065adc98652e5f4f1de919190a25063119930d760e21b90565b600c546001600160a01b031681565b600d546001600160a01b031633146112a35760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b604080516370a0823160e01b815230600482015290516001600160a01b0384169163a9059cbb91849184916370a0823191602480820192602092909190829003018186803b1580156112f457600080fd5b505afa158015611308573d6000803e3d6000fd5b505050506040513d602081101561131e57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505050506040513d602081101561139957600080fd5b50505050565b60006111458261299d565b6000806113be60028463ffffffff612bc516565b509392505050565b600d546001600160a01b0316331461140f5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b61141881612be1565b50565b600b546000906001600160a01b031633146114675760405162461bcd60e51b81526004018080602001828103825260238152602001806142af6023913960400191505060405180910390fd5b600b54604080516331a9108f60e11b81526004810187905290516000926001600160a01b031691636352211e916024808301926020929190829003018186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d60208110156114dd57600080fd5b5051600b549091506000906114fb906001600160a01b0316876127f4565b9050600085600481111561150b57fe5b9050600085600481111561151b57fe5b6001600160a01b0385166000908152600f60209081526040808320878452825280832086845290915290205490915061155b90600163ffffffff612c8a16565b6001600160a01b0385166000908152600f602090815260408083208784528252808320868452909152902055611592848484612ccc565b6001600160a01b0384166000908152600f6020908152604080832086845282528083208484529091529020546115cf90600163ffffffff612f2f16565b6001600160a01b0385166000908152600f602090815260408083208784528252808320858452909152902055611606848483612f89565b506358cac59760e01b93505050505b9392505050565b6009546000906001600160a01b03848116911614156116c157600a5460408051634002bdcd60e11b81526004810185905290516001600160a01b039092169182916380057b9a916024808301926020929190829003018186803b15801561168257600080fd5b505afa158015611696573d6000803e3d6000fd5b505050506040513d60208110156116ac57600080fd5b505160048111156116b957fe5b915050611145565b600b546001600160a01b038481169116141561172457600b5460408051634002bdcd60e11b81526004810185905290516001600160a01b039092169182916380057b9a916024808301926020929190829003018186803b15801561168257600080fd5b50600092915050565b60008082600181111561173c57fe5b14156119b057336001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561179057600080fd5b505afa1580156117a4573d6000803e3d6000fd5b505050506040513d60208110156117ba57600080fd5b50516001600160a01b0316146118015760405162461bcd60e51b815260040180806020018281038252603581526020018061427a6035913960400191505060405180910390fd5b600061180d85856127f4565b905080156119ae57600c5460408051634f558e7960e01b815233600482015290516001600160a01b03909216918291634f558e79916024808301926020929190829003018186803b15801561186157600080fd5b505afa158015611875573d6000803e3d6000fd5b505050506040513d602081101561188b57600080fd5b50516118c85760405162461bcd60e51b81526004018080602001828103825260268152602001806143556026913960400191505060405180910390fd5b60006118d4878761161c565b336000908152600f60209081526040808320878452825280832084845290915290205490915061190b90600163ffffffff612f2f16565b336000818152600f60209081526040808320888452825280832086845282528083209490945591815260108252828120868252909152205461195490600163ffffffff612f2f16565b3360008181526010602090815260408083208884528252808320949094559181526011909152205461198d90600163ffffffff612f2f16565b336000818152601160205260409020919091556119ab908483612f89565b50505b505b50631837b07360e21b9392505050565b6000611145826040518060600160405280602981526020016141fd602991396002919063ffffffff61332e16565b6202a30081565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b601260209081526000928352604080842090915290825290205481565b60006001600160a01b038216611aba5760405162461bcd60e51b815260040180806020018281038252602a8152602001806141d3602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020611145906129b0565b6000806000806000611aec86611be7565b9350935093509350611b0084848484611e86565b9695505050505050565b600b546001600160a01b031681565b60008181526015602052604081205415801590611b43575060008281526015602052604090205442115b80156111455750506000908152601560205260409020546202a30042919091031190565b60008181526015602052604081205415801590611b9257506000828152601560205260409020544210155b8015611145575060136000611ba6846119c0565b6001600160a01b0316815260208101919091526040016000205460ff1615806111455750506000908152601560205260409020546202a30042919091031190565b60008080806103ff80861690600a87901c811690601488901c1683601e89901c6004811115611c1257fe5b999198509196509194509092505050565b600d546001600160a01b03163314611c6c5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6001600160a01b038316611cc7576040805162461bcd60e51b815260206004820152601e60248201527f6e65656420612076616c69642072657665727365207265676973747261720000604482015290519081900360640190fd5b60405163c47f002760e01b8152602060048201908152602482018390526001600160a01b0385169163c47f00279185918591908190604401848480828437600081840152601f19601f8201169050808301925050509350505050602060405180830381600087803b158015611d3b57600080fd5b505af1158015611d4f573d6000803e3d6000fd5b505050506040513d6020811015611d6557600080fd5b5050505050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610fce5780601f10610fa357610100808354040283529160200191610fce565b60136020526000908152604090205460ff1681565b60008181526014602052604081205461114590611adb565b6001600160a01b0382166000908152601260209081526040808320848452909152812054611e278161299d565b8015611e40575060008181526014602052604090205483145b8015611e655750836001600160a01b0316611e5a826119c0565b6001600160a01b0316145b8015611e7e575060008181526015602052604090205415155b949350505050565b600080856004811115611e9557fe5b1415611ea2575080611e7e565b6001856004811115611eb057fe5b1415611ee257600e8360058110611ec357fe5b602081049091015460ff601f9092166101000a90041682029050611e7e565b6002856004811115611ef057fe5b1415611f00575060058102611e7e565b6003856004811115611f0e57fe5b1415611f2d578360011415611f25575060de611e7e565b5060c8611e7e565b6004856004811115611f3b57fe5b1415611f4a57506103e8611e7e565b506000949350505050565b60116020526000908152604090205481565b600080826001811115611f7657fe5b141561213757336001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611fca57600080fd5b505afa158015611fde573d6000803e3d6000fd5b505050506040513d6020811015611ff457600080fd5b50516001600160a01b0316141561203c5760405162461bcd60e51b81526004018080602001828103825260398152602001806140ef6039913960400191505060405180910390fd5b600061204885856127f4565b9050801561213557600061205c868661161c565b336000908152600f60209081526040808320868452825280832084845290915290205490915061209390600163ffffffff612c8a16565b336000818152600f6020908152604080832087845282528083208684528252808320949094559181526010825282812085825290915220546120dc90600163ffffffff612c8a16565b3360008181526010602090815260408083208784528252808320949094559181526011909152205461211590600163ffffffff612c8a16565b33600081815260116020526040902091909155612133908383612ccc565b505b505b50635af6b75160e11b9392505050565b6121586121526129bb565b836129bf565b6121935760405162461bcd60e51b81526004018080602001828103825260318152602001806144096031913960400191505060405180910390fd5b6113998484848461333b565b60606121aa8261299d565b6121e55760405162461bcd60e51b815260040180806020018281038252602f8152602001806143a4602f913960400191505060405180910390fd5b60008281526007602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561227a5780601f1061224f5761010080835404028352916020019161227a565b820191906000526020600020905b81548152906001019060200180831161225d57829003601f168201915b5050600854939450505050600260001961010060018416150201909116046122a3579050610f3d565b80511561237457600881604051602001808380546001816001161561010002031660029004801561230b5780601f106122e957610100808354040283529182019161230b565b820191906000526020600020905b8154815290600101906020018083116122f7575b5050825160208401908083835b602083106123375780518252601f199092019160209182019101612318565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610f3d565b600861237f8461338d565b60405160200180838054600181600116156101000203166002900480156123dd5780601f106123bb5761010080835404028352918201916123dd565b820191906000526020600020905b8154815290600101906020018083116123c9575b5050825160208401908083835b602083106124095780518252601f1990920191602091820191016123ea565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600d546001600160a01b031681565b601060209081526000928352604080842090915290825290205481565b600d546001600160a01b031633146124bb5760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6001600160a01b0381166125005760405162461bcd60e51b81526004018080602001828103825260328152602001806142266032913960400191505060405180910390fd5b600d546040516001600160a01b038084169216907fe74ad8e35ae0d7f4389ff1318666007250321a66dd644dca021b5e2e30fa2a5c90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205481565b600c5460408051634f558e7960e01b815233600482015290516000926001600160a01b0316918291634f558e7991602480820192602092909190829003018186803b1580156125bc57600080fd5b505afa1580156125d0573d6000803e3d6000fd5b505050506040513d60208110156125e657600080fd5b50516126235760405162461bcd60e51b81526004018080602001828103825260268152602001806143556026913960400191505060405180910390fd5b826126df57336001600160a01b03166355c857fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561266157600080fd5b505afa158015612675573d6000803e3d6000fd5b505050506040513d602081101561268b57600080fd5b5051156126df576040805162461bcd60e51b815260206004820152601d60248201527f436f6c6c656374696f6e206e6565647320746f20626520656d7074792e000000604482015290519081900360640190fd5b5063daf96bfb60e01b92915050565b600d546001600160a01b031633146127375760405162461bcd60e51b81526004018080602001828103825260368152602001806143d36036913960400191505060405180910390fd5b6040805163a22cb46560e01b81526001600160a01b0383811660048301526001602483015291519184169163a22cb4659160448082019260009290919082900301818387803b15801561278957600080fd5b505af115801561279d573d6000803e3d6000fd5b505050505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b60146020526000908152604090205481565b600a546001600160a01b031681565b6009546000906001600160a01b03848116911614156128e15760095460408051634f558e7960e01b81526004810185905290516001600160a01b03909216918291634f558e79916024808301926020929190829003018186803b15801561285a57600080fd5b505afa15801561286e573d6000803e3d6000fd5b505050506040513d602081101561288457600080fd5b50516128d7576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e204944206e6565647320746f2065786973742e0000000000000000604482015290519081900360640190fd5b6001915050611145565b600b546001600160a01b038481169116141561172457600b5460408051630806d56f60e31b81526004810185905290516001600160a01b03909216918291634036ab78916024808301926020929190829003018186803b15801561294457600080fd5b505afa158015612958573d6000803e3d6000fd5b505050506040513d602081101561296e57600080fd5b5051600381111561297b57fe5b600201915050611145565b8051612999906008906020840190613ff1565b5050565b600061114560028363ffffffff61346816565b600061114582613474565b3390565b60006129ca8261299d565b612a055760405162461bcd60e51b815260040180806020018281038252602c8152602001806141a7602c913960400191505060405180910390fd5b6000612a10836119c0565b9050806001600160a01b0316846001600160a01b03161480612a4b5750836001600160a01b0316612a4084610fd9565b6001600160a01b0316145b80611e7e5750611e7e81856127a5565b826001600160a01b0316612a6e826119c0565b6001600160a01b031614612ab35760405162461bcd60e51b815260040180806020018281038252602981526020018061437b6029913960400191505060405180910390fd5b6001600160a01b038216612af85760405162461bcd60e51b81526004018080602001828103825260248152602001806141836024913960400191505060405180910390fd5b612b03838383613478565b612b0e6000826134df565b6001600160a01b0383166000908152600160205260409020612b36908263ffffffff61354d16565b506001600160a01b0382166000908152600160205260409020612b5f908263ffffffff61355916565b50612b726002828463ffffffff61356516565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611142838361357b565b6000808080612bd486866135df565b9097909650945050505050565b612bea81612986565b7f01e56a02aca7f26a28165a040851ba78f30282b55ca81c63a804cdc1e2dcea72612c136119f5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015612c4d578181015183820152602001612c35565b50505050905090810190601f168015612c7a5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b600061114283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613649565b600060015b60058111612d20576001600160a01b0385166000908152600f602090815260408083208484528252808320868452909152902054612d1690839063ffffffff612f2f16565b9150600101612cd1565b506001600160a01b0384166000908152600f602090815260408083208684528252808320858452909152902054612d7c57612d6984612d64600386600060016136e0565b613746565b612d7c84612d64600460008060016136e0565b8060041480612d8b5750806009145b80612da15750806031148015612da15750600282145b15612dc757612dc784612d646001600086612dc2878463ffffffff612f2f16565b6136e0565b6001600160a01b03841660009081526010602090815260408083208684529091529020541580612e1a57506001600160a01b03841660009081526010602090815260408083208684529091529020546004145b80612e4857506001600160a01b03841660009081526010602090815260408083208684529091529020546009145b15612e91576001600160a01b0384166000908152601060209081526040808320868452909152812054612e91918691612d64916002918190612dc290600163ffffffff612f2f16565b6001600160a01b0384166000908152601160205260409020541580612ece57506001600160a01b0384166000908152601160205260409020546004145b80612ef157506001600160a01b0384166000908152601160205260409020546009145b15611399576001600160a01b038416600090815260116020526040812054611399918691612d64919081908190612dc290600163ffffffff612f2f16565b600082820183811015611142576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600060015b60058111612fdd576001600160a01b0385166000908152600f602090815260408083208484528252808320868452909152902054612fd390839063ffffffff612f2f16565b9150600101612f8e565b506001600160a01b0384166000908152600f60209081526040808320868452825280832085845290915290205460011415613104576000613023600385600060016136e0565b905061302f8582611dfa565b61310257600160005b6005811015613082576001600160a01b0387166000908152600f6020908152604080832089845282528083208484529091529020546001111561307a57600091505b600101613038565b5080156131005761309386836137e5565b6130a2600460008060016136e0565b91506130ae8683611dfa565b613100576001805b600581116130ed5760006130cf600383600060016136e0565b90506130db8982611dfa565b6130e457600092505b506001016130b6565b5080156130fe576130fe87846137e5565b505b505b505b8060051480613113575080600a145b8061312957508060321480156131295750600282145b1561315a57600061313e6001600085856136e0565b905061314a8582611dfa565b6131585761315885826137e5565b505b6001600160a01b0384166000908152601060209081526040808320868452909152902054600114806131af57506001600160a01b03841660009081526010602090815260408083208684529091529020546005145b806131dd57506001600160a01b0384166000908152601060209081526040808320868452909152902054600a145b15613285576001600160a01b038416600090815260106020908152604080832086845290915281205461321690600290839081906136e0565b90506132228582611dfa565b613283576001805b60058111613270576001600160a01b038716600090815260106020908152604080832089845290915280822054838352912054101561326857600091505b60010161322a565b5080156132815761328186836137e5565b505b505b6001600160a01b038416600090815260116020526040902054600114806132c457506001600160a01b0384166000908152601160205260409020546005145b806132e757506001600160a01b038416600090815260116020526040902054600a145b15611399576001600160a01b038416600090815260116020526040812054613314908290819081906136e0565b90506133208582611dfa565b611d6557611d6585826137e5565b6000611e7e848484613940565b613346848484612a5b565b613352848484846139bb565b6113995760405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6060816133b257506040805180820190915260018152600360fc1b6020820152610f3d565b8160005b81156133ca57600101600a820491506133b6565b60608167ffffffffffffffff811180156133e357600080fd5b506040519080825280601f01601f19166020018201604052801561340e576020820181803683370190505b50859350905060001982015b831561345f57600a840660300160f81b8282806001900393508151811061343d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061341a565b50949350505050565b60006111428383613bf6565b5490565b6001600160a01b0383161580159061349857506001600160a01b03821615155b156134d45760405162461bcd60e51b815260040180806020018281038252602981526020018061443a6029913960400191505060405180910390fd5b611110838383611110565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613514826119c0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111428383613bfc565b60006111428383613cc2565b6000611e7e84846001600160a01b038516613d0c565b815460009082106135bd5760405162461bcd60e51b815260040180806020018281038252602281526020018061408a6022913960400191505060405180910390fd5b8260000182815481106135cc57fe5b9060005260206000200154905092915050565b8154600090819083106136235760405162461bcd60e51b81526004018080602001828103825260228152602001806142586022913960400191505060405180910390fd5b8354839085908290811061363357fe5b9060005260206000200154915091509250929050565b600081848411156136d85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561369d578181015183820152602001613685565b50505050905090810190601f1680156136ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061373d826137316136fb8661040063ffffffff613da116565b613731613711896210000063ffffffff613da116565b61373163400000008c600481111561372557fe5b9063ffffffff613da116565b9063ffffffff612f2f16565b95945050505050565b6001600160a01b03821660009081526012602090815260408083208484529091529020546137748383611dfa565b8015613786575061378481611b19565b155b1561111057600081815260156020908152604080832092909255815184815290810183905281516001600160a01b038616927f3fac85127337ec6997c22d7f8e2a9cd26f4ed2ce272fa065f38266987dea517b928290030190a2505050565b6001600160a01b03821660009081526012602090815260408083208484529091529020546138128161299d565b801561382b575060008181526014602052604090205482145b80156138505750826001600160a01b0316613845826119c0565b6001600160a01b0316145b156138af57600081815260156020908152604091829020429055815184815290810183905281516001600160a01b038616927fa5dfff4d76327e349a0c6cf870aa05b149d2e1d7de51ad101c593d244f6eb4c1928290030190a2611110565b60006138b9611081565b90506138c58482613dfa565b6000818152601460209081526040808320869055601582528083204290556001600160a01b03871680845260128352818420878552835292819020849055805186815291820184905280517fa5dfff4d76327e349a0c6cf870aa05b149d2e1d7de51ad101c593d244f6eb4c19281900390910190a250505050565b82546000908390839082106139965760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561369d578181015183820152602001613685565b508460000181815481106139a657fe5b90600052602060002001549150509392505050565b60006139cf846001600160a01b0316613e14565b6139db57506001611e7e565b600060606001600160a01b038616630a85bd0160e11b6139f96129bb565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613a72578181015183820152602001613a5a565b50505050905090810190601f168015613a9f5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b60208310613b075780518252601f199092019160209182019101613ae8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613b69576040519150601f19603f3d011682016040523d82523d6000602084013e613b6e565b606091505b509150915081613bbf57805115613b885780518082602001fd5b60405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6000818060200190516020811015613bd657600080fd5b50516001600160e01b031916630a85bd0160e11b149350611e7e92505050565b90541190565b60008181526001830160205260408120548015613cb85783546000198083019190810190600090879083908110613c2f57fe5b9060005260206000200154905080876000018481548110613c4c57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613c7c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611145565b6000915050611145565b6000613cce8383613e4d565b613d0457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611145565b506000611145565b82546000908390811115613d515760405162461bcd60e51b81526004018080602001828103825260368152602001806142d26036913960400191505060405180910390fd5b8454811415613d79575050825460018181018555600085815260209020909101829055611615565b82856000018281548110613d8957fe5b90600052602060002001819055506000915050611615565b600082613db057506000611145565b82820282848281613dbd57fe5b04146111425760405162461bcd60e51b81526004018080602001828103825260218152602001806143086021913960400191505060405180910390fd5b612999828260405180602001604052806000815250613e65565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611e7e575050151592915050565b60009081526001919091016020526040902054151590565b613e6f8383613eb7565b613e7c60008484846139bb565b6111105760405162461bcd60e51b81526004018080602001828103825260328152602001806141286032913960400191505060405180910390fd5b6001600160a01b038216613f12576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b613f1b8161299d565b15613f6d576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b613f7960008383613478565b6001600160a01b0382166000908152600160205260409020613fa1908263ffffffff61355916565b50613fb46002828463ffffffff61356516565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061403257805160ff191683800117855561405f565b8280016001018555821561405f579182015b8281111561405f578251825591602001919060010190614044565b5061406b92915061406f565b5090565b610fd691905b8082111561406b576000815560010161407556fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64735472616e73666572206f6620616368696576656d656e7473206973206e6f7420706f737369626c652c20736f20617070726f76616c732061726520626c6f636b65642e4e4654206e65656473206e6f7420746f206265206f776e6564206279207468652063616c6c6572206f6620746869732066756e6374696f6e2e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657254686520636f6e74726163742063616e6e6f74207265636569766520455448207061796d656e74732e4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e41737369676e6d656e74436f6e74726f6c2063616e6e6f7420626520746865207a65726f20616464726573732e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734e4654206e6565647320746f206265206f776e6564206279207468652063616c6c6572206f6620746869732066756e6374696f6e2e4e6565647320746f2062652063616c6c65642062792043533220636f6e74726163742e43616e6e6f742061646420656e7472792074686174206973206e6f7420636f6e6e656374656420746f206578697374696e6720494473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e53656e646572206e6565647320746f20626520612076616c696420436f6c6c656374696f6e2e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e41737369676e6d656e74436f6e74726f6c206b657920726571756972656420666f7220746869732066756e6374696f6e2e4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645472616e73666572206f6620616368696576656d656e7473206973206e6f7420706f737369626c652ea26469706673582212205278ee1754267221279acca38d957a9992b1b8db0f9790caaa2b49355a88987f64736f6c63430006080033
Deployed Bytecode Sourcemap
70071:25981:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95990:51;;-1:-1:-1;;;95990:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70071:25981;12:1:-1;9;2:12;10785:142:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;10785:142:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;10785:142:0;-1:-1:-1;;;;;;10785:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;39214:92;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39214:92:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39214:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43998:213;;5:9:-1;2:2;;;27:1;24;17:12;2:2;43998:213:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43998:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;43998:213:0;;;;;;;;;;;;;;93805:174;;5:9:-1;2:2;;;27:1;24;17:12;2:2;93805:174:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;93805:174:0;;;;;;;;:::i;:::-;;70505:25;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70505:25:0;;;:::i;42171:203::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;42171:203:0;;;:::i;:::-;;;;;;;;;;;;;;;;70833:27;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70833:27:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;70833:27:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;45746:305;;5:9:-1;2:2;;;27:1;24;17:12;2:2;45746:305:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;45746:305:0;;;;;;;;;;;;;;;;;:::i;70736:37::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70736:37:0;;;:::i;41858:154::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;41858:154:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;41858:154:0;;;;;;;;:::i;46713:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;46713:151:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;46713:151:0;;;;;;;;;;;;;;;;;:::i;71024:85::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71024:85:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;71024:85:0;;;;;;;;;;;;;:::i;74831:563::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74831:563:0;;;:::i;:::-;;;;-1:-1:-1;;;;;;74831:563:0;;;;;;;;;;;;;;70607:33;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70607:33:0;;;:::i;95403:193::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;95403:193:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;95403:193:0;;;;;;;;;;:::i;87933:102::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;87933:102:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;87933:102:0;;:::i;42720:164::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;42720:164:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;42720:164:0;;:::i;73709:145::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;73709:145:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;73709:145:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;73709:145:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;73709:145:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;73709:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;73709:145:0;;-1:-1:-1;73709:145:0;;-1:-1:-1;;;;;73709:145:0:i;78316:1120::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;78316:1120:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;78316:1120:0;;;;;;;;;;;;;;;;:::i;91615:477::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;91615:477:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;91615:477:0;;;;;;;;:::i;75522:1373::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75522:1373:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75522:1373:0;;-1:-1:-1;;;;;75522:1373:0;;;;;;;;;;;;;:::i;38934:169::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;38934:169:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;38934:169:0;;:::i;70780:46::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70780:46:0;;;:::i;41387:89::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;41387:89:0;;;:::i;71500:69::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71500:69:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;71500:69:0;;;;;;;;:::i;38493:215::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;38493:215:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;38493:215:0;-1:-1:-1;;;;;38493:215:0;;:::i;92149:306::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;92149:306:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;92149:306:0;;:::i;70575:25::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70575:25:0;;;:::i;88199:301::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;88199:301:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;88199:301:0;;:::i;88749:294::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;88749:294:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;88749:294:0;;:::i;89721:473::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;89721:473:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;89721:473:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94908:306;;5:9:-1;2:2;;;27:1;24;17:12;2:2;94908:306:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;94908:306:0;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;94908:306:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;94908:306:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;94908:306:0;;-1:-1:-1;94908:306:0;-1:-1:-1;94908:306:0;:::i;39421:96::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39421:96:0;;;:::i;93987:188::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;93987:188:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;93987:188:0;;;;;;;;;;:::i;71646:54::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71646:54:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;71646:54:0;-1:-1:-1;;;;;71646:54:0;;:::i;89109:135::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;89109:135:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;89109:135:0;;:::i;90287:424::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;90287:424:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;90287:424:0;;;;;;;;:::i;92510:905::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;92510:905:0;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;92510:905:0;;;;;;;;;;;;;;;;;;;:::i;71298:50::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71298:50:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;71298:50:0;-1:-1:-1;;;;;71298:50:0;;:::i;77027:1154::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;77027:1154:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;77027:1154:0;;-1:-1:-1;;;;;77027:1154:0;;;;;;;;;;;;;:::i;47601:285::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;47601:285:0;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;47601:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;47601:285:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;47601:285:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;47601:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;47601:285:0;;-1:-1:-1;47601:285:0;;-1:-1:-1;;;;;47601:285:0:i;40393:755::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;40393:755:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;40393:755:0;;:::i;70647:37::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70647:37:0;;;:::i;71177:69::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71177:69:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;71177:69:0;;;;;;;;:::i;73251:410::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;73251:410:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;73251:410:0;-1:-1:-1;;;;;73251:410:0;;:::i;71812:44::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71812:44:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;71812:44:0;;:::i;74022:710::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74022:710:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74022:710:0;;;;:::i;95712:170::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;95712:170:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;95712:170:0;;;;;;;;;;:::i;45143:156::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;45143:156:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;45143:156:0;;;;;;;;;;:::i;71755:50::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71755:50:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;71755:50:0;;:::i;70537:31::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70537:31:0;;;:::i;90948:521::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;90948:521:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;90948:521:0;;;;;;;;:::i;10785:142::-;-1:-1:-1;;;;;;10886:33:0;;10862:4;10886:33;;;;;;;;;;;;;10785:142;;;;:::o;39214:92::-;39293:5;39286:12;;;;;;;;-1:-1:-1;;39286:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39260:13;;39286:12;;39293:5;;39286:12;;39293:5;39286:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39214:92;;:::o;43998:213::-;44066:7;44094:16;44102:7;44094;:16::i;:::-;44086:73;;;;-1:-1:-1;;;44086:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44179:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44179:24:0;;43998:213::o;93805:174::-;93894:77;;-1:-1:-1;;;93894:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70505:25;;;-1:-1:-1;;;;;70505:25:0;;:::o;42171:203::-;42224:7;42345:21;:12;:19;:21::i;:::-;42338:28;;42171:203;:::o;70833:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45746:305::-;45907:41;45926:12;:10;:12::i;:::-;45940:7;45907:18;:41::i;:::-;45899:103;;;;-1:-1:-1;;;45899:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46015:28;46025:4;46031:2;46035:7;46015:9;:28::i;:::-;45746:305;;;:::o;70736:37::-;70772:1;70736:37;:::o;41858:154::-;-1:-1:-1;;;;;41974:20:0;;41947:7;41974:20;;;:13;:20;;;;;:30;;41998:5;41974:30;:23;:30;:::i;:::-;41967:37;;41858:154;;;;;:::o;46713:151::-;46817:39;46834:4;46840:2;46844:7;46817:39;;;;;;;;;;;;:16;:39::i;71024:85::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;74831:563::-;74897:6;74967:1;74953:241;70728:1;74970:15;;74953:241;;75034:6;75029:106;70772:1;75046:15;;75029:106;;;75098:10;75118:1;75087:22;;;:10;:22;;;;;;;;:25;;;;;;;;:28;;;;;;;;:32;75063:3;;75029:106;;;-1:-1:-1;75164:10:0;75181:1;75149:26;;;:14;:26;;;;;;;;:29;;;;;;;;:33;74987:3;;74953:241;;;-1:-1:-1;75220:10:0;75234:1;75204:27;;;:15;:27;;;;;;;;:31;;;75246:22;:34;;;;;;:41;;-1:-1:-1;;75246:41:0;75283:4;75246:41;;;75303:34;;;75234:1;75303:34;-1:-1:-1;;;;74831:563:0;:::o;70607:33::-;;;-1:-1:-1;;;;;70607:33:0;;:::o;95403:193::-;73081:22;;-1:-1:-1;;;;;73081:22:0;73067:10;:36;73059:103;;;;-1:-1:-1;;;73059:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95549:38:::1;::::0;;-1:-1:-1;;;95549:38:0;;95581:4:::1;95549:38;::::0;::::1;::::0;;;-1:-1:-1;;;;;95521:22:0;::::1;::::0;::::1;::::0;95544:3;;95521:22;;95549:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;95521:22;95549:38;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;95549:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;95549:38:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;95549:38:0;95521:67:::1;::::0;;-1:-1:-1;;;;;;95521:67:0::1;::::0;;;;;;-1:-1:-1;;;;;95521:67:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;95549:38:::1;::::0;95521:67;;;;;;;-1:-1:-1;95521:67:0;;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;95521:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;95521:67:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;;;;95403:193:0:o;87933:102::-;87987:4;88011:16;88019:7;88011;:16::i;42720:164::-;42787:7;;42829:22;:12;42845:5;42829:22;:15;:22;:::i;:::-;-1:-1:-1;42807:44:0;42720:164;-1:-1:-1;;;42720:164:0:o;73709:145::-;73081:22;;-1:-1:-1;;;;;73081:22:0;73067:10;:36;73059:103;;;;-1:-1:-1;;;73059:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73816:30:::1;73834:11;73816:17;:30::i;:::-;73709:145:::0;:::o;78316:1120::-;78515:10;;78469:6;;-1:-1:-1;;;;;78515:10:0;78501;:24;78493:72;;;;-1:-1:-1;;;78493:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78600:10;;78592:37;;;-1:-1:-1;;;78592:37:0;;;;;;;;;;78576:13;;-1:-1:-1;;;;;78600:10:0;;78592:27;;:37;;;;;;;;;;;;;;78600:10;78592:37;;;2:2:-1;;;;27:1;24;17:12;2:2;78592:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;78592:37:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;78592:37:0;78669:10;;78592:37;;-1:-1:-1;78640:15:0;;78658:32;;-1:-1:-1;;;;;78669:10:0;78681:8;78658:10;:32::i;:::-;78640:50;;78701:20;78732:14;78724:23;;;;;;;;78701:46;;78758:19;78788:9;78780:18;;;;;;;;-1:-1:-1;;;;;78911:17:0;;;;;;:10;:17;;;;;;;;:26;;;;;;;;:40;;;;;;;;;78758;;-1:-1:-1;78911:47:0;;78956:1;78911:47;:44;:47;:::i;:::-;-1:-1:-1;;;;;78868:17:0;;;;;;:10;:17;;;;;;;;:26;;;;;;;;:40;;;;;;;;:90;79025:57;78879:5;78886:7;78895:12;79025:27;:57::i;:::-;-1:-1:-1;;;;;79184:17:0;;;;;;:10;:17;;;;;;;;:26;;;;;;;;:39;;;;;;;;;:46;;79228:1;79184:46;:43;:46;:::i;:::-;-1:-1:-1;;;;;79142:17:0;;;;;;:10;:17;;;;;;;;:26;;;;;;;;:39;;;;;;;;:88;79322:55;79153:5;79160:7;79169:11;79322:26;:55::i;:::-;-1:-1:-1;;;;79397:31:0;-1:-1:-1;;;;78316:1120:0;;;;;;:::o;91615:477::-;91754:10;;91708:7;;-1:-1:-1;;;;;91737:27:0;;;91754:10;;91737:27;91733:333;;;91809:16;;91856:22;;;-1:-1:-1;;;91856:22:0;;;;;;;;;;-1:-1:-1;;;;;91809:16:0;;;;;;91856:12;;:22;;;;;;;;;;;;;;91809:16;91856:22;;;2:2:-1;;;;27:1;24;17:12;2:2;91856:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91856:22:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;91856:22:0;91848:31;;;;;;;;91841:38;;;;;91733:333;91927:10;;-1:-1:-1;;;;;91910:27:0;;;91927:10;;91910:27;91906:160;;;91990:10;;92031:22;;;-1:-1:-1;;;92031:22:0;;;;;;;;;;-1:-1:-1;;;;;91990:10:0;;;;;;92031:12;;:22;;;;;;;;;;;;;;91990:10;92031:22;;;2:2:-1;;;;27:1;24;17:12;91906:160:0;-1:-1:-1;92083:1:0;91615:477;;;;:::o;75522:1373::-;75668:6;;75696:10;:54;;;;;;;;;75692:1152;;;75883:10;-1:-1:-1;;;;;75839:54:0;75847:13;-1:-1:-1;;;;;75839:30:0;;75870:8;75839:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75839:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;75839:40:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75839:40:0;-1:-1:-1;;;;;75839:54:0;;75831:120;;;;-1:-1:-1;;;75831:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75966:15;75984:35;75995:13;76010:8;75984:10;:35::i;:::-;75966:53;-1:-1:-1;76038:11:0;;76034:799;;76157:18;;76203:39;;;-1:-1:-1;;;76203:39:0;;76230:10;76203:39;;;;;;-1:-1:-1;;;;;76157:18:0;;;;;;76203;;:39;;;;;;;;;;;;;;76157:18;76203:39;;;2:2:-1;;;;27:1;24;17:12;2:2;76203:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;76203:39:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;76203:39:0;76195:90;;;;-1:-1:-1;;;76195:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76304:16;76323:36;76335:13;76350:8;76323:11;:36::i;:::-;76433:10;76422:22;;;;:10;:22;;;;;;;;:31;;;;;;;;:41;;;;;;;;;76304:55;;-1:-1:-1;76422:48:0;;76468:1;76422:48;:45;:48;:::i;:::-;76389:10;76378:22;;;;:10;:22;;;;;;;;:31;;;;;;;;:41;;;;;;;;:92;;;;76527:26;;;:14;:26;;;;;:35;;;;;;;;:42;;76567:1;76527:42;:39;:42;:::i;:::-;76504:10;76489:26;;;;:14;:26;;;;;;;;:35;;;;;;;;:80;;;;76618:27;;;:15;:27;;;;;:34;;76650:1;76618:34;:31;:34;:::i;:::-;76604:10;76588:27;;;;:15;:27;;;;;:64;;;;76760:57;;76799:7;76808:8;76760:26;:57::i;:::-;76034:799;;;75692:1152;;-1:-1:-1;;;;75522:1373:0;;;;;:::o;38934:169::-;38998:7;39025:70;39042:7;39025:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;70780:46::-;70820:6;70780:46;:::o;41387:89::-;41460:8;41453:15;;;;;;;;-1:-1:-1;;41453:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41427:13;;41453:15;;41460:8;;41453:15;;41460:8;41453:15;;;;;;;;;;;;;;;;;;;;;;;;71500:69;;;;;;;;;;;;;;;;;;;;;;;;:::o;38493:215::-;38557:7;-1:-1:-1;;;;;38585:19:0;;38577:74;;;;-1:-1:-1;;;38577:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38671:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;92149:306::-;92231:7;92257:28;92287:15;92304:16;92322:13;92339:36;92358:16;92339:18;:36::i;:::-;92256:119;;;;;;;;92393:54;92412:8;92422:7;92431:8;92441:5;92393:18;:54::i;:::-;92386:61;92149:306;-1:-1:-1;;;;;;92149:306:0:o;70575:25::-;;;-1:-1:-1;;;;;70575:25:0;;:::o;88199:301::-;88259:4;88363:22;;;:12;:22;;;;;;:26;;;;:58;;-1:-1:-1;88393:22:0;;;;:12;:22;;;;;;88418:3;-1:-1:-1;88363:58:0;:128;;;;-1:-1:-1;;88449:22:0;;;;:12;:22;;;;;;70820:6;88443:3;:28;;;;88442:49;;88199:301::o;88749:294::-;88806:4;88831:22;;;:12;:22;;;;;;:26;;;;:59;;-1:-1:-1;88861:22:0;;;;:12;:22;;;;;;88887:3;-1:-1:-1;88861:29:0;88831:59;:203;;;;;88912:22;:41;88935:17;88943:8;88935:7;:17::i;:::-;-1:-1:-1;;;;;88912:41:0;;;;;;;;;;;;-1:-1:-1;88912:41:0;;;;:50;;:121;;-1:-1:-1;;88991:22:0;;;;:12;:22;;;;;;70820:6;88985:3;:28;;;;88984:49;;88749:294::o;89721:473::-;89806:19;;;;89886:28;;;;;89965:2;89945:22;;;89944:36;;;90030:2;90010:22;;;90009:36;89806:19;90128:2;90108:22;;;90087:45;;;;;;;;90056:76;90161:7;;-1:-1:-1;90170:8:0;;-1:-1:-1;90180:5:0;;-1:-1:-1;89721:473:0;;-1:-1:-1;;;89721:473:0:o;94908:306::-;73081:22;;-1:-1:-1;;;;;73081:22:0;73067:10;:36;73059:103;;;;-1:-1:-1;;;73059:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95062:38:0;::::1;95054:81;;;::::0;;-1:-1:-1;;;95054:81:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;95145:61;::::0;-1:-1:-1;;;95145:61:0;;::::1;;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;95145:54:0;::::1;::::0;::::1;::::0;95200:5;;;;95145:61;;;;;95200:5;;;;95145:61;1:33:-1::1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;95145:61:0;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;95145:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;95145:61:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;;;;;94908:306:0:o;39421:96::-;39502:7;39495:14;;;;;;;;-1:-1:-1;;39495:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39469:13;;39495:14;;39502:7;;39495:14;;39502:7;39495:14;;;;;;;;;;;;;;;;;;;;;;;;71646:54;;;;;;;;;;;;;;;:::o;89109:135::-;89167:7;89210:25;;;:15;:25;;;;;;89194:42;;:15;:42::i;90287:424::-;-1:-1:-1;;;;;90433:22:0;;90384:4;90433:22;;;:14;:22;;;;;;;;:40;;;;;;;;;90492:25;90433:40;90492:7;:25::i;:::-;:99;;;;-1:-1:-1;90538:33:0;;;;:15;:33;;;;;;:53;;90492:99;:155;;;;;90641:6;-1:-1:-1;;;;;90612:35:0;:25;90620:16;90612:7;:25::i;:::-;-1:-1:-1;;;;;90612:35:0;;90492:155;:210;;;;-1:-1:-1;90701:1:0;90668:30;;;:12;:30;;;;;;:34;;90492:210;90484:219;90287:424;-1:-1:-1;;;;90287:424:0:o;92510:905::-;92653:7;;92682:9;:38;;;;;;;;;92678:628;;;-1:-1:-1;92744:6:0;92737:13;;92678:628;92794:25;92781:9;:38;;;;;;;;;92777:529;;;92852:11;92864:9;92852:22;;;;;;;;;;;;;;;;;;;;;;;;92843:31;;;-1:-1:-1;92836:38:0;;92777:529;92918:30;92905:9;:43;;;;;;;;;92901:405;;;-1:-1:-1;92981:1:0;92972:10;;92965:17;;92901:405;93026:29;93013:9;:42;;;;;;;;;93009:297;;;93076:8;93088:1;93076:13;93072:128;;;-1:-1:-1;93117:3:0;93110:10;;93072:128;-1:-1:-1;93181:3:0;93174:10;;93009:297;93243:23;93230:9;:36;;;;;;;;;93226:80;;;-1:-1:-1;93290:4:0;93283:11;;93226:80;-1:-1:-1;93406:1:0;92510:905;;;;;;:::o;71298:50::-;;;;;;;;;;;;;:::o;77027:1154::-;77175:6;;77203:10;:54;;;;;;;;;77199:929;;;77376:10;-1:-1:-1;;;;;77332:54:0;77340:13;-1:-1:-1;;;;;77332:30:0;;77363:8;77332:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;77332:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;77332:40:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;77332:40:0;-1:-1:-1;;;;;77332:54:0;;;77324:124;;;;-1:-1:-1;;;77324:124:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77463:15;77481:35;77492:13;77507:8;77481:10;:35::i;:::-;77463:53;-1:-1:-1;77535:11:0;;77531:586;;77612:16;77631:36;77643:13;77658:8;77631:11;:36::i;:::-;77741:10;77730:22;;;;:10;:22;;;;;;;;:31;;;;;;;;:41;;;;;;;;;77612:55;;-1:-1:-1;77730:48:0;;77776:1;77730:48;:45;:48;:::i;:::-;77697:10;77686:22;;;;:10;:22;;;;;;;;:31;;;;;;;;:41;;;;;;;;:92;;;;77835:26;;;:14;:26;;;;;:35;;;;;;;;:42;;77875:1;77835:42;:39;:42;:::i;:::-;77812:10;77797:26;;;;:14;:26;;;;;;;;:35;;;;;;;;:80;;;;77926:27;;;:15;:27;;;;;:34;;77958:1;77926:34;:31;:34;:::i;:::-;77912:10;77896:27;;;;:15;:27;;;;;:64;;;;78043:58;;78083:7;78092:8;78043:27;:58::i;:::-;77531:586;;77199:929;;-1:-1:-1;;;;77027:1154:0;;;;;:::o;47601:285::-;47733:41;47752:12;:10;:12::i;:::-;47766:7;47733:18;:41::i;:::-;47725:103;;;;-1:-1:-1;;;47725:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47839:39;47853:4;47859:2;47863:7;47872:5;47839:13;:39::i;40393:755::-;40458:13;40492:16;40500:7;40492;:16::i;:::-;40484:76;;;;-1:-1:-1;;;40484:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40599:19;;;;:10;:19;;;;;;;;;40573:45;;;;;;-1:-1:-1;;40573:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;40599:19;40573:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40700:8:0;40694:22;40573:45;;-1:-1:-1;;;;40694:22:0;-1:-1:-1;;40694:22:0;;;;;;;;;;;40690:76;;40745:9;-1:-1:-1;40738:16:0;;40690:76;40870:23;;:27;40866:112;;40945:8;40955:9;40928:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40928:37:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;40928:37:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;40928:37:0;;;40914:52;;;;;40866:112;41110:8;41120:18;:7;:16;:18::i;:::-;41093:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41093:46:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;41093:46:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;41093:46:0;;;41079:61;;;40393:755;;;:::o;70647:37::-;;;-1:-1:-1;;;;;70647:37:0;;:::o;71177:69::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;73251:410::-;73081:22;;-1:-1:-1;;;;;73081:22:0;73067:10;:36;73059:103;;;;-1:-1:-1;;;73059:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73395:40:0;::::1;73387:103;;;;-1:-1:-1::0;;;73387:103:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73540:22;::::0;73506:85:::1;::::0;-1:-1:-1;;;;;73506:85:0;;::::1;::::0;73540:22:::1;::::0;73506:85:::1;::::0;73540:22:::1;::::0;73506:85:::1;73602:22;:51:::0;;-1:-1:-1;;;;;;73602:51:0::1;-1:-1:-1::0;;;;;73602:51:0;;;::::1;::::0;;;::::1;::::0;;73251:410::o;71812:44::-;;;;;;;;;;;;;:::o;74022:710::-;74233:18;;74271:39;;;-1:-1:-1;;;74271:39:0;;74298:10;74271:39;;;;;;74099:6;;-1:-1:-1;;;;;74233:18:0;;;;74271;;:39;;;;;;;;;;;;;;;74233:18;74271:39;;;2:2:-1;;;;27:1;24;17:12;2:2;74271:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;74271:39:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74271:39:0;74263:90;;;;-1:-1:-1;;;74263:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74369:8;74364:314;;74597:10;-1:-1:-1;;;;;74580:45:0;;:47;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74580:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;74580:47:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74580:47:0;:52;74572:94;;;;;-1:-1:-1;;;74572:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;74695:29:0;74022:710;-1:-1:-1;;74022:710:0:o;95712:170::-;73081:22;;-1:-1:-1;;;;;73081:22:0;73067:10;:36;73059:103;;;;-1:-1:-1;;;73059:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95834:40:::1;::::0;;-1:-1:-1;;;95834:40:0;;-1:-1:-1;;;;;95834:40:0;;::::1;;::::0;::::1;::::0;95869:4:::1;95834:40:::0;;;;;;:29;;::::1;::::0;::::1;::::0;:40;;;;;-1:-1:-1;;95834:40:0;;;;;;;;-1:-1:-1;95834:29:0;:40;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;95834:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;95834:40:0;;;;95712:170:::0;;:::o;45143:156::-;-1:-1:-1;;;;;45256:25:0;;;45232:4;45256:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45143:156::o;71755:50::-;;;;;;;;;;;;;:::o;70537:31::-;;;-1:-1:-1;;;;;70537:31:0;;:::o;90948:521::-;91086:10;;91040:7;;-1:-1:-1;;;;;91069:27:0;;;91086:10;;91069:27;91065:378;;;91147:10;;91181:20;;;-1:-1:-1;;;91181:20:0;;;;;;;;;;-1:-1:-1;;;;;91147:10:0;;;;;;91181;;:20;;;;;;;;;;;;;;91147:10;91181:20;;;2:2:-1;;;;27:1;24;17:12;2:2;91181:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91181:20:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;91181:20:0;91173:57;;;;;-1:-1:-1;;;91173:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;91252:1;91245:8;;;;;91065:378;91301:10;;-1:-1:-1;;;;;91284:27:0;;;91301:10;;91284:27;91280:163;;;91364:10;;91409:21;;;-1:-1:-1;;;91409:21:0;;;;;;;;;;-1:-1:-1;;;;;91364:10:0;;;;;;91409:11;;:21;;;;;;;;;;;;;;91364:10;91409:21;;;2:2:-1;;;;27:1;24;17:12;2:2;91409:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91409:21:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;91409:21:0;91401:30;;;;;;;;91397:1;:34;91390:41;;;;;54530:100;54603:19;;;;:8;;:19;;;;;:::i;:::-;;54530:100;:::o;49079:119::-;49136:4;49160:30;:12;49182:7;49160:30;:21;:30;:::i;32245:123::-;32314:7;32341:19;32349:3;32341:7;:19::i;1045:106::-;1133:10;1045:106;:::o;49568:333::-;49653:4;49678:16;49686:7;49678;:16::i;:::-;49670:73;;;;-1:-1:-1;;;49670:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49754:13;49770:16;49778:7;49770;:16::i;:::-;49754:32;;49816:5;-1:-1:-1;;;;;49805:16:0;:7;-1:-1:-1;;;;;49805:16:0;;:51;;;;49849:7;-1:-1:-1;;;;;49825:31:0;:20;49837:7;49825:11;:20::i;:::-;-1:-1:-1;;;;;49825:31:0;;49805:51;:87;;;;49860:32;49877:5;49884:7;49860:16;:32::i;53167:574::-;53285:4;-1:-1:-1;;;;;53265:24:0;:16;53273:7;53265;:16::i;:::-;-1:-1:-1;;;;;53265:24:0;;53257:78;;;;-1:-1:-1;;;53257:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53354:16:0;;53346:65;;;;-1:-1:-1;;;53346:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53424:39;53445:4;53451:2;53455:7;53424:20;:39::i;:::-;53528:29;53545:1;53549:7;53528:8;:29::i;:::-;-1:-1:-1;;;;;53570:19:0;;;;;;:13;:19;;;;;:35;;53597:7;53570:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;53616:17:0;;;;;;:13;:17;;;;;:30;;53638:7;53616:30;:21;:30;:::i;:::-;-1:-1:-1;53659:29:0;:12;53676:7;53685:2;53659:29;:16;:29;:::i;:::-;;53725:7;53721:2;-1:-1:-1;;;;;53706:27:0;53715:4;-1:-1:-1;;;;;53706:27:0;;;;;;;;;;;53167:574;;;:::o;27559:137::-;27630:7;27665:22;27669:3;27681:5;27665:3;:22::i;32707:227::-;32787:7;;;;32847:22;32851:3;32863:5;32847:3;:22::i;:::-;32816:53;;;;-1:-1:-1;32707:227:0;-1:-1:-1;;;;;32707:227:0:o;57783:151::-;57865:27;57883:8;57865:17;:27::i;:::-;57908:18;57916:9;:7;:9::i;:::-;57908:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57908:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57783:151;:::o;12911:136::-;12969:7;12996:43;13000:1;13003;12996:43;;;;;;;;;;;;;;;;;:3;:43::i;83650:2429::-;83846:22;83897:1;83883:160;70728:1;83900:15;;83883:160;;-1:-1:-1;;;;;83995:21:0;;;;;;:10;:21;;;;;;;;:24;;;;;;;;:35;;;;;;;;;83976:55;;:14;;:55;:18;:55;:::i;:::-;83959:72;-1:-1:-1;83917:3:0;;83883:160;;;-1:-1:-1;;;;;;84116:21:0;;;;;;:10;:21;;;;;;;;:31;;;;;;;;:42;;;;;;;;;84112:581;;84376:109;84408:9;84419:65;84438:29;84469:8;84479:1;84482;84419:18;:65::i;:::-;84376:31;:109::i;:::-;84585:96;84617:9;84628:52;84647:23;84672:1;84675;84678;84628:18;:52::i;84585:96::-;84707:14;84725:1;84707:19;:55;;;;84743:14;84761:1;84743:19;84707:55;:146;;;;84780:14;84798:2;84780:20;:72;;;;-1:-1:-1;84825:26:0;84804:9;:48;84780:72;84703:454;;;85002:143;85034:9;85062:82;85081:25;85108:1;85111:9;85122:21;:14;85081:25;85122:21;:18;:21;:::i;:::-;85062:18;:82::i;85002:143::-;-1:-1:-1;;;;;85171:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;:40;;:97;;-1:-1:-1;;;;;;85228:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;85267:1;85228:40;85171:97;:154;;;-1:-1:-1;;;;;;85285:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;85324:1;85285:40;85171:154;85167:474;;;-1:-1:-1;;;;;85585:25:0;;85579:1;85585:25;;;:14;:25;;;;;;;;:35;;;;;;;;;85468:161;;85500:9;;85528:100;;85547:30;;85579:1;;85585:42;;85625:1;85585:42;:39;:42;:::i;85468:161::-;-1:-1:-1;;;;;85655:26:0;;;;;;:15;:26;;;;;;:31;;:79;;-1:-1:-1;;;;;;85703:26:0;;;;;;:15;:26;;;;;;85733:1;85703:31;85655:79;:127;;;-1:-1:-1;;;;;;85751:26:0;;;;;;:15;:26;;;;;;85781:1;85751:31;85655:127;85651:421;;;-1:-1:-1;;;;;86025:26:0;;85992:25;86025:26;;;:15;:26;;;;;;85913:147;;85945:9;;85973:86;;85992:25;;;;;86025:33;;86056:1;86025:33;:30;:33;:::i;12455:181::-;12513:7;12545:5;;;12569:6;;;;12561:46;;;;;-1:-1:-1;;;12561:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;79533:4020;79728:22;79779:1;79765:160;70728:1;79782:15;;79765:160;;-1:-1:-1;;;;;79877:21:0;;;;;;:10;:21;;;;;;;;:24;;;;;;;;:35;;;;;;;;;79858:55;;:14;;:55;:18;:55;:::i;:::-;79841:72;-1:-1:-1;79799:3:0;;79765:160;;;-1:-1:-1;;;;;;79995:21:0;;;;;;:10;:21;;;;;;;;:31;;;;;;;;:42;;;;;;;;;80041:1;79995:47;79991:1578;;;80158:13;80174:65;80193:29;80224:8;80234:1;80237;80174:18;:65::i;:::-;80158:81;;80259:32;80274:9;80285:5;80259:14;:32::i;:::-;80254:1304;;80332:4;80312:17;80355:196;70772:1;80372:15;;80355:196;;;-1:-1:-1;;;;;80421:21:0;;;;;;:10;:21;;;;;;;;:31;;;;;;;;:34;;;;;;;;;80458:1;-1:-1:-1;80417:115:0;;;80503:5;80488:20;;80417:115;80389:3;;80355:196;;;;80573:12;80569:974;;;80610:36;80629:9;80640:5;80610:18;:36::i;:::-;80808:52;80827:23;80852:1;80855;80858;80808:18;:52::i;:::-;80800:60;;80888:32;80903:9;80914:5;80888:14;:32::i;:::-;80883:641;;80968:4;;80999:357;70728:1;81016:15;;80999:357;;81091:17;81111:58;81130:29;81161:1;81164;81167;81111:18;:58::i;:::-;81091:78;;81205:36;81220:9;81231;81205:14;:36::i;:::-;81200:129;;81292:5;81278:19;;81200:129;-1:-1:-1;81033:3:0;;80999:357;;;;81386:11;81382:119;;;81430:36;81449:9;81460:5;81430:18;:36::i;:::-;80883:641;;80254:1304;;79991:1578;;81583:14;81601:1;81583:19;:56;;;;81619:14;81637:2;81619:20;81583:56;:147;;;;81657:14;81675:2;81657:20;:72;;;;-1:-1:-1;81702:26:0;81681:9;:48;81657:72;81579:532;;;81857:13;81873:75;81892:25;81919:1;81922:9;81933:14;81873:18;:75::i;:::-;81857:91;;81968:32;81983:9;81994:5;81968:14;:32::i;:::-;81963:137;;82021:36;82040:9;82051:5;82021:18;:36::i;:::-;81579:532;;-1:-1:-1;;;;;82125:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;82164:1;82125:40;;:97;;-1:-1:-1;;;;;;82182:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;82221:1;82182:40;82125:97;:155;;;-1:-1:-1;;;;;;82239:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;82278:2;82239:41;82125:155;82121:916;;;-1:-1:-1;;;;;82478:25:0;;82405:13;82478:25;;;:14;:25;;;;;;;;:35;;;;;;;;;82421:93;;82440:30;;82405:13;;;;82421:18;:93::i;:::-;82405:109;;82534:32;82549:9;82560:5;82534:14;:32::i;:::-;82529:497;;82606:4;;82629:245;70728:1;82646:15;;82629:245;;-1:-1:-1;;;;;82748:25:0;;;;;;:14;:25;;;;;;;;:35;;;;;;;;;;82717:28;;;;;;:66;82713:142;;;82826:5;82812:19;;82713:142;82663:3;;82629:245;;;;82896:11;82892:119;;;82932:36;82951:9;82962:5;82932:18;:36::i;:::-;82529:497;;82121:916;;-1:-1:-1;;;;;83051:26:0;;;;;;:15;:26;;;;;;83081:1;83051:31;;:79;;-1:-1:-1;;;;;;83099:26:0;;;;;;:15;:26;;;;;;83129:1;83099:31;83051:79;:128;;;-1:-1:-1;;;;;;83147:26:0;;;;;;:15;:26;;;;;;83177:2;83147:32;83051:128;83047:499;;;-1:-1:-1;;;;;83365:26:0;;83297:13;83365:26;;;:15;:26;;;;;;83313:79;;83297:13;;;;;;83313:18;:79::i;:::-;83297:95;;83412:32;83427:9;83438:5;83412:14;:32::i;:::-;83407:128;;83465:36;83484:9;83495:5;83465:18;:36::i;33369:204::-;33476:7;33519:44;33524:3;33544;33550:12;33519:4;:44::i;48605:272::-;48719:28;48729:4;48735:2;48739:7;48719:9;:28::i;:::-;48766:48;48789:4;48795:2;48799:7;48808:5;48766:22;:48::i;:::-;48758:111;;;;-1:-1:-1;;;48758:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33812:744;33868:13;34089:10;34085:53;;-1:-1:-1;34116:10:0;;;;;;;;;;;;-1:-1:-1;;;34116:10:0;;;;;;34085:53;34163:5;34148:12;34204:78;34211:9;;34204:78;;34237:8;;34268:2;34260:10;;;;34204:78;;;34292:19;34324:6;34314:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;34314:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;34314:17:0;87:42:-1;143:17;;-1:-1;34314:17:0;-1:-1:-1;34386:5:0;;-1:-1:-1;34292:39:0;-1:-1:-1;;;34358:10:0;;34402:115;34409:9;;34402:115;;34476:2;34469:4;:9;34464:2;:14;34453:27;;34435:6;34442:7;;;;;;;34435:15;;;;;;;;;;;:45;-1:-1:-1;;;;;34435:45:0;;;;;;;;-1:-1:-1;34503:2:0;34495:10;;;;34402:115;;;-1:-1:-1;34541:6:0;33812:744;-1:-1:-1;;;;33812:744:0:o;32006:151::-;32090:4;32114:35;32124:3;32144;32114:9;:35::i;29698:110::-;29781:19;;29698:110::o;93470:327::-;-1:-1:-1;;;;;93616:18:0;;;;;;:38;;-1:-1:-1;;;;;;93638:16:0;;;;93616:38;93612:122;;;93671:51;;-1:-1:-1;;;93671:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93612:122;93744:45;93771:4;93777:2;93781:7;93744:26;:45::i;56281:158::-;56347:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;56347:29:0;-1:-1:-1;;;;;56347:29:0;;;;;;;;:24;;56401:16;56347:24;56401:7;:16::i;:::-;-1:-1:-1;;;;;56392:39:0;;;;;;;;;;;56281:158;;:::o;26646:137::-;26716:4;26740:35;26748:3;26768:5;26740:7;:35::i;26339:131::-;26406:4;26430:32;26435:3;26455:5;26430:4;:32::i;31433:176::-;31522:4;31546:55;31551:3;31571;-1:-1:-1;;;;;31585:14:0;;31546:4;:55::i;24223:204::-;24318:18;;24290:7;;24318:26;-1:-1:-1;24310:73:0;;;;-1:-1:-1;;;24310:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24401:3;:11;;24413:5;24401:18;;;;;;;;;;;;;;;;24394:25;;24223:204;;;;:::o;30163:233::-;30267:19;;30230:7;;;;30267:27;-1:-1:-1;30259:74:0;;;;-1:-1:-1;;;30259:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30368:19;;30360:5;;30368:3;;30360:5;;30368:19;;;;;;;;;;;;;;30344:44;;;;30163:233;;;;;:::o;13342:192::-;13428:7;13464:12;13456:6;;;;13448:29;;;;-1:-1:-1;;;13448:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13448:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13500:5:0;;;13342:192::o;89384:283::-;89529:7;89561:98;89652:6;89561:86;89624:22;:9;89638:7;89624:22;:13;:22;:::i;:::-;89561:58;89597:21;:8;89610:7;89597:21;:12;:21;:::i;:::-;89561:31;89584:7;89569:9;89561:18;;;;;;;;:22;:31;:22;:31;:::i;:::-;:35;:58;:35;:58;:::i;:98::-;89554:105;89384:283;-1:-1:-1;;;;;89384:283:0:o;87367:421::-;-1:-1:-1;;;;;87507:22:0;;87480:24;87507:22;;;:14;:22;;;;;;;;:40;;;;;;;;;87562;87522:6;87530:16;87562:14;:40::i;:::-;:74;;;;;87607:29;87619:16;87607:11;:29::i;:::-;87606:30;87562:74;87558:223;;;87686:1;87653:30;;;:12;:30;;;;;;;;:34;;;;87707:62;;;;;;;;;;;;;-1:-1:-1;;;;;87707:62:0;;;;;;;;;;;87367:421;;;:::o;86157:1116::-;-1:-1:-1;;;;;86287:25:0;;86260:24;86287:25;;;:14;:25;;;;;;;;:43;;;;;;;;;86345:25;86287:43;86345:7;:25::i;:::-;:95;;;;-1:-1:-1;86387:33:0;;;;:15;:33;;;;;;:53;;86345:95;:150;;;;;86486:9;-1:-1:-1;;;;;86457:38:0;:25;86465:16;86457:7;:25::i;:::-;-1:-1:-1;;;;;86457:38:0;;86345:150;86341:925;;;86577:30;;;;:12;:30;;;;;;;;;86610:3;86577:36;;86633:65;;;;;;;;;;;;;-1:-1:-1;;;;;86633:65:0;;;;;;;;;;;86341:925;;;86917:18;86938:13;:11;:13::i;:::-;86917:34;;86966:32;86976:9;86987:10;86966:9;:32::i;:::-;87013:27;;;;:15;:27;;;;;;;;:46;;;87074:12;:24;;;;;87101:3;87074:30;;-1:-1:-1;;;;;87119:25:0;;;;;:14;:25;;;;;:43;;;;;;;;;:56;;;87195:59;;;;;;;;;;;;;;;;;;;;;;;86341:925;86157:1116;;;:::o;30819:290::-;30982:19;;30913:7;;30959:3;;31013:12;;30982:29;-1:-1:-1;30974:52:0;;;;-1:-1:-1;;;30974:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;30974:52:0;;31080:3;:12;;31093:7;31080:21;;;;;;;;;;;;;;;;31073:28;;;30819:290;;;;;:::o;55195:1078::-;55316:4;55343:15;:2;-1:-1:-1;;;;;55343:13:0;;:15::i;:::-;55338:60;;-1:-1:-1;55382:4:0;55375:11;;55338:60;55469:12;55483:23;-1:-1:-1;;;;;55510:7:0;;-1:-1:-1;;;55615:12:0;:10;:12::i;:::-;55642:4;55661:7;55683:5;55518:181;;;;;;-1:-1:-1;;;;;55518:181:0;-1:-1:-1;;;;;55518:181:0;;;;;;-1:-1:-1;;;;;55518:181:0;-1:-1:-1;;;;;55518:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;55518:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55518:181:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;55518:181:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;55518:181:0;;;179:29:-1;;;;160:49;;55510:190:0;;;55518:181;;55510:190;;-1:-1:-1;55510:190:0;;-1:-1:-1;25:18;-1:-1;55510:190:0;-1:-1:-1;55510:190:0;;-1:-1:-1;55510:190:0;;-1:-1:-1;25:18;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;55510:190:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;55468:232:0;;;;55716:7;55711:555;;55744:17;;:21;55740:384;;55912:10;55906:17;55973:15;55960:10;55956:2;55952:19;55945:44;55860:148;56048:60;;-1:-1:-1;;;56048:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55711:555;56156:13;56183:10;56172:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;56172:32:0;-1:-1:-1;;;;;;56227:26:0;-1:-1:-1;;;56227:26:0;;-1:-1:-1;56219:35:0;;-1:-1:-1;;;56219:35:0;29466:137;29576:19;;-1:-1:-1;29561:34:0;29466:137::o;21925:1544::-;21991:4;22130:19;;;:12;;;:19;;;;;;22166:15;;22162:1300;;22601:18;;-1:-1:-1;;22552:14:0;;;;22601:22;;;;22528:21;;22601:3;;:22;;22888;;;;;;;;;;;;;;22868:42;;23034:9;23005:3;:11;;23017:13;23005:26;;;;;;;;;;;;;;;;;;;:38;;;;23111:23;;;23153:1;23111:12;;;:23;;;;;;23137:17;;;23111:43;;23263:17;;23111:3;;23263:17;;;;;;;;;;;;;;;;;;;;;;23358:3;:12;;:19;23371:5;23358:19;;;;;;;;;;;23351:26;;;23401:4;23394:11;;;;;;;;22162:1300;23445:5;23438:12;;;;;21335:414;21398:4;21420:21;21430:3;21435:5;21420:9;:21::i;:::-;21415:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;21458:11:0;:23;;;;;;;;;;;;;21641:18;;21619:19;;;:12;;;:19;;;;;;:40;;;;21674:11;;21415:327;-1:-1:-1;21725:5:0;21718:12;;28605:470;28758:19;;28681:4;;28724:3;;28747:30;;;28739:97;;;;-1:-1:-1;;;28739:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28864:19;;28853:30;;28849:219;;;-1:-1:-1;;27:10;;39:1;23:18;;;45:23;;28917:12:0;:24;;;;;;;;;;;;28956:11;;28849:219;29024:5;29000:3;:12;;29013:7;29000:21;;;;;;;;;;;;;;;:29;;;;29051:5;29044:12;;;;;13785:471;13843:7;14088:6;14084:47;;-1:-1:-1;14118:1:0;14111:8;;14084:47;14155:5;;;14159:1;14155;:5;:1;14179:5;;;;;:10;14171:56;;;;-1:-1:-1;;;14171:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50442:110;50518:26;50528:2;50532:7;50518:26;;;;;;;;;;;;:9;:26::i;17688:619::-;17748:4;18216:20;;18059:66;18256:23;;;;;;:42;;-1:-1:-1;;18283:15:0;;;18248:51;-1:-1:-1;;17688:619:0:o;23555:129::-;23628:4;23652:19;;;:12;;;;;:19;;;;;;:24;;;23555:129::o;51166:250::-;51262:18;51268:2;51272:7;51262:5;:18::i;:::-;51299:54;51330:1;51334:2;51338:7;51347:5;51299:22;:54::i;:::-;51291:117;;;;-1:-1:-1;;;51291:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51669:404;-1:-1:-1;;;;;51749:16:0;;51741:61;;;;;-1:-1:-1;;;51741:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51822:16;51830:7;51822;:16::i;:::-;51821:17;51813:58;;;;;-1:-1:-1;;;51813:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51884:45;51913:1;51917:2;51921:7;51884:20;:45::i;:::-;-1:-1:-1;;;;;51942:17:0;;;;;;:13;:17;;;;;:30;;51964:7;51942:30;:21;:30;:::i;:::-;-1:-1:-1;51985:29:0;:12;52002:7;52011:2;51985:29;:16;:29;:::i;:::-;-1:-1:-1;52032:33:0;;52057:7;;-1:-1:-1;;;;;52032:33:0;;;52049:1;;52032:33;;52049:1;;52032:33;51669:404;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://5278ee1754267221279acca38d957a9992b1b8db0f9790caaa2b49355a88987f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.