Token migration announcement. XPower PPTs token contract has migrated to a new address.
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
XPowerOdinNftStaked
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-11-07 */ // SPDX-License-Identifier: GPL-3.0 // Sources flattened with hardhat v2.12.2 https://hardhat.org // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @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 {AccessControl-_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) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @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) external; /** * @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) external; /** * @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) external; } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @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) external view returns (address); /** * @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) external view returns (uint256); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @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 virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _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. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _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 revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [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}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ 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 { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File @openzeppelin/contracts/utils/structs/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. * ==== */ library EnumerableSet { // 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; if (lastIndex != toDeleteIndex) { 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] = valueIndex; // Replace lastValue's index to valueIndex } // 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) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // 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); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // 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 Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } } // File contracts/Supervised.sol pragma solidity ^0.8.0; abstract contract Supervised is AccessControlEnumerable { /** role grants right to change APR parametrization */ bytes32 public constant ALPHA_ROLE = keccak256("ALPHA_ROLE"); bytes32 public constant ALPHA_ADMIN_ROLE = keccak256("ALPHA_ADMIN_ROLE"); /** role grants right to change APR bonus parametrization */ bytes32 public constant GAMMA_ROLE = keccak256("GAMMA_ROLE"); bytes32 public constant GAMMA_ADMIN_ROLE = keccak256("GAMMA_ADMIN_ROLE"); /** role grants right to change treasury's share per mint */ bytes32 public constant DELTA_ROLE = keccak256("DELTA_ROLE"); bytes32 public constant DELTA_ADMIN_ROLE = keccak256("DELTA_ADMIN_ROLE"); /** role grants right to change difficulty parametrization */ bytes32 public constant THETA_ROLE = keccak256("THETA_ROLE"); bytes32 public constant THETA_ADMIN_ROLE = keccak256("THETA_ADMIN_ROLE"); /** role grants right to seal MOE migration */ bytes32 public constant MOE_SEAL_ROLE = keccak256("MOE_SEAL_ROLE"); bytes32 public constant MOE_SEAL_ADMIN_ROLE = keccak256("MOE_SEAL_ADMIN_ROLE"); /** role grants right to seal SOV migration */ bytes32 public constant SOV_SEAL_ROLE = keccak256("SOV_SEAL_ROLE"); bytes32 public constant SOV_SEAL_ADMIN_ROLE = keccak256("SOV_SEAL_ADMIN_ROLE"); /** role grants right to seal NFT migration */ bytes32 public constant NFT_SEAL_ROLE = keccak256("NFT_SEAL_ROLE"); bytes32 public constant NFT_SEAL_ADMIN_ROLE = keccak256("NFT_SEAL_ADMIN_ROLE"); /** role grants right to change meta data URIs */ bytes32 public constant URI_DATA_ROLE = keccak256("URI_DATA_ROLE"); bytes32 public constant URI_DATA_ADMIN_ROLE = keccak256("URI_DATA_ADMIN_ROLE"); constructor() { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _setRoleAdmin(ALPHA_ROLE, ALPHA_ADMIN_ROLE); _grantRole(ALPHA_ADMIN_ROLE, msg.sender); _setRoleAdmin(GAMMA_ROLE, GAMMA_ADMIN_ROLE); _grantRole(GAMMA_ADMIN_ROLE, msg.sender); _setRoleAdmin(DELTA_ROLE, DELTA_ADMIN_ROLE); _grantRole(DELTA_ADMIN_ROLE, msg.sender); _setRoleAdmin(THETA_ROLE, THETA_ADMIN_ROLE); _grantRole(THETA_ADMIN_ROLE, msg.sender); _setRoleAdmin(MOE_SEAL_ROLE, MOE_SEAL_ADMIN_ROLE); _grantRole(MOE_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(SOV_SEAL_ROLE, SOV_SEAL_ADMIN_ROLE); _grantRole(SOV_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(NFT_SEAL_ROLE, NFT_SEAL_ADMIN_ROLE); _grantRole(NFT_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(URI_DATA_ROLE, URI_DATA_ADMIN_ROLE); _grantRole(URI_DATA_ADMIN_ROLE, msg.sender); } /** returns true if this contract implements the interface defined by interfaceId. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return super.supportsInterface(interfaceId); } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC1155/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } // File contracts/URIMalleable.sol pragma solidity ^0.8.0; /** * Allows changing of the NFT's URI (by the URI_DATA_ROLE), where the URI * should e.g. redirect permanently (301) to a corresponding IPFS address. */ abstract contract URIMalleable is ERC1155, Supervised { function setURI(string memory newuri) public onlyRole(URI_DATA_ROLE) { _setURI(newuri); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, Supervised) returns (bool) { return super.supportsInterface(interfaceId); } } // File @openzeppelin/contracts/token/ERC1155/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burnBatch(account, ids, values); } } // File contracts/NftMigratable.sol // solhint-disable not-rely-on-time pragma solidity ^0.8.0; /** * Allows migration of NFTs from an old contract; batch migration is also * possible. Further, manually sealing the migration is possible too. */ abstract contract NftMigratable is ERC1155, ERC1155Burnable, Supervised { /** old contract to migrate from */ ERC1155Burnable private _token; /** timestamp of migration deadline */ uint256 private _deadlineBy; /** flag to control migration */ bool private _migratable = true; /** @param base address of old contract */ /** @param deadlineIn seconds to end-of-migration */ constructor(address base, uint256 deadlineIn) { _deadlineBy = block.timestamp + deadlineIn; _token = ERC1155Burnable(base); } /** import NFT from old contract */ function migrate(uint256 nftId, uint256 amount) public { require(_migratable, "migration sealed"); uint256 timestamp = block.timestamp; require(_deadlineBy >= timestamp, "deadline passed"); _token.burn(msg.sender, nftId, amount); require(amount > 0, "non-positive amount"); _mint(msg.sender, nftId, amount, ""); } /** batch import NFTs from old contract */ function migrateBatch(uint256[] memory nftIds, uint256[] memory amounts) public { require(_migratable, "migration sealed"); uint256 timestamp = block.timestamp; require(_deadlineBy >= timestamp, "deadline passed"); _token.burnBatch(msg.sender, nftIds, amounts); for (uint256 i = 0; i < amounts.length; i++) { require(amounts[i] > 0, "non-positive amount"); } _mintBatch(msg.sender, nftIds, amounts, ""); } /** seal migration (manually) */ function seal() public onlyRole(NFT_SEAL_ROLE) { _migratable = false; } /** returns true if this contract implements the interface defined by interfaceId. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, Supervised) returns (bool) { return super.supportsInterface(interfaceId); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC1155/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } } // File contracts/XPowerNftBase.sol // solhint-disable not-rely-on-time // solhint-disable no-empty-blocks pragma solidity ^0.8.0; /** * Abstract base NFT class: publicly *not* minteable (nor burneable). */ abstract contract XPowerNftBase is ERC1155, ERC1155Burnable, ERC1155Supply, URIMalleable, NftMigratable, Ownable { /** NFT levels: UNIT, ..., YOTTA *or* higher! */ uint256 public constant UNIT = 0; uint256 public constant KILO = 3; uint256 public constant MEGA = 6; uint256 public constant GIGA = 9; uint256 public constant TERA = 12; uint256 public constant PETA = 15; uint256 public constant EXA = 18; uint256 public constant ZETTA = 21; uint256 public constant YOTTA = 24; /** @param nftBase address of old contract */ /** @param uri meta-data URI */ /** @param deadlineIn seconds to end-of-migration */ constructor( address nftBase, string memory uri, uint256 deadlineIn ) // ERC1155 constructor: meta-data URI ERC1155(uri) // MigratableNft: old contract, rel. deadline [seconds] NftMigratable(nftBase, deadlineIn) {} /** @return nft-id composed of (year, level) */ function idBy(uint256 anno, uint256 level) public pure returns (uint256) { require(level % 3 == 0, "non-ternary level"); require(level < 100, "invalid level"); require(anno > 1970, "invalid year"); return anno * 100 + level; } /** @return nft-ids composed of [(year, level) for level in levels] */ function idsBy(uint256 anno, uint256[] memory levels) public pure returns (uint256[] memory) { uint256[] memory ids = new uint256[](levels.length); for (uint256 i = 0; i < levels.length; i++) { ids[i] = idBy(anno, levels[i]); } return ids; } /** @return denomination of level (1, 1'000, 1'000'000, ...) */ function denominationOf(uint256 level) public pure returns (uint256) { require(level % 3 == 0, "non-ternary level"); require(level < 100, "invalid level"); return 10 ** level; } /** @return level of nft-id (0, 3, 6, ...) */ function levelOf(uint256 nftId) public pure returns (uint256) { uint256 level = nftId % 100; require(level % 3 == 0, "non-ternary level"); require(level < 100, "invalid level"); return level; } /** @return year of nft-id (2021, 2022, ...) */ function yearOf(uint256 nftId) public pure returns (uint256) { uint256 anno = nftId / 100; require(anno > 1970, "invalid year"); return anno; } /** @return current number of years since anno domini */ function year() public view returns (uint256) { uint256 anno = 1970 + (100 * block.timestamp) / (365_25 days); require(anno > 1970, "invalid year"); return anno; } /** called before any token transfer; includes (batched) minting and burning */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory nftIds, uint256[] memory amounts, bytes memory data ) internal override(ERC1155, ERC1155Supply) { ERC1155Supply._beforeTokenTransfer(operator, from, to, nftIds, amounts, data); } /** returns true if this contract implements the interface defined by interfaceId. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC1155, NftMigratable, URIMalleable) returns (bool) { return super.supportsInterface(interfaceId); } } // File contracts/XPowerNftStaked.sol // solhint-disable no-empty-blocks // solhint-disable not-rely-on-time pragma solidity ^0.8.0; /** * Abstract base class for staked XPowerNft(s): Contract owner only is allowed * to mint and burn XPowerNftStaked tokens. */ abstract contract XPowerNftStaked is XPowerNftBase { /** map of mints: account => nft-id => accumulator [seconds] */ mapping(address => mapping(uint256 => uint256)) private _mints; /** map of burns: account => nft-id => accumulator [seconds] */ mapping(address => mapping(uint256 => uint256)) private _burns; /** map of total mints: nft-id => accumulator [seconds] */ mapping(uint256 => uint256) private _mintsTotal; /** map of total burns: nft-id => accumulator [seconds] */ mapping(uint256 => uint256) private _burnsTotal; /** @param pptBase address of old contract */ /** @param uri meta-data URI */ /** @param deadlineIn seconds to end-of-migration */ constructor(address pptBase, string memory uri, uint256 deadlineIn) XPowerNftBase(pptBase, uri, deadlineIn) {} /** transfer tokens (and reset age) */ function safeTransferFrom( address from, address to, uint256 nftId, uint256 amount, bytes memory data ) public override { _pushBurn(from, nftId, amount); _pushMint(to, nftId, amount); super.safeTransferFrom(from, to, nftId, amount, data); } /** batch transfer tokens (and reset age) */ function safeBatchTransferFrom( address from, address to, uint256[] memory nftIds, uint256[] memory amounts, bytes memory data ) public override { _pushBurnBatch(from, nftIds, amounts); _pushMintBatch(to, nftIds, amounts); super.safeBatchTransferFrom(from, to, nftIds, amounts, data); } /** mint particular amount of staked NFTs for given address and nft-id */ function mint(address to, uint256 nftId, uint256 amount) public onlyOwner { _pushMint(to, nftId, amount); _mint(to, nftId, amount, ""); } /** mint particular amounts of staked NFTs for given address and nft-ids */ function mintBatch(address to, uint256[] memory nftIds, uint256[] memory amounts) public onlyOwner { _pushMintBatch(to, nftIds, amounts); _mintBatch(to, nftIds, amounts, ""); } /** burn particular amount of staked NFTs for given address and nft-id */ function burn(address from, uint256 nftId, uint256 amount) public override onlyOwner { _pushBurn(from, nftId, amount); _burn(from, nftId, amount); } /** burn particular amounts of staked NFTs for given address and nft-ids */ function burnBatch(address from, uint256[] memory nftIds, uint256[] memory amounts) public override onlyOwner { _pushBurnBatch(from, nftIds, amounts); _burnBatch(from, nftIds, amounts); } /** @return age seconds over all stakes for given address and nft-id */ function ageOf(address account, uint256 nftId) public view returns (uint256) { uint256 mints = _mints[account][nftId]; uint256 burns = _burns[account][nftId]; if (mints > burns) { uint256 balance = balanceOf(account, nftId); uint256 difference = mints - burns; return balance * block.timestamp - difference; } return 0; } /** @return age seconds totalled over all stakes for given nft-id */ function totalAgeOf(uint256 nftId) public view returns (uint256) { uint256 mintsTotal = _mintsTotal[nftId]; uint256 burnsTotal = _burnsTotal[nftId]; if (mintsTotal > burnsTotal) { uint256 supply = totalSupply(nftId); uint256 difference = mintsTotal - burnsTotal; return supply * block.timestamp - difference; } return 0; } /** remember mint action */ function _pushMint(address account, uint256 nftId, uint256 amount) internal { require(amount > 0, "non-positive amount"); _mints[account][nftId] += amount * block.timestamp; _mintsTotal[nftId] += amount * block.timestamp; } /** remember mint actions */ function _pushMintBatch(address account, uint256[] memory nftIds, uint256[] memory amounts) internal { assert(nftIds.length == amounts.length); for (uint256 i = 0; i < nftIds.length; i++) { _pushMint(account, nftIds[i], amounts[i]); } } /** remember burn action */ function _pushBurn(address account, uint256 nftId, uint256 amount) internal { require(amount > 0, "non-positive amount"); _burns[account][nftId] += amount * block.timestamp; _burnsTotal[nftId] += amount * block.timestamp; } /** remember burn actions */ function _pushBurnBatch(address account, uint256[] memory nftIds, uint256[] memory amounts) internal { assert(nftIds.length == amounts.length); for (uint256 i = 0; i < nftIds.length; i++) { _pushBurn(account, nftIds[i], amounts[i]); } } } /** * Staked NFT class for ODIN tokens. */ contract XPowerOdinNftStaked is XPowerNftStaked { /** @param pptBase address of old contract */ /** @param uri meta-data URI */ /** @param deadlineIn seconds to end-of-migration */ constructor(address pptBase, string memory uri, uint256 deadlineIn) XPowerNftStaked(pptBase, uri, deadlineIn) {} }
[{"inputs":[{"internalType":"address","name":"pptBase","type":"address"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"deadlineIn","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ALPHA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ALPHA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELTA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELTA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAMMA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAMMA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIGA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KILO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MEGA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PETA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOV_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOV_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TERA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THETA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THETA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_DATA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_DATA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YOTTA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZETTA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"ageOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"denominationOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"anno","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"idBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"anno","type":"uint256"},{"internalType":"uint256[]","name":"levels","type":"uint256[]"}],"name":"idsBy","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"levelOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"migrateBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"totalAgeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"year","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"yearOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
60806040526008805460ff191660011790553480156200001e57600080fd5b50604051620042cb380380620042cb83398101604081905262000041916200058a565b828282828282828183620000558162000364565b506200006360003362000376565b6200009e7f39331c3081f37cb3d1da4e5ce293da53d66ea4df63f4ddb834ef31094c8e0fc16000805160206200420b833981519152620003b9565b620000b96000805160206200420b8339815191523362000376565b620000f47f5c4a8fcfe2d0ae629a83e88fafb83c323492e5bd0a29542da23fb84bb87a4991600080516020620042ab833981519152620003b9565b6200010f600080516020620042ab8339815191523362000376565b6200014a7fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada6000805160206200424b833981519152620003b9565b620001656000805160206200424b8339815191523362000376565b620001a07f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c8195600080516020620041eb833981519152620003b9565b620001bb600080516020620041eb8339815191523362000376565b620001f67faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb6000805160206200422b833981519152620003b9565b620002116000805160206200422b8339815191523362000376565b6200024c7f59c5589e073e79cb068a473a938b08b6e078e7ab02c16b2566189f37d4ef86fe6000805160206200428b833981519152620003b9565b620002676000805160206200428b8339815191523362000376565b620002a27fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a596000805160206200426b833981519152620003b9565b620002bd6000805160206200426b8339815191523362000376565b620002f87f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac69600080516020620041cb833981519152620003b9565b62000313600080516020620041cb8339815191523362000376565b6200031f814262000689565b60075550600680546001600160a01b0319166001600160a01b0392909216919091179055620003556200034f3390565b62000404565b50505050505050505062000805565b600262000372828262000739565b5050565b6200038d82826200045e60201b620014fe1760201c565b6000828152600560209081526040909120620003b49183906200158462000502821b17901c565b505050565b600082815260046020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff16620003725760008281526004602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004be3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000519836001600160a01b03841662000522565b90505b92915050565b60008181526001830160205260408120546200056b575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200051c565b5060006200051c565b634e487b7160e01b600052604160045260246000fd5b600080600060608486031215620005a057600080fd5b83516001600160a01b0381168114620005b857600080fd5b602085810151919450906001600160401b0380821115620005d857600080fd5b818701915087601f830112620005ed57600080fd5b81518181111562000602576200060262000574565b604051601f8201601f19908116603f011681019083821181831017156200062d576200062d62000574565b816040528281528a868487010111156200064657600080fd5b600093505b828410156200066a57848401860151818501870152928501926200064b565b6000868483010152809750505050505050604084015190509250925092565b808201808211156200051c57634e487b7160e01b600052601160045260246000fd5b600181811c90821680620006c057607f821691505b602082108103620006e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003b457600081815260208120601f850160051c81016020861015620007105750805b601f850160051c820191505b8181101562000731578281556001016200071c565b505050505050565b81516001600160401b0381111562000755576200075562000574565b6200076d81620007668454620006ab565b84620006e7565b602080601f831160018114620007a557600084156200078c5750858301515b600019600386901b1c1916600185901b17855562000731565b600085815260208120601f198616915b82811015620007d657888601518255948401946001909101908401620007b5565b5085821015620007f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6139b680620008156000396000f3fe608060405234801561001057600080fd5b50600436106103b95760003560e01c806389c3cbae116101f4578063ca15c8731161011a578063df435be8116100ad578063f2fde38b1161007c578063f2fde38b14610957578063f32697161461096a578063f5298aca14610972578063fd511a8d1461098557600080fd5b8063df435be8146108d9578063e985e9c5146108e1578063eb4972141461091d578063f242432a1461094457600080fd5b8063cde82895116100e9578063cde8289514610884578063d547741f146108ab578063d5e5e062146108be578063d81d0a15146108c657600080fd5b8063ca15c8731461081b578063cb431e761461082e578063cc6919a414610836578063cd9b869a1461085d57600080fd5b8063a22cb46511610192578063bb14047011610161578063bb140470146107b9578063bd85b039146107e0578063c446d55014610800578063c7b8b19d1461080857600080fd5b8063a22cb46514610745578063a62c779914610758578063ab31b70e1461076b578063b68041291461079257600080fd5b806391d14854116101ce57806391d148541461070357806394c209a5146107165780639d8e21771461073d578063a217fddf1461073d57600080fd5b806389c3cbae146106be5780638da5cb5b146106c65780639010d07c146106f057600080fd5b80633e54bacb116102e45780636252e4e7116102775780636c749c26116102465780636c749c26146106745780636d5e30321461067c578063715018a61461068f57806376d844541461069757600080fd5b80636252e4e714610600578063653e102c146106135780636b20c4541461063a5780636c6284dc1461064d57600080fd5b80634f558e79116102b35780634f558e791461059c57806355095bd2146105be5780635925e211146105d15780635d45bf5e146105d957600080fd5b80633e54bacb1461053a5780633fb27b851461054d5780634990dad3146105555780634e1273f41461057c57600080fd5b8063248a9ca31161035c5780632ffa2d761161032b5780632ffa2d76146104e557806335996f5b146104f8578063361ce97e1461051f57806336568abe1461052757600080fd5b8063248a9ca31461048957806329cd827d146104ac5780632eb2c2d6146104bf5780632f2ff15d146104d257600080fd5b80630a99e88a116103985780630a99e88a1461041c5780630e89341c14610443578063156e29f6146104635780631c6172301461047657600080fd5b8062fdd58e146103be57806301ffc9a7146103e457806302fe530514610407575b600080fd5b6103d16103cc366004612a97565b6109ac565b6040519081526020015b60405180910390f35b6103f76103f2366004612ad7565b610a45565b60405190151581526020016103db565b61041a610415366004612b93565b610a50565b005b6103d17faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb81565b610456610451366004612be3565b610a87565b6040516103db9190612c4c565b61041a610471366004612c5f565b610b1b565b6103d1610484366004612be3565b610b4e565b6103d1610497366004612be3565b60009081526004602052604090206001015490565b6103d16104ba366004612be3565b610bb5565b61041a6104cd366004612d46565b610c0a565b61041a6104e0366004612def565b610c34565b61041a6104f3366004612e1b565b610c59565b6103d17f5c4a8fcfe2d0ae629a83e88fafb83c323492e5bd0a29542da23fb84bb87a499181565b6103d1600381565b61041a610535366004612def565b610dbd565b61041a610548366004612e7e565b610e37565b61041a610f68565b6103d17f1e1b9e42058f87aacc86151eee60be3728a69ade31e7db408acbba7774f5d2c581565b61058f61058a366004612ea0565b610f9f565b6040516103db9190612f8e565b6103f76105aa366004612be3565b600090815260036020526040902054151590565b6103d16105cc366004612be3565b6110c8565b6103d1601581565b6103d17f47fa9d826949f4f367afefb5d5a267558f054ceca49dcb3bde75713cd8e50eaf81565b6103d161060e366004612e7e565b6110f9565b6103d17f45c2e9089aab0ada4a53b23071933de07fadb404d384f07834351ae6401e212181565b61041a610648366004612fa1565b611181565b6103d17fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada81565b6103d1601281565b6103d161068a366004612be3565b61119f565b61041a6111f7565b6103d17f59c5589e073e79cb068a473a938b08b6e078e7ab02c16b2566189f37d4ef86fe81565b6103d1600c81565b60085461010090046001600160a01b03165b6040516001600160a01b0390911681526020016103db565b6106d86106fe366004612e7e565b61120b565b6103f7610711366004612def565b611223565b6103d17fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5981565b6103d1600081565b61041a610753366004613014565b61124e565b6103d1610766366004612a97565b611259565b6103d17f1d79eadc793a64c7d14d38414c0f4e02a3d61d2bbca04d299f819c3874c62f5081565b6103d17fe1322164d2a9c594e09927ac212ba43210d25e7c9efc459689fb7b6107c895b181565b6103d17f7df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a81565b6103d16107ee366004612be3565b60009081526003602052604090205490565b6103d1600981565b61058f610816366004613050565b6112e2565b6103d1610829366004612be3565b611389565b6103d1600681565b6103d17f39331c3081f37cb3d1da4e5ce293da53d66ea4df63f4ddb834ef31094c8e0fc181565b6103d17f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6981565b6103d17f18279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328081565b61041a6108b9366004612def565b6113a0565b6103d1601881565b61041a6108d4366004612fa1565b6113c5565b6103d1600f81565b6103f76108ef36600461308c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6103d17f21b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151981565b61041a6109523660046130b6565b6113f3565b61041a61096536600461311a565b611416565b6103d161148f565b61041a610980366004612c5f565b6114e0565b6103d17f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c819581565b60006001600160a01b038316610a1c5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b6000610a3f82611599565b7f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac69610a7a816115a4565b610a83826115ae565b5050565b606060028054610a9690613135565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac290613135565b8015610b0f5780601f10610ae457610100808354040283529160200191610b0f565b820191906000526020600020905b815481529060010190602001808311610af257829003601f168201915b50505050509050919050565b610b236115ba565b610b2e83838361161a565b610b49838383604051806020016040528060008152506116af565b505050565b6000818152600b6020908152604080832054600c90925282205480821115610bab5760008481526003602052604081205490610b8a8385613185565b905080610b974284613198565b610ba19190613185565b9695505050505050565b5060009392505050565b6000610bc26003836131c5565b15610bdf5760405162461bcd60e51b8152600401610a13906131d9565b60648210610bff5760405162461bcd60e51b8152600401610a1390613204565b610a3f82600a61330f565b610c15858484611798565b610c2084848461180a565b610c2d8585858585611876565b5050505050565b600082815260046020526040902060010154610c4f816115a4565b610b4983836118bb565b60085460ff16610c9e5760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b6044820152606401610a13565b6007544290811115610ce45760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b6044820152606401610a13565b600654604051631ac8311560e21b81526001600160a01b0390911690636b20c45490610d189033908790879060040161331b565b600060405180830381600087803b158015610d3257600080fd5b505af1158015610d46573d6000803e3d6000fd5b5050505060005b8251811015610da1576000838281518110610d6a57610d6a613351565b602002602001015111610d8f5760405162461bcd60e51b8152600401610a1390613367565b80610d9981613394565b915050610d4d565b50610b49338484604051806020016040528060008152506118dd565b6001600160a01b0381163314610e2d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a13565b610a838282611a37565b60085460ff16610e7c5760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b6044820152606401610a13565b6007544290811115610ec25760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b6044820152606401610a13565b600654604051637a94c56560e11b815233600482015260248101859052604481018490526001600160a01b039091169063f5298aca90606401600060405180830381600087803b158015610f1557600080fd5b505af1158015610f29573d6000803e3d6000fd5b5050505060008211610f4d5760405162461bcd60e51b8152600401610a1390613367565b610b49338484604051806020016040528060008152506116af565b7fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a59610f92816115a4565b506008805460ff19169055565b606081518351146110045760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a13565b600083516001600160401b0381111561101f5761101f612af4565b604051908082528060200260200182016040528015611048578160200160208202803683370190505b50905060005b84518110156110c05761109385828151811061106c5761106c613351565b602002602001015185838151811061108657611086613351565b60200260200101516109ac565b8282815181106110a5576110a5613351565b60209081029190910101526110b981613394565b905061104e565b509392505050565b6000806110d66064846133ad565b90506107b28111610a3f5760405162461bcd60e51b8152600401610a13906133c1565b60006111066003836131c5565b156111235760405162461bcd60e51b8152600401610a13906131d9565b606482106111435760405162461bcd60e51b8152600401610a1390613204565b6107b283116111645760405162461bcd60e51b8152600401610a13906133c1565b81611170846064613198565b61117a91906133e7565b9392505050565b6111896115ba565b611194838383611798565b610b49838383611a59565b6000806111ad6064846131c5565b90506111ba6003826131c5565b156111d75760405162461bcd60e51b8152600401610a13906131d9565b60648110610a3f5760405162461bcd60e51b8152600401610a1390613204565b6111ff6115ba565b6112096000611bf5565b565b600082815260056020526040812061117a9083611c4f565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610a83338383611c5b565b6001600160a01b0382166000818152600960209081526040808320858452825280832054938352600a8252808320858452909152812054909190808211156112d75760006112a786866109ac565b905060006112b58385613185565b9050806112c24284613198565b6112cc9190613185565b945050505050610a3f565b506000949350505050565b6060600082516001600160401b038111156112ff576112ff612af4565b604051908082528060200260200182016040528015611328578160200160208202803683370190505b50905060005b83518110156110c05761135a8585838151811061134d5761134d613351565b60200260200101516110f9565b82828151811061136c5761136c613351565b60209081029190910101528061138181613394565b91505061132e565b6000818152600560205260408120610a3f90611d3b565b6000828152600460205260409020600101546113bb816115a4565b610b498383611a37565b6113cd6115ba565b6113d883838361180a565b610b49838383604051806020016040528060008152506118dd565b6113fe858484611d45565b61140984848461161a565b610c2d8585858585611dd0565b61141e6115ba565b6001600160a01b0381166114835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a13565b61148c81611bf5565b50565b60008063bc1913806114a2426064613198565b6114ac91906133ad565b6114b8906107b26133e7565b90506107b281116114db5760405162461bcd60e51b8152600401610a13906133c1565b919050565b6114e86115ba565b6114f3838383611d45565b610b49838383611e15565b6115088282611223565b610a835760008281526004602090815260408083206001600160a01b03851684529091529020805460ff191660011790556115403390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061117a836001600160a01b038416611f2d565b6000610a3f82611f7c565b61148c8133611f87565b6002610a838282613440565b6008546001600160a01b036101009091041633146112095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a13565b6000811161163a5760405162461bcd60e51b8152600401610a1390613367565b6116444282613198565b6001600160a01b0384166000908152600960209081526040808320868452909152812080549091906116779084906133e7565b9091555061168790504282613198565b6000838152600b6020526040812080549091906116a59084906133e7565b9091555050505050565b6001600160a01b0384166116d55760405162461bcd60e51b8152600401610a13906134ff565b3360006116e185611feb565b905060006116ee85611feb565b90506116ff83600089858589612036565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061172f9084906133e7565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461178f8360008989898961204c565b50505050505050565b80518251146117a9576117a9613540565b60005b8251811015611804576117f2848483815181106117cb576117cb613351565b60200260200101518484815181106117e5576117e5613351565b6020026020010151611d45565b806117fc81613394565b9150506117ac565b50505050565b805182511461181b5761181b613540565b60005b8251811015611804576118648484838151811061183d5761183d613351565b602002602001015184848151811061185757611857613351565b602002602001015161161a565b8061186e81613394565b91505061181e565b6001600160a01b038516331480611892575061189285336108ef565b6118ae5760405162461bcd60e51b8152600401610a1390613556565b610c2d85858585856121a7565b6118c582826114fe565b6000828152600560205260409020610b499082611584565b6001600160a01b0384166119035760405162461bcd60e51b8152600401610a13906134ff565b81518351146119245760405162461bcd60e51b8152600401610a13906135a5565b3361193481600087878787612036565b60005b84518110156119cf5783818151811061195257611952613351565b602002602001015160008087848151811061196f5761196f613351565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119b791906133e7565b909155508190506119c781613394565b915050611937565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a209291906135ed565b60405180910390a4610c2d81600087878787612345565b611a418282612400565b6000828152600560205260409020610b499082612467565b6001600160a01b038316611a7f5760405162461bcd60e51b8152600401610a139061361b565b8051825114611aa05760405162461bcd60e51b8152600401610a13906135a5565b6000339050611ac381856000868660405180602001604052806000815250612036565b60005b8351811015611b88576000848281518110611ae357611ae3613351565b602002602001015190506000848381518110611b0157611b01613351565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611b515760405162461bcd60e51b8152600401610a139061365e565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611b8081613394565b915050611ac6565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611bd99291906135ed565b60405180910390a4604080516020810190915260009052611804565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061117a838361247c565b816001600160a01b0316836001600160a01b031603611cce5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a13565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000610a3f825490565b60008111611d655760405162461bcd60e51b8152600401610a1390613367565b611d6f4282613198565b6001600160a01b0384166000908152600a6020908152604080832086845290915281208054909190611da29084906133e7565b90915550611db290504282613198565b6000838152600c6020526040812080549091906116a59084906133e7565b6001600160a01b038516331480611dec5750611dec85336108ef565b611e085760405162461bcd60e51b8152600401610a1390613556565b610c2d85858585856124a6565b6001600160a01b038316611e3b5760405162461bcd60e51b8152600401610a139061361b565b336000611e4784611feb565b90506000611e5484611feb565b9050611e7483876000858560405180602001604052806000815250612036565b6000858152602081815260408083206001600160a01b038a16845290915290205484811015611eb55760405162461bcd60e51b8152600401610a139061365e565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a460408051602081019091526000905261178f565b6000818152600183016020526040812054611f7457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a3f565b506000610a3f565b6000610a3f826125de565b611f918282611223565b610a8357611fa9816001600160a01b031660146125e9565b611fb48360206125e9565b604051602001611fc59291906136a2565b60408051601f198184030181529082905262461bcd60e51b8252610a1391600401612c4c565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061202557612025613351565b602090810291909101015292915050565b612044868686868686612784565b505050505050565b6001600160a01b0384163b156120445760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906120909089908990889088908890600401613717565b6020604051808303816000875af19250505080156120cb575060408051601f3d908101601f191682019092526120c89181019061375c565b60015b612177576120d7613779565b806308c379a00361211057506120eb613795565b806120f65750612112565b8060405162461bcd60e51b8152600401610a139190612c4c565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a13565b6001600160e01b0319811663f23a6e6160e01b1461178f5760405162461bcd60e51b8152600401610a139061381e565b81518351146121c85760405162461bcd60e51b8152600401610a13906135a5565b6001600160a01b0384166121ee5760405162461bcd60e51b8152600401610a1390613866565b336121fd818787878787612036565b60005b84518110156122e357600085828151811061221d5761221d613351565b60200260200101519050600085838151811061223b5761223b613351565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561228b5760405162461bcd60e51b8152600401610a13906138ab565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906122c89084906133e7565b92505081905550505050806122dc90613394565b9050612200565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123339291906135ed565b60405180910390a46120448187878787875b6001600160a01b0384163b156120445760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061238990899089908890889088906004016138f5565b6020604051808303816000875af19250505080156123c4575060408051601f3d908101601f191682019092526123c19181019061375c565b60015b6123d0576120d7613779565b6001600160e01b0319811663bc197c8160e01b1461178f5760405162461bcd60e51b8152600401610a139061381e565b61240a8282611223565b15610a835760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061117a836001600160a01b0384166128fd565b600082600001828154811061249357612493613351565b9060005260206000200154905092915050565b6001600160a01b0384166124cc5760405162461bcd60e51b8152600401610a1390613866565b3360006124d885611feb565b905060006124e585611feb565b90506124f5838989858589612036565b6000868152602081815260408083206001600160a01b038c168452909152902054858110156125365760405162461bcd60e51b8152600401610a13906138ab565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906125739084906133e7565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46125d3848a8a8a8a8a61204c565b505050505050505050565b6000610a3f826129f0565b606060006125f8836002613198565b6126039060026133e7565b6001600160401b0381111561261a5761261a612af4565b6040519080825280601f01601f191660200182016040528015612644576020820181803683370190505b509050600360fc1b8160008151811061265f5761265f613351565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061268e5761268e613351565b60200101906001600160f81b031916908160001a90535060006126b2846002613198565b6126bd9060016133e7565b90505b6001811115612735576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106126f1576126f1613351565b1a60f81b82828151811061270757612707613351565b60200101906001600160f81b031916908160001a90535060049490941c9361272e81613953565b90506126c0565b50831561117a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a13565b6001600160a01b03851661280b5760005b8351811015612809578281815181106127b0576127b0613351565b6020026020010151600360008684815181106127ce576127ce613351565b6020026020010151815260200190815260200160002060008282546127f391906133e7565b90915550612802905081613394565b9050612795565b505b6001600160a01b0384166120445760005b835181101561178f57600084828151811061283957612839613351565b60200260200101519050600084838151811061285757612857613351565b60200260200101519050600060036000848152602001908152602001600020549050818110156128da5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610a13565b600092835260036020526040909220910390556128f681613394565b905061281c565b600081815260018301602052604081205480156129e6576000612921600183613185565b855490915060009061293590600190613185565b905081811461299a57600086600001828154811061295557612955613351565b906000526020600020015490508087600001848154811061297857612978613351565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806129ab576129ab61396a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a3f565b6000915050610a3f565b60006001600160e01b03198216635a05180f60e01b1480610a3f5750610a3f8260006001600160e01b03198216637965db0b60e01b1480610a3f5750610a3f8260006001600160e01b03198216636cdb3d1360e11b1480612a6157506001600160e01b031982166303a24d0760e21b145b80610a3f57506301ffc9a760e01b6001600160e01b0319831614610a3f565b80356001600160a01b03811681146114db57600080fd5b60008060408385031215612aaa57600080fd5b612ab383612a80565b946020939093013593505050565b6001600160e01b03198116811461148c57600080fd5b600060208284031215612ae957600080fd5b813561117a81612ac1565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612b2f57612b2f612af4565b6040525050565b60006001600160401b03831115612b4f57612b4f612af4565b604051612b66601f8501601f191660200182612b0a565b809150838152848484011115612b7b57600080fd5b83836020830137600060208583010152509392505050565b600060208284031215612ba557600080fd5b81356001600160401b03811115612bbb57600080fd5b8201601f81018413612bcc57600080fd5b612bdb84823560208401612b36565b949350505050565b600060208284031215612bf557600080fd5b5035919050565b60005b83811015612c17578181015183820152602001612bff565b50506000910152565b60008151808452612c38816020860160208601612bfc565b601f01601f19169290920160200192915050565b60208152600061117a6020830184612c20565b600080600060608486031215612c7457600080fd5b612c7d84612a80565b95602085013595506040909401359392505050565b60006001600160401b03821115612cab57612cab612af4565b5060051b60200190565b600082601f830112612cc657600080fd5b81356020612cd382612c92565b604051612ce08282612b0a565b83815260059390931b8501820192828101915086841115612d0057600080fd5b8286015b84811015612d1b5780358352918301918301612d04565b509695505050505050565b600082601f830112612d3757600080fd5b61117a83833560208501612b36565b600080600080600060a08688031215612d5e57600080fd5b612d6786612a80565b9450612d7560208701612a80565b935060408601356001600160401b0380821115612d9157600080fd5b612d9d89838a01612cb5565b94506060880135915080821115612db357600080fd5b612dbf89838a01612cb5565b93506080880135915080821115612dd557600080fd5b50612de288828901612d26565b9150509295509295909350565b60008060408385031215612e0257600080fd5b82359150612e1260208401612a80565b90509250929050565b60008060408385031215612e2e57600080fd5b82356001600160401b0380821115612e4557600080fd5b612e5186838701612cb5565b93506020850135915080821115612e6757600080fd5b50612e7485828601612cb5565b9150509250929050565b60008060408385031215612e9157600080fd5b50508035926020909101359150565b60008060408385031215612eb357600080fd5b82356001600160401b0380821115612eca57600080fd5b818501915085601f830112612ede57600080fd5b81356020612eeb82612c92565b604051612ef88282612b0a565b83815260059390931b8501820192828101915089841115612f1857600080fd5b948201945b83861015612f3d57612f2e86612a80565b82529482019490820190612f1d565b96505086013592505080821115612e6757600080fd5b600081518084526020808501945080840160005b83811015612f8357815187529582019590820190600101612f67565b509495945050505050565b60208152600061117a6020830184612f53565b600080600060608486031215612fb657600080fd5b612fbf84612a80565b925060208401356001600160401b0380821115612fdb57600080fd5b612fe787838801612cb5565b93506040860135915080821115612ffd57600080fd5b5061300a86828701612cb5565b9150509250925092565b6000806040838503121561302757600080fd5b61303083612a80565b91506020830135801515811461304557600080fd5b809150509250929050565b6000806040838503121561306357600080fd5b8235915060208301356001600160401b0381111561308057600080fd5b612e7485828601612cb5565b6000806040838503121561309f57600080fd5b6130a883612a80565b9150612e1260208401612a80565b600080600080600060a086880312156130ce57600080fd5b6130d786612a80565b94506130e560208701612a80565b9350604086013592506060860135915060808601356001600160401b0381111561310e57600080fd5b612de288828901612d26565b60006020828403121561312c57600080fd5b61117a82612a80565b600181811c9082168061314957607f821691505b60208210810361316957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a3f57610a3f61316f565b8082028115828204841417610a3f57610a3f61316f565b634e487b7160e01b600052601260045260246000fd5b6000826131d4576131d46131af565b500690565b6020808252601190820152701b9bdb8b5d195c9b985c9e481b195d995b607a1b604082015260600190565b6020808252600d908201526c1a5b9d985b1a59081b195d995b609a1b604082015260600190565b600181815b8085111561326657816000190482111561324c5761324c61316f565b8085161561325957918102915b93841c9390800290613230565b509250929050565b60008261327d57506001610a3f565b8161328a57506000610a3f565b81600181146132a057600281146132aa576132c6565b6001915050610a3f565b60ff8411156132bb576132bb61316f565b50506001821b610a3f565b5060208310610133831016604e8410600b84101617156132e9575081810a610a3f565b6132f3838361322b565b80600019048211156133075761330761316f565b029392505050565b600061117a838361326e565b6001600160a01b038416815260606020820181905260009061333f90830185612f53565b8281036040840152610ba18185612f53565b634e487b7160e01b600052603260045260246000fd5b6020808252601390820152721b9bdb8b5c1bdcda5d1a5d9948185b5bdd5b9d606a1b604082015260600190565b6000600182016133a6576133a661316f565b5060010190565b6000826133bc576133bc6131af565b500490565b6020808252600c908201526b34b73b30b634b2103cb2b0b960a11b604082015260600190565b80820180821115610a3f57610a3f61316f565b601f821115610b4957600081815260208120601f850160051c810160208610156134215750805b601f850160051c820191505b818110156120445782815560010161342d565b81516001600160401b0381111561345957613459612af4565b61346d816134678454613135565b846133fa565b602080601f8311600181146134a2576000841561348a5750858301515b600019600386901b1c1916600185901b178555612044565b600085815260208120601f198616915b828110156134d1578886015182559484019460019091019084016134b2565b50858210156134ef5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b634e487b7160e01b600052600160045260246000fd5b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6040815260006136006040830185612f53565b82810360208401526136128185612f53565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516136da816017850160208801612bfc565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161370b816028840160208801612bfc565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061375190830184612c20565b979650505050505050565b60006020828403121561376e57600080fd5b815161117a81612ac1565b600060033d11156137925760046000803e5060005160e01c5b90565b600060443d10156137a35790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156137d257505050505090565b82850191508151818111156137ea5750505050505090565b843d87010160208285010111156138045750505050505090565b61381360208286010187612b0a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061392190830186612f53565b82810360608401526139338186612f53565b905082810360808401526139478185612c20565b98975050505050505050565b6000816139625761396261316f565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212206df3b8858ef3caa895ff43d577843cb397e2dbd6c13023cada0a654f8a37848064736f6c6343000811003321b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b35408352315191d79eadc793a64c7d14d38414c0f4e02a3d61d2bbca04d299f819c3874c62f5045c2e9089aab0ada4a53b23071933de07fadb404d384f07834351ae6401e21217df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a1e1b9e42058f87aacc86151eee60be3728a69ade31e7db408acbba7774f5d2c518279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c3280e1322164d2a9c594e09927ac212ba43210d25e7c9efc459689fb7b6107c895b147fa9d826949f4f367afefb5d5a267558f054ceca49dcb3bde75713cd8e50eaf0000000000000000000000006b43ad7890cfb4810d5e0d2d74dbf0218620355500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000007861f80000000000000000000000000000000000000000000000000000000000000006b68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f697066732f516d597269516561516d444e6f5978696f506345704733554a3358316246736b52777a567835447566726a70635a2f707074732f333230783432372f6f64696e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006b43ad7890cfb4810d5e0d2d74dbf0218620355500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000007861f80000000000000000000000000000000000000000000000000000000000000006b68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f697066732f516d597269516561516d444e6f5978696f506345704733554a3358316246736b52777a567835447566726a70635a2f707074732f333230783432372f6f64696e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : pptBase (address): 0x6b43ad7890cfb4810d5e0d2d74dbf02186203555
Arg [1] : uri (string): https://ipfs.xpowermine.com/ipfs/QmYriQeaQmDNoYxioPcEpG3UJ3X1bFskRwzVx5DufrjpcZ/ppts/320x427/odin/{id}.json
Arg [2] : deadlineIn (uint256): 126230400
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b43ad7890cfb4810d5e0d2d74dbf02186203555
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000007861f80
Arg [3] : 000000000000000000000000000000000000000000000000000000000000006b
Arg [4] : 68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f69706673
Arg [5] : 2f516d597269516561516d444e6f5978696f506345704733554a335831624673
Arg [6] : 6b52777a567835447566726a70635a2f707074732f333230783432372f6f6469
Arg [7] : 6e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
Deployed ByteCode Sourcemap
87784:316:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54570:230;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;54570:230:0;;;;;;;;82297:207;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;82297:207:0;1019:187:1;70378:103:0;;;;;;:::i;:::-;;:::i;:::-;;34498:66;;34538:26;34498:66;;54314:105;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;84498:160::-;;;;;;:::i;:::-;;:::i;86080:411::-;;;;;;:::i;:::-;;:::i;14152:131::-;;;;;;:::i;:::-;14226:7;14253:12;;;:6;:12;;;;;:22;;;;14152:131;80759:209;;;;;;:::i;:::-;;:::i;84043:368::-;;;;;;:::i;:::-;;:::i;14593:147::-;;;;;;:::i;:::-;;:::i;73114:486::-;;;;;;:::i;:::-;;:::i;33873:60::-;;33910:23;33873:60;;79222:32;;79253:1;79222:32;;15737:218;;;;;;:::i;:::-;;:::i;72686:372::-;;;;;;:::i;:::-;;:::i;73646:85::-;;;:::i;34152:72::-;;34195:29;34152:72;;54966:524;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;77658:122::-;;;;;;:::i;:::-;77715:4;77536:16;;;:12;:16;;;;;;-1:-1:-1;;;77658:122:0;81322:175;;;;;;:::i;:::-;;:::i;79458:34::-;;79490:2;79458:34;;33940:72;;33983:29;33940:72;;80036:267;;;;;;:::i;:::-;;:::i;33728:72::-;;33771:29;33728:72;;85293:210;;;;;;:::i;:::-;;:::i;34085:60::-;;34122:23;34085:60;;79419:32;;79449:2;79419:32;;81027:234;;;;;;:::i;:::-;;:::i;75892:103::-;;;:::i;34708:66::-;;34748:26;34708:66;;79339:33;;79370:2;79339:33;;75244:87;75317:6;;;;;-1:-1:-1;;;;;75317:6:0;75244:87;;;-1:-1:-1;;;;;10122:32:1;;;10104:51;;10092:2;10077:18;75244:87:0;9958:203:1;32473:153:0;;;;;;:::i;:::-;;:::i;12612:147::-;;;;;;:::i;:::-;;:::i;34918:66::-;;34958:26;34918:66;;79183:32;;79214:1;79183:32;;55563:155;;;;;;:::i;:::-;;:::i;85588:410::-;;;;;;:::i;:::-;;:::i;34365:72::-;;34408:29;34365:72;;34781:78;;34827:32;34781:78;;34571;;34617:32;34571:78;;77447:113;;;;;;:::i;:::-;77509:7;77536:16;;;:12;:16;;;;;;;77447:113;79300:32;;79331:1;79300:32;;80387:295;;;;;;:::i;:::-;;:::i;32800:142::-;;;;;;:::i;:::-;;:::i;79261:32::-;;79292:1;79261:32;;33661:60;;33698:23;33661:60;;35131:66;;35171:26;35131:66;;34991:78;;35037:32;34991:78;;15033:149;;;;;;:::i;:::-;;:::i;79499:34::-;;79531:2;79499:34;;84747:199;;;;;;:::i;:::-;;:::i;79379:33::-;;79410:2;79379:33;;55790:168;;;;;;:::i;:::-;-1:-1:-1;;;;;55913:27:0;;;55889:4;55913:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;55790:168;35204:78;;35250:32;35204:78;;83663:322;;;;;;:::i;:::-;;:::i;76150:201::-;;;;;;:::i;:::-;;:::i;81567:195::-;;;:::i;85033:171::-;;;;;;:::i;:::-;;:::i;34298:60::-;;34335:23;34298:60;;54570:230;54656:7;-1:-1:-1;;;;;54684:21:0;;54676:76;;;;-1:-1:-1;;;54676:76:0;;12461:2:1;54676:76:0;;;12443:21:1;12500:2;12480:18;;;12473:30;12539:34;12519:18;;;12512:62;-1:-1:-1;;;12590:18:1;;;12583:40;12640:19;;54676:76:0;;;;;;;;;-1:-1:-1;54770:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;54770:22:0;;;;;;;;;;54570:230;;;;;:::o;82297:207::-;82436:4;82460:36;82484:11;82460:23;:36::i;70378:103::-;35171:26;12208:16;12219:4;12208:10;:16::i;:::-;70458:15:::1;70466:6;70458:7;:15::i;:::-;70378:103:::0;;:::o;54314:105::-;54374:13;54407:4;54400:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54314:105;;;:::o;84498:160::-;75130:13;:11;:13::i;:::-;84583:28:::1;84593:2;84597:5;84604:6;84583:9;:28::i;:::-;84622;84628:2;84632:5;84639:6;84622:28;;;;;;;;;;;::::0;:5:::1;:28::i;:::-;84498:160:::0;;;:::o;86080:411::-;86136:7;86177:18;;;:11;:18;;;;;;;;;86227:11;:18;;;;;;86260:23;;;86256:209;;;86300:14;77536:16;;;:12;:16;;;;;;;86371:23;86384:10;86371;:23;:::i;:::-;86350:44;-1:-1:-1;86350:44:0;86416:24;86425:15;86416:6;:24;:::i;:::-;:37;;;;:::i;:::-;86409:44;86080:411;-1:-1:-1;;;;;;86080:411:0:o;86256:209::-;-1:-1:-1;86482:1:0;;86080:411;-1:-1:-1;;;86080:411:0:o;80759:209::-;80819:7;80847:9;80855:1;80847:5;:9;:::i;:::-;:14;80839:44;;;;-1:-1:-1;;;80839:44:0;;;;;;;:::i;:::-;80910:3;80902:5;:11;80894:37;;;;-1:-1:-1;;;80894:37:0;;;;;;;:::i;:::-;80949:11;80955:5;80949:2;:11;:::i;84043:368::-;84249:37;84264:4;84270:6;84278:7;84249:14;:37::i;:::-;84297:35;84312:2;84316:6;84324:7;84297:14;:35::i;:::-;84343:60;84371:4;84377:2;84381:6;84389:7;84398:4;84343:27;:60::i;:::-;84043:368;;;;;:::o;14593:147::-;14226:7;14253:12;;;:6;:12;;;;;:22;;;12208:16;12219:4;12208:10;:16::i;:::-;14707:25:::1;14718:4;14724:7;14707:10;:25::i;73114:486::-:0;73213:11;;;;73205:40;;;;-1:-1:-1;;;73205:40:0;;16006:2:1;73205:40:0;;;15988:21:1;16045:2;16025:18;;;16018:30;-1:-1:-1;;;16064:18:1;;;16057:46;16120:18;;73205:40:0;15804:340:1;73205:40:0;73310:11;;73276:15;;73310:24;-1:-1:-1;73310:24:0;73302:52;;;;-1:-1:-1;;;73302:52:0;;16351:2:1;73302:52:0;;;16333:21:1;16390:2;16370:18;;;16363:30;-1:-1:-1;;;16409:18:1;;;16402:45;16464:18;;73302:52:0;16149:339:1;73302:52:0;73365:6;;:45;;-1:-1:-1;;;73365:45:0;;-1:-1:-1;;;;;73365:6:0;;;;:16;;:45;;73382:10;;73394:6;;73402:7;;73365:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73426:9;73421:118;73445:7;:14;73441:1;:18;73421:118;;;73502:1;73489:7;73497:1;73489:10;;;;;;;;:::i;:::-;;;;;;;:14;73481:46;;;;-1:-1:-1;;;73481:46:0;;;;;;;:::i;:::-;73461:3;;;;:::i;:::-;;;;73421:118;;;;73549:43;73560:10;73572:6;73580:7;73549:43;;;;;;;;;;;;:10;:43::i;15737:218::-;-1:-1:-1;;;;;15833:23:0;;5170:10;15833:23;15825:83;;;;-1:-1:-1;;;15825:83:0;;17882:2:1;15825:83:0;;;17864:21:1;17921:2;17901:18;;;17894:30;17960:34;17940:18;;;17933:62;-1:-1:-1;;;18011:18:1;;;18004:45;18066:19;;15825:83:0;17680:411:1;15825:83:0;15921:26;15933:4;15939:7;15921:11;:26::i;72686:372::-;72760:11;;;;72752:40;;;;-1:-1:-1;;;72752:40:0;;16006:2:1;72752:40:0;;;15988:21:1;16045:2;16025:18;;;16018:30;-1:-1:-1;;;16064:18:1;;;16057:46;16120:18;;72752:40:0;15804:340:1;72752:40:0;72857:11;;72823:15;;72857:24;-1:-1:-1;72857:24:0;72849:52;;;;-1:-1:-1;;;72849:52:0;;16351:2:1;72849:52:0;;;16333:21:1;16390:2;16370:18;;;16363:30;-1:-1:-1;;;16409:18:1;;;16402:45;16464:18;;72849:52:0;16149:339:1;72849:52:0;72912:6;;:38;;-1:-1:-1;;;72912:38:0;;72924:10;72912:38;;;18298:51:1;18365:18;;;18358:34;;;18408:18;;;18401:34;;;-1:-1:-1;;;;;72912:6:0;;;;:11;;18271:18:1;;72912:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72978:1;72969:6;:10;72961:42;;;;-1:-1:-1;;;72961:42:0;;;;;;;:::i;:::-;73014:36;73020:10;73032:5;73039:6;73014:36;;;;;;;;;;;;:5;:36::i;73646:85::-;34958:26;12208:16;12219:4;12208:10;:16::i;:::-;-1:-1:-1;73704:11:0::1;:19:::0;;-1:-1:-1;;73704:19:0::1;::::0;;73646:85::o;54966:524::-;55122:16;55183:3;:10;55164:8;:15;:29;55156:83;;;;-1:-1:-1;;;55156:83:0;;18648:2:1;55156:83:0;;;18630:21:1;18687:2;18667:18;;;18660:30;18726:34;18706:18;;;18699:62;-1:-1:-1;;;18777:18:1;;;18770:39;18826:19;;55156:83:0;18446:405:1;55156:83:0;55252:30;55299:8;:15;-1:-1:-1;;;;;55285:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55285:30:0;;55252:63;;55333:9;55328:122;55352:8;:15;55348:1;:19;55328:122;;;55408:30;55418:8;55427:1;55418:11;;;;;;;;:::i;:::-;;;;;;;55431:3;55435:1;55431:6;;;;;;;;:::i;:::-;;;;;;;55408:9;:30::i;:::-;55389:13;55403:1;55389:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;55369:3;;;:::i;:::-;;;55328:122;;;-1:-1:-1;55469:13:0;54966:524;-1:-1:-1;;;54966:524:0:o;81322:175::-;81374:7;;81409:11;81417:3;81409:5;:11;:::i;:::-;81394:26;;81446:4;81439;:11;81431:36;;;;-1:-1:-1;;;81431:36:0;;;;;;;:::i;80036:267::-;80100:7;80128:9;80136:1;80128:5;:9;:::i;:::-;:14;80120:44;;;;-1:-1:-1;;;80120:44:0;;;;;;;:::i;:::-;80191:3;80183:5;:11;80175:37;;;;-1:-1:-1;;;80175:37:0;;;;;;;:::i;:::-;80238:4;80231;:11;80223:36;;;;-1:-1:-1;;;80223:36:0;;;;;;;:::i;:::-;80290:5;80277:10;:4;80284:3;80277:10;:::i;:::-;:18;;;;:::i;:::-;80270:25;80036:267;-1:-1:-1;;;80036:267:0:o;85293:210::-;75130:13;:11;:13::i;:::-;85414:37:::1;85429:4;85435:6;85443:7;85414:14;:37::i;:::-;85462:33;85473:4;85479:6;85487:7;85462:10;:33::i;81027:234::-:0;81080:7;;81116:11;81124:3;81116:5;:11;:::i;:::-;81100:27;-1:-1:-1;81146:9:0;81154:1;81100:27;81146:9;:::i;:::-;:14;81138:44;;;;-1:-1:-1;;;81138:44:0;;;;;;;:::i;:::-;81209:3;81201:5;:11;81193:37;;;;-1:-1:-1;;;81193:37:0;;;;;;;:::i;75892:103::-;75130:13;:11;:13::i;:::-;75957:30:::1;75984:1;75957:18;:30::i;:::-;75892:103::o:0;32473:153::-;32563:7;32590:18;;;:12;:18;;;;;:28;;32612:5;32590:21;:28::i;12612:147::-;12698:4;12722:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;12722:29:0;;;;;;;;;;;;;;;12612:147::o;55563:155::-;55658:52;5170:10;55691:8;55701;55658:18;:52::i;85588:410::-;-1:-1:-1;;;;;85692:15:0;;85656:7;85692:15;;;:6;:15;;;;;;;;:22;;;;;;;;;85741:15;;;:6;:15;;;;;:22;;;;;;;;;85656:7;;85692:22;85778:13;;;85774:198;;;85808:15;85826:25;85836:7;85845:5;85826:9;:25::i;:::-;85808:43;-1:-1:-1;85866:18:0;85887:13;85895:5;85887;:13;:::i;:::-;85866:34;-1:-1:-1;85866:34:0;85922:25;85932:15;85922:7;:25;:::i;:::-;:38;;;;:::i;:::-;85915:45;;;;;;;;85774:198;-1:-1:-1;85989:1:0;;85588:410;-1:-1:-1;;;;85588:410:0:o;80387:295::-;80462:16;80491:20;80528:6;:13;-1:-1:-1;;;;;80514:28:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80514:28:0;;80491:51;;80558:9;80553:101;80577:6;:13;80573:1;:17;80553:101;;;80621:21;80626:4;80632:6;80639:1;80632:9;;;;;;;;:::i;:::-;;;;;;;80621:4;:21::i;:::-;80612:3;80616:1;80612:6;;;;;;;;:::i;:::-;;;;;;;;;;:30;80592:3;;;;:::i;:::-;;;;80553:101;;32800:142;32880:7;32907:18;;;:12;:18;;;;;:27;;:25;:27::i;15033:149::-;14226:7;14253:12;;;:6;:12;;;;;:22;;;12208:16;12219:4;12208:10;:16::i;:::-;15148:26:::1;15160:4;15166:7;15148:11;:26::i;84747:199::-:0;75130:13;:11;:13::i;:::-;84857:35:::1;84872:2;84876:6;84884:7;84857:14;:35::i;:::-;84903;84914:2;84918:6;84926:7;84903:35;;;;;;;;;;;::::0;:10:::1;:35::i;83663:322::-:0;83844:30;83854:4;83860:5;83867:6;83844:9;:30::i;:::-;83885:28;83895:2;83899:5;83906:6;83885:9;:28::i;:::-;83924:53;83947:4;83953:2;83957:5;83964:6;83972:4;83924:22;:53::i;76150:201::-;75130:13;:11;:13::i;:::-;-1:-1:-1;;;;;76239:22:0;::::1;76231:73;;;::::0;-1:-1:-1;;;76231:73:0;;19654:2:1;76231:73:0::1;::::0;::::1;19636:21:1::0;19693:2;19673:18;;;19666:30;19732:34;19712:18;;;19705:62;-1:-1:-1;;;19783:18:1;;;19776:36;19829:19;;76231:73:0::1;19452:402:1::0;76231:73:0::1;76315:28;76334:8;76315:18;:28::i;:::-;76150:201:::0;:::o;81567:195::-;81604:7;;81673:11;81647:21;81653:15;81647:3;:21;:::i;:::-;81646:39;;;;:::i;:::-;81639:46;;:4;:46;:::i;:::-;81624:61;;81711:4;81704;:11;81696:36;;;;-1:-1:-1;;;81696:36:0;;;;;;;:::i;:::-;81750:4;81567:195;-1:-1:-1;81567:195:0:o;85033:171::-;75130:13;:11;:13::i;:::-;85129:30:::1;85139:4;85145:5;85152:6;85129:9;:30::i;:::-;85170:26;85176:4;85182:5;85189:6;85170:5;:26::i;17334:238::-:0;17418:22;17426:4;17432:7;17418;:22::i;:::-;17413:152;;17457:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17457:29:0;;;;;;;;;:36;;-1:-1:-1;;17457:36:0;17489:4;17457:36;;;17540:12;5170:10;;5090:98;17540:12;-1:-1:-1;;;;;17513:40:0;17531:7;-1:-1:-1;;;;;17513:40:0;17525:4;17513:40;;;;;;;;;;17334:238;;:::o;26294:152::-;26364:4;26388:50;26393:3;-1:-1:-1;;;;;26413:23:0;;26388:4;:50::i;73830:174::-;73936:4;73960:36;73984:11;73960:23;:36::i;13063:105::-;13130:30;13141:4;5170:10;13130;:30::i;60739:88::-;60806:4;:13;60813:6;60806:4;:13;:::i;75409:132::-;75317:6;;-1:-1:-1;;;;;75317:6:0;;;;;5170:10;75473:23;75465:68;;;;-1:-1:-1;;;75465:68:0;;22265:2:1;75465:68:0;;;22247:21:1;;;22284:18;;;22277:30;22343:34;22323:18;;;22316:62;22395:18;;75465:68:0;22063:356:1;86532:255:0;86636:1;86627:6;:10;86619:42;;;;-1:-1:-1;;;86619:42:0;;;;;;;:::i;:::-;86698:24;86707:15;86698:6;:24;:::i;:::-;-1:-1:-1;;;;;86672:15:0;;;;;;:6;:15;;;;;;;;:22;;;;;;;;:50;;:22;;:15;:50;;;;;:::i;:::-;;;;-1:-1:-1;86755:24:0;;-1:-1:-1;86764:15:0;86755:6;:24;:::i;:::-;86733:18;;;;:11;:18;;;;;:46;;:18;;;:46;;;;;:::i;:::-;;;;-1:-1:-1;;;;;86532:255:0:o;61213:729::-;-1:-1:-1;;;;;61366:16:0;;61358:62;;;;-1:-1:-1;;;61358:62:0;;;;;;;:::i;:::-;5170:10;61433:16;61498:21;61516:2;61498:17;:21::i;:::-;61475:44;;61530:24;61557:25;61575:6;61557:17;:25::i;:::-;61530:52;;61595:66;61616:8;61634:1;61638:2;61642:3;61647:7;61656:4;61595:20;:66::i;:::-;61674:9;:13;;;;;;;;;;;-1:-1:-1;;;;;61674:17:0;;;;;;;;;:27;;61695:6;;61674:9;:27;;61695:6;;61674:27;:::i;:::-;;;;-1:-1:-1;;61717:52:0;;;23000:25:1;;;23056:2;23041:18;;23034:34;;;-1:-1:-1;;;;;61717:52:0;;;;61750:1;;61717:52;;;;;;22973:18:1;61717:52:0;;;;;;;61860:74;61891:8;61909:1;61913:2;61917;61921:6;61929:4;61860:30;:74::i;:::-;61347:595;;;61213:729;;;;:::o;87448:281::-;87584:7;:14;87567:6;:13;:31;87560:39;;;;:::i;:::-;87615:9;87610:112;87634:6;:13;87630:1;:17;87610:112;;;87669:41;87679:7;87688:6;87695:1;87688:9;;;;;;;;:::i;:::-;;;;;;;87699:7;87707:1;87699:10;;;;;;;;:::i;:::-;;;;;;;87669:9;:41::i;:::-;87649:3;;;;:::i;:::-;;;;87610:112;;;;87448:281;;;:::o;86829:::-;86965:7;:14;86948:6;:13;:31;86941:39;;;;:::i;:::-;86996:9;86991:112;87015:6;:13;87011:1;:17;86991:112;;;87050:41;87060:7;87069:6;87076:1;87069:9;;;;;;;;:::i;:::-;;;;;;;87080:7;87088:1;87080:10;;;;;;;;:::i;:::-;;;;;;;87050:9;:41::i;:::-;87030:3;;;;:::i;:::-;;;;86991:112;;56514:439;-1:-1:-1;;;;;56747:20:0;;5170:10;56747:20;;:60;;-1:-1:-1;56771:36:0;56788:4;5170:10;55790:168;:::i;56771:36::-;56725:157;;;;-1:-1:-1;;;56725:157:0;;;;;;;:::i;:::-;56893:52;56916:4;56922:2;56926:3;56931:7;56940:4;56893:22;:52::i;33035:169::-;33123:31;33140:4;33146:7;33123:16;:31::i;:::-;33165:18;;;;:12;:18;;;;;:31;;33188:7;33165:22;:31::i;62345:813::-;-1:-1:-1;;;;;62523:16:0;;62515:62;;;;-1:-1:-1;;;62515:62:0;;;;;;;:::i;:::-;62610:7;:14;62596:3;:10;:28;62588:81;;;;-1:-1:-1;;;62588:81:0;;;;;;;:::i;:::-;5170:10;62726:66;5170:10;62682:16;62769:2;62773:3;62778:7;62787:4;62726:20;:66::i;:::-;62810:9;62805:103;62829:3;:10;62825:1;:14;62805:103;;;62886:7;62894:1;62886:10;;;;;;;;:::i;:::-;;;;;;;62861:9;:17;62871:3;62875:1;62871:6;;;;;;;;:::i;:::-;;;;;;;62861:17;;;;;;;;;;;:21;62879:2;-1:-1:-1;;;;;62861:21:0;-1:-1:-1;;;;;62861:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;62841:3:0;;-1:-1:-1;62841:3:0;;;:::i;:::-;;;;62805:103;;;;62961:2;-1:-1:-1;;;;;62925:53:0;62957:1;-1:-1:-1;;;;;62925:53:0;62939:8;-1:-1:-1;;;;;62925:53:0;;62965:3;62970:7;62925:53;;;;;;;:::i;:::-;;;;;;;;63069:81;63105:8;63123:1;63127:2;63131:3;63136:7;63145:4;63069:35;:81::i;33298:174::-;33387:32;33405:4;33411:7;33387:17;:32::i;:::-;33430:18;;;;:12;:18;;;;;:34;;33456:7;33430:25;:34::i;64514:969::-;-1:-1:-1;;;;;64666:18:0;;64658:66;;;;-1:-1:-1;;;64658:66:0;;;;;;;:::i;:::-;64757:7;:14;64743:3;:10;:28;64735:81;;;;-1:-1:-1;;;64735:81:0;;;;;;;:::i;:::-;64829:16;5170:10;64829:31;;64873:66;64894:8;64904:4;64918:1;64922:3;64927:7;64873:66;;;;;;;;;;;;:20;:66::i;:::-;64957:9;64952:373;64976:3;:10;64972:1;:14;64952:373;;;65008:10;65021:3;65025:1;65021:6;;;;;;;;:::i;:::-;;;;;;;65008:19;;65042:14;65059:7;65067:1;65059:10;;;;;;;;:::i;:::-;;;;;;;;;;;;65086:19;65108:13;;;;;;;;;;-1:-1:-1;;;;;65108:19:0;;;;;;;;;;;;65059:10;;-1:-1:-1;65150:21:0;;;;65142:70;;;;-1:-1:-1;;;65142:70:0;;;;;;;:::i;:::-;65256:9;:13;;;;;;;;;;;-1:-1:-1;;;;;65256:19:0;;;;;;;;;;65278:20;;65256:42;;64988:3;;;;:::i;:::-;;;;64952:373;;;;65380:1;-1:-1:-1;;;;;65342:55:0;65366:4;-1:-1:-1;;;;;65342:55:0;65356:8;-1:-1:-1;;;;;65342:55:0;;65384:3;65389:7;65342:55;;;;;;;:::i;:::-;;;;;;;;65410:65;;;;;;;;;65454:1;65410:65;;;81855:343;76511:191;76604:6;;;-1:-1:-1;;;;;76621:17:0;;;76604:6;76621:17;;;-1:-1:-1;;;;;;76621:17:0;;;;;;76654:40;;76604:6;;;;;;;;76654:40;;76585:16;;76654:40;76574:128;76511:191;:::o;27590:158::-;27664:7;27715:22;27719:3;27731:5;27715:3;:22::i;65626:331::-;65781:8;-1:-1:-1;;;;;65772:17:0;:5;-1:-1:-1;;;;;65772:17:0;;65764:71;;;;-1:-1:-1;;;65764:71:0;;25517:2:1;65764:71:0;;;25499:21:1;25556:2;25536:18;;;25529:30;25595:34;25575:18;;;25568:62;-1:-1:-1;;;25646:18:1;;;25639:39;25695:19;;65764:71:0;25315:405:1;65764:71:0;-1:-1:-1;;;;;65846:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;65846:46:0;;;;;;;;;;65908:41;;1159::1;;;65908::0;;1132:18:1;65908:41:0;;;;;;;65626:331;;;:::o;27119:117::-;27182:7;27209:19;27217:3;22603:18;;22520:109;87151:255;87255:1;87246:6;:10;87238:42;;;;-1:-1:-1;;;87238:42:0;;;;;;;:::i;:::-;87317:24;87326:15;87317:6;:24;:::i;:::-;-1:-1:-1;;;;;87291:15:0;;;;;;:6;:15;;;;;;;;:22;;;;;;;;:50;;:22;;:15;:50;;;;;:::i;:::-;;;;-1:-1:-1;87374:24:0;;-1:-1:-1;87383:15:0;87374:6;:24;:::i;:::-;87352:18;;;;:11;:18;;;;;:46;;:18;;;:46;;;;;:::i;56030:407::-;-1:-1:-1;;;;;56238:20:0;;5170:10;56238:20;;:60;;-1:-1:-1;56262:36:0;56279:4;5170:10;55790:168;:::i;56262:36::-;56216:157;;;;-1:-1:-1;;;56216:157:0;;;;;;;:::i;:::-;56384:45;56402:4;56408:2;56412;56416:6;56424:4;56384:17;:45::i;63456:808::-;-1:-1:-1;;;;;63583:18:0;;63575:66;;;;-1:-1:-1;;;63575:66:0;;;;;;;:::i;:::-;5170:10;63654:16;63719:21;63737:2;63719:17;:21::i;:::-;63696:44;;63751:24;63778:25;63796:6;63778:17;:25::i;:::-;63751:52;;63816:66;63837:8;63847:4;63861:1;63865:3;63870:7;63816:66;;;;;;;;;;;;:20;:66::i;:::-;63895:19;63917:13;;;;;;;;;;;-1:-1:-1;;;;;63917:19:0;;;;;;;;;;63955:21;;;;63947:70;;;;-1:-1:-1;;;63947:70:0;;;;;;;:::i;:::-;64053:9;:13;;;;;;;;;;;-1:-1:-1;;;;;64053:19:0;;;;;;;;;;;;64075:20;;;64053:42;;64124:54;;23000:25:1;;;23041:18;;;23034:34;;;64053:19:0;;64124:54;;;;;;22973:18:1;64124:54:0;;;;;;;64191:65;;;;;;;;;64235:1;64191:65;;;81855:343;20209:414;20272:4;22402:19;;;:12;;;:19;;;;;;20289:327;;-1:-1:-1;20332:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;20515:18;;20493:19;;;:12;;;:19;;;;;;:40;;;;20548:11;;20289:327;-1:-1:-1;20599:5:0;20592:12;;70489:174;70595:4;70619:36;70643:11;70619:23;:36::i;13458:505::-;13547:22;13555:4;13561:7;13547;:22::i;:::-;13542:414;;13735:41;13763:7;-1:-1:-1;;;;;13735:41:0;13773:2;13735:19;:41::i;:::-;13849:38;13877:4;13884:2;13849:19;:38::i;:::-;13640:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13640:270:0;;;;;;;;;;-1:-1:-1;;;13586:358:0;;;;;;;:::i;69892:198::-;70012:16;;;70026:1;70012:16;;;;;;;;;69958;;69987:22;;70012:16;;;;;;;;;;;;-1:-1:-1;70012:16:0;69987:41;;70050:7;70039:5;70045:1;70039:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;70077:5;69892:198;-1:-1:-1;;69892:198:0:o;81855:343::-;82113:77;82148:8;82158:4;82164:2;82168:6;82176:7;82185:4;82113:34;:77::i;:::-;81855:343;;;;;;:::o;68319:744::-;-1:-1:-1;;;;;68534:13:0;;38029:19;:23;68530:526;;68570:72;;-1:-1:-1;;;68570:72:0;;-1:-1:-1;;;;;68570:38:0;;;;;:72;;68609:8;;68619:4;;68625:2;;68629:6;;68637:4;;68570:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68570:72:0;;;;;;;;-1:-1:-1;;68570:72:0;;;;;;;;;;;;:::i;:::-;;;68566:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;68918:6;68911:14;;-1:-1:-1;;;68911:14:0;;;;;;;;:::i;68566:479::-;;;68967:62;;-1:-1:-1;;;68967:62:0;;28424:2:1;68967:62:0;;;28406:21:1;28463:2;28443:18;;;28436:30;28502:34;28482:18;;;28475:62;-1:-1:-1;;;28553:18:1;;;28546:50;28613:19;;68967:62:0;28222:416:1;68566:479:0;-1:-1:-1;;;;;;68692:55:0;;-1:-1:-1;;;68692:55:0;68688:154;;68772:50;;-1:-1:-1;;;68772:50:0;;;;;;;:::i;58749:1146::-;58976:7;:14;58962:3;:10;:28;58954:81;;;;-1:-1:-1;;;58954:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59054:16:0;;59046:66;;;;-1:-1:-1;;;59046:66:0;;;;;;;:::i;:::-;5170:10;59169:60;5170:10;59200:4;59206:2;59210:3;59215:7;59224:4;59169:20;:60::i;:::-;59247:9;59242:421;59266:3;:10;59262:1;:14;59242:421;;;59298:10;59311:3;59315:1;59311:6;;;;;;;;:::i;:::-;;;;;;;59298:19;;59332:14;59349:7;59357:1;59349:10;;;;;;;;:::i;:::-;;;;;;;;;;;;59376:19;59398:13;;;;;;;;;;-1:-1:-1;;;;;59398:19:0;;;;;;;;;;;;59349:10;;-1:-1:-1;59440:21:0;;;;59432:76;;;;-1:-1:-1;;;59432:76:0;;;;;;;:::i;:::-;59552:9;:13;;;;;;;;;;;-1:-1:-1;;;;;59552:19:0;;;;;;;;;;59574:20;;;59552:42;;59624:17;;;;;;;:27;;59574:20;;59552:9;59624:27;;59574:20;;59624:27;:::i;:::-;;;;;;;;59283:380;;;59278:3;;;;:::i;:::-;;;59242:421;;;;59710:2;-1:-1:-1;;;;;59680:47:0;59704:4;-1:-1:-1;;;;;59680:47:0;59694:8;-1:-1:-1;;;;;59680:47:0;;59714:3;59719:7;59680:47;;;;;;;:::i;:::-;;;;;;;;59812:75;59848:8;59858:4;59864:2;59868:3;59873:7;59882:4;69071:813;-1:-1:-1;;;;;69311:13:0;;38029:19;:23;69307:570;;69347:79;;-1:-1:-1;;;69347:79:0;;-1:-1:-1;;;;;69347:43:0;;;;;:79;;69391:8;;69401:4;;69407:3;;69412:7;;69421:4;;69347:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69347:79:0;;;;;;;;-1:-1:-1;;69347:79:0;;;;;;;;;;;;:::i;:::-;;;69343:523;;;;:::i;:::-;-1:-1:-1;;;;;;69508:60:0;;-1:-1:-1;;;69508:60:0;69504:159;;69593:50;;-1:-1:-1;;;69593:50:0;;;;;;;:::i;17752:239::-;17836:22;17844:4;17850:7;17836;:22::i;:::-;17832:152;;;17907:5;17875:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17875:29:0;;;;;;;;;;:37;;-1:-1:-1;;17875:37:0;;;17932:40;5170:10;;17875:12;;17932:40;;17907:5;17932:40;17752:239;;:::o;26622:158::-;26695:4;26719:53;26727:3;-1:-1:-1;;;;;26747:23:0;;26719:7;:53::i;22983:120::-;23050:7;23077:3;:11;;23089:5;23077:18;;;;;;;;:::i;:::-;;;;;;;;;23070:25;;22983:120;;;;:::o;57417:974::-;-1:-1:-1;;;;;57605:16:0;;57597:66;;;;-1:-1:-1;;;57597:66:0;;;;;;;:::i;:::-;5170:10;57676:16;57741:21;57759:2;57741:17;:21::i;:::-;57718:44;;57773:24;57800:25;57818:6;57800:17;:25::i;:::-;57773:52;;57838:60;57859:8;57869:4;57875:2;57879:3;57884:7;57893:4;57838:20;:60::i;:::-;57911:19;57933:13;;;;;;;;;;;-1:-1:-1;;;;;57933:19:0;;;;;;;;;;57971:21;;;;57963:76;;;;-1:-1:-1;;;57963:76:0;;;;;;;:::i;:::-;58075:9;:13;;;;;;;;;;;-1:-1:-1;;;;;58075:19:0;;;;;;;;;;58097:20;;;58075:42;;58139:17;;;;;;;:27;;58097:20;;58075:9;58139:27;;58097:20;;58139:27;:::i;:::-;;;;-1:-1:-1;;58184:46:0;;;23000:25:1;;;23056:2;23041:18;;23034:34;;;-1:-1:-1;;;;;58184:46:0;;;;;;;;;;;;;;22973:18:1;58184:46:0;;;;;;;58315:68;58346:8;58356:4;58362:2;58366;58370:6;58378:4;58315:30;:68::i;:::-;57586:805;;;;57417:974;;;;;:::o;36341:153::-;36426:4;36450:36;36474:11;36450:23;:36::i;8979:451::-;9054:13;9080:19;9112:10;9116:6;9112:1;:10;:::i;:::-;:14;;9125:1;9112:14;:::i;:::-;-1:-1:-1;;;;;9102:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9102:25:0;;9080:47;;-1:-1:-1;;;9138:6:0;9145:1;9138:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;9138:15:0;;;;;;;;;-1:-1:-1;;;9164:6:0;9171:1;9164:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;9164:15:0;;;;;;;;-1:-1:-1;9195:9:0;9207:10;9211:6;9207:1;:10;:::i;:::-;:14;;9220:1;9207:14;:::i;:::-;9195:26;;9190:135;9227:1;9223;:5;9190:135;;;-1:-1:-1;;;9275:5:0;9283:3;9275:11;9262:25;;;;;;;:::i;:::-;;;;9250:6;9257:1;9250:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;9250:37:0;;;;;;;;-1:-1:-1;9312:1:0;9302:11;;;;;9230:3;;;:::i;:::-;;;9190:135;;;-1:-1:-1;9343:10:0;;9335:55;;;;-1:-1:-1;;;9335:55:0;;31044:2:1;9335:55:0;;;31026:21:1;;;31063:18;;;31056:30;31122:34;31102:18;;;31095:62;31174:18;;9335:55:0;30842:356:1;77855:931:0;-1:-1:-1;;;;;78177:18:0;;78173:160;;78217:9;78212:110;78236:3;:10;78232:1;:14;78212:110;;;78296:7;78304:1;78296:10;;;;;;;;:::i;:::-;;;;;;;78272:12;:20;78285:3;78289:1;78285:6;;;;;;;;:::i;:::-;;;;;;;78272:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;78248:3:0;;-1:-1:-1;78248:3:0;;:::i;:::-;;;78212:110;;;;78173:160;-1:-1:-1;;;;;78349:16:0;;78345:434;;78387:9;78382:386;78406:3;:10;78402:1;:14;78382:386;;;78442:10;78455:3;78459:1;78455:6;;;;;;;;:::i;:::-;;;;;;;78442:19;;78480:14;78497:7;78505:1;78497:10;;;;;;;;:::i;:::-;;;;;;;78480:27;;78526:14;78543:12;:16;78556:2;78543:16;;;;;;;;;;;;78526:33;;78596:6;78586;:16;;78578:69;;;;-1:-1:-1;;;78578:69:0;;31405:2:1;78578:69:0;;;31387:21:1;31444:2;31424:18;;;31417:30;31483:34;31463:18;;;31456:62;-1:-1:-1;;;31534:18:1;;;31527:38;31582:19;;78578:69:0;31203:404:1;78578:69:0;78699:16;;;;:12;:16;;;;;;78718:15;;78699:34;;78418:3;;;:::i;:::-;;;78382:386;;20799:1420;20865:4;21004:19;;;:12;;;:19;;;;;;21040:15;;21036:1176;;21415:21;21439:14;21452:1;21439:10;:14;:::i;:::-;21488:18;;21415:38;;-1:-1:-1;21468:17:0;;21488:22;;21509:1;;21488:22;:::i;:::-;21468:42;;21544:13;21531:9;:26;21527:405;;21578:17;21598:3;:11;;21610:9;21598:22;;;;;;;;:::i;:::-;;;;;;;;;21578:42;;21752:9;21723:3;:11;;21735:13;21723:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;21837:23;;;:12;;;:23;;;;;:36;;;21527:405;22013:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;22108:3;:12;;:19;22121:5;22108:19;;;;;;;;;;;22101:26;;;22151:4;22144:11;;;;;;;21036:1176;22195:5;22188:12;;;;;31660:214;31745:4;-1:-1:-1;;;;;;31769:57:0;;-1:-1:-1;;;31769:57:0;;:97;;;31830:36;31854:11;12401:4;-1:-1:-1;;;;;;12425:47:0;;-1:-1:-1;;;12425:47:0;;:87;;;12476:36;12500:11;53695:4;-1:-1:-1;;;;;;53732:41:0;;-1:-1:-1;;;53732:41:0;;:110;;-1:-1:-1;;;;;;;53790:52:0;;-1:-1:-1;;;53790:52:0;53732:110;:163;;;-1:-1:-1;;;;;;;;;;7193:40:0;;;53859:36;7084:157;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:254;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;633:131::-;-1:-1:-1;;;;;;707:32:1;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;1211:127::-;1272:10;1267:3;1263:20;1260:1;1253:31;1303:4;1300:1;1293:15;1327:4;1324:1;1317:15;1343:249;1453:2;1434:13;;-1:-1:-1;;1430:27:1;1418:40;;-1:-1:-1;;;;;1473:34:1;;1509:22;;;1470:62;1467:88;;;1535:18;;:::i;:::-;1571:2;1564:22;-1:-1:-1;;1343:249:1:o;1597:469::-;1662:5;-1:-1:-1;;;;;1688:6:1;1685:30;1682:56;;;1718:18;;:::i;:::-;1767:2;1761:9;1779:69;1836:2;1815:15;;-1:-1:-1;;1811:29:1;1842:4;1807:40;1761:9;1779:69;:::i;:::-;1866:6;1857:15;;1896:6;1888;1881:22;1936:3;1927:6;1922:3;1918:16;1915:25;1912:45;;;1953:1;1950;1943:12;1912:45;2003:6;1998:3;1991:4;1983:6;1979:17;1966:44;2058:1;2051:4;2042:6;2034;2030:19;2026:30;2019:41;;1597:469;;;;;:::o;2071:451::-;2140:6;2193:2;2181:9;2172:7;2168:23;2164:32;2161:52;;;2209:1;2206;2199:12;2161:52;2249:9;2236:23;-1:-1:-1;;;;;2274:6:1;2271:30;2268:50;;;2314:1;2311;2304:12;2268:50;2337:22;;2390:4;2382:13;;2378:27;-1:-1:-1;2368:55:1;;2419:1;2416;2409:12;2368:55;2442:74;2508:7;2503:2;2490:16;2485:2;2481;2477:11;2442:74;:::i;:::-;2432:84;2071:451;-1:-1:-1;;;;2071:451:1:o;2709:180::-;2768:6;2821:2;2809:9;2800:7;2796:23;2792:32;2789:52;;;2837:1;2834;2827:12;2789:52;-1:-1:-1;2860:23:1;;2709:180;-1:-1:-1;2709:180:1:o;2894:250::-;2979:1;2989:113;3003:6;3000:1;2997:13;2989:113;;;3079:11;;;3073:18;3060:11;;;3053:39;3025:2;3018:10;2989:113;;;-1:-1:-1;;3136:1:1;3118:16;;3111:27;2894:250::o;3149:271::-;3191:3;3229:5;3223:12;3256:6;3251:3;3244:19;3272:76;3341:6;3334:4;3329:3;3325:14;3318:4;3311:5;3307:16;3272:76;:::i;:::-;3402:2;3381:15;-1:-1:-1;;3377:29:1;3368:39;;;;3409:4;3364:50;;3149:271;-1:-1:-1;;3149:271:1:o;3425:220::-;3574:2;3563:9;3556:21;3537:4;3594:45;3635:2;3624:9;3620:18;3612:6;3594:45;:::i;3650:322::-;3727:6;3735;3743;3796:2;3784:9;3775:7;3771:23;3767:32;3764:52;;;3812:1;3809;3802:12;3764:52;3835:29;3854:9;3835:29;:::i;:::-;3825:39;3911:2;3896:18;;3883:32;;-1:-1:-1;3962:2:1;3947:18;;;3934:32;;3650:322;-1:-1:-1;;;3650:322:1:o;4162:183::-;4222:4;-1:-1:-1;;;;;4247:6:1;4244:30;4241:56;;;4277:18;;:::i;:::-;-1:-1:-1;4322:1:1;4318:14;4334:4;4314:25;;4162:183::o;4350:724::-;4404:5;4457:3;4450:4;4442:6;4438:17;4434:27;4424:55;;4475:1;4472;4465:12;4424:55;4511:6;4498:20;4537:4;4560:43;4600:2;4560:43;:::i;:::-;4632:2;4626:9;4644:31;4672:2;4664:6;4644:31;:::i;:::-;4710:18;;;4802:1;4798:10;;;;4786:23;;4782:32;;;4744:15;;;;-1:-1:-1;4826:15:1;;;4823:35;;;4854:1;4851;4844:12;4823:35;4890:2;4882:6;4878:15;4902:142;4918:6;4913:3;4910:15;4902:142;;;4984:17;;4972:30;;5022:12;;;;4935;;4902:142;;;-1:-1:-1;5062:6:1;4350:724;-1:-1:-1;;;;;;4350:724:1:o;5079:221::-;5121:5;5174:3;5167:4;5159:6;5155:17;5151:27;5141:55;;5192:1;5189;5182:12;5141:55;5214:80;5290:3;5281:6;5268:20;5261:4;5253:6;5249:17;5214:80;:::i;5305:943::-;5459:6;5467;5475;5483;5491;5544:3;5532:9;5523:7;5519:23;5515:33;5512:53;;;5561:1;5558;5551:12;5512:53;5584:29;5603:9;5584:29;:::i;:::-;5574:39;;5632:38;5666:2;5655:9;5651:18;5632:38;:::i;:::-;5622:48;;5721:2;5710:9;5706:18;5693:32;-1:-1:-1;;;;;5785:2:1;5777:6;5774:14;5771:34;;;5801:1;5798;5791:12;5771:34;5824:61;5877:7;5868:6;5857:9;5853:22;5824:61;:::i;:::-;5814:71;;5938:2;5927:9;5923:18;5910:32;5894:48;;5967:2;5957:8;5954:16;5951:36;;;5983:1;5980;5973:12;5951:36;6006:63;6061:7;6050:8;6039:9;6035:24;6006:63;:::i;:::-;5996:73;;6122:3;6111:9;6107:19;6094:33;6078:49;;6152:2;6142:8;6139:16;6136:36;;;6168:1;6165;6158:12;6136:36;;6191:51;6234:7;6223:8;6212:9;6208:24;6191:51;:::i;:::-;6181:61;;;5305:943;;;;;;;;:::o;6253:254::-;6321:6;6329;6382:2;6370:9;6361:7;6357:23;6353:32;6350:52;;;6398:1;6395;6388:12;6350:52;6434:9;6421:23;6411:33;;6463:38;6497:2;6486:9;6482:18;6463:38;:::i;:::-;6453:48;;6253:254;;;;;:::o;6512:595::-;6630:6;6638;6691:2;6679:9;6670:7;6666:23;6662:32;6659:52;;;6707:1;6704;6697:12;6659:52;6747:9;6734:23;-1:-1:-1;;;;;6817:2:1;6809:6;6806:14;6803:34;;;6833:1;6830;6823:12;6803:34;6856:61;6909:7;6900:6;6889:9;6885:22;6856:61;:::i;:::-;6846:71;;6970:2;6959:9;6955:18;6942:32;6926:48;;6999:2;6989:8;6986:16;6983:36;;;7015:1;7012;7005:12;6983:36;;7038:63;7093:7;7082:8;7071:9;7067:24;7038:63;:::i;:::-;7028:73;;;6512:595;;;;;:::o;7112:248::-;7180:6;7188;7241:2;7229:9;7220:7;7216:23;7212:32;7209:52;;;7257:1;7254;7247:12;7209:52;-1:-1:-1;;7280:23:1;;;7350:2;7335:18;;;7322:32;;-1:-1:-1;7112:248:1:o;7365:1208::-;7483:6;7491;7544:2;7532:9;7523:7;7519:23;7515:32;7512:52;;;7560:1;7557;7550:12;7512:52;7600:9;7587:23;-1:-1:-1;;;;;7670:2:1;7662:6;7659:14;7656:34;;;7686:1;7683;7676:12;7656:34;7724:6;7713:9;7709:22;7699:32;;7769:7;7762:4;7758:2;7754:13;7750:27;7740:55;;7791:1;7788;7781:12;7740:55;7827:2;7814:16;7849:4;7872:43;7912:2;7872:43;:::i;:::-;7944:2;7938:9;7956:31;7984:2;7976:6;7956:31;:::i;:::-;8022:18;;;8110:1;8106:10;;;;8098:19;;8094:28;;;8056:15;;;;-1:-1:-1;8134:19:1;;;8131:39;;;8166:1;8163;8156:12;8131:39;8190:11;;;;8210:148;8226:6;8221:3;8218:15;8210:148;;;8292:23;8311:3;8292:23;:::i;:::-;8280:36;;8243:12;;;;8336;;;;8210:148;;;8377:6;-1:-1:-1;;8421:18:1;;8408:32;;-1:-1:-1;;8452:16:1;;;8449:36;;;8481:1;8478;8471:12;8578:435;8631:3;8669:5;8663:12;8696:6;8691:3;8684:19;8722:4;8751:2;8746:3;8742:12;8735:19;;8788:2;8781:5;8777:14;8809:1;8819:169;8833:6;8830:1;8827:13;8819:169;;;8894:13;;8882:26;;8928:12;;;;8963:15;;;;8855:1;8848:9;8819:169;;;-1:-1:-1;9004:3:1;;8578:435;-1:-1:-1;;;;;8578:435:1:o;9018:261::-;9197:2;9186:9;9179:21;9160:4;9217:56;9269:2;9258:9;9254:18;9246:6;9217:56;:::i;9284:669::-;9411:6;9419;9427;9480:2;9468:9;9459:7;9455:23;9451:32;9448:52;;;9496:1;9493;9486:12;9448:52;9519:29;9538:9;9519:29;:::i;:::-;9509:39;;9599:2;9588:9;9584:18;9571:32;-1:-1:-1;;;;;9663:2:1;9655:6;9652:14;9649:34;;;9679:1;9676;9669:12;9649:34;9702:61;9755:7;9746:6;9735:9;9731:22;9702:61;:::i;:::-;9692:71;;9816:2;9805:9;9801:18;9788:32;9772:48;;9845:2;9835:8;9832:16;9829:36;;;9861:1;9858;9851:12;9829:36;;9884:63;9939:7;9928:8;9917:9;9913:24;9884:63;:::i;:::-;9874:73;;;9284:669;;;;;:::o;10419:347::-;10484:6;10492;10545:2;10533:9;10524:7;10520:23;10516:32;10513:52;;;10561:1;10558;10551:12;10513:52;10584:29;10603:9;10584:29;:::i;:::-;10574:39;;10663:2;10652:9;10648:18;10635:32;10710:5;10703:13;10696:21;10689:5;10686:32;10676:60;;10732:1;10729;10722:12;10676:60;10755:5;10745:15;;;10419:347;;;;;:::o;10771:416::-;10864:6;10872;10925:2;10913:9;10904:7;10900:23;10896:32;10893:52;;;10941:1;10938;10931:12;10893:52;10977:9;10964:23;10954:33;;11038:2;11027:9;11023:18;11010:32;-1:-1:-1;;;;;11057:6:1;11054:30;11051:50;;;11097:1;11094;11087:12;11051:50;11120:61;11173:7;11164:6;11153:9;11149:22;11120:61;:::i;11192:260::-;11260:6;11268;11321:2;11309:9;11300:7;11296:23;11292:32;11289:52;;;11337:1;11334;11327:12;11289:52;11360:29;11379:9;11360:29;:::i;:::-;11350:39;;11408:38;11442:2;11431:9;11427:18;11408:38;:::i;11457:606::-;11561:6;11569;11577;11585;11593;11646:3;11634:9;11625:7;11621:23;11617:33;11614:53;;;11663:1;11660;11653:12;11614:53;11686:29;11705:9;11686:29;:::i;:::-;11676:39;;11734:38;11768:2;11757:9;11753:18;11734:38;:::i;:::-;11724:48;;11819:2;11808:9;11804:18;11791:32;11781:42;;11870:2;11859:9;11855:18;11842:32;11832:42;;11925:3;11914:9;11910:19;11897:33;-1:-1:-1;;;;;11945:6:1;11942:30;11939:50;;;11985:1;11982;11975:12;11939:50;12008:49;12049:7;12040:6;12029:9;12025:22;12008:49;:::i;12068:186::-;12127:6;12180:2;12168:9;12159:7;12155:23;12151:32;12148:52;;;12196:1;12193;12186:12;12148:52;12219:29;12238:9;12219:29;:::i;12670:380::-;12749:1;12745:12;;;;12792;;;12813:61;;12867:4;12859:6;12855:17;12845:27;;12813:61;12920:2;12912:6;12909:14;12889:18;12886:38;12883:161;;12966:10;12961:3;12957:20;12954:1;12947:31;13001:4;12998:1;12991:15;13029:4;13026:1;13019:15;12883:161;;12670:380;;;:::o;13055:127::-;13116:10;13111:3;13107:20;13104:1;13097:31;13147:4;13144:1;13137:15;13171:4;13168:1;13161:15;13187:128;13254:9;;;13275:11;;;13272:37;;;13289:18;;:::i;13320:168::-;13393:9;;;13424;;13441:15;;;13435:22;;13421:37;13411:71;;13462:18;;:::i;13493:127::-;13554:10;13549:3;13545:20;13542:1;13535:31;13585:4;13582:1;13575:15;13609:4;13606:1;13599:15;13625:112;13657:1;13683;13673:35;;13688:18;;:::i;:::-;-1:-1:-1;13722:9:1;;13625:112::o;13742:341::-;13944:2;13926:21;;;13983:2;13963:18;;;13956:30;-1:-1:-1;;;14017:2:1;14002:18;;13995:47;14074:2;14059:18;;13742:341::o;14088:337::-;14290:2;14272:21;;;14329:2;14309:18;;;14302:30;-1:-1:-1;;;14363:2:1;14348:18;;14341:43;14416:2;14401:18;;14088:337::o;14430:422::-;14519:1;14562:5;14519:1;14576:270;14597:7;14587:8;14584:21;14576:270;;;14656:4;14652:1;14648:6;14644:17;14638:4;14635:27;14632:53;;;14665:18;;:::i;:::-;14715:7;14705:8;14701:22;14698:55;;;14735:16;;;;14698:55;14814:22;;;;14774:15;;;;14576:270;;;14580:3;14430:422;;;;;:::o;14857:806::-;14906:5;14936:8;14926:80;;-1:-1:-1;14977:1:1;14991:5;;14926:80;15025:4;15015:76;;-1:-1:-1;15062:1:1;15076:5;;15015:76;15107:4;15125:1;15120:59;;;;15193:1;15188:130;;;;15100:218;;15120:59;15150:1;15141:10;;15164:5;;;15188:130;15225:3;15215:8;15212:17;15209:43;;;15232:18;;:::i;:::-;-1:-1:-1;;15288:1:1;15274:16;;15303:5;;15100:218;;15402:2;15392:8;15389:16;15383:3;15377:4;15374:13;15370:36;15364:2;15354:8;15351:16;15346:2;15340:4;15337:12;15333:35;15330:77;15327:159;;;-1:-1:-1;15439:19:1;;;15471:5;;15327:159;15518:34;15543:8;15537:4;15518:34;:::i;:::-;15588:6;15584:1;15580:6;15576:19;15567:7;15564:32;15561:58;;;15599:18;;:::i;:::-;15637:20;;14857:806;-1:-1:-1;;;14857:806:1:o;15668:131::-;15728:5;15757:36;15784:8;15778:4;15757:36;:::i;16493:562::-;-1:-1:-1;;;;;16778:32:1;;16760:51;;16847:2;16842;16827:18;;16820:30;;;-1:-1:-1;;16873:56:1;;16910:18;;16902:6;16873:56;:::i;:::-;16977:9;16969:6;16965:22;16960:2;16949:9;16945:18;16938:50;17005:44;17042:6;17034;17005:44;:::i;17060:127::-;17121:10;17116:3;17112:20;17109:1;17102:31;17152:4;17149:1;17142:15;17176:4;17173:1;17166:15;17192:343;17394:2;17376:21;;;17433:2;17413:18;;;17406:30;-1:-1:-1;;;17467:2:1;17452:18;;17445:49;17526:2;17511:18;;17192:343::o;17540:135::-;17579:3;17600:17;;;17597:43;;17620:18;;:::i;:::-;-1:-1:-1;17667:1:1;17656:13;;17540:135::o;18856:120::-;18896:1;18922;18912:35;;18927:18;;:::i;:::-;-1:-1:-1;18961:9:1;;18856:120::o;18981:336::-;19183:2;19165:21;;;19222:2;19202:18;;;19195:30;-1:-1:-1;;;19256:2:1;19241:18;;19234:42;19308:2;19293:18;;18981:336::o;19322:125::-;19387:9;;;19408:10;;;19405:36;;;19421:18;;:::i;19985:545::-;20087:2;20082:3;20079:11;20076:448;;;20123:1;20148:5;20144:2;20137:17;20193:4;20189:2;20179:19;20263:2;20251:10;20247:19;20244:1;20240:27;20234:4;20230:38;20299:4;20287:10;20284:20;20281:47;;;-1:-1:-1;20322:4:1;20281:47;20377:2;20372:3;20368:12;20365:1;20361:20;20355:4;20351:31;20341:41;;20432:82;20450:2;20443:5;20440:13;20432:82;;;20495:17;;;20476:1;20465:13;20432:82;;20706:1352;20832:3;20826:10;-1:-1:-1;;;;;20851:6:1;20848:30;20845:56;;;20881:18;;:::i;:::-;20910:97;21000:6;20960:38;20992:4;20986:11;20960:38;:::i;:::-;20954:4;20910:97;:::i;:::-;21062:4;;21126:2;21115:14;;21143:1;21138:663;;;;21845:1;21862:6;21859:89;;;-1:-1:-1;21914:19:1;;;21908:26;21859:89;-1:-1:-1;;20663:1:1;20659:11;;;20655:24;20651:29;20641:40;20687:1;20683:11;;;20638:57;21961:81;;21108:944;;21138:663;19932:1;19925:14;;;19969:4;19956:18;;-1:-1:-1;;21174:20:1;;;21292:236;21306:7;21303:1;21300:14;21292:236;;;21395:19;;;21389:26;21374:42;;21487:27;;;;21455:1;21443:14;;;;21322:19;;21292:236;;;21296:3;21556:6;21547:7;21544:19;21541:201;;;21617:19;;;21611:26;-1:-1:-1;;21700:1:1;21696:14;;;21712:3;21692:24;21688:37;21684:42;21669:58;21654:74;;21541:201;-1:-1:-1;;;;;21788:1:1;21772:14;;;21768:22;21755:36;;-1:-1:-1;20706:1352:1:o;22424:397::-;22626:2;22608:21;;;22665:2;22645:18;;;22638:30;22704:34;22699:2;22684:18;;22677:62;-1:-1:-1;;;22770:2:1;22755:18;;22748:31;22811:3;22796:19;;22424:397::o;23079:127::-;23140:10;23135:3;23131:20;23128:1;23121:31;23171:4;23168:1;23161:15;23195:4;23192:1;23185:15;23211:411;23413:2;23395:21;;;23452:2;23432:18;;;23425:30;23491:34;23486:2;23471:18;;23464:62;-1:-1:-1;;;23557:2:1;23542:18;;23535:45;23612:3;23597:19;;23211:411::o;23627:404::-;23829:2;23811:21;;;23868:2;23848:18;;;23841:30;23907:34;23902:2;23887:18;;23880:62;-1:-1:-1;;;23973:2:1;23958:18;;23951:38;24021:3;24006:19;;23627:404::o;24036:465::-;24293:2;24282:9;24275:21;24256:4;24319:56;24371:2;24360:9;24356:18;24348:6;24319:56;:::i;:::-;24423:9;24415:6;24411:22;24406:2;24395:9;24391:18;24384:50;24451:44;24488:6;24480;24451:44;:::i;:::-;24443:52;24036:465;-1:-1:-1;;;;;24036:465:1:o;24506:399::-;24708:2;24690:21;;;24747:2;24727:18;;;24720:30;24786:34;24781:2;24766:18;;24759:62;-1:-1:-1;;;24852:2:1;24837:18;;24830:33;24895:3;24880:19;;24506:399::o;24910:400::-;25112:2;25094:21;;;25151:2;25131:18;;;25124:30;25190:34;25185:2;25170:18;;25163:62;-1:-1:-1;;;25256:2:1;25241:18;;25234:34;25300:3;25285:19;;24910:400::o;25725:812::-;26136:25;26131:3;26124:38;26106:3;26191:6;26185:13;26207:75;26275:6;26270:2;26265:3;26261:12;26254:4;26246:6;26242:17;26207:75;:::i;:::-;-1:-1:-1;;;26341:2:1;26301:16;;;26333:11;;;26326:40;26391:13;;26413:76;26391:13;26475:2;26467:11;;26460:4;26448:17;;26413:76;:::i;:::-;26509:17;26528:2;26505:26;;25725:812;-1:-1:-1;;;;25725:812:1:o;26542:561::-;-1:-1:-1;;;;;26839:15:1;;;26821:34;;26891:15;;26886:2;26871:18;;26864:43;26938:2;26923:18;;26916:34;;;26981:2;26966:18;;26959:34;;;26801:3;27024;27009:19;;27002:32;;;26764:4;;27051:46;;27077:19;;27069:6;27051:46;:::i;:::-;27043:54;26542:561;-1:-1:-1;;;;;;;26542:561:1:o;27108:249::-;27177:6;27230:2;27218:9;27209:7;27205:23;27201:32;27198:52;;;27246:1;27243;27236:12;27198:52;27278:9;27272:16;27297:30;27321:5;27297:30;:::i;27362:179::-;27397:3;27439:1;27421:16;27418:23;27415:120;;;27485:1;27482;27479;27464:23;-1:-1:-1;27522:1:1;27516:8;27511:3;27507:18;27415:120;27362:179;:::o;27546:671::-;27585:3;27627:4;27609:16;27606:26;27603:39;;;27546:671;:::o;27603:39::-;27669:2;27663:9;-1:-1:-1;;27734:16:1;27730:25;;27727:1;27663:9;27706:50;27785:4;27779:11;27809:16;-1:-1:-1;;;;;27915:2:1;27908:4;27900:6;27896:17;27893:25;27888:2;27880:6;27877:14;27874:45;27871:58;;;27922:5;;;;;27546:671;:::o;27871:58::-;27959:6;27953:4;27949:17;27938:28;;27995:3;27989:10;28022:2;28014:6;28011:14;28008:27;;;28028:5;;;;;;27546:671;:::o;28008:27::-;28112:2;28093:16;28087:4;28083:27;28079:36;28072:4;28063:6;28058:3;28054:16;28050:27;28047:69;28044:82;;;28119:5;;;;;;27546:671;:::o;28044:82::-;28135:57;28186:4;28177:6;28169;28165:19;28161:30;28155:4;28135:57;:::i;:::-;-1:-1:-1;28208:3:1;;27546:671;-1:-1:-1;;;;;27546:671:1:o;28643:404::-;28845:2;28827:21;;;28884:2;28864:18;;;28857:30;28923:34;28918:2;28903:18;;28896:62;-1:-1:-1;;;28989:2:1;28974:18;;28967:38;29037:3;29022:19;;28643:404::o;29052:401::-;29254:2;29236:21;;;29293:2;29273:18;;;29266:30;29332:34;29327:2;29312:18;;29305:62;-1:-1:-1;;;29398:2:1;29383:18;;29376:35;29443:3;29428:19;;29052:401::o;29458:406::-;29660:2;29642:21;;;29699:2;29679:18;;;29672:30;29738:34;29733:2;29718:18;;29711:62;-1:-1:-1;;;29804:2:1;29789:18;;29782:40;29854:3;29839:19;;29458:406::o;29869:827::-;-1:-1:-1;;;;;30266:15:1;;;30248:34;;30318:15;;30313:2;30298:18;;30291:43;30228:3;30365:2;30350:18;;30343:31;;;30191:4;;30397:57;;30434:19;;30426:6;30397:57;:::i;:::-;30502:9;30494:6;30490:22;30485:2;30474:9;30470:18;30463:50;30536:44;30573:6;30565;30536:44;:::i;:::-;30522:58;;30629:9;30621:6;30617:22;30611:3;30600:9;30596:19;30589:51;30657:33;30683:6;30675;30657:33;:::i;:::-;30649:41;29869:827;-1:-1:-1;;;;;;;;29869:827:1:o;30701:136::-;30740:3;30768:5;30758:39;;30777:18;;:::i;:::-;-1:-1:-1;;;30813:18:1;;30701:136::o;31612:127::-;31673:10;31668:3;31664:20;31661:1;31654:31;31704:4;31701:1;31694:15;31728:4;31725:1;31718:15
Swarm Source
ipfs://6df3b8858ef3caa895ff43d577843cb397e2dbd6c13023cada0a654f8a378480
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.