ERC-721
Overview
Max Total Supply
1 DPT
Holders
1
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DPTLoading...
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 0x85B159d8...Dab978eeE The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
NFT
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-14 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; pragma experimental ABIEncoderV2; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // 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 MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @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) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = 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 returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry 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. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @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"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @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 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // 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 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))); } } /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(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)); } } /** * @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) { 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; } } /** * @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); } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /* * @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. */ abstract contract Context { 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; } } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } /** * @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); } /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract 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 () { // 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; } } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } /** * @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); } /** * @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); } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } /** * @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 EnumerableMap for EnumerableMap.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 EnumerableMap.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 ^ 0xe985e9c5 ^ 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; // 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 See {IERC721-balanceOf}. */ 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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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 See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ 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 See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ 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 Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = 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 Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(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 Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ 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; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); 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` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } } /** * @dev {ERC721} token ("NFT"), including: * * - ability for holders to burn (destroy) their tokens * - an admin role that allows for role management * - a minter role that allows for token minting (creation) * * This contract uses {AccessControl} to lock permissioned functions using the * different roles - head to its documentation for details. */ contract NFT is AccessControl, ERC721Burnable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); /** * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and initial NFT(s). */ constructor( address[] memory owner, string memory name, string memory symbol, string memory baseURI, uint256[] memory tokenId, string[] memory tokenURI ) ERC721(name, symbol) { _setupRole(DEFAULT_ADMIN_ROLE, owner[0]); _setupRole(MINTER_ROLE, owner[0]); _setBaseURI(baseURI); for (uint256 i = 0; i < owner.length; i++) { _mint(owner[i], tokenId[i]); _setTokenURI(tokenId[i], tokenURI[i]); } } /** * @dev Returns bool confirming whether tokenId exists. */ function exists(uint256 tokenId) external view returns (bool) { return _exists(tokenId); } /** * @dev Creates a new token for `to` with `tokenId` and `tokenURI`. * * See {ERC721-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to, uint256 tokenId, string calldata tokenURI) external virtual { require(hasRole(MINTER_ROLE, _msgSender()), "NFT: must have minter role"); _mint(to, tokenId); _setTokenURI(tokenId, tokenURI); } /** * @dev Creates a new token batch for `to` with iterated `tokenId` and `tokenURI`. * * See {ERC721-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. * - array lengths must match. */ function mintBatch(address[] calldata to, uint256[] calldata tokenId, string[] calldata tokenURI) external virtual { require(hasRole(MINTER_ROLE, _msgSender()), "NFT: must have minter role"); require(to.length == tokenId.length && to.length == tokenURI.length, "!to/tokenId/tokenURI"); for (uint256 i = 0; i < to.length; i++) { _mint(to[i], tokenId[i]); _setTokenURI(tokenId[i], tokenURI[i]); } } /** * @dev Creates a new token for `to` with `tokenId`, `tokenURI` and `data`. * * See {ERC721-_safeMint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function safeMint(address to, uint256 tokenId, string calldata tokenURI, bytes calldata data) external virtual { require(hasRole(MINTER_ROLE, _msgSender()), "NFT: must have minter role"); _safeMint(to, tokenId, data); _setTokenURI(tokenId, tokenURI); } /** * @dev Creates a new token batch for `to` with iterated `tokenId`, `tokenURI` and `data`. * * See {ERC721-_safeMint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. * - array lengths must match. */ function safeMintBatch(address[] calldata to, uint256[] calldata tokenId, string[] calldata tokenURI, bytes[] calldata data) external virtual { require(hasRole(MINTER_ROLE, _msgSender()), "NFT: must have minter role"); require(to.length == tokenId.length && to.length == tokenURI.length, "!to/tokenId/tokenURI"); for (uint256 i = 0; i < to.length; i++) { _safeMint(to[i], tokenId[i], data[i]); _setTokenURI(tokenId[i], tokenURI[i]); } } /** * @dev Transfers batch `tokenId` from `from` to `to`. * * Requirements: * * - array lengths must match. */ function transferBatch(address[] calldata to, uint256[] calldata tokenId) external { require(to.length == tokenId.length, "!to/tokenId"); for (uint256 i = 0; i < to.length; i++) { _transfer(_msgSender(), to[i], tokenId[i]); } } } /** * @dev {ERC721} token factory ("NFTFactory"), including: * * - ability for holders to burn (destroy) their tokens * - an admin role that allows for role management * - a minter role that allows for token minting (creation) */ contract NFTFactory { // address of creator => NFT contract address mapping(address => NFT[]) nftMap; // number of NFTs issued from factory uint256 public nftCount; // return addresses of deployed NFTs NFT[] public nfts; // emits when new NFT issued event CreateNFT(address indexed newNFT); /** * @dev Creates a new NFT. * @param owner Base account (owner[0]) starts with admin and minter role; others, NFT grants. * @param name The name of NFT. * @param symbol The symbol of NFT. * @param baseURI The base URI metadata for NFT. * @param tokenId The `tokenId` for initial NFT minted to owner(s). * @param tokenURI The `tokenURI` for initial NFT minted to owner(s). * * Requirements: * * - array lengths must match. */ function createNFT( address[] calldata owner, string calldata name, string calldata symbol, string calldata baseURI, uint256[] calldata tokenId, string[] calldata tokenURI ) external { require(owner.length == tokenId.length && owner.length == tokenURI.length, "!owner/tokenId/tokenURI"); // new NFT NFT nft = new NFT( owner, name, symbol, baseURI, tokenId, tokenURI); // push into mapping of NFTs by base owner (owner[0]) nftMap[owner[0]].push(nft); // push into array to get NFTs in order nfts.push(nft); // increment NFT count nftCount++; emit CreateNFT(address(nft)); } /** * @dev owner is the base owner of the NFT. */ function getNFTByAddress(address owner) external view returns (NFT[] memory) { return nftMap[owner]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"owner","type":"address[]"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"string[]","name":"tokenURI","type":"string[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"string[]","name":"tokenURI","type":"string[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"string[]","name":"tokenURI","type":"string[]"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"safeMintBatch","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200357d3803806200357d8339810160408190526200003491620007fe565b8484620000486301ffc9a760e01b620001ab565b81516200005d90600790602085019062000568565b5080516200007390600890602084019062000568565b50620000866380ac58cd60e01b620001ab565b62000098635b5e139f60e01b620001ab565b620000aa63780e9d6360e01b620001ab565b5050620000d66000801b87600081518110620000c257fe5b60200260200101516200020960201b60201c565b620001097f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a687600081518110620000c257fe5b620001148362000219565b60005b86518110156200019e576200015b8782815181106200013257fe5b60200260200101518483815181106200014757fe5b60200260200101516200022e60201b60201c565b620001958382815181106200016c57fe5b60200260200101518383815181106200018157fe5b60200260200101516200031c60201b60201c565b60010162000117565b5050505050505062000a2f565b6001600160e01b03198082161415620001e15760405162461bcd60e51b8152600401620001d890620008fe565b60405180910390fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b6200021582826200036c565b5050565b80516200021590600a90602084019062000568565b6001600160a01b038216620002575760405162461bcd60e51b8152600401620001d8906200096c565b6200026281620003e5565b15620002825760405162461bcd60e51b8152600401620001d89062000935565b620002906000838362000367565b6001600160a01b0382166000908152600260209081526040909120620002c191839062000ff062000408821b17901c565b50620002df818360036200041d60201b62000ffc179092919060201c565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6200032782620003e5565b620003465760405162461bcd60e51b8152600401620001d890620009a1565b60008281526009602090815260409091208251620003679284019062000568565b505050565b600082815260208181526040909120620003919183906200101c6200043d821b17901c565b156200021557620003a162000454565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620004028260036200045860201b620010311790919060201c565b92915050565b600062000416838362000466565b9392505050565b60006200043584846001600160a01b038516620004b5565b949350505050565b600062000416836001600160a01b03841662000466565b3390565b600062000416838362000550565b600062000474838362000550565b620004ac5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000402565b50600062000402565b6000828152600184016020526040812054806200051c57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205562000416565b828560000160018303815481106200053057fe5b906000526020600020906002020160010181905550600091505062000416565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620005a05760008555620005eb565b82601f10620005bb57805160ff1916838001178555620005eb565b82800160010185558215620005eb579182015b82811115620005eb578251825591602001919060010190620005ce565b50620005f9929150620005fd565b5090565b5b80821115620005f95760008155600101620005fe565b600082601f83011262000625578081fd5b81516200063c620006368262000a11565b620009ed565b8181529150602080830190848101818402860182018710156200065e57600080fd5b6000805b85811015620006955782516001600160a01b038116811462000682578283fd5b8552938301939183019160010162000662565b50505050505092915050565b600082601f830112620006b2578081fd5b8151620006c3620006368262000a11565b818152915060208083019084810160005b848110156200070157620006ee888484518a010162000771565b84529282019290820190600101620006d4565b505050505092915050565b600082601f8301126200071d578081fd5b81516200072e620006368262000a11565b8181529150602080830190848101818402860182018710156200075057600080fd5b60005b84811015620007015781518452928201929082019060010162000753565b600082601f83011262000782578081fd5b81516001600160401b038111156200079657fe5b6020620007ac601f8301601f19168201620009ed565b92508183528481838601011115620007c357600080fd5b60005b82811015620007e3578481018201518482018301528101620007c6565b82811115620007f55760008284860101525b50505092915050565b60008060008060008060c0878903121562000817578182fd5b86516001600160401b03808211156200082e578384fd5b6200083c8a838b0162000614565b9750602089015191508082111562000852578384fd5b620008608a838b0162000771565b9650604089015191508082111562000876578384fd5b620008848a838b0162000771565b955060608901519150808211156200089a578384fd5b620008a88a838b0162000771565b94506080890151915080821115620008be578384fd5b620008cc8a838b016200070c565b935060a0890151915080821115620008e2578283fd5b50620008f189828a01620006a1565b9150509295509295509295565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6040518181016001600160401b038111828210171562000a0957fe5b604052919050565b60006001600160401b0382111562000a2557fe5b5060209081020190565b612b3e8062000a3f6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636c0360eb1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c8731461041c578063d3fc98641461042f578063d539139314610442578063d547741f1461044a578063e985e9c51461045d576101fb565b8063a22cb465146103d0578063b55bc617146103e3578063b88d4fde146103f6578063c87b56dd14610409576101fb565b806391d14854116100e957806391d148541461039a57806392315df7146103ad57806395d89b41146103c0578063a217fddf146103c8576101fb565b80636c0360eb1461035957806370a08231146103615780638e12012e146103745780639010d07c14610387576101fb565b80632f745c591161019257806342966c681161016157806342966c681461030d5780634f558e79146103205780634f6ccce7146103335780636352211e14610346576101fb565b80632f745c59146102c157806336568abe146102d45780633b3e672f146102e757806342842e0e146102fa576101fb565b806318160ddd116101ce57806318160ddd1461027357806323b872dd14610288578063248a9ca31461029b5780632f2ff15d146102ae576101fb565b806301ffc9a71461020057806306fdde0314610229578063081812fc1461023e578063095ea7b31461025e575b600080fd5b61021361020e36600461221c565b610470565b604051610220919061236e565b60405180910390f35b610231610493565b6040516102209190612382565b61025161024c3660046121c1565b610529565b604051610220919061231d565b61027161026c366004611f19565b610575565b005b61027b61060d565b6040516102209190612379565b610271610296366004611de4565b61061e565b61027b6102a93660046121c1565b610656565b6102716102bc3660046121d9565b61066b565b61027b6102cf366004611f19565b6106b3565b6102716102e23660046121d9565b6106de565b6102716102f5366004612021565b610720565b610271610308366004611de4565b61079d565b61027161031b3660046121c1565b6107b8565b61021361032e3660046121c1565b6107eb565b61027b6103413660046121c1565b6107f6565b6102516103543660046121c1565b61080c565b610231610834565b61027b61036f366004611d98565b610895565b610271610382366004612102565b6108de565b6102516103953660046121fb565b610a59565b6102136103a83660046121d9565b610a71565b6102716103bb36600461207e565b610a89565b610231610b63565b61027b610bc4565b6102716103de366004611edf565b610bc9565b6102716103f1366004611f9a565b610c97565b610271610404366004611e1f565b610d56565b6102316104173660046121c1565b610d95565b61027b61042a3660046121c1565b610edf565b61027161043d366004611f42565b610ef6565b61027b610f76565b6102716104583660046121d9565b610f88565b61021361046b366004611db2565b610fc2565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b820191906000526020600020905b81548152906001019060200180831161050257829003601f168201915b5050505050905090565b60006105348261103d565b6105595760405162461bcd60e51b815260040161055090612737565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105808261080c565b9050806001600160a01b0316836001600160a01b031614156105b45760405162461bcd60e51b81526004016105509061289e565b806001600160a01b03166105c661104a565b6001600160a01b031614806105e257506105e28161046b61104a565b6105fe5760405162461bcd60e51b815260040161055090612619565b610608838361104e565b505050565b600061061960036110bc565b905090565b61062f61062961104a565b826110c7565b61064b5760405162461bcd60e51b8152600401610550906128df565b61060883838361114c565b60009081526020819052604090206002015490565b600082815260208190526040902060020154610689906103a861104a565b6106a55760405162461bcd60e51b8152600401610550906123d7565b6106af828261125a565b5050565b6001600160a01b03821660009081526002602052604081206106d590836112c3565b90505b92915050565b6106e661104a565b6001600160a01b0316816001600160a01b0316146107165760405162461bcd60e51b8152600401610550906129b7565b6106af82826112cf565b82811461073f5760405162461bcd60e51b8152600401610550906125f4565b60005b838110156107965761078e61075561104a565b86868481811061076157fe5b90506020020160208101906107769190611d98565b85858581811061078257fe5b9050602002013561114c565b600101610742565b5050505050565b61060883838360405180602001604052806000815250610d56565b6107c361062961104a565b6107df5760405162461bcd60e51b815260040161055090612967565b6107e881611338565b50565b60006106d88261103d565b600080610804600384611405565b509392505050565b60006106d882604051806060016040528060298152602001612ac06029913960039190611423565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b60006001600160a01b0382166108bd5760405162461bcd60e51b815260040161055090612676565b6001600160a01b03821660009081526002602052604090206106d8906110bc565b6108f8600080516020612ae98339815191526103a861104a565b6109145760405162461bcd60e51b815260040161055090612867565b868514801561092257508683145b61093e5760405162461bcd60e51b8152600401610550906124af565b60005b87811015610a4e576109d889898381811061095857fe5b905060200201602081019061096d9190611d98565b88888481811061097957fe5b9050602002013585858581811061098c57fe5b905060200281019061099e9190612a06565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061143092505050565b610a468787838181106109e757fe5b905060200201358686848181106109fa57fe5b9050602002810190610a0c9190612a06565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b600101610941565b505050505050505050565b60008281526020819052604081206106d590836112c3565b60008281526020819052604081206106d590836114a7565b610aa3600080516020612ae98339815191526103a861104a565b610abf5760405162461bcd60e51b815260040161055090612867565b8483148015610acd57508481145b610ae95760405162461bcd60e51b8152600401610550906124af565b60005b85811015610b5a57610b30878783818110610b0357fe5b9050602002016020810190610b189190611d98565b868684818110610b2457fe5b905060200201356114bc565b610b52858583818110610b3f57fe5b905060200201358484848181106109fa57fe5b600101610aec565b50505050505050565b60088054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b600081565b610bd161104a565b6001600160a01b0316826001600160a01b03161415610c025760405162461bcd60e51b815260040161055090612521565b8060066000610c0f61104a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c5361104a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c8b919061236e565b60405180910390a35050565b610cb1600080516020612ae98339815191526103a861104a565b610ccd5760405162461bcd60e51b815260040161055090612867565b610d0e868684848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061143092505050565b610d4e8585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b505050505050565b610d67610d6161104a565b836110c7565b610d835760405162461bcd60e51b8152600401610550906128df565b610d8f84848484611580565b50505050565b6060610da08261103d565b610dbc5760405162461bcd60e51b815260040161055090612818565b60008281526009602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610e515780601f10610e2657610100808354040283529160200191610e51565b820191906000526020600020905b815481529060010190602001808311610e3457829003601f168201915b5050600a5493945050505060026000196101006001841615020190911604610e7a57905061048e565b805115610eac57600a81604051602001610e9592919061229c565b60405160208183030381529060405291505061048e565b600a610eb7846115b3565b604051602001610ec892919061229c565b604051602081830303815290604052915050919050565b60008181526020819052604081206106d8906110bc565b610f10600080516020612ae98339815191526103a861104a565b610f2c5760405162461bcd60e51b815260040161055090612867565b610f3684846114bc565b610d8f8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b600080516020612ae983398151915281565b600082815260208190526040902060020154610fa6906103a861104a565b6107165760405162461bcd60e51b8152600401610550906125a4565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60006106d5838361168e565b600061101284846001600160a01b0385166116d8565b90505b9392505050565b60006106d5836001600160a01b03841661168e565b60006106d5838361176f565b60006106d8600383611031565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110838261080c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006106d882611787565b60006110d28261103d565b6110ee5760405162461bcd60e51b815260040161055090612558565b60006110f98361080c565b9050806001600160a01b0316846001600160a01b031614806111345750836001600160a01b031661112984610529565b6001600160a01b0316145b8061114457506111448185610fc2565b949350505050565b826001600160a01b031661115f8261080c565b6001600160a01b0316146111855760405162461bcd60e51b8152600401610550906127cf565b6001600160a01b0382166111ab5760405162461bcd60e51b8152600401610550906124dd565b6111b6838383610608565b6111c160008261104e565b6001600160a01b03831660009081526002602052604090206111e3908261178b565b506001600160a01b03821660009081526002602052604090206112069082610ff0565b5061121360038284610ffc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020611272908261101c565b156106af5761127f61104a565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106d58383611797565b60008281526020819052604090206112e790826117dc565b156106af576112f461104a565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006113438261080c565b905061135181600084610608565b61135c60008361104e565b600082815260096020526040902054600260001961010060018416150201909116041561139a57600082815260096020526040812061139a91611c1a565b6001600160a01b03811660009081526002602052604090206113bc908361178b565b506113c86003836117f1565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061141486866117fd565b909450925050505b9250929050565b6000611012848484611859565b61143a83836114bc565b61144760008484846118b8565b6106085760405162461bcd60e51b815260040161055090612426565b61146c8261103d565b6114885760405162461bcd60e51b815260040161055090612783565b6000828152600960209081526040909120825161060892840190611c5e565b60006106d5836001600160a01b03841661176f565b6001600160a01b0382166114e25760405162461bcd60e51b815260040161055090612702565b6114eb8161103d565b156115085760405162461bcd60e51b815260040161055090612478565b61151460008383610608565b6001600160a01b03821660009081526002602052604090206115369082610ff0565b5061154360038284610ffc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61158b84848461114c565b611597848484846118b8565b610d8f5760405162461bcd60e51b815260040161055090612426565b6060816115d857506040805180820190915260018152600360fc1b602082015261048e565b8160005b81156115f057600101600a820491506115dc565b60608167ffffffffffffffff8111801561160957600080fd5b506040519080825280601f01601f191660200182016040528015611634576020820181803683370190505b50859350905060001982015b831561168557600a840660300160f81b8282806001900393508151811061166357fe5b60200101906001600160f81b031916908160001a905350600a84049350611640565b50949350505050565b600061169a838361176f565b6116d0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106d8565b5060006106d8565b60008281526001840160205260408120548061173d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611015565b8285600001600183038154811061175057fe5b9060005260206000209060020201600101819055506000915050611015565b60009081526001919091016020526040902054151590565b5490565b60006106d58383611997565b815460009082106117ba5760405162461bcd60e51b815260040161055090612395565b8260000182815481106117c957fe5b9060005260206000200154905092915050565b60006106d5836001600160a01b038416611997565b60006106d58383611a5d565b8154600090819083106118225760405162461bcd60e51b8152600401610550906126c0565b600084600001848154811061183357fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816118895760405162461bcd60e51b81526004016105509190612382565b5084600001600182038154811061189c57fe5b9060005260206000209060020201600101549150509392505050565b60006118cc846001600160a01b0316611b31565b6118d857506001611144565b6060611960630a85bd0160e11b6118ed61104a565b8887876040516024016119039493929190612331565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a8e603291396001600160a01b0388169190611b37565b90506000818060200190518101906119789190612238565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015611a5357835460001980830191908101906000908790839081106119ca57fe5b90600052602060002001549050808760000184815481106119e757fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611a1757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506106d8565b60009150506106d8565b60008181526001830160205260408120548015611a535783546000198083019190810190600090879083908110611a9057fe5b9060005260206000209060020201905080876000018481548110611ab057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080611aef57fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506106d89350505050565b3b151590565b6060611012848460008585611b4b85611b31565b611b675760405162461bcd60e51b815260040161055090612930565b60006060866001600160a01b03168587604051611b849190612280565b60006040518083038185875af1925050503d8060008114611bc1576040519150601f19603f3d011682016040523d82523d6000602084013e611bc6565b606091505b5091509150611bd6828286611be1565b979650505050505050565b60608315611bf0575081611015565b825115611c005782518084602001fd5b8160405162461bcd60e51b81526004016105509190612382565b50805460018160011615610100020316600290046000825580601f10611c4057506107e8565b601f0160209004906000526020600020908101906107e89190611cea565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282611c945760008555611cda565b82601f10611cad57805160ff1916838001178555611cda565b82800160010185558215611cda579182015b82811115611cda578251825591602001919060010190611cbf565b50611ce6929150611cea565b5090565b5b80821115611ce65760008155600101611ceb565b80356001600160a01b038116811461048e57600080fd5b60008083601f840112611d27578182fd5b50813567ffffffffffffffff811115611d3e578182fd5b602083019150836020808302850101111561141c57600080fd5b60008083601f840112611d69578182fd5b50813567ffffffffffffffff811115611d80578182fd5b60208301915083602082850101111561141c57600080fd5b600060208284031215611da9578081fd5b6106d582611cff565b60008060408385031215611dc4578081fd5b611dcd83611cff565b9150611ddb60208401611cff565b90509250929050565b600080600060608486031215611df8578081fd5b611e0184611cff565b9250611e0f60208501611cff565b9150604084013590509250925092565b60008060008060808587031215611e34578081fd5b611e3d85611cff565b93506020611e4c818701611cff565b935060408601359250606086013567ffffffffffffffff80821115611e6f578384fd5b818801915088601f830112611e82578384fd5b813581811115611e8e57fe5b604051601f8201601f1916810185018381118282101715611eab57fe5b60405281815283820185018b1015611ec1578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215611ef1578182fd5b611efa83611cff565b915060208301358015158114611f0e578182fd5b809150509250929050565b60008060408385031215611f2b578182fd5b611f3483611cff565b946020939093013593505050565b60008060008060608587031215611f57578384fd5b611f6085611cff565b935060208501359250604085013567ffffffffffffffff811115611f82578283fd5b611f8e87828801611d58565b95989497509550505050565b60008060008060008060808789031215611fb2578182fd5b611fbb87611cff565b955060208701359450604087013567ffffffffffffffff80821115611fde578384fd5b611fea8a838b01611d58565b90965094506060890135915080821115612002578384fd5b5061200f89828a01611d58565b979a9699509497509295939492505050565b60008060008060408587031215612036578384fd5b843567ffffffffffffffff8082111561204d578586fd5b61205988838901611d16565b90965094506020870135915080821115612071578384fd5b50611f8e87828801611d16565b60008060008060008060608789031215612096578384fd5b863567ffffffffffffffff808211156120ad578586fd5b6120b98a838b01611d16565b909850965060208901359150808211156120d1578586fd5b6120dd8a838b01611d16565b909650945060408901359150808211156120f5578384fd5b5061200f89828a01611d16565b6000806000806000806000806080898b03121561211d578586fd5b883567ffffffffffffffff80821115612134578788fd5b6121408c838d01611d16565b909a50985060208b0135915080821115612158578788fd5b6121648c838d01611d16565b909850965060408b013591508082111561217c578384fd5b6121888c838d01611d16565b909650945060608b01359150808211156121a0578384fd5b506121ad8b828c01611d16565b999c989b5096995094979396929594505050565b6000602082840312156121d2578081fd5b5035919050565b600080604083850312156121eb578182fd5b82359150611ddb60208401611cff565b6000806040838503121561220d578182fd5b50508035926020909101359150565b60006020828403121561222d578081fd5b813561101581612a77565b600060208284031215612249578081fd5b815161101581612a77565b6000815180845261226c816020860160208601612a4b565b601f01601f19169290920160200192915050565b60008251612292818460208701612a4b565b9190910192915050565b60008084546001808216600081146122bb57600181146122d257612301565b60ff198316865260028304607f1686019350612301565b600283048886526020808720875b838110156122f95781548a8201529085019082016122e0565b505050860193505b5050508351612314818360208801612a4b565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061236490830184612254565b9695505050505050565b901515815260200190565b90815260200190565b6000602082526106d56020830184612254565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526014908201527321746f2f746f6b656e49642f746f6b656e55524960601b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252600b908201526a085d1bcbdd1bdad95b925960aa1b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f4e46543a206d7573742068617665206d696e74657220726f6c65000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6000808335601e19843603018112612a1c578283fd5b83018035915067ffffffffffffffff821115612a36578283fd5b60200191503681900382131561141c57600080fd5b60005b83811015612a66578181015183820152602001612a4e565b83811115610d8f5750506000910152565b6001600160e01b0319811681146107e857600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220139a9eac5baea96341df05830414abdc858965f746bafad21765462aa283a6a764736f6c6343000705003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b88f61e6fbda83fbfffabe364112137480398018000000000000000000000000000000000000000000000000000000000000000c466c616d696e676f2044414f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004464c414d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c697066733a2f2f697066732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e516d63345a4d444e4d7535626775476f687447514778354451657869746e4e766635526237597a626a613437626f000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636c0360eb1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c8731461041c578063d3fc98641461042f578063d539139314610442578063d547741f1461044a578063e985e9c51461045d576101fb565b8063a22cb465146103d0578063b55bc617146103e3578063b88d4fde146103f6578063c87b56dd14610409576101fb565b806391d14854116100e957806391d148541461039a57806392315df7146103ad57806395d89b41146103c0578063a217fddf146103c8576101fb565b80636c0360eb1461035957806370a08231146103615780638e12012e146103745780639010d07c14610387576101fb565b80632f745c591161019257806342966c681161016157806342966c681461030d5780634f558e79146103205780634f6ccce7146103335780636352211e14610346576101fb565b80632f745c59146102c157806336568abe146102d45780633b3e672f146102e757806342842e0e146102fa576101fb565b806318160ddd116101ce57806318160ddd1461027357806323b872dd14610288578063248a9ca31461029b5780632f2ff15d146102ae576101fb565b806301ffc9a71461020057806306fdde0314610229578063081812fc1461023e578063095ea7b31461025e575b600080fd5b61021361020e36600461221c565b610470565b604051610220919061236e565b60405180910390f35b610231610493565b6040516102209190612382565b61025161024c3660046121c1565b610529565b604051610220919061231d565b61027161026c366004611f19565b610575565b005b61027b61060d565b6040516102209190612379565b610271610296366004611de4565b61061e565b61027b6102a93660046121c1565b610656565b6102716102bc3660046121d9565b61066b565b61027b6102cf366004611f19565b6106b3565b6102716102e23660046121d9565b6106de565b6102716102f5366004612021565b610720565b610271610308366004611de4565b61079d565b61027161031b3660046121c1565b6107b8565b61021361032e3660046121c1565b6107eb565b61027b6103413660046121c1565b6107f6565b6102516103543660046121c1565b61080c565b610231610834565b61027b61036f366004611d98565b610895565b610271610382366004612102565b6108de565b6102516103953660046121fb565b610a59565b6102136103a83660046121d9565b610a71565b6102716103bb36600461207e565b610a89565b610231610b63565b61027b610bc4565b6102716103de366004611edf565b610bc9565b6102716103f1366004611f9a565b610c97565b610271610404366004611e1f565b610d56565b6102316104173660046121c1565b610d95565b61027b61042a3660046121c1565b610edf565b61027161043d366004611f42565b610ef6565b61027b610f76565b6102716104583660046121d9565b610f88565b61021361046b366004611db2565b610fc2565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b820191906000526020600020905b81548152906001019060200180831161050257829003601f168201915b5050505050905090565b60006105348261103d565b6105595760405162461bcd60e51b815260040161055090612737565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105808261080c565b9050806001600160a01b0316836001600160a01b031614156105b45760405162461bcd60e51b81526004016105509061289e565b806001600160a01b03166105c661104a565b6001600160a01b031614806105e257506105e28161046b61104a565b6105fe5760405162461bcd60e51b815260040161055090612619565b610608838361104e565b505050565b600061061960036110bc565b905090565b61062f61062961104a565b826110c7565b61064b5760405162461bcd60e51b8152600401610550906128df565b61060883838361114c565b60009081526020819052604090206002015490565b600082815260208190526040902060020154610689906103a861104a565b6106a55760405162461bcd60e51b8152600401610550906123d7565b6106af828261125a565b5050565b6001600160a01b03821660009081526002602052604081206106d590836112c3565b90505b92915050565b6106e661104a565b6001600160a01b0316816001600160a01b0316146107165760405162461bcd60e51b8152600401610550906129b7565b6106af82826112cf565b82811461073f5760405162461bcd60e51b8152600401610550906125f4565b60005b838110156107965761078e61075561104a565b86868481811061076157fe5b90506020020160208101906107769190611d98565b85858581811061078257fe5b9050602002013561114c565b600101610742565b5050505050565b61060883838360405180602001604052806000815250610d56565b6107c361062961104a565b6107df5760405162461bcd60e51b815260040161055090612967565b6107e881611338565b50565b60006106d88261103d565b600080610804600384611405565b509392505050565b60006106d882604051806060016040528060298152602001612ac06029913960039190611423565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b60006001600160a01b0382166108bd5760405162461bcd60e51b815260040161055090612676565b6001600160a01b03821660009081526002602052604090206106d8906110bc565b6108f8600080516020612ae98339815191526103a861104a565b6109145760405162461bcd60e51b815260040161055090612867565b868514801561092257508683145b61093e5760405162461bcd60e51b8152600401610550906124af565b60005b87811015610a4e576109d889898381811061095857fe5b905060200201602081019061096d9190611d98565b88888481811061097957fe5b9050602002013585858581811061098c57fe5b905060200281019061099e9190612a06565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061143092505050565b610a468787838181106109e757fe5b905060200201358686848181106109fa57fe5b9050602002810190610a0c9190612a06565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b600101610941565b505050505050505050565b60008281526020819052604081206106d590836112c3565b60008281526020819052604081206106d590836114a7565b610aa3600080516020612ae98339815191526103a861104a565b610abf5760405162461bcd60e51b815260040161055090612867565b8483148015610acd57508481145b610ae95760405162461bcd60e51b8152600401610550906124af565b60005b85811015610b5a57610b30878783818110610b0357fe5b9050602002016020810190610b189190611d98565b868684818110610b2457fe5b905060200201356114bc565b610b52858583818110610b3f57fe5b905060200201358484848181106109fa57fe5b600101610aec565b50505050505050565b60088054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051f5780601f106104f45761010080835404028352916020019161051f565b600081565b610bd161104a565b6001600160a01b0316826001600160a01b03161415610c025760405162461bcd60e51b815260040161055090612521565b8060066000610c0f61104a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c5361104a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c8b919061236e565b60405180910390a35050565b610cb1600080516020612ae98339815191526103a861104a565b610ccd5760405162461bcd60e51b815260040161055090612867565b610d0e868684848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061143092505050565b610d4e8585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b505050505050565b610d67610d6161104a565b836110c7565b610d835760405162461bcd60e51b8152600401610550906128df565b610d8f84848484611580565b50505050565b6060610da08261103d565b610dbc5760405162461bcd60e51b815260040161055090612818565b60008281526009602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610e515780601f10610e2657610100808354040283529160200191610e51565b820191906000526020600020905b815481529060010190602001808311610e3457829003601f168201915b5050600a5493945050505060026000196101006001841615020190911604610e7a57905061048e565b805115610eac57600a81604051602001610e9592919061229c565b60405160208183030381529060405291505061048e565b600a610eb7846115b3565b604051602001610ec892919061229c565b604051602081830303815290604052915050919050565b60008181526020819052604081206106d8906110bc565b610f10600080516020612ae98339815191526103a861104a565b610f2c5760405162461bcd60e51b815260040161055090612867565b610f3684846114bc565b610d8f8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061146392505050565b600080516020612ae983398151915281565b600082815260208190526040902060020154610fa6906103a861104a565b6107165760405162461bcd60e51b8152600401610550906125a4565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60006106d5838361168e565b600061101284846001600160a01b0385166116d8565b90505b9392505050565b60006106d5836001600160a01b03841661168e565b60006106d5838361176f565b60006106d8600383611031565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110838261080c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006106d882611787565b60006110d28261103d565b6110ee5760405162461bcd60e51b815260040161055090612558565b60006110f98361080c565b9050806001600160a01b0316846001600160a01b031614806111345750836001600160a01b031661112984610529565b6001600160a01b0316145b8061114457506111448185610fc2565b949350505050565b826001600160a01b031661115f8261080c565b6001600160a01b0316146111855760405162461bcd60e51b8152600401610550906127cf565b6001600160a01b0382166111ab5760405162461bcd60e51b8152600401610550906124dd565b6111b6838383610608565b6111c160008261104e565b6001600160a01b03831660009081526002602052604090206111e3908261178b565b506001600160a01b03821660009081526002602052604090206112069082610ff0565b5061121360038284610ffc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020611272908261101c565b156106af5761127f61104a565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106d58383611797565b60008281526020819052604090206112e790826117dc565b156106af576112f461104a565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006113438261080c565b905061135181600084610608565b61135c60008361104e565b600082815260096020526040902054600260001961010060018416150201909116041561139a57600082815260096020526040812061139a91611c1a565b6001600160a01b03811660009081526002602052604090206113bc908361178b565b506113c86003836117f1565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061141486866117fd565b909450925050505b9250929050565b6000611012848484611859565b61143a83836114bc565b61144760008484846118b8565b6106085760405162461bcd60e51b815260040161055090612426565b61146c8261103d565b6114885760405162461bcd60e51b815260040161055090612783565b6000828152600960209081526040909120825161060892840190611c5e565b60006106d5836001600160a01b03841661176f565b6001600160a01b0382166114e25760405162461bcd60e51b815260040161055090612702565b6114eb8161103d565b156115085760405162461bcd60e51b815260040161055090612478565b61151460008383610608565b6001600160a01b03821660009081526002602052604090206115369082610ff0565b5061154360038284610ffc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61158b84848461114c565b611597848484846118b8565b610d8f5760405162461bcd60e51b815260040161055090612426565b6060816115d857506040805180820190915260018152600360fc1b602082015261048e565b8160005b81156115f057600101600a820491506115dc565b60608167ffffffffffffffff8111801561160957600080fd5b506040519080825280601f01601f191660200182016040528015611634576020820181803683370190505b50859350905060001982015b831561168557600a840660300160f81b8282806001900393508151811061166357fe5b60200101906001600160f81b031916908160001a905350600a84049350611640565b50949350505050565b600061169a838361176f565b6116d0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106d8565b5060006106d8565b60008281526001840160205260408120548061173d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611015565b8285600001600183038154811061175057fe5b9060005260206000209060020201600101819055506000915050611015565b60009081526001919091016020526040902054151590565b5490565b60006106d58383611997565b815460009082106117ba5760405162461bcd60e51b815260040161055090612395565b8260000182815481106117c957fe5b9060005260206000200154905092915050565b60006106d5836001600160a01b038416611997565b60006106d58383611a5d565b8154600090819083106118225760405162461bcd60e51b8152600401610550906126c0565b600084600001848154811061183357fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816118895760405162461bcd60e51b81526004016105509190612382565b5084600001600182038154811061189c57fe5b9060005260206000209060020201600101549150509392505050565b60006118cc846001600160a01b0316611b31565b6118d857506001611144565b6060611960630a85bd0160e11b6118ed61104a565b8887876040516024016119039493929190612331565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a8e603291396001600160a01b0388169190611b37565b90506000818060200190518101906119789190612238565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015611a5357835460001980830191908101906000908790839081106119ca57fe5b90600052602060002001549050808760000184815481106119e757fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611a1757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506106d8565b60009150506106d8565b60008181526001830160205260408120548015611a535783546000198083019190810190600090879083908110611a9057fe5b9060005260206000209060020201905080876000018481548110611ab057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080611aef57fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506106d89350505050565b3b151590565b6060611012848460008585611b4b85611b31565b611b675760405162461bcd60e51b815260040161055090612930565b60006060866001600160a01b03168587604051611b849190612280565b60006040518083038185875af1925050503d8060008114611bc1576040519150601f19603f3d011682016040523d82523d6000602084013e611bc6565b606091505b5091509150611bd6828286611be1565b979650505050505050565b60608315611bf0575081611015565b825115611c005782518084602001fd5b8160405162461bcd60e51b81526004016105509190612382565b50805460018160011615610100020316600290046000825580601f10611c4057506107e8565b601f0160209004906000526020600020908101906107e89190611cea565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282611c945760008555611cda565b82601f10611cad57805160ff1916838001178555611cda565b82800160010185558215611cda579182015b82811115611cda578251825591602001919060010190611cbf565b50611ce6929150611cea565b5090565b5b80821115611ce65760008155600101611ceb565b80356001600160a01b038116811461048e57600080fd5b60008083601f840112611d27578182fd5b50813567ffffffffffffffff811115611d3e578182fd5b602083019150836020808302850101111561141c57600080fd5b60008083601f840112611d69578182fd5b50813567ffffffffffffffff811115611d80578182fd5b60208301915083602082850101111561141c57600080fd5b600060208284031215611da9578081fd5b6106d582611cff565b60008060408385031215611dc4578081fd5b611dcd83611cff565b9150611ddb60208401611cff565b90509250929050565b600080600060608486031215611df8578081fd5b611e0184611cff565b9250611e0f60208501611cff565b9150604084013590509250925092565b60008060008060808587031215611e34578081fd5b611e3d85611cff565b93506020611e4c818701611cff565b935060408601359250606086013567ffffffffffffffff80821115611e6f578384fd5b818801915088601f830112611e82578384fd5b813581811115611e8e57fe5b604051601f8201601f1916810185018381118282101715611eab57fe5b60405281815283820185018b1015611ec1578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215611ef1578182fd5b611efa83611cff565b915060208301358015158114611f0e578182fd5b809150509250929050565b60008060408385031215611f2b578182fd5b611f3483611cff565b946020939093013593505050565b60008060008060608587031215611f57578384fd5b611f6085611cff565b935060208501359250604085013567ffffffffffffffff811115611f82578283fd5b611f8e87828801611d58565b95989497509550505050565b60008060008060008060808789031215611fb2578182fd5b611fbb87611cff565b955060208701359450604087013567ffffffffffffffff80821115611fde578384fd5b611fea8a838b01611d58565b90965094506060890135915080821115612002578384fd5b5061200f89828a01611d58565b979a9699509497509295939492505050565b60008060008060408587031215612036578384fd5b843567ffffffffffffffff8082111561204d578586fd5b61205988838901611d16565b90965094506020870135915080821115612071578384fd5b50611f8e87828801611d16565b60008060008060008060608789031215612096578384fd5b863567ffffffffffffffff808211156120ad578586fd5b6120b98a838b01611d16565b909850965060208901359150808211156120d1578586fd5b6120dd8a838b01611d16565b909650945060408901359150808211156120f5578384fd5b5061200f89828a01611d16565b6000806000806000806000806080898b03121561211d578586fd5b883567ffffffffffffffff80821115612134578788fd5b6121408c838d01611d16565b909a50985060208b0135915080821115612158578788fd5b6121648c838d01611d16565b909850965060408b013591508082111561217c578384fd5b6121888c838d01611d16565b909650945060608b01359150808211156121a0578384fd5b506121ad8b828c01611d16565b999c989b5096995094979396929594505050565b6000602082840312156121d2578081fd5b5035919050565b600080604083850312156121eb578182fd5b82359150611ddb60208401611cff565b6000806040838503121561220d578182fd5b50508035926020909101359150565b60006020828403121561222d578081fd5b813561101581612a77565b600060208284031215612249578081fd5b815161101581612a77565b6000815180845261226c816020860160208601612a4b565b601f01601f19169290920160200192915050565b60008251612292818460208701612a4b565b9190910192915050565b60008084546001808216600081146122bb57600181146122d257612301565b60ff198316865260028304607f1686019350612301565b600283048886526020808720875b838110156122f95781548a8201529085019082016122e0565b505050860193505b5050508351612314818360208801612a4b565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061236490830184612254565b9695505050505050565b901515815260200190565b90815260200190565b6000602082526106d56020830184612254565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526014908201527321746f2f746f6b656e49642f746f6b656e55524960601b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252600b908201526a085d1bcbdd1bdad95b925960aa1b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f4e46543a206d7573742068617665206d696e74657220726f6c65000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6000808335601e19843603018112612a1c578283fd5b83018035915067ffffffffffffffff821115612a36578283fd5b60200191503681900382131561141c57600080fd5b60005b83811015612a66578181015183820152602001612a4e565b83811115610d8f5750506000910152565b6001600160e01b0319811681146107e857600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220139a9eac5baea96341df05830414abdc858965f746bafad21765462aa283a6a764736f6c63430007050033
Deployed Bytecode Sourcemap
67734:3958:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42316:142;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54152:92;;;:::i;:::-;;;;;;;:::i;56839:213::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56383:390::-;;;;;;:::i;:::-;;:::i;:::-;;55877:203;;;:::i;:::-;;;;;;;:::i;57713:305::-;;;;;;:::i;:::-;;:::i;37450:114::-;;;;;;:::i;:::-;;:::i;37826:227::-;;;;;;:::i;:::-;;:::i;55647:154::-;;;;;;:::i;:::-;;:::i;39035:209::-;;;;;;:::i;:::-;;:::i;71415:274::-;;;;;;:::i;:::-;;:::i;58089:151::-;;;;;;:::i;:::-;;:::i;67104:245::-;;;;;;:::i;:::-;;:::i;68586:104::-;;;;;;:::i;:::-;;:::i;56157:164::-;;;;;;:::i;:::-;;:::i;53916:169::-;;;;;;:::i;:::-;;:::i;55474:89::-;;;:::i;53639:215::-;;;;;;:::i;:::-;;:::i;70736:515::-;;;;;;:::i;:::-;;:::i;37123:138::-;;;;;;:::i;:::-;;:::i;36084:139::-;;;;;;:::i;:::-;;:::i;69444:475::-;;;;;;:::i;:::-;;:::i;54313:96::-;;;:::i;34829:49::-;;;:::i;57124:295::-;;;;;;:::i;:::-;;:::i;70159:286::-;;;;;;:::i;:::-;;:::i;58311:285::-;;;;;;:::i;:::-;;:::i;54480:755::-;;;;;;:::i;:::-;;:::i;36397:127::-;;;;;;:::i;:::-;;:::i;68914:251::-;;;;;;:::i;:::-;;:::i;67787:62::-;;;:::i;38298:230::-;;;;;;:::i;:::-;;:::i;57490:156::-;;;;;;:::i;:::-;;:::i;42316:142::-;-1:-1:-1;;;;;;42417:33:0;;42393:4;42417:33;;;-1:-1:-1;42417:33:0;;;;;;;;42316:142;;;;:::o;54152:92::-;54231:5;54224:12;;;;;;;;;;;;;-1:-1:-1;;54224:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;54198:13;;54224:12;;54231:5;;54224:12;;;54231:5;54224:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54152:92;:::o;56839:213::-;56907:7;56935:16;56943:7;56935;:16::i;:::-;56927:73;;;;-1:-1:-1;;;56927:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;57020:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57020:24:0;;56839:213::o;56383:390::-;56464:13;56480:16;56488:7;56480;:16::i;:::-;56464:32;-1:-1:-1;;;;;;56515:11:0;;;;;;;;56507:57;;;;-1:-1:-1;;;56507:57:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56585:21:0;;:12;:10;:12::i;:::-;-1:-1:-1;;;;;56585:21:0;;;:62;;;56610:37;56627:5;56634:12;:10;:12::i;56610:37::-;56577:154;;;;-1:-1:-1;;;56577:154:0;;;;;;;:::i;:::-;56744:21;56753:2;56757:7;56744:8;:21::i;:::-;56383:390;;;:::o;55877:203::-;55930:7;56051:21;:12;:19;:21::i;:::-;56044:28;;55877:203;:::o;57713:305::-;57874:41;57893:12;:10;:12::i;:::-;57907:7;57874:18;:41::i;:::-;57866:103;;;;-1:-1:-1;;;57866:103:0;;;;;;;:::i;:::-;57982:28;57992:4;57998:2;58002:7;57982:9;:28::i;37450:114::-;37507:7;37534:12;;;;;;;;;;:22;;;;37450:114::o;37826:227::-;37918:6;:12;;;;;;;;;;:22;;;37910:45;;37942:12;:10;:12::i;37910:45::-;37902:105;;;;-1:-1:-1;;;37902:105:0;;;;;;;:::i;:::-;38020:25;38031:4;38037:7;38020:10;:25::i;:::-;37826:227;;:::o;55647:154::-;-1:-1:-1;;;;;55763:20:0;;55736:7;55763:20;;;:13;:20;;;;;:30;;55787:5;55763:23;:30::i;:::-;55756:37;;55647:154;;;;;:::o;39035:209::-;39133:12;:10;:12::i;:::-;-1:-1:-1;;;;;39122:23:0;;;;;;39114:83;;;;-1:-1:-1;;;39114:83:0;;;;;;;:::i;:::-;39210:26;39222:4;39228:7;39210:11;:26::i;71415:274::-;71517:27;;;71509:51;;;;-1:-1:-1;;;71509:51:0;;;;;;;:::i;:::-;71578:9;71573:109;71593:13;;;71573:109;;;71628:42;71638:12;:10;:12::i;:::-;71652:2;;71655:1;71652:5;;;;;;;;;;;;;;;;;;;;:::i;:::-;71659:7;;71667:1;71659:10;;;;;;;;;;;;;71628:9;:42::i;:::-;71608:3;;71573:109;;;;71415:274;;;;:::o;58089:151::-;58193:39;58210:4;58216:2;58220:7;58193:39;;;;;;;;;;;;:16;:39::i;67104:245::-;67222:41;67241:12;:10;:12::i;67222:41::-;67214:102;;;;-1:-1:-1;;;67214:102:0;;;;;;;:::i;:::-;67327:14;67333:7;67327:5;:14::i;:::-;67104:245;:::o;68586:104::-;68642:4;68666:16;68674:7;68666;:16::i;56157:164::-;56224:7;;56266:22;:12;56282:5;56266:15;:22::i;:::-;-1:-1:-1;56244:44:0;56157:164;-1:-1:-1;;;56157:164:0:o;53916:169::-;53980:7;54007:70;54024:7;54007:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;55474:89::-;55547:8;55540:15;;;;;;;;;;;;;-1:-1:-1;;55540:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;55514:13;;55540:15;;55547:8;;55540:15;;;55547:8;55540:15;;;;;;;;;;;;;;;;;;;;;;;;53639:215;53703:7;-1:-1:-1;;;;;53731:19:0;;53723:74;;;;-1:-1:-1;;;53723:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53817:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;70736:515::-;70897:34;-1:-1:-1;;;;;;;;;;;70918:12:0;:10;:12::i;70897:34::-;70889:73;;;;-1:-1:-1;;;70889:73:0;;;;;;;:::i;:::-;70981:27;;;:59;;;;-1:-1:-1;71012:28:0;;;70981:59;70973:92;;;;-1:-1:-1;;;70973:92:0;;;;;;;:::i;:::-;71091:9;71086:156;71106:13;;;71086:156;;;71141:37;71151:2;;71154:1;71151:5;;;;;;;;;;;;;;;;;;;;:::i;:::-;71158:7;;71166:1;71158:10;;;;;;;;;;;;;71170:4;;71175:1;71170:7;;;;;;;;;;;;;;;;;;:::i;:::-;71141:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71141:9:0;;-1:-1:-1;;;71141:37:0:i;:::-;71193;71206:7;;71214:1;71206:10;;;;;;;;;;;;;71218:8;;71227:1;71218:11;;;;;;;;;;;;;;;;;;:::i;:::-;71193:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71193:12:0;;-1:-1:-1;;;71193:37:0:i;:::-;71121:3;;71086:156;;;;70736:515;;;;;;;;:::o;37123:138::-;37196:7;37223:12;;;;;;;;;;:30;;37247:5;37223:23;:30::i;36084:139::-;36153:4;36177:12;;;;;;;;;;:38;;36207:7;36177:29;:38::i;69444:475::-;69578:34;-1:-1:-1;;;;;;;;;;;69599:12:0;:10;:12::i;69578:34::-;69570:73;;;;-1:-1:-1;;;69570:73:0;;;;;;;:::i;:::-;69662:27;;;:59;;;;-1:-1:-1;69693:28:0;;;69662:59;69654:92;;;;-1:-1:-1;;;69654:92:0;;;;;;;:::i;:::-;69772:9;69767:143;69787:13;;;69767:143;;;69822:24;69828:2;;69831:1;69828:5;;;;;;;;;;;;;;;;;;;;:::i;:::-;69835:7;;69843:1;69835:10;;;;;;;;;;;;;69822:5;:24::i;:::-;69861:37;69874:7;;69882:1;69874:10;;;;;;;;;;;;;69886:8;;69895:1;69886:11;;;;;;69861:37;69802:3;;69767:143;;;;69444:475;;;;;;:::o;54313:96::-;54394:7;54387:14;;;;;;;;;;;;;-1:-1:-1;;54387:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;54361:13;;54387:14;;54394:7;;54387:14;;;54394:7;54387:14;;;;;;;;;;;;;;;;;;;;;;;;34829:49;34874:4;34829:49;:::o;57124:295::-;57239:12;:10;:12::i;:::-;-1:-1:-1;;;;;57227:24:0;;;;;;;57219:62;;;;-1:-1:-1;;;57219:62:0;;;;;;;:::i;:::-;57339:8;57294:18;:32;57313:12;:10;:12::i;:::-;-1:-1:-1;;;;;57294:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;57294:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;57294:53:0;;;;;;;;;;;57378:12;:10;:12::i;:::-;-1:-1:-1;;;;;57363:48:0;;57402:8;57363:48;;;;;;:::i;:::-;;;;;;;;57124:295;;:::o;70159:286::-;70289:34;-1:-1:-1;;;;;;;;;;;70310:12:0;:10;:12::i;70289:34::-;70281:73;;;;-1:-1:-1;;;70281:73:0;;;;;;;:::i;:::-;70367:28;70377:2;70381:7;70390:4;;70367:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70367:9:0;;-1:-1:-1;;;70367:28:0:i;:::-;70406:31;70419:7;70428:8;;70406:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70406:12:0;;-1:-1:-1;;;70406:31:0:i;:::-;70159:286;;;;;;:::o;58311:285::-;58443:41;58462:12;:10;:12::i;:::-;58476:7;58443:18;:41::i;:::-;58435:103;;;;-1:-1:-1;;;58435:103:0;;;;;;;:::i;:::-;58549:39;58563:4;58569:2;58573:7;58582:5;58549:13;:39::i;:::-;58311:285;;;;:::o;54480:755::-;54545:13;54579:16;54587:7;54579;:16::i;:::-;54571:76;;;;-1:-1:-1;;;54571:76:0;;;;;;;:::i;:::-;54686:19;;;;:10;:19;;;;;;;;;54660:45;;;;;;;;;;;-1:-1:-1;;54660:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;;54686:19;54660:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54787:8:0;54781:22;54660:45;;-1:-1:-1;;;;54781:22:0;-1:-1:-1;;54781:22:0;;;;;;;;;;;54777:76;;54832:9;-1:-1:-1;54825:16:0;;54777:76;54957:23;;:27;54953:112;;55032:8;55042:9;55015:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55001:52;;;;;54953:112;55197:8;55207:18;:7;:16;:18::i;:::-;55180:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55166:61;;;54480:755;;;:::o;36397:127::-;36460:7;36487:12;;;;;;;;;;:29;;:27;:29::i;68914:251::-;69019:34;-1:-1:-1;;;;;;;;;;;69040:12:0;:10;:12::i;69019:34::-;69011:73;;;;-1:-1:-1;;;69011:73:0;;;;;;;:::i;:::-;69097:18;69103:2;69107:7;69097:5;:18::i;:::-;69126:31;69139:7;69148:8;;69126:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69126:12:0;;-1:-1:-1;;;69126:31:0:i;67787:62::-;-1:-1:-1;;;;;;;;;;;67787:62:0;:::o;38298:230::-;38391:6;:12;;;;;;;;;;:22;;;38383:45;;38415:12;:10;:12::i;38383:45::-;38375:106;;;;-1:-1:-1;;;38375:106:0;;;;;;;:::i;57490:156::-;-1:-1:-1;;;;;57603:25:0;;;57579:4;57603:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57490:156::o;16819:131::-;16886:4;16910:32;16915:3;16935:5;16910:4;:32::i;6460:176::-;6549:4;6573:55;6578:3;6598;-1:-1:-1;;;;;6612:14:0;;6573:4;:55::i;:::-;6566:62;;6460:176;;;;;;:::o;15161:143::-;15231:4;15255:41;15260:3;-1:-1:-1;;;;;15280:14:0;;15255:4;:41::i;7028:151::-;7112:4;7136:35;7146:3;7166;7136:9;:35::i;60063:119::-;60120:4;60144:30;:12;60166:7;60144:21;:30::i;32868:106::-;32956:10;32868:106;:::o;65890:158::-;65956:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;65956:29:0;-1:-1:-1;;;;;65956:29:0;;;;;;;;:24;;66010:16;65956:24;66010:7;:16::i;:::-;66001:39;;-1:-1:-1;;;;;66001:39:0;;;;;;;;;;65890:158;;:::o;7267:123::-;7336:7;7363:19;7371:3;7363:7;:19::i;60349:333::-;60434:4;60459:16;60467:7;60459;:16::i;:::-;60451:73;;;;-1:-1:-1;;;60451:73:0;;;;;;;:::i;:::-;60535:13;60551:16;60559:7;60551;:16::i;:::-;60535:32;-1:-1:-1;;;;;;60586:16:0;;;;;;;;:51;;-1:-1:-1;;;;;;60606:31:0;;:20;60618:7;60606:11;:20::i;:::-;-1:-1:-1;;;;;60606:31:0;;60586:51;:87;;;;60641:32;60658:5;60665:7;60641:16;:32::i;:::-;60578:96;60349:333;-1:-1:-1;;;;60349:333:0:o;63438:574::-;-1:-1:-1;;;;;63536:24:0;;:16;63544:7;63536;:16::i;:::-;-1:-1:-1;;;;;63536:24:0;;63528:78;;;;-1:-1:-1;;;63528:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63625:16:0;;63617:65;;;;-1:-1:-1;;;63617:65:0;;;;;;;:::i;:::-;63695:39;63716:4;63722:2;63726:7;63695:20;:39::i;:::-;63799:29;63816:1;63820:7;63799:8;:29::i;:::-;-1:-1:-1;;;;;63841:19:0;;;;;;:13;:19;;;;;:35;;63868:7;63841:26;:35::i;:::-;-1:-1:-1;;;;;;63887:17:0;;;;;;:13;:17;;;;;:30;;63909:7;63887:21;:30::i;:::-;-1:-1:-1;63930:29:0;:12;63947:7;63956:2;63930:16;:29::i;:::-;-1:-1:-1;63977:27:0;;63996:7;;-1:-1:-1;;;;;63977:27:0;;;;;;;;;;;;;63438:574;;;:::o;40278:188::-;40352:6;:12;;;;;;;;;;:33;;40377:7;40352:24;:33::i;:::-;40348:111;;;40434:12;:10;:12::i;:::-;40407:40;;-1:-1:-1;;;;;40407:40:0;;;;;;;40419:4;;40407:40;;;;;40278:188;;:::o;18039:137::-;18110:7;18145:22;18149:3;18161:5;18145:3;:22::i;40474:192::-;40549:6;:12;;;;;;;;;;:36;;40577:7;40549:27;:36::i;:::-;40545:114;;;40634:12;:10;:12::i;:::-;40607:40;;-1:-1:-1;;;;;40607:40:0;;;;;;;40619:4;;40607:40;;;;;40474:192;;:::o;62581:520::-;62641:13;62657:16;62665:7;62657;:16::i;:::-;62641:32;;62686:48;62707:5;62722:1;62726:7;62686:20;:48::i;:::-;62775:29;62792:1;62796:7;62775:8;:29::i;:::-;62863:19;;;;:10;:19;;;;;62857:33;;;;;;;;-1:-1:-1;;62857:33:0;;;;;:38;62853:97;;62919:19;;;;:10;:19;;;;;62912:26;;;:::i;:::-;-1:-1:-1;;;;;62962:20:0;;;;;;:13;:20;;;;;:36;;62990:7;62962:27;:36::i;:::-;-1:-1:-1;63011:28:0;:12;63031:7;63011:19;:28::i;:::-;-1:-1:-1;63057:36:0;;63085:7;;63081:1;;-1:-1:-1;;;;;63057:36:0;;;;;63081:1;;63057:36;62581:520;;:::o;7729:227::-;7809:7;;;;7869:22;7873:3;7885:5;7869:3;:22::i;:::-;7838:53;;-1:-1:-1;7838:53:0;-1:-1:-1;;;7729:227:0;;;;;;:::o;8391:204::-;8498:7;8541:44;8546:3;8566;8572:12;8541:4;:44::i;61362:250::-;61458:18;61464:2;61468:7;61458:5;:18::i;:::-;61495:54;61526:1;61530:2;61534:7;61543:5;61495:22;:54::i;:::-;61487:117;;;;-1:-1:-1;;;61487:117:0;;;;;;;:::i;64168:215::-;64268:16;64276:7;64268;:16::i;:::-;64260:73;;;;-1:-1:-1;;;64260:73:0;;;;;;;:::i;:::-;64344:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;15715:158::-;15795:4;15819:46;15829:3;-1:-1:-1;;;;;15849:14:0;;15819:9;:46::i;61948:404::-;-1:-1:-1;;;;;62028:16:0;;62020:61;;;;-1:-1:-1;;;62020:61:0;;;;;;;:::i;:::-;62101:16;62109:7;62101;:16::i;:::-;62100:17;62092:58;;;;-1:-1:-1;;;62092:58:0;;;;;;;:::i;:::-;62163:45;62192:1;62196:2;62200:7;62163:20;:45::i;:::-;-1:-1:-1;;;;;62221:17:0;;;;;;:13;:17;;;;;:30;;62243:7;62221:21;:30::i;:::-;-1:-1:-1;62264:29:0;:12;62281:7;62290:2;62264:16;:29::i;:::-;-1:-1:-1;62311:33:0;;62336:7;;-1:-1:-1;;;;;62311:33:0;;;62328:1;;62311:33;;62328:1;;62311:33;61948:404;;:::o;59478:272::-;59592:28;59602:4;59608:2;59612:7;59592:9;:28::i;:::-;59639:48;59662:4;59668:2;59672:7;59681:5;59639:22;:48::i;:::-;59631:111;;;;-1:-1:-1;;;59631:111:0;;;;;;;:::i;23634:744::-;23690:13;23911:10;23907:53;;-1:-1:-1;23938:10:0;;;;;;;;;;;;-1:-1:-1;;;23938:10:0;;;;;;23907:53;23985:5;23970:12;24026:78;24033:9;;24026:78;;24059:8;;24090:2;24082:10;;;;24026:78;;;24114:19;24146:6;24136:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24136:17:0;-1:-1:-1;24208:5:0;;-1:-1:-1;24114:39:0;-1:-1:-1;;;24180:10:0;;24224:115;24231:9;;24224:115;;24298:2;24291:4;:9;24286:2;:14;24275:27;;24257:6;24264:7;;;;;;;24257:15;;;;;;;;-1:-1:-1;;;;;;24257:45:0;;;;;;;;;:15;;;:45;-1:-1:-1;24325:2:0;24317:10;;;;24224:115;;;-1:-1:-1;24363:6:0;23634:744;-1:-1:-1;;;;23634:744:0:o;10225:414::-;10288:4;10310:21;10320:3;10325:5;10310:9;:21::i;:::-;10305:327;;-1:-1:-1;10348:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;10531:18;;10509:19;;;:12;;;:19;;;;;;:40;;;;10564:11;;10305:327;-1:-1:-1;10615:5:0;10608:12;;1930:692;2006:4;2141:17;;;:12;;;:17;;;;;;2175:13;2171:444;;-1:-1:-1;;2260:38:0;;;;;;;;;;;;;;;;;;2242:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2457:19;;2437:17;;;:12;;;:17;;;;;;;:39;2491:11;;2171:444;2571:5;2535:3;:12;;2559:1;2548:8;:12;2535:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2598:5;2591:12;;;;;4430:125;4501:4;4525:17;;;:12;;;;;:17;;;;;;:22;;;4430:125::o;4650:110::-;4733:19;;4650:110::o;17126:137::-;17196:4;17220:35;17228:3;17248:5;17220:7;:35::i;13113:204::-;13208:18;;13180:7;;13208:26;-1:-1:-1;13200:73:0;;;;-1:-1:-1;;;13200:73:0;;;;;;;:::i;:::-;13291:3;:11;;13303:5;13291:18;;;;;;;;;;;;;;;;13284:25;;13113:204;;;;:::o;15480:149::-;15553:4;15577:44;15585:3;-1:-1:-1;;;;;15605:14:0;;15577:7;:44::i;6802:142::-;6879:4;6903:33;6911:3;6931;6903:7;:33::i;5115:279::-;5219:19;;5182:7;;;;5219:27;-1:-1:-1;5211:74:0;;;;-1:-1:-1;;;5211:74:0;;;;;;;:::i;:::-;5298:22;5323:3;:12;;5336:5;5323:19;;;;;;;;;;;;;;;;;;5298:44;;5361:5;:10;;;5373:5;:12;;;5353:33;;;;;5115:279;;;;;:::o;5817:319::-;5911:7;5950:17;;;:12;;;:17;;;;;;6001:12;5986:13;5978:36;;;;-1:-1:-1;;;5978:36:0;;;;;;;;:::i;:::-;;6068:3;:12;;6092:1;6081:8;:12;6068:26;;;;;;;;;;;;;;;;;;:33;;;6061:40;;;5817:319;;;;;:::o;65278:604::-;65399:4;65426:15;-1:-1:-1;;;;;65426:13:0;;;:15::i;:::-;65421:60;;-1:-1:-1;65465:4:0;65458:11;;65421:60;65491:23;65517:252;-1:-1:-1;;;65630:12:0;:10;:12::i;:::-;65657:4;65676:7;65698:5;65533:181;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;65533:181:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;65533:181:0;-1:-1:-1;;;;;;65533:181:0;;;;;;;;;;65517:252;;;;;;;;;;;;65533:181;;65517:252;;;;;;;;-1:-1:-1;;;;;65517:15:0;;;;;:252::i;:::-;65491:278;;65780:13;65807:10;65796:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;65847:26:0;-1:-1:-1;;;65847:26:0;;;-1:-1:-1;;;;;;;65278:604:0:o;10815:1544::-;10881:4;11020:19;;;:12;;;:19;;;;;;11056:15;;11052:1300;;11491:18;;-1:-1:-1;;11442:14:0;;;;11491:22;;;;-1:-1:-1;;11491:18:0;;:22;;11778;;;;;;;;;;;;;;11758:42;;11924:9;11895:3;:11;;11907:13;11895:26;;;;;;;;;;;;;;;;;;;:38;;;;12001:23;;;12043:1;12001:12;;;:23;;;;;;12027:17;;;12001:43;;12153:17;;12001:3;;12153:17;;;;;;;;;;;;;;;;;;;;;;12248:3;:12;;:19;12261:5;12248:19;;;;;;;;;;;12241:26;;;12291:4;12284:11;;;;;;;;11052:1300;12335:5;12328:12;;;;;2797:1549;2861:4;2996:17;;;:12;;;:17;;;;;;3030:13;;3026:1313;;3462:19;;-1:-1:-1;;3415:12:0;;;;3462:23;;;;-1:-1:-1;;3462:19:0;;:23;;3759;;;;;;;;;;;;;;;;3730:52;;3907:9;3877:3;:12;;3890:13;3877:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;3997:14;;3984:28;;:12;;;:28;;;;;4015:17;;;3984:48;;4141:18;;3984:3;;4141:18;;;;;;;;;;;;;;-1:-1:-1;;4141:18:0;;;;;;;;;;;;;;;;;;;;;4237:17;;;:12;;;:17;;;;;;4230:24;;;;4141:18;-1:-1:-1;4271:11:0;;-1:-1:-1;;;;4271:11:0;25066:422;25433:20;25472:8;;;25066:422::o;27984:195::-;28087:12;28119:52;28141:6;28149:4;28155:1;28158:12;28087;29288:18;29299:6;29288:10;:18::i;:::-;29280:60;;;;-1:-1:-1;;;29280:60:0;;;;;;;:::i;:::-;29414:12;29428:23;29455:6;-1:-1:-1;;;;;29455:11:0;29475:5;29483:4;29455:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29413:75;;;;29506:52;29524:7;29533:10;29545:12;29506:17;:52::i;:::-;29499:59;29036:530;-1:-1:-1;;;;;;;29036:530:0:o;31576:742::-;31691:12;31720:7;31716:595;;;-1:-1:-1;31751:10:0;31744:17;;31716:595;31865:17;;:21;31861:439;;32128:10;32122:17;32189:15;32176:10;32172:2;32168:19;32161:44;32076:148;32264:20;;-1:-1:-1;;;32264:20:0;;;;32271:12;;32264:20;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:175:1;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:404;;;327:3;320:4;312:6;308:17;304:27;294:2;;352:8;342;335:26;294:2;-1:-1:-1;382:20:1;;425:18;414:30;;411:2;;;464:8;454;447:26;411:2;508:4;500:6;496:17;484:29;;571:3;564:4;556;548:6;544:17;536:6;532:30;528:41;525:50;522:2;;;588:1;585;578:12;603:377;;;720:3;713:4;705:6;701:17;697:27;687:2;;745:8;735;728:26;687:2;-1:-1:-1;775:20:1;;818:18;807:30;;804:2;;;857:8;847;840:26;804:2;901:4;893:6;889:17;877:29;;953:3;946:4;937:6;929;925:19;921:30;918:39;915:2;;;970:1;967;960:12;985:198;;1097:2;1085:9;1076:7;1072:23;1068:32;1065:2;;;1118:6;1110;1103:22;1065:2;1146:31;1167:9;1146:31;:::i;1188:274::-;;;1317:2;1305:9;1296:7;1292:23;1288:32;1285:2;;;1338:6;1330;1323:22;1285:2;1366:31;1387:9;1366:31;:::i;:::-;1356:41;;1416:40;1452:2;1441:9;1437:18;1416:40;:::i;:::-;1406:50;;1275:187;;;;;:::o;1467:342::-;;;;1613:2;1601:9;1592:7;1588:23;1584:32;1581:2;;;1634:6;1626;1619:22;1581:2;1662:31;1683:9;1662:31;:::i;:::-;1652:41;;1712:40;1748:2;1737:9;1733:18;1712:40;:::i;:::-;1702:50;;1799:2;1788:9;1784:18;1771:32;1761:42;;1571:238;;;;;:::o;1814:1188::-;;;;;1986:3;1974:9;1965:7;1961:23;1957:33;1954:2;;;2008:6;2000;1993:22;1954:2;2036:31;2057:9;2036:31;:::i;:::-;2026:41;;2086:2;2107:40;2143:2;2132:9;2128:18;2107:40;:::i;:::-;2097:50;;2194:2;2183:9;2179:18;2166:32;2156:42;;2249:2;2238:9;2234:18;2221:32;2272:18;2313:2;2305:6;2302:14;2299:2;;;2334:6;2326;2319:22;2299:2;2377:6;2366:9;2362:22;2352:32;;2422:7;2415:4;2411:2;2407:13;2403:27;2393:2;;2449:6;2441;2434:22;2393:2;2494;2481:16;2520:2;2512:6;2509:14;2506:2;;;2526:9;2506:2;2566;2560:9;-1:-1:-1;;2639:2:1;2616:17;;2612:31;2600:44;;2596:53;;2684:22;;;2664:18;;;2661:46;2658:2;;;2710:9;2658:2;2737;2730:22;2761;;;2802:15;;;2798:24;;2795:37;-1:-1:-1;2792:2:1;;;2850:6;2842;2835:22;2792:2;2911:6;2906:2;2902;2898:11;2893:2;2885:6;2881:15;2868:50;2938:19;;;2934:28;;;2927:44;;;;-1:-1:-1;1944:1058:1;;;;-1:-1:-1;1944:1058:1;;-1:-1:-1;;1944:1058:1:o;3007:369::-;;;3133:2;3121:9;3112:7;3108:23;3104:32;3101:2;;;3154:6;3146;3139:22;3101:2;3182:31;3203:9;3182:31;:::i;:::-;3172:41;;3263:2;3252:9;3248:18;3235:32;3310:5;3303:13;3296:21;3289:5;3286:32;3276:2;;3337:6;3329;3322:22;3276:2;3365:5;3355:15;;;3091:285;;;;;:::o;3381:266::-;;;3510:2;3498:9;3489:7;3485:23;3481:32;3478:2;;;3531:6;3523;3516:22;3478:2;3559:31;3580:9;3559:31;:::i;:::-;3549:41;3637:2;3622:18;;;;3609:32;;-1:-1:-1;;;3468:179:1:o;3652:576::-;;;;;3818:2;3806:9;3797:7;3793:23;3789:32;3786:2;;;3839:6;3831;3824:22;3786:2;3867:31;3888:9;3867:31;:::i;:::-;3857:41;;3945:2;3934:9;3930:18;3917:32;3907:42;;4000:2;3989:9;3985:18;3972:32;4027:18;4019:6;4016:30;4013:2;;;4064:6;4056;4049:22;4013:2;4108:60;4160:7;4151:6;4140:9;4136:22;4108:60;:::i;:::-;3776:452;;;;-1:-1:-1;4187:8:1;-1:-1:-1;;;;3776:452:1:o;4233:897::-;;;;;;;4435:3;4423:9;4414:7;4410:23;4406:33;4403:2;;;4457:6;4449;4442:22;4403:2;4485:31;4506:9;4485:31;:::i;:::-;4475:41;;4563:2;4552:9;4548:18;4535:32;4525:42;;4618:2;4607:9;4603:18;4590:32;4641:18;4682:2;4674:6;4671:14;4668:2;;;4703:6;4695;4688:22;4668:2;4747:60;4799:7;4790:6;4779:9;4775:22;4747:60;:::i;:::-;4826:8;;-1:-1:-1;4721:86:1;-1:-1:-1;4914:2:1;4899:18;;4886:32;;-1:-1:-1;4930:16:1;;;4927:2;;;4964:6;4956;4949:22;4927:2;;5008:62;5062:7;5051:8;5040:9;5036:24;5008:62;:::i;:::-;4393:737;;;;-1:-1:-1;4393:737:1;;-1:-1:-1;4393:737:1;;5089:8;;4393:737;-1:-1:-1;;;4393:737:1:o;5135:815::-;;;;;5334:2;5322:9;5313:7;5309:23;5305:32;5302:2;;;5355:6;5347;5340:22;5302:2;5400:9;5387:23;5429:18;5470:2;5462:6;5459:14;5456:2;;;5491:6;5483;5476:22;5456:2;5535:76;5603:7;5594:6;5583:9;5579:22;5535:76;:::i;:::-;5630:8;;-1:-1:-1;5509:102:1;-1:-1:-1;5718:2:1;5703:18;;5690:32;;-1:-1:-1;5734:16:1;;;5731:2;;;5768:6;5760;5753:22;5731:2;;5812:78;5882:7;5871:8;5860:9;5856:24;5812:78;:::i;5955:1158::-;;;;;;;6218:2;6206:9;6197:7;6193:23;6189:32;6186:2;;;6239:6;6231;6224:22;6186:2;6284:9;6271:23;6313:18;6354:2;6346:6;6343:14;6340:2;;;6375:6;6367;6360:22;6340:2;6419:76;6487:7;6478:6;6467:9;6463:22;6419:76;:::i;:::-;6514:8;;-1:-1:-1;6393:102:1;-1:-1:-1;6602:2:1;6587:18;;6574:32;;-1:-1:-1;6618:16:1;;;6615:2;;;6652:6;6644;6637:22;6615:2;6696:78;6766:7;6755:8;6744:9;6740:24;6696:78;:::i;:::-;6793:8;;-1:-1:-1;6670:104:1;-1:-1:-1;6881:2:1;6866:18;;6853:32;;-1:-1:-1;6897:16:1;;;6894:2;;;6931:6;6923;6916:22;6894:2;;6975:78;7045:7;7034:8;7023:9;7019:24;6975:78;:::i;7118:1501::-;;;;;;;;;7444:3;7432:9;7423:7;7419:23;7415:33;7412:2;;;7466:6;7458;7451:22;7412:2;7511:9;7498:23;7540:18;7581:2;7573:6;7570:14;7567:2;;;7602:6;7594;7587:22;7567:2;7646:76;7714:7;7705:6;7694:9;7690:22;7646:76;:::i;:::-;7741:8;;-1:-1:-1;7620:102:1;-1:-1:-1;7829:2:1;7814:18;;7801:32;;-1:-1:-1;7845:16:1;;;7842:2;;;7879:6;7871;7864:22;7842:2;7923:78;7993:7;7982:8;7971:9;7967:24;7923:78;:::i;:::-;8020:8;;-1:-1:-1;7897:104:1;-1:-1:-1;8108:2:1;8093:18;;8080:32;;-1:-1:-1;8124:16:1;;;8121:2;;;8158:6;8150;8143:22;8121:2;8202:78;8272:7;8261:8;8250:9;8246:24;8202:78;:::i;:::-;8299:8;;-1:-1:-1;8176:104:1;-1:-1:-1;8387:2:1;8372:18;;8359:32;;-1:-1:-1;8403:16:1;;;8400:2;;;8437:6;8429;8422:22;8400:2;;8481:78;8551:7;8540:8;8529:9;8525:24;8481:78;:::i;:::-;7402:1217;;;;-1:-1:-1;7402:1217:1;;-1:-1:-1;7402:1217:1;;;;;;8578:8;-1:-1:-1;;;7402:1217:1:o;8624:190::-;;8736:2;8724:9;8715:7;8711:23;8707:32;8704:2;;;8757:6;8749;8742:22;8704:2;-1:-1:-1;8785:23:1;;8694:120;-1:-1:-1;8694:120:1:o;8819:266::-;;;8948:2;8936:9;8927:7;8923:23;8919:32;8916:2;;;8969:6;8961;8954:22;8916:2;9010:9;8997:23;8987:33;;9039:40;9075:2;9064:9;9060:18;9039:40;:::i;9090:258::-;;;9219:2;9207:9;9198:7;9194:23;9190:32;9187:2;;;9240:6;9232;9225:22;9187:2;-1:-1:-1;;9268:23:1;;;9338:2;9323:18;;;9310:32;;-1:-1:-1;9177:171:1:o;9353:257::-;;9464:2;9452:9;9443:7;9439:23;9435:32;9432:2;;;9485:6;9477;9470:22;9432:2;9529:9;9516:23;9548:32;9574:5;9548:32;:::i;9615:261::-;;9737:2;9725:9;9716:7;9712:23;9708:32;9705:2;;;9758:6;9750;9743:22;9705:2;9795:9;9789:16;9814:32;9840:5;9814:32;:::i;10076:259::-;;10157:5;10151:12;10184:6;10179:3;10172:19;10200:63;10256:6;10249:4;10244:3;10240:14;10233:4;10226:5;10222:16;10200:63;:::i;:::-;10317:2;10296:15;-1:-1:-1;;10292:29:1;10283:39;;;;10324:4;10279:50;;10127:208;-1:-1:-1;;10127:208:1:o;10340:274::-;;10507:6;10501:13;10523:53;10569:6;10564:3;10557:4;10549:6;10545:17;10523:53;:::i;:::-;10592:16;;;;;10477:137;-1:-1:-1;;10477:137:1:o;10619:993::-;;10824:3;10859:6;10853:13;10885:1;10917:2;10906:9;10902:18;10934:1;10929:126;;;;11069:1;11064:406;;;;10895:575;;10929:126;-1:-1:-1;;10962:24:1;;10950:37;;11039:4;11035:1;11020:17;;11016:28;11007:38;;;-1:-1:-1;10929:126:1;;11064:406;11114:1;11103:9;11099:17;11141:6;11136:3;11129:19;11171:4;11218:2;11213:3;11203:18;11243:3;11259:165;11273:6;11270:1;11267:13;11259:165;;;11351:14;;11338:11;;;11331:35;11394:16;;;;11288:10;;11259:165;;;-1:-1:-1;;;11444:16:1;;;-1:-1:-1;10895:575:1;;;;11501:6;11495:13;11517:55;11563:8;11558:3;11551:4;11543:6;11539:17;11517:55;:::i;:::-;11588:18;;10803:809;-1:-1:-1;;;;10803:809:1:o;11617:203::-;-1:-1:-1;;;;;11781:32:1;;;;11763:51;;11751:2;11736:18;;11718:102::o;11825:506::-;-1:-1:-1;;;;;12110:15:1;;;12092:34;;12162:15;;12157:2;12142:18;;12135:43;12209:2;12194:18;;12187:34;;;12257:3;12252:2;12237:18;;12230:31;;;-1:-1:-1;;12278:47:1;;12305:19;;12297:6;12278:47;:::i;:::-;12270:55;12044:287;-1:-1:-1;;;;;;12044:287:1:o;12336:187::-;12501:14;;12494:22;12476:41;;12464:2;12449:18;;12431:92::o;12528:177::-;12674:25;;;12662:2;12647:18;;12629:76::o;12710:221::-;;12859:2;12848:9;12841:21;12879:46;12921:2;12910:9;12906:18;12898:6;12879:46;:::i;12936:398::-;13138:2;13120:21;;;13177:2;13157:18;;;13150:30;13216:34;13211:2;13196:18;;13189:62;-1:-1:-1;;;13282:2:1;13267:18;;13260:32;13324:3;13309:19;;13110:224::o;13339:411::-;13541:2;13523:21;;;13580:2;13560:18;;;13553:30;13619:34;13614:2;13599:18;;13592:62;-1:-1:-1;;;13685:2:1;13670:18;;13663:45;13740:3;13725:19;;13513:237::o;13755:414::-;13957:2;13939:21;;;13996:2;13976:18;;;13969:30;14035:34;14030:2;14015:18;;14008:62;-1:-1:-1;;;14101:2:1;14086:18;;14079:48;14159:3;14144:19;;13929:240::o;14174:352::-;14376:2;14358:21;;;14415:2;14395:18;;;14388:30;14454;14449:2;14434:18;;14427:58;14517:2;14502:18;;14348:178::o;14531:344::-;14733:2;14715:21;;;14772:2;14752:18;;;14745:30;-1:-1:-1;;;14806:2:1;14791:18;;14784:50;-1:-1:-1;14851:18:1;;14705:170::o;14880:400::-;15082:2;15064:21;;;15121:2;15101:18;;;15094:30;15160:34;15155:2;15140:18;;15133:62;-1:-1:-1;;;15226:2:1;15211:18;;15204:34;15270:3;15255:19;;15054:226::o;15285:349::-;15487:2;15469:21;;;15526:2;15506:18;;;15499:30;15565:27;15560:2;15545:18;;15538:55;15625:2;15610:18;;15459:175::o;16046:408::-;16248:2;16230:21;;;16287:2;16267:18;;;16260:30;16326:34;16321:2;16306:18;;16299:62;-1:-1:-1;;;16392:2:1;16377:18;;16370:42;16444:3;16429:19;;16220:234::o;16459:412::-;16661:2;16643:21;;;16700:2;16680:18;;;16673:30;16739:34;16734:2;16719:18;;16712:62;-1:-1:-1;;;16805:2:1;16790:18;;16783:46;-1:-1:-1;16846:19:1;;16633:238::o;16876:335::-;17078:2;17060:21;;;17117:2;17097:18;;;17090:30;-1:-1:-1;;;17151:2:1;17136:18;;17129:41;17202:2;17187:18;;17050:161::o;17216:420::-;17418:2;17400:21;;;17457:2;17437:18;;;17430:30;17496:34;17491:2;17476:18;;17469:62;17567:26;17562:2;17547:18;;17540:54;17626:3;17611:19;;17390:246::o;17641:406::-;17843:2;17825:21;;;17882:2;17862:18;;;17855:30;17921:34;17916:2;17901:18;;17894:62;-1:-1:-1;;;17987:2:1;17972:18;;17965:40;18037:3;18022:19;;17815:232::o;18052:398::-;18254:2;18236:21;;;18293:2;18273:18;;;18266:30;18332:34;18327:2;18312:18;;18305:62;-1:-1:-1;;;18398:2:1;18383:18;;18376:32;18440:3;18425:19;;18226:224::o;18455:356::-;18657:2;18639:21;;;18676:18;;;18669:30;18735:34;18730:2;18715:18;;18708:62;18802:2;18787:18;;18629:182::o;18816:408::-;19018:2;19000:21;;;19057:2;19037:18;;;19030:30;19096:34;19091:2;19076:18;;19069:62;-1:-1:-1;;;19162:2:1;19147:18;;19140:42;19214:3;19199:19;;18990:234::o;19229:408::-;19431:2;19413:21;;;19470:2;19450:18;;;19443:30;19509:34;19504:2;19489:18;;19482:62;-1:-1:-1;;;19575:2:1;19560:18;;19553:42;19627:3;19612:19;;19403:234::o;19642:405::-;19844:2;19826:21;;;19883:2;19863:18;;;19856:30;19922:34;19917:2;19902:18;;19895:62;-1:-1:-1;;;19988:2:1;19973:18;;19966:39;20037:3;20022:19;;19816:231::o;20052:411::-;20254:2;20236:21;;;20293:2;20273:18;;;20266:30;20332:34;20327:2;20312:18;;20305:62;-1:-1:-1;;;20398:2:1;20383:18;;20376:45;20453:3;20438:19;;20226:237::o;20468:350::-;20670:2;20652:21;;;20709:2;20689:18;;;20682:30;20748:28;20743:2;20728:18;;20721:56;20809:2;20794:18;;20642:176::o;20823:397::-;21025:2;21007:21;;;21064:2;21044:18;;;21037:30;21103:34;21098:2;21083:18;;21076:62;-1:-1:-1;;;21169:2:1;21154:18;;21147:31;21210:3;21195:19;;20997:223::o;21225:413::-;21427:2;21409:21;;;21466:2;21446:18;;;21439:30;21505:34;21500:2;21485:18;;21478:62;-1:-1:-1;;;21571:2:1;21556:18;;21549:47;21628:3;21613:19;;21399:239::o;21643:353::-;21845:2;21827:21;;;21884:2;21864:18;;;21857:30;21923:31;21918:2;21903:18;;21896:59;21987:2;21972:18;;21817:179::o;22001:412::-;22203:2;22185:21;;;22242:2;22222:18;;;22215:30;22281:34;22276:2;22261:18;;22254:62;-1:-1:-1;;;22347:2:1;22332:18;;22325:46;22403:3;22388:19;;22175:238::o;22418:411::-;22620:2;22602:21;;;22659:2;22639:18;;;22632:30;22698:34;22693:2;22678:18;;22671:62;-1:-1:-1;;;22764:2:1;22749:18;;22742:45;22819:3;22804:19;;22592:237::o;23016:533::-;;;23159:11;23146:25;23253:2;23249:7;23238:8;23222:14;23218:29;23214:43;23194:18;23190:68;23180:2;;23275:4;23269;23262:18;23180:2;23305:33;;23357:20;;;-1:-1:-1;23400:18:1;23389:30;;23386:2;;;23435:4;23429;23422:18;23386:2;23471:4;23459:17;;-1:-1:-1;23502:14:1;23498:27;;;23488:38;;23485:2;;;23539:1;23536;23529:12;24093:258;24165:1;24175:113;24189:6;24186:1;24183:13;24175:113;;;24265:11;;;24259:18;24246:11;;;24239:39;24211:2;24204:10;24175:113;;;24306:6;24303:1;24300:13;24297:2;;;-1:-1:-1;;24341:1:1;24323:16;;24316:27;24146:205::o;24356:133::-;-1:-1:-1;;;;;;24432:32:1;;24422:43;;24412:2;;24479:1;24476;24469:12
Swarm Source
ipfs://139a9eac5baea96341df05830414abdc858965f746bafad21765462aa283a6a7
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.