Token migration announcement. XPower Odin token contract has migrated to a new address.
Overview
AVAX Balance
AVAX Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 18 from a total of 18 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set URI | 25194366 | 823 days ago | IN | 0 AVAX | 0.00128299 | ||||
Grant Role | 25194310 | 823 days ago | IN | 0 AVAX | 0.00307845 | ||||
Renounce Role | 24172635 | 848 days ago | IN | 0 AVAX | 0.00118604 | ||||
Seal | 24172598 | 848 days ago | IN | 0 AVAX | 0.00074622 | ||||
Grant Role | 24172355 | 848 days ago | IN | 0 AVAX | 0.00307845 | ||||
Renounce Role | 22474230 | 888 days ago | IN | 0 AVAX | 0.00139302 | ||||
Grant Role | 22474228 | 888 days ago | IN | 0 AVAX | 0.00078262 | ||||
Renounce Role | 22474226 | 888 days ago | IN | 0 AVAX | 0.00140262 | ||||
Grant Role | 22474225 | 888 days ago | IN | 0 AVAX | 0.00079222 | ||||
Renounce Role | 22474214 | 888 days ago | IN | 0 AVAX | 0.00113082 | ||||
Grant Role | 22474213 | 888 days ago | IN | 0 AVAX | 0.00252295 | ||||
Renounce Role | 22474211 | 888 days ago | IN | 0 AVAX | 0.00114042 | ||||
Grant Role | 22474210 | 888 days ago | IN | 0 AVAX | 0.00253255 | ||||
Renounce Role | 22474208 | 888 days ago | IN | 0 AVAX | 0.00140262 | ||||
Grant Role | 22474207 | 888 days ago | IN | 0 AVAX | 0.00079222 | ||||
Renounce Role | 22474194 | 888 days ago | IN | 0 AVAX | 0.00114042 | ||||
Grant Role | 22474192 | 888 days ago | IN | 0 AVAX | 0.00253255 | ||||
Transfer Ownersh... | 22473911 | 888 days ago | IN | 0 AVAX | 0.00071722 |
Loading...
Loading
Contract Name:
XPowerOdinNftStaked
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at snowscan.xyz on 2022-11-17 */ // 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 { constructor() { _grantRole(DEFAULT_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); } } abstract contract XPowerSupervised is Supervised { /** role grants right to change treasury's share per mint */ bytes32 public constant TREASURY_SHARE_ROLE = keccak256("TREASURY_SHARE_ROLE"); bytes32 public constant TREASURY_SHARE_ADMIN_ROLE = keccak256("TREASURY_SHARE_ADMIN_ROLE"); /** role grants right to change mining-difficulty parametrization */ bytes32 public constant MINING_DIFFICULTY_ROLE = keccak256("MINING_DIFFICULTY_ROLE"); bytes32 public constant MINING_DIFFICULTY_ADMIN_ROLE = keccak256("MINING_DIFFICULTY_ADMIN_ROLE"); constructor() { _setRoleAdmin(TREASURY_SHARE_ROLE, TREASURY_SHARE_ADMIN_ROLE); _grantRole(TREASURY_SHARE_ADMIN_ROLE, msg.sender); _setRoleAdmin(MINING_DIFFICULTY_ROLE, MINING_DIFFICULTY_ADMIN_ROLE); _grantRole(MINING_DIFFICULTY_ADMIN_ROLE, msg.sender); } } abstract contract MoeTreasurySupervised is Supervised { /** role grants right to change APR parametrization */ bytes32 public constant APR_ROLE = keccak256("APR_ROLE"); bytes32 public constant APR_ADMIN_ROLE = keccak256("APR_ADMIN_ROLE"); /** role grants right to change APR bonus parametrization */ bytes32 public constant APR_BONUS_ROLE = keccak256("APR_BONUS_ROLE"); bytes32 public constant APR_BONUS_ADMIN_ROLE = keccak256("APR_BONUS_ADMIN_ROLE"); constructor() { _setRoleAdmin(APR_ROLE, APR_ADMIN_ROLE); _grantRole(APR_ADMIN_ROLE, msg.sender); _setRoleAdmin(APR_BONUS_ROLE, APR_BONUS_ADMIN_ROLE); _grantRole(APR_BONUS_ADMIN_ROLE, msg.sender); } } abstract contract MoeMigratableSupervised is Supervised { /** 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"); constructor() { _setRoleAdmin(MOE_SEAL_ROLE, MOE_SEAL_ADMIN_ROLE); _grantRole(MOE_SEAL_ADMIN_ROLE, msg.sender); } } abstract contract SovMigratableSupervised is Supervised { /** 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"); constructor() { _setRoleAdmin(SOV_SEAL_ROLE, SOV_SEAL_ADMIN_ROLE); _grantRole(SOV_SEAL_ADMIN_ROLE, msg.sender); } } abstract contract NftMigratableSupervised is Supervised { /** 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"); constructor() { _setRoleAdmin(NFT_SEAL_ROLE, NFT_SEAL_ADMIN_ROLE); _grantRole(NFT_SEAL_ADMIN_ROLE, msg.sender); } } abstract contract URIMalleableSupervised is Supervised { /** role grants right to change metadata URIs */ bytes32 public constant URI_DATA_ROLE = keccak256("URI_DATA_ROLE"); bytes32 public constant URI_DATA_ADMIN_ROLE = keccak256("URI_DATA_ADMIN_ROLE"); constructor() { _setRoleAdmin(URI_DATA_ROLE, URI_DATA_ADMIN_ROLE); _grantRole(URI_DATA_ADMIN_ROLE, msg.sender); } } // 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, URIMalleableSupervised { /** set a new URI for all token types */ function setURI(string memory newuri) public onlyRole(URI_DATA_ROLE) { _setURI(newuri); } /** 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/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, NftMigratableSupervised { /** 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 { /** contract name */ string public name; /** contract symbol */ string public symbol; /** 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( string memory nftName, string memory nftSymbol, string memory nftUri, address nftBase, uint256 deadlineIn ) // ERC1155 constructor: meta-data URI ERC1155(nftUri) // MigratableNft: old contract, rel. deadline [seconds] NftMigratable(nftBase, deadlineIn) { name = nftName; symbol = nftSymbol; } /** @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, URIMalleable, NftMigratable) 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 pptName NFT name */ /** @param pptSymbol NFT symbol */ /** @param pptUri meta-data URI */ /** @param pptBase address of old contract */ /** @param deadlineIn seconds to end-of-migration */ constructor( string memory pptName, string memory pptSymbol, string memory pptUri, address pptBase, uint256 deadlineIn ) XPowerNftBase(pptName, pptSymbol, pptUri, pptBase, 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 { constructor( string memory pptUri, address pptBase, uint256 deadlineIn ) XPowerNftStaked("XPower Odin", "ODINPPT", pptUri, pptBase, deadlineIn) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"pptUri","type":"string"},{"internalType":"address","name":"pptBase","type":"address"},{"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":"DEFAULT_ADMIN_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":"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":"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":"TERA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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
60806040526008805460ff191660011790553480156200001e57600080fd5b5060405162003ead38038062003ead833981016040819052620000419162000411565b6040518060400160405280600b81526020016a2c2837bbb2b91027b234b760a91b8152506040518060400160405280600781526020016613d1125394141560ca1b8152508484848484848484818184620000a181620001ce60201b60201c565b50620000af600033620001e0565b620000ea7f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6960008051602062003e6d83398151915262000223565b6200010560008051602062003e6d83398151915233620001e0565b620001407fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5960008051602062003e8d83398151915262000223565b6200015b60008051602062003e8d83398151915233620001e0565b62000167814262000502565b60075550600680546001600160a01b0319166001600160a01b03929092169190911790556200019d620001973390565b6200026e565b6009620001ab8682620005b2565b50600a620001ba8582620005b2565b50505050505050505050505050506200067e565b6002620001dc8282620005b2565b5050565b620001f78282620002c860201b620013271760201c565b60008281526005602090815260409091206200021e918390620013ad6200036c821b17901c565b505050565b600082815260046020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff16620001dc5760008281526004602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003283390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000383836001600160a01b0384166200038c565b90505b92915050565b6000818152600183016020526040812054620003d55750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000386565b50600062000386565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200040c57600080fd5b919050565b6000806000606084860312156200042757600080fd5b83516001600160401b03808211156200043f57600080fd5b818601915086601f8301126200045457600080fd5b815181811115620004695762000469620003de565b604051601f8201601f19908116603f01168101908382118183101715620004945762000494620003de565b81604052828152602093508984848701011115620004b157600080fd5b600091505b82821015620004d55784820184015181830185015290830190620004b6565b6000848483010152809750505050620004f0818701620003f4565b93505050604084015190509250925092565b808201808211156200038657634e487b7160e01b600052601160045260246000fd5b600181811c908216806200053957607f821691505b6020821081036200055a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021e57600081815260208120601f850160051c81016020861015620005895750805b601f850160051c820191505b81811015620005aa5782815560010162000595565b505050505050565b81516001600160401b03811115620005ce57620005ce620003de565b620005e681620005df845462000524565b8462000560565b602080601f8311600181146200061e5760008415620006055750858301515b600019600386901b1c1916600185901b178555620005aa565b600085815260208120601f198616915b828110156200064f578886015182559484019460019091019084016200062e565b50858210156200066e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6137df806200068e6000396000f3fe608060405234801561001057600080fd5b506004361061030b5760003560e01c80638da5cb5b1161019d578063cb431e76116100e9578063df435be8116100a2578063f242432a1161007c578063f242432a146106f9578063f2fde38b1461070c578063f32697161461071f578063f5298aca1461072757600080fd5b8063df435be81461068e578063e985e9c514610696578063eb497214146106d257600080fd5b8063cb431e761461060a578063cd9b869a14610612578063cde8289514610639578063d547741f14610660578063d5e5e06214610673578063d81d0a151461067b57600080fd5b8063a217fddf11610156578063bd85b03911610130578063bd85b039146105bc578063c446d550146105dc578063c7b8b19d146105e4578063ca15c873146105f757600080fd5b8063a217fddf1461058e578063a22cb46514610596578063a62c7799146105a957600080fd5b80638da5cb5b1461050f5780639010d07c1461053957806391d148541461054c57806394c209a51461055f57806395d89b41146105865780639d8e21771461058e57600080fd5b806336568abe1161025c5780635925e211116102155780636c749c26116101ef5780636c749c26146104e45780636d5e3032146104ec578063715018a6146104ff57806389c3cbae1461050757600080fd5b80635925e211146104b65780636252e4e7146104be5780636b20c454146104d157600080fd5b806336568abe146104335780633e54bacb146104465780633fb27b85146104595780634e1273f4146104615780634f558e791461048157806355095bd2146104a357600080fd5b80631c617230116102c95780632eb2c2d6116102a35780632eb2c2d6146103f25780632f2ff15d146104055780632ffa2d7614610418578063361ce97e1461042b57600080fd5b80631c617230146103a9578063248a9ca3146103bc57806329cd827d146103df57600080fd5b8062fdd58e1461031057806301ffc9a71461033657806302fe53051461035957806306fdde031461036e5780630e89341c14610383578063156e29f614610396575b600080fd5b61032361031e3660046128c0565b61073a565b6040519081526020015b60405180910390f35b610349610344366004612900565b6107d3565b604051901515815260200161032d565b61036c6103673660046129bc565b6107de565b005b610376610815565b60405161032d9190612a5c565b610376610391366004612a6f565b6108a3565b61036c6103a4366004612a88565b610937565b6103236103b7366004612a6f565b61096a565b6103236103ca366004612a6f565b60009081526004602052604090206001015490565b6103236103ed366004612a6f565b6109d1565b61036c610400366004612b6f565b610a26565b61036c610413366004612c18565b610a50565b61036c610426366004612c44565b610a75565b610323600381565b61036c610441366004612c18565b610bd9565b61036c610454366004612ca7565b610c53565b61036c610d84565b61047461046f366004612cc9565b610dbb565b60405161032d9190612db7565b61034961048f366004612a6f565b600090815260036020526040902054151590565b6103236104b1366004612a6f565b610ee4565b610323601581565b6103236104cc366004612ca7565b610f15565b61036c6104df366004612dca565b610f9d565b610323601281565b6103236104fa366004612a6f565b610fbb565b61036c611013565b610323600c81565b60085461010090046001600160a01b03165b6040516001600160a01b03909116815260200161032d565b610521610547366004612ca7565b611027565b61034961055a366004612c18565b61103f565b6103237fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5981565b61037661106a565b610323600081565b61036c6105a4366004612e3d565b611077565b6103236105b73660046128c0565b611082565b6103236105ca366004612a6f565b60009081526003602052604090205490565b610323600981565b6104746105f2366004612e79565b61110b565b610323610605366004612a6f565b6111b2565b610323600681565b6103237f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6981565b6103237f18279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328081565b61036c61066e366004612c18565b6111c9565b610323601881565b61036c610689366004612dca565b6111ee565b610323600f81565b6103496106a4366004612eb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6103237f21b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151981565b61036c610707366004612edf565b61121c565b61036c61071a366004612f43565b61123f565b6103236112b8565b61036c610735366004612a88565b611309565b60006001600160a01b0383166107aa5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006107cd826113c2565b7f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac69610808816113cd565b610811826113d7565b5050565b6009805461082290612f5e565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90612f5e565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b505050505081565b6060600280546108b290612f5e565b80601f01602080910402602001604051908101604052809291908181526020018280546108de90612f5e565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b50505050509050919050565b61093f6113e3565b61094a838383611443565b610965838383604051806020016040528060008152506114d8565b505050565b6000818152600d6020908152604080832054600e909252822054808211156109c757600084815260036020526040812054906109a68385612fae565b9050806109b34284612fc1565b6109bd9190612fae565b9695505050505050565b5060009392505050565b60006109de600383612fee565b156109fb5760405162461bcd60e51b81526004016107a190613002565b60648210610a1b5760405162461bcd60e51b81526004016107a19061302d565b6107cd82600a613138565b610a318584846115c1565b610a3c848484611633565b610a49858585858561169f565b5050505050565b600082815260046020526040902060010154610a6b816113cd565b61096583836116e4565b60085460ff16610aba5760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016107a1565b6007544290811115610b005760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016107a1565b600654604051631ac8311560e21b81526001600160a01b0390911690636b20c45490610b3490339087908790600401613144565b600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505060005b8251811015610bbd576000838281518110610b8657610b8661317a565b602002602001015111610bab5760405162461bcd60e51b81526004016107a190613190565b80610bb5816131bd565b915050610b69565b5061096533848460405180602001604052806000815250611706565b6001600160a01b0381163314610c495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107a1565b6108118282611860565b60085460ff16610c985760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016107a1565b6007544290811115610cde5760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016107a1565b600654604051637a94c56560e11b815233600482015260248101859052604481018490526001600160a01b039091169063f5298aca90606401600060405180830381600087803b158015610d3157600080fd5b505af1158015610d45573d6000803e3d6000fd5b5050505060008211610d695760405162461bcd60e51b81526004016107a190613190565b610965338484604051806020016040528060008152506114d8565b7fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a59610dae816113cd565b506008805460ff19169055565b60608151835114610e205760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016107a1565b600083516001600160401b03811115610e3b57610e3b61291d565b604051908082528060200260200182016040528015610e64578160200160208202803683370190505b50905060005b8451811015610edc57610eaf858281518110610e8857610e8861317a565b6020026020010151858381518110610ea257610ea261317a565b602002602001015161073a565b828281518110610ec157610ec161317a565b6020908102919091010152610ed5816131bd565b9050610e6a565b509392505050565b600080610ef26064846131d6565b90506107b281116107cd5760405162461bcd60e51b81526004016107a1906131ea565b6000610f22600383612fee565b15610f3f5760405162461bcd60e51b81526004016107a190613002565b60648210610f5f5760405162461bcd60e51b81526004016107a19061302d565b6107b28311610f805760405162461bcd60e51b81526004016107a1906131ea565b81610f8c846064612fc1565b610f969190613210565b9392505050565b610fa56113e3565b610fb08383836115c1565b610965838383611882565b600080610fc9606484612fee565b9050610fd6600382612fee565b15610ff35760405162461bcd60e51b81526004016107a190613002565b606481106107cd5760405162461bcd60e51b81526004016107a19061302d565b61101b6113e3565b6110256000611a1e565b565b6000828152600560205260408120610f969083611a78565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600a805461082290612f5e565b610811338383611a84565b6001600160a01b0382166000818152600b60209081526040808320858452825280832054938352600c8252808320858452909152812054909190808211156111005760006110d0868661073a565b905060006110de8385612fae565b9050806110eb4284612fc1565b6110f59190612fae565b9450505050506107cd565b506000949350505050565b6060600082516001600160401b038111156111285761112861291d565b604051908082528060200260200182016040528015611151578160200160208202803683370190505b50905060005b8351811015610edc57611183858583815181106111765761117661317a565b6020026020010151610f15565b8282815181106111955761119561317a565b6020908102919091010152806111aa816131bd565b915050611157565b60008181526005602052604081206107cd90611b64565b6000828152600460205260409020600101546111e4816113cd565b6109658383611860565b6111f66113e3565b611201838383611633565b61096583838360405180602001604052806000815250611706565b611227858484611b6e565b611232848484611443565b610a498585858585611bf9565b6112476113e3565b6001600160a01b0381166112ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a1565b6112b581611a1e565b50565b60008063bc1913806112cb426064612fc1565b6112d591906131d6565b6112e1906107b2613210565b90506107b281116113045760405162461bcd60e51b81526004016107a1906131ea565b919050565b6113116113e3565b61131c838383611b6e565b610965838383611c3e565b611331828261103f565b6108115760008281526004602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113693390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f96836001600160a01b038416611d56565b60006107cd82611da5565b6112b58133611db0565b60026108118282613269565b6008546001600160a01b036101009091041633146110255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a1565b600081116114635760405162461bcd60e51b81526004016107a190613190565b61146d4282612fc1565b6001600160a01b0384166000908152600b60209081526040808320868452909152812080549091906114a0908490613210565b909155506114b090504282612fc1565b6000838152600d6020526040812080549091906114ce908490613210565b9091555050505050565b6001600160a01b0384166114fe5760405162461bcd60e51b81526004016107a190613328565b33600061150a85611e14565b9050600061151785611e14565b905061152883600089858589611e5f565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290611558908490613210565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b883600089898989611e75565b50505050505050565b80518251146115d2576115d2613369565b60005b825181101561162d5761161b848483815181106115f4576115f461317a565b602002602001015184848151811061160e5761160e61317a565b6020026020010151611b6e565b80611625816131bd565b9150506115d5565b50505050565b805182511461164457611644613369565b60005b825181101561162d5761168d848483815181106116665761166661317a565b60200260200101518484815181106116805761168061317a565b6020026020010151611443565b80611697816131bd565b915050611647565b6001600160a01b0385163314806116bb57506116bb85336106a4565b6116d75760405162461bcd60e51b81526004016107a19061337f565b610a498585858585611fd0565b6116ee8282611327565b600082815260056020526040902061096590826113ad565b6001600160a01b03841661172c5760405162461bcd60e51b81526004016107a190613328565b815183511461174d5760405162461bcd60e51b81526004016107a1906133ce565b3361175d81600087878787611e5f565b60005b84518110156117f85783818151811061177b5761177b61317a565b60200260200101516000808784815181106117985761179861317a565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546117e09190613210565b909155508190506117f0816131bd565b915050611760565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611849929190613416565b60405180910390a4610a498160008787878761216e565b61186a8282612229565b60008281526005602052604090206109659082612290565b6001600160a01b0383166118a85760405162461bcd60e51b81526004016107a190613444565b80518251146118c95760405162461bcd60e51b81526004016107a1906133ce565b60003390506118ec81856000868660405180602001604052806000815250611e5f565b60005b83518110156119b157600084828151811061190c5761190c61317a565b60200260200101519050600084838151811061192a5761192a61317a565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561197a5760405162461bcd60e51b81526004016107a190613487565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806119a9816131bd565b9150506118ef565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611a02929190613416565b60405180910390a460408051602081019091526000905261162d565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610f9683836122a5565b816001600160a01b0316836001600160a01b031603611af75760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016107a1565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006107cd825490565b60008111611b8e5760405162461bcd60e51b81526004016107a190613190565b611b984282612fc1565b6001600160a01b0384166000908152600c6020908152604080832086845290915281208054909190611bcb908490613210565b90915550611bdb90504282612fc1565b6000838152600e6020526040812080549091906114ce908490613210565b6001600160a01b038516331480611c155750611c1585336106a4565b611c315760405162461bcd60e51b81526004016107a19061337f565b610a4985858585856122cf565b6001600160a01b038316611c645760405162461bcd60e51b81526004016107a190613444565b336000611c7084611e14565b90506000611c7d84611e14565b9050611c9d83876000858560405180602001604052806000815250611e5f565b6000858152602081815260408083206001600160a01b038a16845290915290205484811015611cde5760405162461bcd60e51b81526004016107a190613487565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526115b8565b6000818152600183016020526040812054611d9d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107cd565b5060006107cd565b60006107cd82612407565b611dba828261103f565b61081157611dd2816001600160a01b03166014612412565b611ddd836020612412565b604051602001611dee9291906134cb565b60408051601f198184030181529082905262461bcd60e51b82526107a191600401612a5c565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e4e57611e4e61317a565b602090810291909101015292915050565b611e6d8686868686866125ad565b505050505050565b6001600160a01b0384163b15611e6d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611eb99089908990889088908890600401613540565b6020604051808303816000875af1925050508015611ef4575060408051601f3d908101601f19168201909252611ef191810190613585565b60015b611fa057611f006135a2565b806308c379a003611f395750611f146135be565b80611f1f5750611f3b565b8060405162461bcd60e51b81526004016107a19190612a5c565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016107a1565b6001600160e01b0319811663f23a6e6160e01b146115b85760405162461bcd60e51b81526004016107a190613647565b8151835114611ff15760405162461bcd60e51b81526004016107a1906133ce565b6001600160a01b0384166120175760405162461bcd60e51b81526004016107a19061368f565b33612026818787878787611e5f565b60005b845181101561210c5760008582815181106120465761204661317a565b6020026020010151905060008583815181106120645761206461317a565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156120b45760405162461bcd60e51b81526004016107a1906136d4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906120f1908490613210565b9250508190555050505080612105906131bd565b9050612029565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161215c929190613416565b60405180910390a4611e6d8187878787875b6001600160a01b0384163b15611e6d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906121b2908990899088908890889060040161371e565b6020604051808303816000875af19250505080156121ed575060408051601f3d908101601f191682019092526121ea91810190613585565b60015b6121f957611f006135a2565b6001600160e01b0319811663bc197c8160e01b146115b85760405162461bcd60e51b81526004016107a190613647565b612233828261103f565b156108115760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f96836001600160a01b038416612726565b60008260000182815481106122bc576122bc61317a565b9060005260206000200154905092915050565b6001600160a01b0384166122f55760405162461bcd60e51b81526004016107a19061368f565b33600061230185611e14565b9050600061230e85611e14565b905061231e838989858589611e5f565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561235f5760405162461bcd60e51b81526004016107a1906136d4565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061239c908490613210565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46123fc848a8a8a8a8a611e75565b505050505050505050565b60006107cd82612819565b60606000612421836002612fc1565b61242c906002613210565b6001600160401b038111156124435761244361291d565b6040519080825280601f01601f19166020018201604052801561246d576020820181803683370190505b509050600360fc1b816000815181106124885761248861317a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106124b7576124b761317a565b60200101906001600160f81b031916908160001a90535060006124db846002612fc1565b6124e6906001613210565b90505b600181111561255e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061251a5761251a61317a565b1a60f81b8282815181106125305761253061317a565b60200101906001600160f81b031916908160001a90535060049490941c936125578161377c565b90506124e9565b508315610f965760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107a1565b6001600160a01b0385166126345760005b8351811015612632578281815181106125d9576125d961317a565b6020026020010151600360008684815181106125f7576125f761317a565b60200260200101518152602001908152602001600020600082825461261c9190613210565b9091555061262b9050816131bd565b90506125be565b505b6001600160a01b038416611e6d5760005b83518110156115b85760008482815181106126625761266261317a565b6020026020010151905060008483815181106126805761268061317a565b60200260200101519050600060036000848152602001908152602001600020549050818110156127035760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b60648201526084016107a1565b6000928352600360205260409092209103905561271f816131bd565b9050612645565b6000818152600183016020526040812054801561280f57600061274a600183612fae565b855490915060009061275e90600190612fae565b90508181146127c357600086600001828154811061277e5761277e61317a565b90600052602060002001549050808760000184815481106127a1576127a161317a565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806127d4576127d4613793565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107cd565b60009150506107cd565b60006001600160e01b03198216635a05180f60e01b14806107cd57506107cd8260006001600160e01b03198216637965db0b60e01b14806107cd57506107cd8260006001600160e01b03198216636cdb3d1360e11b148061288a57506001600160e01b031982166303a24d0760e21b145b806107cd57506301ffc9a760e01b6001600160e01b03198316146107cd565b80356001600160a01b038116811461130457600080fd5b600080604083850312156128d357600080fd5b6128dc836128a9565b946020939093013593505050565b6001600160e01b0319811681146112b557600080fd5b60006020828403121561291257600080fd5b8135610f96816128ea565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156129585761295861291d565b6040525050565b60006001600160401b038311156129785761297861291d565b60405161298f601f8501601f191660200182612933565b8091508381528484840111156129a457600080fd5b83836020830137600060208583010152509392505050565b6000602082840312156129ce57600080fd5b81356001600160401b038111156129e457600080fd5b8201601f810184136129f557600080fd5b612a048482356020840161295f565b949350505050565b60005b83811015612a27578181015183820152602001612a0f565b50506000910152565b60008151808452612a48816020860160208601612a0c565b601f01601f19169290920160200192915050565b602081526000610f966020830184612a30565b600060208284031215612a8157600080fd5b5035919050565b600080600060608486031215612a9d57600080fd5b612aa6846128a9565b95602085013595506040909401359392505050565b60006001600160401b03821115612ad457612ad461291d565b5060051b60200190565b600082601f830112612aef57600080fd5b81356020612afc82612abb565b604051612b098282612933565b83815260059390931b8501820192828101915086841115612b2957600080fd5b8286015b84811015612b445780358352918301918301612b2d565b509695505050505050565b600082601f830112612b6057600080fd5b610f968383356020850161295f565b600080600080600060a08688031215612b8757600080fd5b612b90866128a9565b9450612b9e602087016128a9565b935060408601356001600160401b0380821115612bba57600080fd5b612bc689838a01612ade565b94506060880135915080821115612bdc57600080fd5b612be889838a01612ade565b93506080880135915080821115612bfe57600080fd5b50612c0b88828901612b4f565b9150509295509295909350565b60008060408385031215612c2b57600080fd5b82359150612c3b602084016128a9565b90509250929050565b60008060408385031215612c5757600080fd5b82356001600160401b0380821115612c6e57600080fd5b612c7a86838701612ade565b93506020850135915080821115612c9057600080fd5b50612c9d85828601612ade565b9150509250929050565b60008060408385031215612cba57600080fd5b50508035926020909101359150565b60008060408385031215612cdc57600080fd5b82356001600160401b0380821115612cf357600080fd5b818501915085601f830112612d0757600080fd5b81356020612d1482612abb565b604051612d218282612933565b83815260059390931b8501820192828101915089841115612d4157600080fd5b948201945b83861015612d6657612d57866128a9565b82529482019490820190612d46565b96505086013592505080821115612c9057600080fd5b600081518084526020808501945080840160005b83811015612dac57815187529582019590820190600101612d90565b509495945050505050565b602081526000610f966020830184612d7c565b600080600060608486031215612ddf57600080fd5b612de8846128a9565b925060208401356001600160401b0380821115612e0457600080fd5b612e1087838801612ade565b93506040860135915080821115612e2657600080fd5b50612e3386828701612ade565b9150509250925092565b60008060408385031215612e5057600080fd5b612e59836128a9565b915060208301358015158114612e6e57600080fd5b809150509250929050565b60008060408385031215612e8c57600080fd5b8235915060208301356001600160401b03811115612ea957600080fd5b612c9d85828601612ade565b60008060408385031215612ec857600080fd5b612ed1836128a9565b9150612c3b602084016128a9565b600080600080600060a08688031215612ef757600080fd5b612f00866128a9565b9450612f0e602087016128a9565b9350604086013592506060860135915060808601356001600160401b03811115612f3757600080fd5b612c0b88828901612b4f565b600060208284031215612f5557600080fd5b610f96826128a9565b600181811c90821680612f7257607f821691505b602082108103612f9257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156107cd576107cd612f98565b80820281158282048414176107cd576107cd612f98565b634e487b7160e01b600052601260045260246000fd5b600082612ffd57612ffd612fd8565b500690565b6020808252601190820152701b9bdb8b5d195c9b985c9e481b195d995b607a1b604082015260600190565b6020808252600d908201526c1a5b9d985b1a59081b195d995b609a1b604082015260600190565b600181815b8085111561308f57816000190482111561307557613075612f98565b8085161561308257918102915b93841c9390800290613059565b509250929050565b6000826130a6575060016107cd565b816130b3575060006107cd565b81600181146130c957600281146130d3576130ef565b60019150506107cd565b60ff8411156130e4576130e4612f98565b50506001821b6107cd565b5060208310610133831016604e8410600b8410161715613112575081810a6107cd565b61311c8383613054565b806000190482111561313057613130612f98565b029392505050565b6000610f968383613097565b6001600160a01b038416815260606020820181905260009061316890830185612d7c565b82810360408401526109bd8185612d7c565b634e487b7160e01b600052603260045260246000fd5b6020808252601390820152721b9bdb8b5c1bdcda5d1a5d9948185b5bdd5b9d606a1b604082015260600190565b6000600182016131cf576131cf612f98565b5060010190565b6000826131e5576131e5612fd8565b500490565b6020808252600c908201526b34b73b30b634b2103cb2b0b960a11b604082015260600190565b808201808211156107cd576107cd612f98565b601f82111561096557600081815260208120601f850160051c8101602086101561324a5750805b601f850160051c820191505b81811015611e6d57828155600101613256565b81516001600160401b038111156132825761328261291d565b613296816132908454612f5e565b84613223565b602080601f8311600181146132cb57600084156132b35750858301515b600019600386901b1c1916600185901b178555611e6d565b600085815260208120601f198616915b828110156132fa578886015182559484019460019091019084016132db565b50858210156133185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b634e487b7160e01b600052600160045260246000fd5b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6040815260006134296040830185612d7c565b828103602084015261343b8185612d7c565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613503816017850160208801612a0c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613534816028840160208801612a0c565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061357a90830184612a30565b979650505050505050565b60006020828403121561359757600080fd5b8151610f96816128ea565b600060033d11156135bb5760046000803e5060005160e01c5b90565b600060443d10156135cc5790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156135fb57505050505090565b82850191508151818111156136135750505050505090565b843d870101602082850101111561362d5750505050505090565b61363c60208286010187612933565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061374a90830186612d7c565b828103606084015261375c8186612d7c565b905082810360808401526137708185612a30565b98975050505050505050565b60008161378b5761378b612f98565b506000190190565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220c3868183c1aaf5424f6c8293db57b1987dde4eb6799258f07407b6b4231c440164736f6c6343000811003321b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151918279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002f49a05b709a42451ca6f702b6f5d420788b002b0000000000000000000000000000000000000000000000000000000007861f80000000000000000000000000000000000000000000000000000000000000006b68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f697066732f516d52585475714267586431754366506b67414e4139683864515148517873346d73416a35336d6d7956714651712f707074732f333230783432372f6f64696e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061030b5760003560e01c80638da5cb5b1161019d578063cb431e76116100e9578063df435be8116100a2578063f242432a1161007c578063f242432a146106f9578063f2fde38b1461070c578063f32697161461071f578063f5298aca1461072757600080fd5b8063df435be81461068e578063e985e9c514610696578063eb497214146106d257600080fd5b8063cb431e761461060a578063cd9b869a14610612578063cde8289514610639578063d547741f14610660578063d5e5e06214610673578063d81d0a151461067b57600080fd5b8063a217fddf11610156578063bd85b03911610130578063bd85b039146105bc578063c446d550146105dc578063c7b8b19d146105e4578063ca15c873146105f757600080fd5b8063a217fddf1461058e578063a22cb46514610596578063a62c7799146105a957600080fd5b80638da5cb5b1461050f5780639010d07c1461053957806391d148541461054c57806394c209a51461055f57806395d89b41146105865780639d8e21771461058e57600080fd5b806336568abe1161025c5780635925e211116102155780636c749c26116101ef5780636c749c26146104e45780636d5e3032146104ec578063715018a6146104ff57806389c3cbae1461050757600080fd5b80635925e211146104b65780636252e4e7146104be5780636b20c454146104d157600080fd5b806336568abe146104335780633e54bacb146104465780633fb27b85146104595780634e1273f4146104615780634f558e791461048157806355095bd2146104a357600080fd5b80631c617230116102c95780632eb2c2d6116102a35780632eb2c2d6146103f25780632f2ff15d146104055780632ffa2d7614610418578063361ce97e1461042b57600080fd5b80631c617230146103a9578063248a9ca3146103bc57806329cd827d146103df57600080fd5b8062fdd58e1461031057806301ffc9a71461033657806302fe53051461035957806306fdde031461036e5780630e89341c14610383578063156e29f614610396575b600080fd5b61032361031e3660046128c0565b61073a565b6040519081526020015b60405180910390f35b610349610344366004612900565b6107d3565b604051901515815260200161032d565b61036c6103673660046129bc565b6107de565b005b610376610815565b60405161032d9190612a5c565b610376610391366004612a6f565b6108a3565b61036c6103a4366004612a88565b610937565b6103236103b7366004612a6f565b61096a565b6103236103ca366004612a6f565b60009081526004602052604090206001015490565b6103236103ed366004612a6f565b6109d1565b61036c610400366004612b6f565b610a26565b61036c610413366004612c18565b610a50565b61036c610426366004612c44565b610a75565b610323600381565b61036c610441366004612c18565b610bd9565b61036c610454366004612ca7565b610c53565b61036c610d84565b61047461046f366004612cc9565b610dbb565b60405161032d9190612db7565b61034961048f366004612a6f565b600090815260036020526040902054151590565b6103236104b1366004612a6f565b610ee4565b610323601581565b6103236104cc366004612ca7565b610f15565b61036c6104df366004612dca565b610f9d565b610323601281565b6103236104fa366004612a6f565b610fbb565b61036c611013565b610323600c81565b60085461010090046001600160a01b03165b6040516001600160a01b03909116815260200161032d565b610521610547366004612ca7565b611027565b61034961055a366004612c18565b61103f565b6103237fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5981565b61037661106a565b610323600081565b61036c6105a4366004612e3d565b611077565b6103236105b73660046128c0565b611082565b6103236105ca366004612a6f565b60009081526003602052604090205490565b610323600981565b6104746105f2366004612e79565b61110b565b610323610605366004612a6f565b6111b2565b610323600681565b6103237f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6981565b6103237f18279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328081565b61036c61066e366004612c18565b6111c9565b610323601881565b61036c610689366004612dca565b6111ee565b610323600f81565b6103496106a4366004612eb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6103237f21b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151981565b61036c610707366004612edf565b61121c565b61036c61071a366004612f43565b61123f565b6103236112b8565b61036c610735366004612a88565b611309565b60006001600160a01b0383166107aa5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006107cd826113c2565b7f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac69610808816113cd565b610811826113d7565b5050565b6009805461082290612f5e565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90612f5e565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b505050505081565b6060600280546108b290612f5e565b80601f01602080910402602001604051908101604052809291908181526020018280546108de90612f5e565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b50505050509050919050565b61093f6113e3565b61094a838383611443565b610965838383604051806020016040528060008152506114d8565b505050565b6000818152600d6020908152604080832054600e909252822054808211156109c757600084815260036020526040812054906109a68385612fae565b9050806109b34284612fc1565b6109bd9190612fae565b9695505050505050565b5060009392505050565b60006109de600383612fee565b156109fb5760405162461bcd60e51b81526004016107a190613002565b60648210610a1b5760405162461bcd60e51b81526004016107a19061302d565b6107cd82600a613138565b610a318584846115c1565b610a3c848484611633565b610a49858585858561169f565b5050505050565b600082815260046020526040902060010154610a6b816113cd565b61096583836116e4565b60085460ff16610aba5760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016107a1565b6007544290811115610b005760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016107a1565b600654604051631ac8311560e21b81526001600160a01b0390911690636b20c45490610b3490339087908790600401613144565b600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505060005b8251811015610bbd576000838281518110610b8657610b8661317a565b602002602001015111610bab5760405162461bcd60e51b81526004016107a190613190565b80610bb5816131bd565b915050610b69565b5061096533848460405180602001604052806000815250611706565b6001600160a01b0381163314610c495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107a1565b6108118282611860565b60085460ff16610c985760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016107a1565b6007544290811115610cde5760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016107a1565b600654604051637a94c56560e11b815233600482015260248101859052604481018490526001600160a01b039091169063f5298aca90606401600060405180830381600087803b158015610d3157600080fd5b505af1158015610d45573d6000803e3d6000fd5b5050505060008211610d695760405162461bcd60e51b81526004016107a190613190565b610965338484604051806020016040528060008152506114d8565b7fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a59610dae816113cd565b506008805460ff19169055565b60608151835114610e205760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016107a1565b600083516001600160401b03811115610e3b57610e3b61291d565b604051908082528060200260200182016040528015610e64578160200160208202803683370190505b50905060005b8451811015610edc57610eaf858281518110610e8857610e8861317a565b6020026020010151858381518110610ea257610ea261317a565b602002602001015161073a565b828281518110610ec157610ec161317a565b6020908102919091010152610ed5816131bd565b9050610e6a565b509392505050565b600080610ef26064846131d6565b90506107b281116107cd5760405162461bcd60e51b81526004016107a1906131ea565b6000610f22600383612fee565b15610f3f5760405162461bcd60e51b81526004016107a190613002565b60648210610f5f5760405162461bcd60e51b81526004016107a19061302d565b6107b28311610f805760405162461bcd60e51b81526004016107a1906131ea565b81610f8c846064612fc1565b610f969190613210565b9392505050565b610fa56113e3565b610fb08383836115c1565b610965838383611882565b600080610fc9606484612fee565b9050610fd6600382612fee565b15610ff35760405162461bcd60e51b81526004016107a190613002565b606481106107cd5760405162461bcd60e51b81526004016107a19061302d565b61101b6113e3565b6110256000611a1e565b565b6000828152600560205260408120610f969083611a78565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600a805461082290612f5e565b610811338383611a84565b6001600160a01b0382166000818152600b60209081526040808320858452825280832054938352600c8252808320858452909152812054909190808211156111005760006110d0868661073a565b905060006110de8385612fae565b9050806110eb4284612fc1565b6110f59190612fae565b9450505050506107cd565b506000949350505050565b6060600082516001600160401b038111156111285761112861291d565b604051908082528060200260200182016040528015611151578160200160208202803683370190505b50905060005b8351811015610edc57611183858583815181106111765761117661317a565b6020026020010151610f15565b8282815181106111955761119561317a565b6020908102919091010152806111aa816131bd565b915050611157565b60008181526005602052604081206107cd90611b64565b6000828152600460205260409020600101546111e4816113cd565b6109658383611860565b6111f66113e3565b611201838383611633565b61096583838360405180602001604052806000815250611706565b611227858484611b6e565b611232848484611443565b610a498585858585611bf9565b6112476113e3565b6001600160a01b0381166112ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a1565b6112b581611a1e565b50565b60008063bc1913806112cb426064612fc1565b6112d591906131d6565b6112e1906107b2613210565b90506107b281116113045760405162461bcd60e51b81526004016107a1906131ea565b919050565b6113116113e3565b61131c838383611b6e565b610965838383611c3e565b611331828261103f565b6108115760008281526004602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113693390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f96836001600160a01b038416611d56565b60006107cd82611da5565b6112b58133611db0565b60026108118282613269565b6008546001600160a01b036101009091041633146110255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a1565b600081116114635760405162461bcd60e51b81526004016107a190613190565b61146d4282612fc1565b6001600160a01b0384166000908152600b60209081526040808320868452909152812080549091906114a0908490613210565b909155506114b090504282612fc1565b6000838152600d6020526040812080549091906114ce908490613210565b9091555050505050565b6001600160a01b0384166114fe5760405162461bcd60e51b81526004016107a190613328565b33600061150a85611e14565b9050600061151785611e14565b905061152883600089858589611e5f565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290611558908490613210565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b883600089898989611e75565b50505050505050565b80518251146115d2576115d2613369565b60005b825181101561162d5761161b848483815181106115f4576115f461317a565b602002602001015184848151811061160e5761160e61317a565b6020026020010151611b6e565b80611625816131bd565b9150506115d5565b50505050565b805182511461164457611644613369565b60005b825181101561162d5761168d848483815181106116665761166661317a565b60200260200101518484815181106116805761168061317a565b6020026020010151611443565b80611697816131bd565b915050611647565b6001600160a01b0385163314806116bb57506116bb85336106a4565b6116d75760405162461bcd60e51b81526004016107a19061337f565b610a498585858585611fd0565b6116ee8282611327565b600082815260056020526040902061096590826113ad565b6001600160a01b03841661172c5760405162461bcd60e51b81526004016107a190613328565b815183511461174d5760405162461bcd60e51b81526004016107a1906133ce565b3361175d81600087878787611e5f565b60005b84518110156117f85783818151811061177b5761177b61317a565b60200260200101516000808784815181106117985761179861317a565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546117e09190613210565b909155508190506117f0816131bd565b915050611760565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611849929190613416565b60405180910390a4610a498160008787878761216e565b61186a8282612229565b60008281526005602052604090206109659082612290565b6001600160a01b0383166118a85760405162461bcd60e51b81526004016107a190613444565b80518251146118c95760405162461bcd60e51b81526004016107a1906133ce565b60003390506118ec81856000868660405180602001604052806000815250611e5f565b60005b83518110156119b157600084828151811061190c5761190c61317a565b60200260200101519050600084838151811061192a5761192a61317a565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561197a5760405162461bcd60e51b81526004016107a190613487565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806119a9816131bd565b9150506118ef565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611a02929190613416565b60405180910390a460408051602081019091526000905261162d565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610f9683836122a5565b816001600160a01b0316836001600160a01b031603611af75760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016107a1565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006107cd825490565b60008111611b8e5760405162461bcd60e51b81526004016107a190613190565b611b984282612fc1565b6001600160a01b0384166000908152600c6020908152604080832086845290915281208054909190611bcb908490613210565b90915550611bdb90504282612fc1565b6000838152600e6020526040812080549091906114ce908490613210565b6001600160a01b038516331480611c155750611c1585336106a4565b611c315760405162461bcd60e51b81526004016107a19061337f565b610a4985858585856122cf565b6001600160a01b038316611c645760405162461bcd60e51b81526004016107a190613444565b336000611c7084611e14565b90506000611c7d84611e14565b9050611c9d83876000858560405180602001604052806000815250611e5f565b6000858152602081815260408083206001600160a01b038a16845290915290205484811015611cde5760405162461bcd60e51b81526004016107a190613487565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526115b8565b6000818152600183016020526040812054611d9d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107cd565b5060006107cd565b60006107cd82612407565b611dba828261103f565b61081157611dd2816001600160a01b03166014612412565b611ddd836020612412565b604051602001611dee9291906134cb565b60408051601f198184030181529082905262461bcd60e51b82526107a191600401612a5c565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e4e57611e4e61317a565b602090810291909101015292915050565b611e6d8686868686866125ad565b505050505050565b6001600160a01b0384163b15611e6d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611eb99089908990889088908890600401613540565b6020604051808303816000875af1925050508015611ef4575060408051601f3d908101601f19168201909252611ef191810190613585565b60015b611fa057611f006135a2565b806308c379a003611f395750611f146135be565b80611f1f5750611f3b565b8060405162461bcd60e51b81526004016107a19190612a5c565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016107a1565b6001600160e01b0319811663f23a6e6160e01b146115b85760405162461bcd60e51b81526004016107a190613647565b8151835114611ff15760405162461bcd60e51b81526004016107a1906133ce565b6001600160a01b0384166120175760405162461bcd60e51b81526004016107a19061368f565b33612026818787878787611e5f565b60005b845181101561210c5760008582815181106120465761204661317a565b6020026020010151905060008583815181106120645761206461317a565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156120b45760405162461bcd60e51b81526004016107a1906136d4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906120f1908490613210565b9250508190555050505080612105906131bd565b9050612029565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161215c929190613416565b60405180910390a4611e6d8187878787875b6001600160a01b0384163b15611e6d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906121b2908990899088908890889060040161371e565b6020604051808303816000875af19250505080156121ed575060408051601f3d908101601f191682019092526121ea91810190613585565b60015b6121f957611f006135a2565b6001600160e01b0319811663bc197c8160e01b146115b85760405162461bcd60e51b81526004016107a190613647565b612233828261103f565b156108115760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f96836001600160a01b038416612726565b60008260000182815481106122bc576122bc61317a565b9060005260206000200154905092915050565b6001600160a01b0384166122f55760405162461bcd60e51b81526004016107a19061368f565b33600061230185611e14565b9050600061230e85611e14565b905061231e838989858589611e5f565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561235f5760405162461bcd60e51b81526004016107a1906136d4565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061239c908490613210565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46123fc848a8a8a8a8a611e75565b505050505050505050565b60006107cd82612819565b60606000612421836002612fc1565b61242c906002613210565b6001600160401b038111156124435761244361291d565b6040519080825280601f01601f19166020018201604052801561246d576020820181803683370190505b509050600360fc1b816000815181106124885761248861317a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106124b7576124b761317a565b60200101906001600160f81b031916908160001a90535060006124db846002612fc1565b6124e6906001613210565b90505b600181111561255e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061251a5761251a61317a565b1a60f81b8282815181106125305761253061317a565b60200101906001600160f81b031916908160001a90535060049490941c936125578161377c565b90506124e9565b508315610f965760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107a1565b6001600160a01b0385166126345760005b8351811015612632578281815181106125d9576125d961317a565b6020026020010151600360008684815181106125f7576125f761317a565b60200260200101518152602001908152602001600020600082825461261c9190613210565b9091555061262b9050816131bd565b90506125be565b505b6001600160a01b038416611e6d5760005b83518110156115b85760008482815181106126625761266261317a565b6020026020010151905060008483815181106126805761268061317a565b60200260200101519050600060036000848152602001908152602001600020549050818110156127035760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b60648201526084016107a1565b6000928352600360205260409092209103905561271f816131bd565b9050612645565b6000818152600183016020526040812054801561280f57600061274a600183612fae565b855490915060009061275e90600190612fae565b90508181146127c357600086600001828154811061277e5761277e61317a565b90600052602060002001549050808760000184815481106127a1576127a161317a565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806127d4576127d4613793565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107cd565b60009150506107cd565b60006001600160e01b03198216635a05180f60e01b14806107cd57506107cd8260006001600160e01b03198216637965db0b60e01b14806107cd57506107cd8260006001600160e01b03198216636cdb3d1360e11b148061288a57506001600160e01b031982166303a24d0760e21b145b806107cd57506301ffc9a760e01b6001600160e01b03198316146107cd565b80356001600160a01b038116811461130457600080fd5b600080604083850312156128d357600080fd5b6128dc836128a9565b946020939093013593505050565b6001600160e01b0319811681146112b557600080fd5b60006020828403121561291257600080fd5b8135610f96816128ea565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156129585761295861291d565b6040525050565b60006001600160401b038311156129785761297861291d565b60405161298f601f8501601f191660200182612933565b8091508381528484840111156129a457600080fd5b83836020830137600060208583010152509392505050565b6000602082840312156129ce57600080fd5b81356001600160401b038111156129e457600080fd5b8201601f810184136129f557600080fd5b612a048482356020840161295f565b949350505050565b60005b83811015612a27578181015183820152602001612a0f565b50506000910152565b60008151808452612a48816020860160208601612a0c565b601f01601f19169290920160200192915050565b602081526000610f966020830184612a30565b600060208284031215612a8157600080fd5b5035919050565b600080600060608486031215612a9d57600080fd5b612aa6846128a9565b95602085013595506040909401359392505050565b60006001600160401b03821115612ad457612ad461291d565b5060051b60200190565b600082601f830112612aef57600080fd5b81356020612afc82612abb565b604051612b098282612933565b83815260059390931b8501820192828101915086841115612b2957600080fd5b8286015b84811015612b445780358352918301918301612b2d565b509695505050505050565b600082601f830112612b6057600080fd5b610f968383356020850161295f565b600080600080600060a08688031215612b8757600080fd5b612b90866128a9565b9450612b9e602087016128a9565b935060408601356001600160401b0380821115612bba57600080fd5b612bc689838a01612ade565b94506060880135915080821115612bdc57600080fd5b612be889838a01612ade565b93506080880135915080821115612bfe57600080fd5b50612c0b88828901612b4f565b9150509295509295909350565b60008060408385031215612c2b57600080fd5b82359150612c3b602084016128a9565b90509250929050565b60008060408385031215612c5757600080fd5b82356001600160401b0380821115612c6e57600080fd5b612c7a86838701612ade565b93506020850135915080821115612c9057600080fd5b50612c9d85828601612ade565b9150509250929050565b60008060408385031215612cba57600080fd5b50508035926020909101359150565b60008060408385031215612cdc57600080fd5b82356001600160401b0380821115612cf357600080fd5b818501915085601f830112612d0757600080fd5b81356020612d1482612abb565b604051612d218282612933565b83815260059390931b8501820192828101915089841115612d4157600080fd5b948201945b83861015612d6657612d57866128a9565b82529482019490820190612d46565b96505086013592505080821115612c9057600080fd5b600081518084526020808501945080840160005b83811015612dac57815187529582019590820190600101612d90565b509495945050505050565b602081526000610f966020830184612d7c565b600080600060608486031215612ddf57600080fd5b612de8846128a9565b925060208401356001600160401b0380821115612e0457600080fd5b612e1087838801612ade565b93506040860135915080821115612e2657600080fd5b50612e3386828701612ade565b9150509250925092565b60008060408385031215612e5057600080fd5b612e59836128a9565b915060208301358015158114612e6e57600080fd5b809150509250929050565b60008060408385031215612e8c57600080fd5b8235915060208301356001600160401b03811115612ea957600080fd5b612c9d85828601612ade565b60008060408385031215612ec857600080fd5b612ed1836128a9565b9150612c3b602084016128a9565b600080600080600060a08688031215612ef757600080fd5b612f00866128a9565b9450612f0e602087016128a9565b9350604086013592506060860135915060808601356001600160401b03811115612f3757600080fd5b612c0b88828901612b4f565b600060208284031215612f5557600080fd5b610f96826128a9565b600181811c90821680612f7257607f821691505b602082108103612f9257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156107cd576107cd612f98565b80820281158282048414176107cd576107cd612f98565b634e487b7160e01b600052601260045260246000fd5b600082612ffd57612ffd612fd8565b500690565b6020808252601190820152701b9bdb8b5d195c9b985c9e481b195d995b607a1b604082015260600190565b6020808252600d908201526c1a5b9d985b1a59081b195d995b609a1b604082015260600190565b600181815b8085111561308f57816000190482111561307557613075612f98565b8085161561308257918102915b93841c9390800290613059565b509250929050565b6000826130a6575060016107cd565b816130b3575060006107cd565b81600181146130c957600281146130d3576130ef565b60019150506107cd565b60ff8411156130e4576130e4612f98565b50506001821b6107cd565b5060208310610133831016604e8410600b8410161715613112575081810a6107cd565b61311c8383613054565b806000190482111561313057613130612f98565b029392505050565b6000610f968383613097565b6001600160a01b038416815260606020820181905260009061316890830185612d7c565b82810360408401526109bd8185612d7c565b634e487b7160e01b600052603260045260246000fd5b6020808252601390820152721b9bdb8b5c1bdcda5d1a5d9948185b5bdd5b9d606a1b604082015260600190565b6000600182016131cf576131cf612f98565b5060010190565b6000826131e5576131e5612fd8565b500490565b6020808252600c908201526b34b73b30b634b2103cb2b0b960a11b604082015260600190565b808201808211156107cd576107cd612f98565b601f82111561096557600081815260208120601f850160051c8101602086101561324a5750805b601f850160051c820191505b81811015611e6d57828155600101613256565b81516001600160401b038111156132825761328261291d565b613296816132908454612f5e565b84613223565b602080601f8311600181146132cb57600084156132b35750858301515b600019600386901b1c1916600185901b178555611e6d565b600085815260208120601f198616915b828110156132fa578886015182559484019460019091019084016132db565b50858210156133185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b634e487b7160e01b600052600160045260246000fd5b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6040815260006134296040830185612d7c565b828103602084015261343b8185612d7c565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613503816017850160208801612a0c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613534816028840160208801612a0c565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061357a90830184612a30565b979650505050505050565b60006020828403121561359757600080fd5b8151610f96816128ea565b600060033d11156135bb5760046000803e5060005160e01c5b90565b600060443d10156135cc5790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156135fb57505050505090565b82850191508151818111156136135750505050505090565b843d870101602082850101111561362d5750505050505090565b61363c60208286010187612933565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061374a90830186612d7c565b828103606084015261375c8186612d7c565b905082810360808401526137708185612a30565b98975050505050505050565b60008161378b5761378b612f98565b506000190190565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220c3868183c1aaf5424f6c8293db57b1987dde4eb6799258f07407b6b4231c440164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000002f49a05b709a42451ca6f702b6f5d420788b002b0000000000000000000000000000000000000000000000000000000007861f80000000000000000000000000000000000000000000000000000000000000006b68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f697066732f516d52585475714267586431754366506b67414e4139683864515148517873346d73416a35336d6d7956714651712f707074732f333230783432372f6f64696e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : pptUri (string): https://ipfs.xpowermine.com/ipfs/QmRXTuqBgXd1uCfPkgANA9h8dQQHQxs4msAj53mmyVqFQq/ppts/320x427/odin/{id}.json
Arg [1] : pptBase (address): 0x2f49A05b709A42451CA6F702b6f5d420788b002b
Arg [2] : deadlineIn (uint256): 126230400
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000002f49a05b709a42451ca6f702b6f5d420788b002b
Arg [2] : 0000000000000000000000000000000000000000000000000000000007861f80
Arg [3] : 000000000000000000000000000000000000000000000000000000000000006b
Arg [4] : 68747470733a2f2f697066732e78706f7765726d696e652e636f6d2f69706673
Arg [5] : 2f516d52585475714267586431754366506b67414e4139683864515148517873
Arg [6] : 346d73416a35336d6d7956714651712f707074732f333230783432372f6f6469
Arg [7] : 6e2f7b69647d2e6a736f6e000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
89104:236:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55286:230;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;55286:230:0;;;;;;;;83412:207;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;83412:207:0;1019:187:1;71152:103:0;;;;;;:::i;:::-;;:::i;:::-;;80031:18;;;:::i;:::-;;;;;;;:::i;55030:105::-;;;;;;:::i;:::-;;:::i;85818:160::-;;;;;;:::i;:::-;;:::i;87400:411::-;;;;;;:::i;:::-;;:::i;14152:131::-;;;;;;:::i;:::-;14226:7;14253:12;;;:6;:12;;;;;:22;;;;14152:131;81875:209;;;;;;:::i;:::-;;:::i;85363:368::-;;;;;;:::i;:::-;;:::i;14593:147::-;;;;;;:::i;:::-;;:::i;73991:486::-;;;;;;:::i;:::-;;:::i;80206:32::-;;80237:1;80206:32;;15737:218;;;;;;:::i;:::-;;:::i;73563:372::-;;;;;;:::i;:::-;;:::i;74523:85::-;;;:::i;55682:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;78534:122::-;;;;;;:::i;:::-;78591:4;78412:16;;;:12;:16;;;;;;-1:-1:-1;;;78534:122:0;82438:175;;;;;;:::i;:::-;;:::i;80442:34::-;;80474:2;80442:34;;81152:267;;;;;;:::i;:::-;;:::i;86613:210::-;;;;;;:::i;:::-;;:::i;80403:32::-;;80433:2;80403:32;;82143:234;;;;;;:::i;:::-;;:::i;76768:103::-;;;:::i;80323:33::-;;80354:2;80323:33;;76120:87;76193:6;;;;;-1:-1:-1;;;;;76193:6:0;76120:87;;;-1:-1:-1;;;;;10122:32:1;;;10104:51;;10092:2;10077:18;76120:87:0;9958:203:1;32473:153:0;;;;;;:::i;:::-;;:::i;12612:147::-;;;;;;:::i;:::-;;:::i;36495:66::-;;36535:26;36495:66;;80084:20;;;:::i;80167:32::-;;80198:1;80167:32;;56279:155;;;;;;:::i;:::-;;:::i;86908:410::-;;;;;;:::i;:::-;;:::i;78323:113::-;;;;;;:::i;:::-;78385:7;78412:16;;;:12;:16;;;;;;;78323:113;80284:32;;80315:1;80284:32;;81503:295;;;;;;:::i;:::-;;:::i;32800:142::-;;;;;;:::i;:::-;;:::i;80245:32::-;;80276:1;80245:32;;36914:66;;36954:26;36914:66;;36568:78;;36614:32;36568:78;;15033:149;;;;;;:::i;:::-;;:::i;80483:34::-;;80515:2;80483:34;;86067:199;;;;;;:::i;:::-;;:::i;80363:33::-;;80394:2;80363:33;;56506:168;;;;;;:::i;:::-;-1:-1:-1;;;;;56629:27:0;;;56605:4;56629:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;56506:168;36987:78;;37033:32;36987:78;;84983:322;;;;;;:::i;:::-;;:::i;77026:201::-;;;;;;:::i;:::-;;:::i;82683:195::-;;;:::i;86353:171::-;;;;;;:::i;:::-;;:::i;55286:230::-;55372:7;-1:-1:-1;;;;;55400:21:0;;55392:76;;;;-1:-1:-1;;;55392:76:0;;12461:2:1;55392: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;;55392:76:0;;;;;;;;;-1:-1:-1;55486:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;55486:22:0;;;;;;;;;;55286:230;;;;;:::o;83412:207::-;83551:4;83575:36;83599:11;83575:23;:36::i;71152:103::-;36954:26;12208:16;12219:4;12208:10;:16::i;:::-;71232:15:::1;71240:6;71232:7;:15::i;:::-;71152:103:::0;;:::o;80031:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55030:105::-;55090:13;55123:4;55116:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55030:105;;;:::o;85818:160::-;76006:13;:11;:13::i;:::-;85903:28:::1;85913:2;85917:5;85924:6;85903:9;:28::i;:::-;85942;85948:2;85952:5;85959:6;85942:28;;;;;;;;;;;::::0;:5:::1;:28::i;:::-;85818:160:::0;;;:::o;87400:411::-;87456:7;87497:18;;;:11;:18;;;;;;;;;87547:11;:18;;;;;;87580:23;;;87576:209;;;87620:14;78412:16;;;:12;:16;;;;;;;87691:23;87704:10;87691;:23;:::i;:::-;87670:44;-1:-1:-1;87670:44:0;87736:24;87745:15;87736:6;:24;:::i;:::-;:37;;;;:::i;:::-;87729:44;87400:411;-1:-1:-1;;;;;;87400:411:0:o;87576:209::-;-1:-1:-1;87802:1:0;;87400:411;-1:-1:-1;;;87400:411:0:o;81875:209::-;81935:7;81963:9;81971:1;81963:5;:9;:::i;:::-;:14;81955:44;;;;-1:-1:-1;;;81955:44:0;;;;;;;:::i;:::-;82026:3;82018:5;:11;82010:37;;;;-1:-1:-1;;;82010:37:0;;;;;;;:::i;:::-;82065:11;82071:5;82065:2;:11;:::i;85363:368::-;85569:37;85584:4;85590:6;85598:7;85569:14;:37::i;:::-;85617:35;85632:2;85636:6;85644:7;85617:14;:35::i;:::-;85663:60;85691:4;85697:2;85701:6;85709:7;85718:4;85663:27;:60::i;:::-;85363: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;73991:486::-:0;74090:11;;;;74082:40;;;;-1:-1:-1;;;74082:40:0;;16006:2:1;74082:40:0;;;15988:21:1;16045:2;16025:18;;;16018:30;-1:-1:-1;;;16064:18:1;;;16057:46;16120:18;;74082:40:0;15804:340:1;74082:40:0;74187:11;;74153:15;;74187:24;-1:-1:-1;74187:24:0;74179:52;;;;-1:-1:-1;;;74179:52:0;;16351:2:1;74179:52:0;;;16333:21:1;16390:2;16370:18;;;16363:30;-1:-1:-1;;;16409:18:1;;;16402:45;16464:18;;74179:52:0;16149:339:1;74179:52:0;74242:6;;:45;;-1:-1:-1;;;74242:45:0;;-1:-1:-1;;;;;74242:6:0;;;;:16;;:45;;74259:10;;74271:6;;74279:7;;74242:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74303:9;74298:118;74322:7;:14;74318:1;:18;74298:118;;;74379:1;74366:7;74374:1;74366:10;;;;;;;;:::i;:::-;;;;;;;:14;74358:46;;;;-1:-1:-1;;;74358:46:0;;;;;;;:::i;:::-;74338:3;;;;:::i;:::-;;;;74298:118;;;;74426:43;74437:10;74449:6;74457:7;74426: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;73563:372::-;73637:11;;;;73629:40;;;;-1:-1:-1;;;73629:40:0;;16006:2:1;73629:40:0;;;15988:21:1;16045:2;16025:18;;;16018:30;-1:-1:-1;;;16064:18:1;;;16057:46;16120:18;;73629:40:0;15804:340:1;73629:40:0;73734:11;;73700:15;;73734:24;-1:-1:-1;73734:24:0;73726:52;;;;-1:-1:-1;;;73726:52:0;;16351:2:1;73726:52:0;;;16333:21:1;16390:2;16370:18;;;16363:30;-1:-1:-1;;;16409:18:1;;;16402:45;16464:18;;73726:52:0;16149:339:1;73726:52:0;73789:6;;:38;;-1:-1:-1;;;73789:38:0;;73801:10;73789:38;;;18298:51:1;18365:18;;;18358:34;;;18408:18;;;18401:34;;;-1:-1:-1;;;;;73789:6:0;;;;:11;;18271:18:1;;73789:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73855:1;73846:6;:10;73838:42;;;;-1:-1:-1;;;73838:42:0;;;;;;;:::i;:::-;73891:36;73897:10;73909:5;73916:6;73891:36;;;;;;;;;;;;:5;:36::i;74523:85::-;36535:26;12208:16;12219:4;12208:10;:16::i;:::-;-1:-1:-1;74581:11:0::1;:19:::0;;-1:-1:-1;;74581:19:0::1;::::0;;74523:85::o;55682:524::-;55838:16;55899:3;:10;55880:8;:15;:29;55872:83;;;;-1:-1:-1;;;55872:83:0;;18648:2:1;55872: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;;55872:83:0;18446:405:1;55872:83:0;55968:30;56015:8;:15;-1:-1:-1;;;;;56001:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56001:30:0;;55968:63;;56049:9;56044:122;56068:8;:15;56064:1;:19;56044:122;;;56124:30;56134:8;56143:1;56134:11;;;;;;;;:::i;:::-;;;;;;;56147:3;56151:1;56147:6;;;;;;;;:::i;:::-;;;;;;;56124:9;:30::i;:::-;56105:13;56119:1;56105:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;56085:3;;;:::i;:::-;;;56044:122;;;-1:-1:-1;56185:13:0;55682:524;-1:-1:-1;;;55682:524:0:o;82438:175::-;82490:7;;82525:11;82533:3;82525:5;:11;:::i;:::-;82510:26;;82562:4;82555;:11;82547:36;;;;-1:-1:-1;;;82547:36:0;;;;;;;:::i;81152:267::-;81216:7;81244:9;81252:1;81244:5;:9;:::i;:::-;:14;81236:44;;;;-1:-1:-1;;;81236:44:0;;;;;;;:::i;:::-;81307:3;81299:5;:11;81291:37;;;;-1:-1:-1;;;81291:37:0;;;;;;;:::i;:::-;81354:4;81347;:11;81339:36;;;;-1:-1:-1;;;81339:36:0;;;;;;;:::i;:::-;81406:5;81393:10;:4;81400:3;81393:10;:::i;:::-;:18;;;;:::i;:::-;81386:25;81152:267;-1:-1:-1;;;81152:267:0:o;86613:210::-;76006:13;:11;:13::i;:::-;86734:37:::1;86749:4;86755:6;86763:7;86734:14;:37::i;:::-;86782:33;86793:4;86799:6;86807:7;86782:10;:33::i;82143:234::-:0;82196:7;;82232:11;82240:3;82232:5;:11;:::i;:::-;82216:27;-1:-1:-1;82262:9:0;82270:1;82216:27;82262:9;:::i;:::-;:14;82254:44;;;;-1:-1:-1;;;82254:44:0;;;;;;;:::i;:::-;82325:3;82317:5;:11;82309:37;;;;-1:-1:-1;;;82309:37:0;;;;;;;:::i;76768:103::-;76006:13;:11;:13::i;:::-;76833:30:::1;76860:1;76833:18;:30::i;:::-;76768: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;80084:20::-;;;;;;;:::i;56279:155::-;56374:52;5170:10;56407:8;56417;56374:18;:52::i;86908:410::-;-1:-1:-1;;;;;87012:15:0;;86976:7;87012:15;;;:6;:15;;;;;;;;:22;;;;;;;;;87061:15;;;:6;:15;;;;;:22;;;;;;;;;86976:7;;87012:22;87098:13;;;87094:198;;;87128:15;87146:25;87156:7;87165:5;87146:9;:25::i;:::-;87128:43;-1:-1:-1;87186:18:0;87207:13;87215:5;87207;:13;:::i;:::-;87186:34;-1:-1:-1;87186:34:0;87242:25;87252:15;87242:7;:25;:::i;:::-;:38;;;;:::i;:::-;87235:45;;;;;;;;87094:198;-1:-1:-1;87309:1:0;;86908:410;-1:-1:-1;;;;86908:410:0:o;81503:295::-;81578:16;81607:20;81644:6;:13;-1:-1:-1;;;;;81630:28:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81630:28:0;;81607:51;;81674:9;81669:101;81693:6;:13;81689:1;:17;81669:101;;;81737:21;81742:4;81748:6;81755:1;81748:9;;;;;;;;:::i;:::-;;;;;;;81737:4;:21::i;:::-;81728:3;81732:1;81728:6;;;;;;;;:::i;:::-;;;;;;;;;;:30;81708:3;;;;:::i;:::-;;;;81669: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;86067:199::-:0;76006:13;:11;:13::i;:::-;86177:35:::1;86192:2;86196:6;86204:7;86177:14;:35::i;:::-;86223;86234:2;86238:6;86246:7;86223:35;;;;;;;;;;;::::0;:10:::1;:35::i;84983:322::-:0;85164:30;85174:4;85180:5;85187:6;85164:9;:30::i;:::-;85205:28;85215:2;85219:5;85226:6;85205:9;:28::i;:::-;85244:53;85267:4;85273:2;85277:5;85284:6;85292:4;85244:22;:53::i;77026:201::-;76006:13;:11;:13::i;:::-;-1:-1:-1;;;;;77115:22:0;::::1;77107:73;;;::::0;-1:-1:-1;;;77107:73:0;;19654:2:1;77107: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;;77107:73:0::1;19452:402:1::0;77107:73:0::1;77191:28;77210:8;77191:18;:28::i;:::-;77026:201:::0;:::o;82683:195::-;82720:7;;82789:11;82763:21;82769:15;82763:3;:21;:::i;:::-;82762:39;;;;:::i;:::-;82755:46;;:4;:46;:::i;:::-;82740:61;;82827:4;82820;:11;82812:36;;;;-1:-1:-1;;;82812:36:0;;;;;;;:::i;:::-;82866:4;82683:195;-1:-1:-1;82683:195:0:o;86353:171::-;76006:13;:11;:13::i;:::-;86449:30:::1;86459:4;86465:5;86472:6;86449:9;:30::i;:::-;86490:26;86496:4;86502:5;86509:6;86490: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;74706:174::-;74812:4;74836:36;74860:11;74836:23;:36::i;13063:105::-;13130:30;13141:4;5170:10;13130;:30::i;61455:88::-;61522:4;:13;61529:6;61522:4;:13;:::i;76285:132::-;76193:6;;-1:-1:-1;;;;;76193:6:0;;;;;5170:10;76349:23;76341:68;;;;-1:-1:-1;;;76341:68:0;;22265:2:1;76341:68:0;;;22247:21:1;;;22284:18;;;22277:30;22343:34;22323:18;;;22316:62;22395:18;;76341:68:0;22063:356:1;87852:255:0;87956:1;87947:6;:10;87939:42;;;;-1:-1:-1;;;87939:42:0;;;;;;;:::i;:::-;88018:24;88027:15;88018:6;:24;:::i;:::-;-1:-1:-1;;;;;87992:15:0;;;;;;:6;:15;;;;;;;;:22;;;;;;;;:50;;:22;;:15;:50;;;;;:::i;:::-;;;;-1:-1:-1;88075:24:0;;-1:-1:-1;88084:15:0;88075:6;:24;:::i;:::-;88053:18;;;;:11;:18;;;;;:46;;:18;;;:46;;;;;:::i;:::-;;;;-1:-1:-1;;;;;87852:255:0:o;61929:729::-;-1:-1:-1;;;;;62082:16:0;;62074:62;;;;-1:-1:-1;;;62074:62:0;;;;;;;:::i;:::-;5170:10;62149:16;62214:21;62232:2;62214:17;:21::i;:::-;62191:44;;62246:24;62273:25;62291:6;62273:17;:25::i;:::-;62246:52;;62311:66;62332:8;62350:1;62354:2;62358:3;62363:7;62372:4;62311:20;:66::i;:::-;62390:9;:13;;;;;;;;;;;-1:-1:-1;;;;;62390:17:0;;;;;;;;;:27;;62411:6;;62390:9;:27;;62411:6;;62390:27;:::i;:::-;;;;-1:-1:-1;;62433:52:0;;;23000:25:1;;;23056:2;23041:18;;23034:34;;;-1:-1:-1;;;;;62433:52:0;;;;62466:1;;62433:52;;;;;;22973:18:1;62433:52:0;;;;;;;62576:74;62607:8;62625:1;62629:2;62633;62637:6;62645:4;62576:30;:74::i;:::-;62063:595;;;61929:729;;;;:::o;88768:281::-;88904:7;:14;88887:6;:13;:31;88880:39;;;;:::i;:::-;88935:9;88930:112;88954:6;:13;88950:1;:17;88930:112;;;88989:41;88999:7;89008:6;89015:1;89008:9;;;;;;;;:::i;:::-;;;;;;;89019:7;89027:1;89019:10;;;;;;;;:::i;:::-;;;;;;;88989:9;:41::i;:::-;88969:3;;;;:::i;:::-;;;;88930:112;;;;88768:281;;;:::o;88149:::-;88285:7;:14;88268:6;:13;:31;88261:39;;;;:::i;:::-;88316:9;88311:112;88335:6;:13;88331:1;:17;88311:112;;;88370:41;88380:7;88389:6;88396:1;88389:9;;;;;;;;:::i;:::-;;;;;;;88400:7;88408:1;88400:10;;;;;;;;:::i;:::-;;;;;;;88370:9;:41::i;:::-;88350:3;;;;:::i;:::-;;;;88311:112;;57230:439;-1:-1:-1;;;;;57463:20:0;;5170:10;57463:20;;:60;;-1:-1:-1;57487:36:0;57504:4;5170:10;56506:168;:::i;57487:36::-;57441:157;;;;-1:-1:-1;;;57441:157:0;;;;;;;:::i;:::-;57609:52;57632:4;57638:2;57642:3;57647:7;57656:4;57609: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;63061:813::-;-1:-1:-1;;;;;63239:16:0;;63231:62;;;;-1:-1:-1;;;63231:62:0;;;;;;;:::i;:::-;63326:7;:14;63312:3;:10;:28;63304:81;;;;-1:-1:-1;;;63304:81:0;;;;;;;:::i;:::-;5170:10;63442:66;5170:10;63398:16;63485:2;63489:3;63494:7;63503:4;63442:20;:66::i;:::-;63526:9;63521:103;63545:3;:10;63541:1;:14;63521:103;;;63602:7;63610:1;63602:10;;;;;;;;:::i;:::-;;;;;;;63577:9;:17;63587:3;63591:1;63587:6;;;;;;;;:::i;:::-;;;;;;;63577:17;;;;;;;;;;;:21;63595:2;-1:-1:-1;;;;;63577:21:0;-1:-1:-1;;;;;63577:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;63557:3:0;;-1:-1:-1;63557:3:0;;;:::i;:::-;;;;63521:103;;;;63677:2;-1:-1:-1;;;;;63641:53:0;63673:1;-1:-1:-1;;;;;63641:53:0;63655:8;-1:-1:-1;;;;;63641:53:0;;63681:3;63686:7;63641:53;;;;;;;:::i;:::-;;;;;;;;63785:81;63821:8;63839:1;63843:2;63847:3;63852:7;63861:4;63785: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;65230:969::-;-1:-1:-1;;;;;65382:18:0;;65374:66;;;;-1:-1:-1;;;65374:66:0;;;;;;;:::i;:::-;65473:7;:14;65459:3;:10;:28;65451:81;;;;-1:-1:-1;;;65451:81:0;;;;;;;:::i;:::-;65545:16;5170:10;65545:31;;65589:66;65610:8;65620:4;65634:1;65638:3;65643:7;65589:66;;;;;;;;;;;;:20;:66::i;:::-;65673:9;65668:373;65692:3;:10;65688:1;:14;65668:373;;;65724:10;65737:3;65741:1;65737:6;;;;;;;;:::i;:::-;;;;;;;65724:19;;65758:14;65775:7;65783:1;65775:10;;;;;;;;:::i;:::-;;;;;;;;;;;;65802:19;65824:13;;;;;;;;;;-1:-1:-1;;;;;65824:19:0;;;;;;;;;;;;65775:10;;-1:-1:-1;65866:21:0;;;;65858:70;;;;-1:-1:-1;;;65858:70:0;;;;;;;:::i;:::-;65972:9;:13;;;;;;;;;;;-1:-1:-1;;;;;65972:19:0;;;;;;;;;;65994:20;;65972:42;;65704:3;;;;:::i;:::-;;;;65668:373;;;;66096:1;-1:-1:-1;;;;;66058:55:0;66082:4;-1:-1:-1;;;;;66058:55:0;66072:8;-1:-1:-1;;;;;66058:55:0;;66100:3;66105:7;66058:55;;;;;;;:::i;:::-;;;;;;;;66126:65;;;;;;;;;66170:1;66126:65;;;82971:343;77387:191;77480:6;;;-1:-1:-1;;;;;77497:17:0;;;77480:6;77497:17;;;-1:-1:-1;;;;;;77497:17:0;;;;;;77530:40;;77480:6;;;;;;;;77530:40;;77461:16;;77530:40;77450:128;77387:191;:::o;27590:158::-;27664:7;27715:22;27719:3;27731:5;27715:3;:22::i;66342:331::-;66497:8;-1:-1:-1;;;;;66488:17:0;:5;-1:-1:-1;;;;;66488:17:0;;66480:71;;;;-1:-1:-1;;;66480:71:0;;25517:2:1;66480: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;;66480:71:0;25315:405:1;66480:71:0;-1:-1:-1;;;;;66562:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;66562:46:0;;;;;;;;;;66624:41;;1159::1;;;66624::0;;1132:18:1;66624:41:0;;;;;;;66342:331;;;:::o;27119:117::-;27182:7;27209:19;27217:3;22603:18;;22520:109;88471:255;88575:1;88566:6;:10;88558:42;;;;-1:-1:-1;;;88558:42:0;;;;;;;:::i;:::-;88637:24;88646:15;88637:6;:24;:::i;:::-;-1:-1:-1;;;;;88611:15:0;;;;;;:6;:15;;;;;;;;:22;;;;;;;;:50;;:22;;:15;:50;;;;;:::i;:::-;;;;-1:-1:-1;88694:24:0;;-1:-1:-1;88703:15:0;88694:6;:24;:::i;:::-;88672:18;;;;:11;:18;;;;;:46;;:18;;;:46;;;;;:::i;56746:407::-;-1:-1:-1;;;;;56954:20:0;;5170:10;56954:20;;:60;;-1:-1:-1;56978:36:0;56995:4;5170:10;56506:168;:::i;56978:36::-;56932:157;;;;-1:-1:-1;;;56932:157:0;;;;;;;:::i;:::-;57100:45;57118:4;57124:2;57128;57132:6;57140:4;57100:17;:45::i;64172:808::-;-1:-1:-1;;;;;64299:18:0;;64291:66;;;;-1:-1:-1;;;64291:66:0;;;;;;;:::i;:::-;5170:10;64370:16;64435:21;64453:2;64435:17;:21::i;:::-;64412:44;;64467:24;64494:25;64512:6;64494:17;:25::i;:::-;64467:52;;64532:66;64553:8;64563:4;64577:1;64581:3;64586:7;64532:66;;;;;;;;;;;;:20;:66::i;:::-;64611:19;64633:13;;;;;;;;;;;-1:-1:-1;;;;;64633:19:0;;;;;;;;;;64671:21;;;;64663:70;;;;-1:-1:-1;;;64663:70:0;;;;;;;:::i;:::-;64769:9;:13;;;;;;;;;;;-1:-1:-1;;;;;64769:19:0;;;;;;;;;;;;64791:20;;;64769:42;;64840:54;;23000:25:1;;;23041:18;;;23034:34;;;64769:19:0;;64840:54;;;;;;22973:18:1;64840:54:0;;;;;;;64907:65;;;;;;;;;64951:1;64907:65;;;82971: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;;71353:174;71459:4;71483:36;71507:11;71483: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;70608:198::-;70728:16;;;70742:1;70728:16;;;;;;;;;70674;;70703:22;;70728:16;;;;;;;;;;;;-1:-1:-1;70728:16:0;70703:41;;70766:7;70755:5;70761:1;70755:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;70793:5;70608:198;-1:-1:-1;;70608:198:0:o;82971:343::-;83229:77;83264:8;83274:4;83280:2;83284:6;83292:7;83301:4;83229:34;:77::i;:::-;82971:343;;;;;;:::o;69035:744::-;-1:-1:-1;;;;;69250:13:0;;38745:19;:23;69246:526;;69286:72;;-1:-1:-1;;;69286:72:0;;-1:-1:-1;;;;;69286:38:0;;;;;:72;;69325:8;;69335:4;;69341:2;;69345:6;;69353:4;;69286:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69286:72:0;;;;;;;;-1:-1:-1;;69286:72:0;;;;;;;;;;;;:::i;:::-;;;69282:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;69634:6;69627:14;;-1:-1:-1;;;69627:14:0;;;;;;;;:::i;69282:479::-;;;69683:62;;-1:-1:-1;;;69683:62:0;;28424:2:1;69683: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;;69683:62:0;28222:416:1;69282:479:0;-1:-1:-1;;;;;;69408:55:0;;-1:-1:-1;;;69408:55:0;69404:154;;69488:50;;-1:-1:-1;;;69488:50:0;;;;;;;:::i;59465:1146::-;59692:7;:14;59678:3;:10;:28;59670:81;;;;-1:-1:-1;;;59670:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59770:16:0;;59762:66;;;;-1:-1:-1;;;59762:66:0;;;;;;;:::i;:::-;5170:10;59885:60;5170:10;59916:4;59922:2;59926:3;59931:7;59940:4;59885:20;:60::i;:::-;59963:9;59958:421;59982:3;:10;59978:1;:14;59958:421;;;60014:10;60027:3;60031:1;60027:6;;;;;;;;:::i;:::-;;;;;;;60014:19;;60048:14;60065:7;60073:1;60065:10;;;;;;;;:::i;:::-;;;;;;;;;;;;60092:19;60114:13;;;;;;;;;;-1:-1:-1;;;;;60114:19:0;;;;;;;;;;;;60065:10;;-1:-1:-1;60156:21:0;;;;60148:76;;;;-1:-1:-1;;;60148:76:0;;;;;;;:::i;:::-;60268:9;:13;;;;;;;;;;;-1:-1:-1;;;;;60268:19:0;;;;;;;;;;60290:20;;;60268:42;;60340:17;;;;;;;:27;;60290:20;;60268:9;60340:27;;60290:20;;60340:27;:::i;:::-;;;;;;;;59999:380;;;59994:3;;;;:::i;:::-;;;59958:421;;;;60426:2;-1:-1:-1;;;;;60396:47:0;60420:4;-1:-1:-1;;;;;60396:47:0;60410:8;-1:-1:-1;;;;;60396:47:0;;60430:3;60435:7;60396:47;;;;;;;:::i;:::-;;;;;;;;60528:75;60564:8;60574:4;60580:2;60584:3;60589:7;60598:4;69787:813;-1:-1:-1;;;;;70027:13:0;;38745:19;:23;70023:570;;70063:79;;-1:-1:-1;;;70063:79:0;;-1:-1:-1;;;;;70063:43:0;;;;;:79;;70107:8;;70117:4;;70123:3;;70128:7;;70137:4;;70063:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70063:79:0;;;;;;;;-1:-1:-1;;70063:79:0;;;;;;;;;;;;:::i;:::-;;;70059:523;;;;:::i;:::-;-1:-1:-1;;;;;;70224:60:0;;-1:-1:-1;;;70224:60:0;70220:159;;70309:50;;-1:-1:-1;;;70309: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;58133:974::-;-1:-1:-1;;;;;58321:16:0;;58313:66;;;;-1:-1:-1;;;58313:66:0;;;;;;;:::i;:::-;5170:10;58392:16;58457:21;58475:2;58457:17;:21::i;:::-;58434:44;;58489:24;58516:25;58534:6;58516:17;:25::i;:::-;58489:52;;58554:60;58575:8;58585:4;58591:2;58595:3;58600:7;58609:4;58554:20;:60::i;:::-;58627:19;58649:13;;;;;;;;;;;-1:-1:-1;;;;;58649:19:0;;;;;;;;;;58687:21;;;;58679:76;;;;-1:-1:-1;;;58679:76:0;;;;;;;:::i;:::-;58791:9;:13;;;;;;;;;;;-1:-1:-1;;;;;58791:19:0;;;;;;;;;;58813:20;;;58791:42;;58855:17;;;;;;;:27;;58813:20;;58791:9;58855:27;;58813:20;;58855:27;:::i;:::-;;;;-1:-1:-1;;58900:46:0;;;23000:25:1;;;23056:2;23041:18;;23034:34;;;-1:-1:-1;;;;;58900:46:0;;;;;;;;;;;;;;22973:18:1;58900:46:0;;;;;;;59031:68;59062:8;59072:4;59078:2;59082;59086:6;59094:4;59031:30;:68::i;:::-;58302:805;;;;58133:974;;;;;:::o;33774:153::-;33859:4;33883:36;33907:11;33883: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;78731:931:0;-1:-1:-1;;;;;79053:18:0;;79049:160;;79093:9;79088:110;79112:3;:10;79108:1;:14;79088:110;;;79172:7;79180:1;79172:10;;;;;;;;:::i;:::-;;;;;;;79148:12;:20;79161:3;79165:1;79161:6;;;;;;;;:::i;:::-;;;;;;;79148:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;79124:3:0;;-1:-1:-1;79124:3:0;;:::i;:::-;;;79088:110;;;;79049:160;-1:-1:-1;;;;;79225:16:0;;79221:434;;79263:9;79258:386;79282:3;:10;79278:1;:14;79258:386;;;79318:10;79331:3;79335:1;79331:6;;;;;;;;:::i;:::-;;;;;;;79318:19;;79356:14;79373:7;79381:1;79373:10;;;;;;;;:::i;:::-;;;;;;;79356:27;;79402:14;79419:12;:16;79432:2;79419:16;;;;;;;;;;;;79402:33;;79472:6;79462;:16;;79454:69;;;;-1:-1:-1;;;79454:69:0;;31405:2:1;79454: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;;79454:69:0;31203:404:1;79454:69:0;79575:16;;;;:12;:16;;;;;;79594:15;;79575:34;;79294:3;;;:::i;:::-;;;79258: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;54411:4;-1:-1:-1;;;;;;54448:41:0;;-1:-1:-1;;;54448:41:0;;:110;;-1:-1:-1;;;;;;;54506:52:0;;-1:-1:-1;;;54506:52:0;54448:110;:163;;;-1:-1:-1;;;;;;;;;;7193:40:0;;;54575: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;2527:250::-;2612:1;2622:113;2636:6;2633:1;2630:13;2622:113;;;2712:11;;;2706:18;2693:11;;;2686:39;2658:2;2651:10;2622:113;;;-1:-1:-1;;2769:1:1;2751:16;;2744:27;2527:250::o;2782:271::-;2824:3;2862:5;2856:12;2889:6;2884:3;2877:19;2905:76;2974:6;2967:4;2962:3;2958:14;2951:4;2944:5;2940:16;2905:76;:::i;:::-;3035:2;3014:15;-1:-1:-1;;3010:29:1;3001:39;;;;3042:4;2997:50;;2782:271;-1:-1:-1;;2782:271:1:o;3058:220::-;3207:2;3196:9;3189:21;3170:4;3227:45;3268:2;3257:9;3253:18;3245:6;3227:45;:::i;3283:180::-;3342:6;3395:2;3383:9;3374:7;3370:23;3366:32;3363:52;;;3411:1;3408;3401:12;3363:52;-1:-1:-1;3434:23:1;;3283:180;-1:-1:-1;3283:180:1:o;3468:322::-;3545:6;3553;3561;3614:2;3602:9;3593:7;3589:23;3585:32;3582:52;;;3630:1;3627;3620:12;3582:52;3653:29;3672:9;3653:29;:::i;:::-;3643:39;3729:2;3714:18;;3701:32;;-1:-1:-1;3780:2:1;3765:18;;;3752:32;;3468:322;-1:-1:-1;;;3468: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://c3868183c1aaf5424f6c8293db57b1987dde4eb6799258f07407b6b4231c4401
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.