Token migration announcement. XPower token contract has migrated to a new address.
Overview
AVAX Balance
AVAX Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 133 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 37903256 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37903049 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902899 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902882 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902872 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Renounce Role | 37502236 | 503 days ago | IN | 0 AVAX | 0.00122804 | ||||
Seal | 37502231 | 503 days ago | IN | 0 AVAX | 0.00074902 | ||||
Grant Role | 37502176 | 503 days ago | IN | 0 AVAX | 0.00313707 | ||||
Transfer Ownersh... | 34163918 | 583 days ago | IN | 0 AVAX | 0.00076113 | ||||
Approve | 33276022 | 604 days ago | IN | 0 AVAX | 0.00123556 | ||||
Mint | 33241605 | 604 days ago | IN | 0 AVAX | 0.00403194 | ||||
Init | 33241599 | 604 days ago | IN | 0 AVAX | 0.00122964 | ||||
Mint | 33240128 | 604 days ago | IN | 0 AVAX | 0.00403597 | ||||
Init | 33240122 | 604 days ago | IN | 0 AVAX | 0.00119133 | ||||
Approve | 33230247 | 605 days ago | IN | 0 AVAX | 0.00123556 | ||||
Mint | 33229810 | 605 days ago | IN | 0 AVAX | 0.00493994 | ||||
Mint | 33229659 | 605 days ago | IN | 0 AVAX | 0.0012823 | ||||
Init | 33229654 | 605 days ago | IN | 0 AVAX | 0.00119133 | ||||
Approve | 25246519 | 793 days ago | IN | 0 AVAX | 0.0013435 | ||||
Mint | 25246352 | 793 days ago | IN | 0 AVAX | 0.00607322 | ||||
Init | 25246344 | 793 days ago | IN | 0 AVAX | 0.00149642 | ||||
Transfer | 25146925 | 796 days ago | IN | 0 AVAX | 0.0013688 | ||||
Renounce Role | 24173056 | 819 days ago | IN | 0 AVAX | 0.00118775 | ||||
Seal | 24172994 | 819 days ago | IN | 0 AVAX | 0.00080769 | ||||
Grant Role | 24172874 | 819 days ago | IN | 0 AVAX | 0.00307788 |
Loading...
Loading
Contract Name:
XPowerLoki
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/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 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/[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/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/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/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/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File contracts/Migratable.sol // solhint-disable not-rely-on-time pragma solidity ^0.8.0; /** * Allows migration of tokens from an old contract upto a certain deadline. * Further, it is possible to close down the migration window earlier than * the specified deadline. */ abstract contract Migratable is ERC20, ERC20Burnable, Supervised { /** old contract to migrate from */ ERC20Burnable private _token; /** timestamp of migration deadline */ uint256 private _deadlineBy; /** flag to control migration */ bool private _migratable = true; /** number of migrated tokens */ uint256 private _migratedTotal = 0; /** @param base address of old contract */ /** @param deadlineIn seconds to end-of-migration */ constructor(address base, uint256 deadlineIn) { _deadlineBy = block.timestamp + deadlineIn; _token = ERC20Burnable(base); } /** import amount from old contract */ function migrate(uint256 oldAmount) public { require(_migratable, "migration sealed"); uint256 timestamp = block.timestamp; require(_deadlineBy >= timestamp, "deadline passed"); uint256 myAllowance = _token.allowance(msg.sender, address(this)); require(oldAmount <= myAllowance, "insufficient allowance"); uint256 oldBalance = _token.balanceOf(msg.sender); require(oldAmount <= oldBalance, "insufficient balance"); _token.burnFrom(msg.sender, oldAmount); uint256 newBalance = _token.balanceOf(msg.sender); require(newBalance + oldAmount == oldBalance, "invalid balance"); require(decimals() >= _token.decimals(), "invalid decimals"); uint8 deltaExponent = decimals() - _token.decimals(); uint256 newAmount = oldAmount * 10 ** deltaExponent; _incrementCounter(newAmount); _mint(msg.sender, newAmount); } /** @return number of migrated tokens */ function migrated() public view returns (uint256) { return _migratedTotal; } /** seal migration (manually) */ function seal() public virtual onlyRole(0x0) { _migratable = false; } /** track migration counter */ function _incrementCounter(uint256 amount) internal { _migratedTotal += amount; } /** returns true if this contract implements the interface defined by interfaceId */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC20).interfaceId || interfaceId == type(IERC20Metadata).interfaceId || super.supportsInterface(interfaceId); } } /** * Allows migration of MOE tokens from an old contract upto a certain deadline. */ abstract contract MoeMigratable is Migratable, MoeMigratableSupervised { /** seal migration (manually) */ function seal() public override onlyRole(MOE_SEAL_ROLE) { super.seal(); } /** returns true if this contract implements the interface defined by interfaceId */ function supportsInterface(bytes4 interfaceId) public view virtual override(Migratable, Supervised) returns (bool) { return super.supportsInterface(interfaceId); } } /** * Allows migration of SOV tokens from an old contract upto a certain deadline. */ abstract contract SovMigratable is Migratable, SovMigratableSupervised { /** seal migration (manually) */ function seal() public override onlyRole(SOV_SEAL_ROLE) { super.seal(); } /** returns true if this contract implements the interface defined by interfaceId */ function supportsInterface(bytes4 interfaceId) public view virtual override(Migratable, 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 contracts/XPower.sol // solhint-disable not-rely-on-time // solhint-disable no-empty-blocks pragma solidity ^0.8.0; /** * Abstract base class for the XPower THOR, LOKI and ODIN proof-of-work tokens. * It verifies, that the nonce & the block-hash do result in a positive amount, * (as specified by the sub-classes). After the verification, the corresponding * amount of tokens are minted for the beneficiary (plus the treasury). */ abstract contract XPower is ERC20, ERC20Burnable, MoeMigratable, XPowerSupervised, Ownable { using EnumerableSet for EnumerableSet.UintSet; /** set of nonce-hashes already minted for */ EnumerableSet.UintSet private _hashes; /** map from block-hashes to timestamps */ mapping(bytes32 => uint256) internal _timestamps; /** anchor for difficulty calculation */ uint256 private immutable _timestamp; /** parametrization of treasury-share */ uint256[] private _share = [0, 0, 2, 1, 0, 0]; /** parametrization of mining-difficulty */ uint256[] private _rigor = [0, 0, 4, 1, 0, 0]; /** @param symbol short token symbol */ /** @param moeBase address of old contract */ /** @param deadlineIn seconds to end-of-migration */ constructor( string memory symbol, address moeBase, uint256 deadlineIn ) // ERC20 constructor: name, symbol ERC20("XPower", symbol) // Migratable: old contract, rel. deadline [seconds] Migratable(moeBase, deadlineIn) { _timestamp = 0x6215621e; // 2022-02-22T22:22:22Z } /** emitted on caching most recent block-hash */ event Init(bytes32 blockHash, uint256 timestamp); /** cache most recent block-hash */ function init() public { bytes32 blockHash = blockhash(block.number - 1); require(blockHash > 0, "invalid block-hash"); uint256 timestamp = block.timestamp; require(timestamp > 0, "invalid timestamp"); _timestamps[blockHash] = timestamp; emit Init(blockHash, timestamp); } /** mint tokens for beneficiary, interval, block-hash and nonce */ function mint(address to, bytes32 blockHash, uint256 nonce) public { // get current interval (in hours) uint256 interval = _interval(); // check block-hash to be recent _requireRecent(blockHash, interval); // calculate nonce-hash for to, interval, block-hash & nonce bytes32 nonceHash = _hashOf(to, interval, blockHash, nonce); require(!_hashes.contains(uint256(nonceHash)), "duplicate nonce-hash"); // calculate amount of tokens for nonce-hash uint256 amount = _amountOf(nonceHash); require(amount > 0, "empty nonce-hash"); // ensure unique nonce-hash (to be used once) _hashes.add(uint256(nonceHash)); // mint tokens for owner (i.e. project treasury) uint256 treasure = treasuryShare(amount); if (treasure > 0) _mint(owner(), treasure); // mint tokens for beneficiary (e.g. nonce provider) _mint(to, amount); } /** @return treasury-share for given amount */ function treasuryShare(uint256 amount) public view returns (uint256) { return ((amount + _share[5] - _share[4]) * _share[3]) / _share[2] + _share[1] - _share[0]; } /** @return treasury-share parameters */ function getTreasuryShare() public view returns (uint256[] memory) { return _share; } /** set treasury-share parameters */ function setTreasuryShare(uint256[] memory array) public onlyRole(TREASURY_SHARE_ROLE) { require(array.length == 6, "invalid array.length"); _share = array; } /** @return mining-difficulty for given timestamp */ function miningDifficulty(uint256 timestamp) public view returns (uint256) { uint256 dt = timestamp - _timestamp; return (100 * (dt + _rigor[5] - _rigor[4]) * _rigor[3]) / (_rigor[2] * 365_25 days) + _rigor[1] - _rigor[0]; } /** @return mining-difficulty parameters */ function getMiningDifficulty() public view returns (uint256[] memory) { return _rigor; } /** set mining-difficulty parameters */ function setMiningDifficulty(uint256[] memory array) public onlyRole(MINING_DIFFICULTY_ROLE) { require(array.length == 6, "invalid array.length"); _rigor = array; } /** check whether block-hash has recently been cached or is recent */ function _requireRecent(bytes32 blockHash, uint256 interval) internal view { require(blockHash > 0, "invalid block-hash"); uint256 timestamp = _timestamps[blockHash]; if (timestamp / (1 hours) != interval) { for (uint256 i = 1; i <= 256; i++) { if (block.number >= i && blockhash(block.number - i) == blockHash) { return; // block-hash is within the last 256 blocks } } revert("expired block-hash"); } } /** @return current interval (in hours) */ function _interval() internal view returns (uint256) { uint256 interval = block.timestamp / (1 hours); require(interval > 0, "invalid interval"); return interval; } /** @return hash of beneficiary, interval, block-hash & nonce */ function _hashOf( address to, uint256 interval, bytes32 blockHash, uint256 nonce ) internal view virtual returns (bytes32) { return keccak256(abi.encode(symbol(), to, interval, blockHash, nonce)); } /** @return amount for provided nonce-hash */ function _amountOf(bytes32 nonceHash) internal view virtual returns (uint256); /** @return leading zeros of provided nonce-hash */ function _zerosOf(bytes32 nonceHash) internal pure returns (uint8) { uint8 counter = 0; for (uint8 i = 0; i < 32; i++) { bytes1 b = nonceHash[i]; if (b == 0x00) { counter += 2; continue; } if ( b == 0x01 || b == 0x02 || b == 0x03 || b == 0x04 || b == 0x05 || b == 0x06 || b == 0x07 || b == 0x08 || b == 0x09 || b == 0x0a || b == 0x0b || b == 0x0c || b == 0x0d || b == 0x0e || b == 0x0f ) { counter += 1; break; } break; } return counter; } /** returns true if this contract implements the interface defined by interfaceId */ function supportsInterface( bytes4 interfaceId ) public view virtual override(MoeMigratable, Supervised) returns (bool) { return super.supportsInterface(interfaceId); } } /** * Allow mining & minting for LOKI proof-of-work tokens, where the rewarded * amount equals to 2 ^ |leading-zeros(nonce-hash) - difficulty| - 1. */ contract XPowerLoki is XPower { /** @param moeBase address of old contract */ /** @param deadlineIn seconds to end-of-migration */ constructor(address moeBase, uint256 deadlineIn) XPower("LOKI", moeBase, deadlineIn) {} /** @return amount for provided nonce-hash */ function _amountOf(bytes32 nonceHash) internal view override returns (uint256) { uint256 difficulty = miningDifficulty(block.timestamp); uint256 zeros = _zerosOf(nonceHash); if (zeros > difficulty) { return (2 ** (zeros - difficulty) - 1) * 10 ** decimals(); } return 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"moeBase","type":"address"},{"internalType":"uint256","name":"deadlineIn","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"blockHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Init","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINING_DIFFICULTY_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINING_DIFFICULTY_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_SHARE_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_SHARE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMiningDifficulty","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTreasuryShare","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"miningDifficulty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"blockHash","type":"bytes32"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"mint","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":[],"name":"seal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"array","type":"uint256[]"}],"name":"setMiningDifficulty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"array","type":"uint256[]"}],"name":"setTreasuryShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"treasuryShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6009805460ff191660019081179091556000600a81905561016060405260a081815260c0829052600260e05261010092909252610120819052610140526200004c90600f9060066200047e565b506040805160c081018252600080825260208201819052600492820192909252600160608201526080810182905260a0810191909152620000929060109060066200047e565b50348015620000a057600080fd5b506040516200325638038062003256833981016040819052620000c391620004ea565b604051806040016040528060048152602001634c4f4b4960e01b81525082828181604051806040016040528060068152602001652c2837bbb2b960d11b815250858160039081620001159190620005ca565b506004620001248282620005ca565b50620001369150600090503362000287565b62000142814262000696565b60085550600780546001600160a01b0319166001600160a01b0392909216919091179055620001a17faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb600080516020620031f6833981519152620002ca565b620001bc600080516020620031f68339815191523362000287565b620001f77ffaf7695f60bc6df80a9a6a1674eb3a25a97bffeb33335a6c9c5fffdaa1c2277360008051602062003216833981519152620002ca565b62000212600080516020620032168339815191523362000287565b6200024d7f889d16fae87c5b58e6e01d50829e337ae448ef3827a9686602b05c9b3e0cf96e60008051602062003236833981519152620002ca565b62000268600080516020620032368339815191523362000287565b620002733362000315565b5050636215621e60805250620006b8915050565b6200029e82826200036760201b6200143a1760201c565b6000828152600660209081526040909120620002c5918390620014c06200040c821b17901c565b505050565b600082815260056020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620004085760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003c73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000423836001600160a01b0384166200042c565b90505b92915050565b6000818152600183016020526040812054620004755750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000426565b50600062000426565b828054828255906000526020600020908101928215620004c1579160200282015b82811115620004c1578251829060ff169055916020019190600101906200049f565b50620004cf929150620004d3565b5090565b5b80821115620004cf5760008155600101620004d4565b60008060408385031215620004fe57600080fd5b82516001600160a01b03811681146200051657600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055157607f821691505b6020821081036200057257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002c557600081815260208120601f850160051c81016020861015620005a15750805b601f850160051c820191505b81811015620005c257828155600101620005ad565b505050505050565b81516001600160401b03811115620005e657620005e662000526565b620005fe81620005f784546200053c565b8462000578565b602080601f8311600181146200063657600084156200061d5750858301515b600019600386901b1c1916600185901b178555620005c2565b600085815260208120601f198616915b82811015620006675788860151825594840194600190910190840162000646565b5085821015620006865787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200042657634e487b7160e01b600052601160045260246000fd5b608051612b22620006d4600039600061128c0152612b226000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063bb140470116100c3578063d565b5ae11610087578063d565b5ae14610583578063dd62ed3e146105aa578063e1c7392a146105bd578063e93b35cf146105c5578063eb6d5e2b146105d8578063f2fde38b146105eb57600080fd5b8063bb140470146104fc578063c89dcfce14610523578063ca15c87314610536578063d34ecd8614610549578063d547741f1461057057600080fd5b806391d148541161010a57806391d14854146104b357806395d89b41146104c6578063a217fddf146104ce578063a457c2d7146104d6578063a9059cbb146104e957600080fd5b8063715018a614610458578063796441bb1461046057806379cc6790146104685780638da5cb5b1461047b5780639010d07c146104a057600080fd5b80632c678c64116101df5780633fb27b85116101a35780633fb27b85146103c757806342966c68146103cf578063454b0608146103e257806365a8494b146103f55780636d9e36741461040857806370a082311461042f57600080fd5b80632c678c64146103755780632f2ff15d1461037d578063313ce5671461039257806336568abe146103a157806339509351146103b457600080fd5b806317da485f1161022657806317da485f1461030f57806318160ddd146103245780631ab49d451461032c57806323b872dd1461033f578063248a9ca31461035257600080fd5b806301ffc9a71461026357806306fdde031461028b578063095ea7b3146102a05780630a99e88a146102b35780630e12aafe146102e8575b600080fd5b61027661027136600461249f565b6105fe565b60405190151581526020015b60405180910390f35b61029361060f565b6040516102829190612519565b6102766102ae366004612543565b6106a1565b6102da7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb81565b604051908152602001610282565b6102da7f75de9fdf4d2ce86f3bd7c71d26e2f2292f9d0cf58a5dee2b8115bfb4bba3299481565b6103176106b9565b604051610282919061256d565b6002546102da565b6102da61033a3660046125b1565b610710565b61027661034d3660046125ca565b610809565b6102da6103603660046125b1565b60009081526005602052604090206001015490565b600a546102da565b61039061038b366004612606565b61082d565b005b60405160128152602001610282565b6103906103af366004612606565b610857565b6102766103c2366004612543565b6108da565b6103906108fc565b6103906103dd3660046125b1565b610931565b6103906103f03660046125b1565b61093b565b610390610403366004612648565b610dc6565b6102da7f68962727b57865727b16e7d9a8e6099143a5e1bea15f28f8b6880b3dd0581d5081565b6102da61043d366004612706565b6001600160a01b031660009081526020819052604090205490565b610390610e4b565b610317610e5f565b610390610476366004612543565b610eb5565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610282565b6104886104ae366004612721565b610eca565b6102766104c1366004612606565b610ee9565b610293610f14565b6102da600081565b6102766104e4366004612543565b610f23565b6102766104f7366004612543565b610f9e565b6102da7f7df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a81565b610390610531366004612743565b610fac565b6102da6105443660046125b1565b6110b5565b6102da7f889d16fae87c5b58e6e01d50829e337ae448ef3827a9686602b05c9b3e0cf96e81565b61039061057e366004612606565b6110cc565b6102da7ffaf7695f60bc6df80a9a6a1674eb3a25a97bffeb33335a6c9c5fffdaa1c2277381565b6102da6105b8366004612776565b6110f1565b61039061111c565b6103906105d3366004612648565b6111ff565b6102da6105e63660046125b1565b611284565b6103906105f9366004612706565b6113c4565b6000610609826114d5565b92915050565b60606003805461061e906127a0565b80601f016020809104026020016040519081016040528092919081815260200182805461064a906127a0565b80156106975780601f1061066c57610100808354040283529160200191610697565b820191906000526020600020905b81548152906001019060200180831161067a57829003601f168201915b5050505050905090565b6000336106af8185856114e0565b5060019392505050565b6060601080548060200260200160405190810160405280929190818152602001828054801561069757602002820191906000526020600020905b8154815260200190600101908083116106f3575050505050905090565b6000600f600081548110610726576107266127da565b9060005260206000200154600f600181548110610745576107456127da565b9060005260206000200154600f600281548110610764576107646127da565b9060005260206000200154600f600381548110610783576107836127da565b9060005260206000200154600f6004815481106107a2576107a26127da565b9060005260206000200154600f6005815481106107c1576107c16127da565b9060005260206000200154876107d79190612806565b6107e19190612819565b6107eb919061282c565b6107f59190612843565b6107ff9190612806565b6106099190612819565b600033610817858285611604565b61082285858561167e565b506001949350505050565b6000828152600560205260409020600101546108488161184c565b6108528383611856565b505050565b6001600160a01b03811633146108cc5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108d68282611878565b5050565b6000336106af8185856108ed83836110f1565b6108f79190612806565b6114e0565b7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb6109268161184c565b61092e61189a565b50565b61092e33826118b2565b60095460ff166109805760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016108c3565b60085442908111156109c65760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016108c3565b600754604051636eb1769f60e11b81523360048201523060248201526000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190612865565b905080831115610a845760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e7420616c6c6f77616e636560501b60448201526064016108c3565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190612865565b905080841115610b3a5760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b60448201526064016108c3565b60075460405163079cc67960e41b8152336004820152602481018690526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50506007546040516370a0823160e01b8152336004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190612865565b905081610c1a8683612806565b14610c595760405162461bcd60e51b815260206004820152600f60248201526e696e76616c69642062616c616e636560881b60448201526064016108c3565b600760009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd0919061287e565b60ff1660121015610d165760405162461bcd60e51b815260206004820152601060248201526f696e76616c696420646563696d616c7360801b60448201526064016108c3565b6007546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061287e565b610d8f9060126128a1565b90506000610d9e82600a61299e565b610da8908861282c565b9050610db381611a00565b610dbd3382611a1a565b50505050505050565b7f889d16fae87c5b58e6e01d50829e337ae448ef3827a9686602b05c9b3e0cf96e610df08161184c565b8151600614610e385760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016108c3565b815161085290601090602085019061243f565b610e53611af9565b610e5d6000611b53565b565b6060600f80548060200260200160405190810160405280929190818152602001828054801561069757602002820191906000526020600020908154815260200190600101908083116106f3575050505050905090565b610ec0823383611604565b6108d682826118b2565b6000828152600660205260408120610ee29083611ba5565b9392505050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461061e906127a0565b60003381610f3182866110f1565b905083811015610f915760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108c3565b61082282868684036114e0565b6000336106af81858561167e565b6000610fb6611bb1565b9050610fc28382611c0a565b6000610fd085838686611ced565b9050610fdd600c82611d2f565b156110215760405162461bcd60e51b81526020600482015260146024820152730c8eae0d8d2c6c2e8ca40dcdedcc6ca5ad0c2e6d60631b60448201526064016108c3565b600061102c82611d47565b9050600081116110715760405162461bcd60e51b815260206004820152601060248201526f0cadae0e8f240dcdedcc6ca5ad0c2e6d60831b60448201526064016108c3565b61107c600c83611db6565b50600061108882610710565b905080156110ab576110ab6110a5600b546001600160a01b031690565b82611a1a565b610dbd8783611a1a565b600081815260066020526040812061060990611dc2565b6000828152600560205260409020600101546110e78161184c565b6108528383611878565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611129600143612819565b4090508061116e5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b42806111b05760405162461bcd60e51b81526020600482015260116024820152700696e76616c69642074696d657374616d7607c1b60448201526064016108c3565b6000828152600e602090815260409182902083905581518481529081018390527f2c6c5a9e4f0ddd70b42bd7fcac74128409018755c234dc0d2d29c66eb6335c9a910160405180910390a15050565b7ffaf7695f60bc6df80a9a6a1674eb3a25a97bffeb33335a6c9c5fffdaa1c227736112298161184c565b81516006146112715760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016108c3565b815161085290600f90602085019061243f565b6000806112b17f000000000000000000000000000000000000000000000000000000000000000084612819565b905060106000815481106112c7576112c76127da565b906000526020600020015460106001815481106112e6576112e66127da565b90600052602060002001546010600281548110611305576113056127da565b906000526020600020015463bc19138061131f919061282c565b6010600381548110611333576113336127da565b90600052602060002001546010600481548110611352576113526127da565b90600052602060002001546010600581548110611371576113716127da565b9060005260206000200154866113879190612806565b6113919190612819565b61139c90606461282c565b6113a6919061282c565b6113b09190612843565b6113ba9190612806565b610ee29190612819565b6113cc611af9565b6001600160a01b0381166114315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c3565b61092e81611b53565b6114448282610ee9565b6108d65760008281526005602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561147c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610ee2836001600160a01b038416611dcc565b600061060982611e1b565b6001600160a01b0383166115425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108c3565b6001600160a01b0382166115a35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108c3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061161084846110f1565b90506000198114611678578181101561166b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108c3565b61167884848484036114e0565b50505050565b6001600160a01b0383166116e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108c3565b6001600160a01b0382166117445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108c3565b6001600160a01b038316600090815260208190526040902054818110156117bc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108c3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906117f3908490612806565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161183f91815260200190565b60405180910390a3611678565b61092e8133611e5b565b611860828261143a565b600082815260066020526040902061085290826114c0565b6118828282611ebf565b60008281526006602052604090206108529082611f26565b60006118a58161184c565b506009805460ff19169055565b6001600160a01b0382166119125760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108c3565b6001600160a01b038216600090815260208190526040902054818110156119865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108c3565b6001600160a01b03831660009081526020819052604081208383039055600280548492906119b5908490612819565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b80600a6000828254611a129190612806565b909155505050565b6001600160a01b038216611a705760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108c3565b8060026000828254611a829190612806565b90915550506001600160a01b03821660009081526020819052604081208054839290611aaf908490612806565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600b546001600160a01b03163314610e5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c3565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ee28383611f3b565b600080611bc0610e1042612843565b905060008111611c055760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081a5b9d195c9d985b60821b60448201526064016108c3565b919050565b81611c4c5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b6000828152600e602052604090205481611c68610e1083612843565b146108525760015b6101008111611caf57804310158015611c92575083611c8f8243612819565b40145b15611c9d5750505050565b80611ca7816129ad565b915050611c70565b5060405162461bcd60e51b81526020600482015260126024820152710caf0e0d2e4cac840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b6000611cf7610f14565b85858585604051602001611d0f9594939291906129c6565b604051602081830303815290604052805190602001209050949350505050565b60008181526001830160205260408120541515610ee2565b600080611d5342611284565b90506000611d6084611f65565b60ff16905081811115611dac57611d796012600a61299e565b6001611d858484612819565b611d90906002612a06565b611d9a9190612819565b611da4919061282c565b949350505050565b5060009392505050565b6000610ee28383611dcc565b6000610609825490565b6000818152600183016020526040812054611e1357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610609565b506000610609565b60006001600160e01b031982166336372b0760e01b1480611e4c57506001600160e01b0319821663a219a02560e01b145b80610609575061060982612150565b611e658282610ee9565b6108d657611e7d816001600160a01b0316601461215b565b611e8883602061215b565b604051602001611e99929190612a12565b60408051601f198184030181529082905262461bcd60e51b82526108c391600401612519565b611ec98282610ee9565b156108d65760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610ee2836001600160a01b0384166122f7565b6000826000018281548110611f5257611f526127da565b9060005260206000200154905092915050565b600080805b60208160ff161015612149576000848260ff1660208110611f8d57611f8d6127da565b1a60f81b90506001600160f81b03198116600003611fb857611fb0600284612a87565b925050612137565b600160f81b6001600160f81b031982161480611fe15750600160f91b6001600160f81b03198216145b80611ff95750600360f81b6001600160f81b03198216145b806120115750600160fa1b6001600160f81b03198216145b806120295750600560f81b6001600160f81b03198216145b806120415750600360f91b6001600160f81b03198216145b806120595750600760f81b6001600160f81b03198216145b806120715750600160fb1b6001600160f81b03198216145b806120895750600960f81b6001600160f81b03198216145b806120a15750600560f91b6001600160f81b03198216145b806120b95750600b60f81b6001600160f81b03198216145b806120d15750600360fa1b6001600160f81b03198216145b806120e95750600d60f81b6001600160f81b03198216145b806121015750600760f91b6001600160f81b03198216145b806121195750600f60f81b6001600160f81b03198216145b1561213157612129600184612a87565b925050612149565b50612149565b8061214181612aa0565b915050611f6a565b5092915050565b6000610609826123ea565b6060600061216a83600261282c565b612175906002612806565b67ffffffffffffffff81111561218d5761218d612632565b6040519080825280601f01601f1916602001820160405280156121b7576020820181803683370190505b509050600360fc1b816000815181106121d2576121d26127da565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612201576122016127da565b60200101906001600160f81b031916908160001a905350600061222584600261282c565b612230906001612806565b90505b60018111156122a8576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612264576122646127da565b1a60f81b82828151811061227a5761227a6127da565b60200101906001600160f81b031916908160001a90535060049490941c936122a181612abf565b9050612233565b508315610ee25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108c3565b600081815260018301602052604081205480156123e057600061231b600183612819565b855490915060009061232f90600190612819565b905081811461239457600086600001828154811061234f5761234f6127da565b9060005260206000200154905080876000018481548110612372576123726127da565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123a5576123a5612ad6565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610609565b6000915050610609565b60006001600160e01b03198216635a05180f60e01b148061060957506106098260006001600160e01b03198216637965db0b60e01b148061060957506301ffc9a760e01b6001600160e01b0319831614610609565b82805482825590600052602060002090810192821561247a579160200282015b8281111561247a57825182559160200191906001019061245f565b5061248692915061248a565b5090565b5b80821115612486576000815560010161248b565b6000602082840312156124b157600080fd5b81356001600160e01b031981168114610ee257600080fd5b60005b838110156124e45781810151838201526020016124cc565b50506000910152565b600081518084526125058160208601602086016124c9565b601f01601f19169290920160200192915050565b602081526000610ee260208301846124ed565b80356001600160a01b0381168114611c0557600080fd5b6000806040838503121561255657600080fd5b61255f8361252c565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b818110156125a557835183529284019291840191600101612589565b50909695505050505050565b6000602082840312156125c357600080fd5b5035919050565b6000806000606084860312156125df57600080fd5b6125e88461252c565b92506125f66020850161252c565b9150604084013590509250925092565b6000806040838503121561261957600080fd5b823591506126296020840161252c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561265b57600080fd5b823567ffffffffffffffff8082111561267357600080fd5b818501915085601f83011261268757600080fd5b81358181111561269957612699612632565b8060051b604051601f19603f830116810181811085821117156126be576126be612632565b6040529182528482019250838101850191888311156126dc57600080fd5b938501935b828510156126fa578435845293850193928501926126e1565b98975050505050505050565b60006020828403121561271857600080fd5b610ee28261252c565b6000806040838503121561273457600080fd5b50508035926020909101359150565b60008060006060848603121561275857600080fd5b6127618461252c565b95602085013595506040909401359392505050565b6000806040838503121561278957600080fd5b6127928361252c565b91506126296020840161252c565b600181811c908216806127b457607f821691505b6020821081036127d457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610609576106096127f0565b81810381811115610609576106096127f0565b8082028115828204841417610609576106096127f0565b60008261286057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561287757600080fd5b5051919050565b60006020828403121561289057600080fd5b815160ff81168114610ee257600080fd5b60ff8281168282160390811115610609576106096127f0565b600181815b808511156128f55781600019048211156128db576128db6127f0565b808516156128e857918102915b93841c93908002906128bf565b509250929050565b60008261290c57506001610609565b8161291957506000610609565b816001811461292f576002811461293957612955565b6001915050610609565b60ff84111561294a5761294a6127f0565b50506001821b610609565b5060208310610133831016604e8410600b8410161715612978575081810a610609565b61298283836128ba565b8060001904821115612996576129966127f0565b029392505050565b6000610ee260ff8416836128fd565b6000600182016129bf576129bf6127f0565b5060010190565b60a0815260006129d960a08301886124ed565b6001600160a01b039690961660208301525060408101939093526060830191909152608090910152919050565b6000610ee283836128fd565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612a4a8160178501602088016124c9565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a7b8160288401602088016124c9565b01602801949350505050565b60ff8181168382160190811115610609576106096127f0565b600060ff821660ff8103612ab657612ab66127f0565b60010192915050565b600081612ace57612ace6127f0565b506000190190565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220d1f211bc6019bbccfe22d84e6a32e1bc26fedbdb4ac67b0229945152cebb908a64736f6c634300081100337df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a75de9fdf4d2ce86f3bd7c71d26e2f2292f9d0cf58a5dee2b8115bfb4bba3299468962727b57865727b16e7d9a8e6099143a5e1bea15f28f8b6880b3dd0581d500000000000000000000000004353cac32924b45c01c2880f65e75b3795ddfd600000000000000000000000000000000000000000000000000000000007861f80
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063bb140470116100c3578063d565b5ae11610087578063d565b5ae14610583578063dd62ed3e146105aa578063e1c7392a146105bd578063e93b35cf146105c5578063eb6d5e2b146105d8578063f2fde38b146105eb57600080fd5b8063bb140470146104fc578063c89dcfce14610523578063ca15c87314610536578063d34ecd8614610549578063d547741f1461057057600080fd5b806391d148541161010a57806391d14854146104b357806395d89b41146104c6578063a217fddf146104ce578063a457c2d7146104d6578063a9059cbb146104e957600080fd5b8063715018a614610458578063796441bb1461046057806379cc6790146104685780638da5cb5b1461047b5780639010d07c146104a057600080fd5b80632c678c64116101df5780633fb27b85116101a35780633fb27b85146103c757806342966c68146103cf578063454b0608146103e257806365a8494b146103f55780636d9e36741461040857806370a082311461042f57600080fd5b80632c678c64146103755780632f2ff15d1461037d578063313ce5671461039257806336568abe146103a157806339509351146103b457600080fd5b806317da485f1161022657806317da485f1461030f57806318160ddd146103245780631ab49d451461032c57806323b872dd1461033f578063248a9ca31461035257600080fd5b806301ffc9a71461026357806306fdde031461028b578063095ea7b3146102a05780630a99e88a146102b35780630e12aafe146102e8575b600080fd5b61027661027136600461249f565b6105fe565b60405190151581526020015b60405180910390f35b61029361060f565b6040516102829190612519565b6102766102ae366004612543565b6106a1565b6102da7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb81565b604051908152602001610282565b6102da7f75de9fdf4d2ce86f3bd7c71d26e2f2292f9d0cf58a5dee2b8115bfb4bba3299481565b6103176106b9565b604051610282919061256d565b6002546102da565b6102da61033a3660046125b1565b610710565b61027661034d3660046125ca565b610809565b6102da6103603660046125b1565b60009081526005602052604090206001015490565b600a546102da565b61039061038b366004612606565b61082d565b005b60405160128152602001610282565b6103906103af366004612606565b610857565b6102766103c2366004612543565b6108da565b6103906108fc565b6103906103dd3660046125b1565b610931565b6103906103f03660046125b1565b61093b565b610390610403366004612648565b610dc6565b6102da7f68962727b57865727b16e7d9a8e6099143a5e1bea15f28f8b6880b3dd0581d5081565b6102da61043d366004612706565b6001600160a01b031660009081526020819052604090205490565b610390610e4b565b610317610e5f565b610390610476366004612543565b610eb5565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610282565b6104886104ae366004612721565b610eca565b6102766104c1366004612606565b610ee9565b610293610f14565b6102da600081565b6102766104e4366004612543565b610f23565b6102766104f7366004612543565b610f9e565b6102da7f7df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a81565b610390610531366004612743565b610fac565b6102da6105443660046125b1565b6110b5565b6102da7f889d16fae87c5b58e6e01d50829e337ae448ef3827a9686602b05c9b3e0cf96e81565b61039061057e366004612606565b6110cc565b6102da7ffaf7695f60bc6df80a9a6a1674eb3a25a97bffeb33335a6c9c5fffdaa1c2277381565b6102da6105b8366004612776565b6110f1565b61039061111c565b6103906105d3366004612648565b6111ff565b6102da6105e63660046125b1565b611284565b6103906105f9366004612706565b6113c4565b6000610609826114d5565b92915050565b60606003805461061e906127a0565b80601f016020809104026020016040519081016040528092919081815260200182805461064a906127a0565b80156106975780601f1061066c57610100808354040283529160200191610697565b820191906000526020600020905b81548152906001019060200180831161067a57829003601f168201915b5050505050905090565b6000336106af8185856114e0565b5060019392505050565b6060601080548060200260200160405190810160405280929190818152602001828054801561069757602002820191906000526020600020905b8154815260200190600101908083116106f3575050505050905090565b6000600f600081548110610726576107266127da565b9060005260206000200154600f600181548110610745576107456127da565b9060005260206000200154600f600281548110610764576107646127da565b9060005260206000200154600f600381548110610783576107836127da565b9060005260206000200154600f6004815481106107a2576107a26127da565b9060005260206000200154600f6005815481106107c1576107c16127da565b9060005260206000200154876107d79190612806565b6107e19190612819565b6107eb919061282c565b6107f59190612843565b6107ff9190612806565b6106099190612819565b600033610817858285611604565b61082285858561167e565b506001949350505050565b6000828152600560205260409020600101546108488161184c565b6108528383611856565b505050565b6001600160a01b03811633146108cc5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108d68282611878565b5050565b6000336106af8185856108ed83836110f1565b6108f79190612806565b6114e0565b7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb6109268161184c565b61092e61189a565b50565b61092e33826118b2565b60095460ff166109805760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016108c3565b60085442908111156109c65760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016108c3565b600754604051636eb1769f60e11b81523360048201523060248201526000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190612865565b905080831115610a845760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e7420616c6c6f77616e636560501b60448201526064016108c3565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190612865565b905080841115610b3a5760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b60448201526064016108c3565b60075460405163079cc67960e41b8152336004820152602481018690526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50506007546040516370a0823160e01b8152336004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190612865565b905081610c1a8683612806565b14610c595760405162461bcd60e51b815260206004820152600f60248201526e696e76616c69642062616c616e636560881b60448201526064016108c3565b600760009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd0919061287e565b60ff1660121015610d165760405162461bcd60e51b815260206004820152601060248201526f696e76616c696420646563696d616c7360801b60448201526064016108c3565b6007546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061287e565b610d8f9060126128a1565b90506000610d9e82600a61299e565b610da8908861282c565b9050610db381611a00565b610dbd3382611a1a565b50505050505050565b7f889d16fae87c5b58e6e01d50829e337ae448ef3827a9686602b05c9b3e0cf96e610df08161184c565b8151600614610e385760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016108c3565b815161085290601090602085019061243f565b610e53611af9565b610e5d6000611b53565b565b6060600f80548060200260200160405190810160405280929190818152602001828054801561069757602002820191906000526020600020908154815260200190600101908083116106f3575050505050905090565b610ec0823383611604565b6108d682826118b2565b6000828152600660205260408120610ee29083611ba5565b9392505050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461061e906127a0565b60003381610f3182866110f1565b905083811015610f915760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108c3565b61082282868684036114e0565b6000336106af81858561167e565b6000610fb6611bb1565b9050610fc28382611c0a565b6000610fd085838686611ced565b9050610fdd600c82611d2f565b156110215760405162461bcd60e51b81526020600482015260146024820152730c8eae0d8d2c6c2e8ca40dcdedcc6ca5ad0c2e6d60631b60448201526064016108c3565b600061102c82611d47565b9050600081116110715760405162461bcd60e51b815260206004820152601060248201526f0cadae0e8f240dcdedcc6ca5ad0c2e6d60831b60448201526064016108c3565b61107c600c83611db6565b50600061108882610710565b905080156110ab576110ab6110a5600b546001600160a01b031690565b82611a1a565b610dbd8783611a1a565b600081815260066020526040812061060990611dc2565b6000828152600560205260409020600101546110e78161184c565b6108528383611878565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611129600143612819565b4090508061116e5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b42806111b05760405162461bcd60e51b81526020600482015260116024820152700696e76616c69642074696d657374616d7607c1b60448201526064016108c3565b6000828152600e602090815260409182902083905581518481529081018390527f2c6c5a9e4f0ddd70b42bd7fcac74128409018755c234dc0d2d29c66eb6335c9a910160405180910390a15050565b7ffaf7695f60bc6df80a9a6a1674eb3a25a97bffeb33335a6c9c5fffdaa1c227736112298161184c565b81516006146112715760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016108c3565b815161085290600f90602085019061243f565b6000806112b17f000000000000000000000000000000000000000000000000000000006215621e84612819565b905060106000815481106112c7576112c76127da565b906000526020600020015460106001815481106112e6576112e66127da565b90600052602060002001546010600281548110611305576113056127da565b906000526020600020015463bc19138061131f919061282c565b6010600381548110611333576113336127da565b90600052602060002001546010600481548110611352576113526127da565b90600052602060002001546010600581548110611371576113716127da565b9060005260206000200154866113879190612806565b6113919190612819565b61139c90606461282c565b6113a6919061282c565b6113b09190612843565b6113ba9190612806565b610ee29190612819565b6113cc611af9565b6001600160a01b0381166114315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c3565b61092e81611b53565b6114448282610ee9565b6108d65760008281526005602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561147c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610ee2836001600160a01b038416611dcc565b600061060982611e1b565b6001600160a01b0383166115425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108c3565b6001600160a01b0382166115a35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108c3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061161084846110f1565b90506000198114611678578181101561166b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108c3565b61167884848484036114e0565b50505050565b6001600160a01b0383166116e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108c3565b6001600160a01b0382166117445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108c3565b6001600160a01b038316600090815260208190526040902054818110156117bc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108c3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906117f3908490612806565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161183f91815260200190565b60405180910390a3611678565b61092e8133611e5b565b611860828261143a565b600082815260066020526040902061085290826114c0565b6118828282611ebf565b60008281526006602052604090206108529082611f26565b60006118a58161184c565b506009805460ff19169055565b6001600160a01b0382166119125760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108c3565b6001600160a01b038216600090815260208190526040902054818110156119865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108c3565b6001600160a01b03831660009081526020819052604081208383039055600280548492906119b5908490612819565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b80600a6000828254611a129190612806565b909155505050565b6001600160a01b038216611a705760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108c3565b8060026000828254611a829190612806565b90915550506001600160a01b03821660009081526020819052604081208054839290611aaf908490612806565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600b546001600160a01b03163314610e5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c3565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ee28383611f3b565b600080611bc0610e1042612843565b905060008111611c055760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081a5b9d195c9d985b60821b60448201526064016108c3565b919050565b81611c4c5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b6000828152600e602052604090205481611c68610e1083612843565b146108525760015b6101008111611caf57804310158015611c92575083611c8f8243612819565b40145b15611c9d5750505050565b80611ca7816129ad565b915050611c70565b5060405162461bcd60e51b81526020600482015260126024820152710caf0e0d2e4cac840c4d8dec6d65ad0c2e6d60731b60448201526064016108c3565b6000611cf7610f14565b85858585604051602001611d0f9594939291906129c6565b604051602081830303815290604052805190602001209050949350505050565b60008181526001830160205260408120541515610ee2565b600080611d5342611284565b90506000611d6084611f65565b60ff16905081811115611dac57611d796012600a61299e565b6001611d858484612819565b611d90906002612a06565b611d9a9190612819565b611da4919061282c565b949350505050565b5060009392505050565b6000610ee28383611dcc565b6000610609825490565b6000818152600183016020526040812054611e1357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610609565b506000610609565b60006001600160e01b031982166336372b0760e01b1480611e4c57506001600160e01b0319821663a219a02560e01b145b80610609575061060982612150565b611e658282610ee9565b6108d657611e7d816001600160a01b0316601461215b565b611e8883602061215b565b604051602001611e99929190612a12565b60408051601f198184030181529082905262461bcd60e51b82526108c391600401612519565b611ec98282610ee9565b156108d65760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610ee2836001600160a01b0384166122f7565b6000826000018281548110611f5257611f526127da565b9060005260206000200154905092915050565b600080805b60208160ff161015612149576000848260ff1660208110611f8d57611f8d6127da565b1a60f81b90506001600160f81b03198116600003611fb857611fb0600284612a87565b925050612137565b600160f81b6001600160f81b031982161480611fe15750600160f91b6001600160f81b03198216145b80611ff95750600360f81b6001600160f81b03198216145b806120115750600160fa1b6001600160f81b03198216145b806120295750600560f81b6001600160f81b03198216145b806120415750600360f91b6001600160f81b03198216145b806120595750600760f81b6001600160f81b03198216145b806120715750600160fb1b6001600160f81b03198216145b806120895750600960f81b6001600160f81b03198216145b806120a15750600560f91b6001600160f81b03198216145b806120b95750600b60f81b6001600160f81b03198216145b806120d15750600360fa1b6001600160f81b03198216145b806120e95750600d60f81b6001600160f81b03198216145b806121015750600760f91b6001600160f81b03198216145b806121195750600f60f81b6001600160f81b03198216145b1561213157612129600184612a87565b925050612149565b50612149565b8061214181612aa0565b915050611f6a565b5092915050565b6000610609826123ea565b6060600061216a83600261282c565b612175906002612806565b67ffffffffffffffff81111561218d5761218d612632565b6040519080825280601f01601f1916602001820160405280156121b7576020820181803683370190505b509050600360fc1b816000815181106121d2576121d26127da565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612201576122016127da565b60200101906001600160f81b031916908160001a905350600061222584600261282c565b612230906001612806565b90505b60018111156122a8576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612264576122646127da565b1a60f81b82828151811061227a5761227a6127da565b60200101906001600160f81b031916908160001a90535060049490941c936122a181612abf565b9050612233565b508315610ee25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108c3565b600081815260018301602052604081205480156123e057600061231b600183612819565b855490915060009061232f90600190612819565b905081811461239457600086600001828154811061234f5761234f6127da565b9060005260206000200154905080876000018481548110612372576123726127da565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123a5576123a5612ad6565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610609565b6000915050610609565b60006001600160e01b03198216635a05180f60e01b148061060957506106098260006001600160e01b03198216637965db0b60e01b148061060957506301ffc9a760e01b6001600160e01b0319831614610609565b82805482825590600052602060002090810192821561247a579160200282015b8281111561247a57825182559160200191906001019061245f565b5061248692915061248a565b5090565b5b80821115612486576000815560010161248b565b6000602082840312156124b157600080fd5b81356001600160e01b031981168114610ee257600080fd5b60005b838110156124e45781810151838201526020016124cc565b50506000910152565b600081518084526125058160208601602086016124c9565b601f01601f19169290920160200192915050565b602081526000610ee260208301846124ed565b80356001600160a01b0381168114611c0557600080fd5b6000806040838503121561255657600080fd5b61255f8361252c565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b818110156125a557835183529284019291840191600101612589565b50909695505050505050565b6000602082840312156125c357600080fd5b5035919050565b6000806000606084860312156125df57600080fd5b6125e88461252c565b92506125f66020850161252c565b9150604084013590509250925092565b6000806040838503121561261957600080fd5b823591506126296020840161252c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561265b57600080fd5b823567ffffffffffffffff8082111561267357600080fd5b818501915085601f83011261268757600080fd5b81358181111561269957612699612632565b8060051b604051601f19603f830116810181811085821117156126be576126be612632565b6040529182528482019250838101850191888311156126dc57600080fd5b938501935b828510156126fa578435845293850193928501926126e1565b98975050505050505050565b60006020828403121561271857600080fd5b610ee28261252c565b6000806040838503121561273457600080fd5b50508035926020909101359150565b60008060006060848603121561275857600080fd5b6127618461252c565b95602085013595506040909401359392505050565b6000806040838503121561278957600080fd5b6127928361252c565b91506126296020840161252c565b600181811c908216806127b457607f821691505b6020821081036127d457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610609576106096127f0565b81810381811115610609576106096127f0565b8082028115828204841417610609576106096127f0565b60008261286057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561287757600080fd5b5051919050565b60006020828403121561289057600080fd5b815160ff81168114610ee257600080fd5b60ff8281168282160390811115610609576106096127f0565b600181815b808511156128f55781600019048211156128db576128db6127f0565b808516156128e857918102915b93841c93908002906128bf565b509250929050565b60008261290c57506001610609565b8161291957506000610609565b816001811461292f576002811461293957612955565b6001915050610609565b60ff84111561294a5761294a6127f0565b50506001821b610609565b5060208310610133831016604e8410600b8410161715612978575081810a610609565b61298283836128ba565b8060001904821115612996576129966127f0565b029392505050565b6000610ee260ff8416836128fd565b6000600182016129bf576129bf6127f0565b5060010190565b60a0815260006129d960a08301886124ed565b6001600160a01b039690961660208301525060408101939093526060830191909152608090910152919050565b6000610ee283836128fd565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612a4a8160178501602088016124c9565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a7b8160288401602088016124c9565b01602801949350505050565b60ff8181168382160190811115610609576106096127f0565b600060ff821660ff8103612ab657612ab66127f0565b60010192915050565b600081612ace57612ace6127f0565b506000190190565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220d1f211bc6019bbccfe22d84e6a32e1bc26fedbdb4ac67b0229945152cebb908a64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004353cac32924b45c01c2880f65e75b3795ddfd600000000000000000000000000000000000000000000000000000000007861f80
-----Decoded View---------------
Arg [0] : moeBase (address): 0x4353CaC32924b45C01c2880F65E75B3795DDFd60
Arg [1] : deadlineIn (uint256): 126230400
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004353cac32924b45c01c2880f65e75b3795ddfd60
Arg [1] : 0000000000000000000000000000000000000000000000000000000007861f80
Deployed Bytecode Sourcemap
68721:630:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68360:196;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;68360:196:0;;;;;;;;42969:100;;;:::i;:::-;;;;;;;:::i;45320:201::-;;;;;;:::i;:::-;;:::i;35659:66::-;;35699:26;35659:66;;;;;1836:25:1;;;1824:2;1809:18;35659:66:0;1690:177:1;34141:90:0;;34193:38;34141:90;;65620:102;;;:::i;:::-;;;;;;;:::i;44089:108::-;44177:12;;44089:108;;64689:177;;;;;;:::i;:::-;;:::i;46101:295::-;;;;;;:::i;:::-;;:::i;27239:131::-;;;;;;:::i;:::-;27313:7;27340:12;;;:6;:12;;;;;:22;;;;27239:131;56885:90;56953:14;;56885:90;;27680:147;;;;;;:::i;:::-;;:::i;:::-;;43931:93;;;44014:2;3795:36:1;;3783:2;3768:18;43931:93:0;3653:184:1;28824:218:0;;;;;;:::i;:::-;;:::i;46805:238::-;;;;;;:::i;:::-;;:::i;57841:87::-;;;:::i;54332:91::-;;;;;;:::i;:::-;;:::i;55889:942::-;;;;;;:::i;:::-;;:::i;65775:187::-;;;;;;:::i;:::-;;:::i;34403:96::-;;34458:41;34403:96;;44260:127;;;;;;:::i;:::-;-1:-1:-1;;;;;44361:18:0;44334:7;44361:18;;;;;;;;;;;;44260:127;60667:103;;;:::i;64920:99::-;;;:::i;54742:164::-;;;;;;:::i;:::-;;:::i;60019:87::-;60092:6;;-1:-1:-1;;;;;60092:6:0;60019:87;;;-1:-1:-1;;;;;5449:32:1;;;5431:51;;5419:2;5404:18;60019:87:0;5285:203:1;32471:153:0;;;;;;:::i;:::-;;:::i;25699:147::-;;;;;;:::i;:::-;;:::i;43188:104::-;;;:::i;24804:49::-;;24849:4;24804:49;;47546:436;;;;;;:::i;:::-;;:::i;44593:193::-;;;;;;:::i;:::-;;:::i;35732:78::-;;35778:32;35732:78;;63659:970;;;;;;:::i;:::-;;:::i;32798:142::-;;;;;;:::i;:::-;;:::i;34312:84::-;;34361:35;34312:84;;28120:149;;;;;;:::i;:::-;;:::i;34056:78::-;;34102:32;34056:78;;44849:151;;;;;;:::i;:::-;;:::i;63248:331::-;;;:::i;65069:181::-;;;;;;:::i;:::-;;:::i;65316:247::-;;;;;;:::i;:::-;;:::i;60925:201::-;;;;;;:::i;:::-;;:::i;68360:196::-;68488:4;68512:36;68536:11;68512:23;:36::i;:::-;68505:43;68360:196;-1:-1:-1;;68360:196:0:o;42969:100::-;43023:13;43056:5;43049:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42969:100;:::o;45320:201::-;45403:4;18259:10;45459:32;18259:10;45475:7;45484:6;45459:8;:32::i;:::-;-1:-1:-1;45509:4:0;;45320:201;-1:-1:-1;;;45320:201:0:o;65620:102::-;65672:16;65708:6;65701:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65620:102;:::o;64689:177::-;64749:7;64849:6;64856:1;64849:9;;;;;;;;:::i;:::-;;;;;;;;;64837:6;64844:1;64837:9;;;;;;;;:::i;:::-;;;;;;;;;64825:6;64832:1;64825:9;;;;;;;;:::i;:::-;;;;;;;;;64812:6;64819:1;64812:9;;;;;;;;:::i;:::-;;;;;;;;;64799:6;64806:1;64799:9;;;;;;;;:::i;:::-;;;;;;;;;64787:6;64794:1;64787:9;;;;;;;;:::i;:::-;;;;;;;;;64778:6;:18;;;;:::i;:::-;:30;;;;:::i;:::-;64777:44;;;;:::i;:::-;64776:58;;;;:::i;:::-;:70;;;;:::i;:::-;:82;;;;:::i;46101:295::-;46232:4;18259:10;46290:38;46306:4;18259:10;46321:6;46290:15;:38::i;:::-;46339:27;46349:4;46355:2;46359:6;46339:9;:27::i;:::-;-1:-1:-1;46384:4:0;;46101:295;-1:-1:-1;;;;46101:295:0:o;27680:147::-;27313:7;27340:12;;;:6;:12;;;;;:22;;;25295:16;25306:4;25295:10;:16::i;:::-;27794:25:::1;27805:4;27811:7;27794:10;:25::i;:::-;27680:147:::0;;;:::o;28824:218::-;-1:-1:-1;;;;;28920:23:0;;18259:10;28920:23;28912:83;;;;-1:-1:-1;;;28912:83:0;;7847:2:1;28912:83:0;;;7829:21:1;7886:2;7866:18;;;7859:30;7925:34;7905:18;;;7898:62;-1:-1:-1;;;7976:18:1;;;7969:45;8031:19;;28912:83:0;;;;;;;;;29008:26;29020:4;29026:7;29008:11;:26::i;:::-;28824:218;;:::o;46805:238::-;46893:4;18259:10;46949:64;18259:10;46965:7;47002:10;46974:25;18259:10;46965:7;46974:9;:25::i;:::-;:38;;;;:::i;:::-;46949:8;:64::i;57841:87::-;35699:26;25295:16;25306:4;25295:10;:16::i;:::-;57908:12:::1;:10;:12::i;:::-;57841:87:::0;:::o;54332:91::-;54388:27;18259:10;54408:6;54388:5;:27::i;55889:942::-;55951:11;;;;55943:40;;;;-1:-1:-1;;;55943:40:0;;8263:2:1;55943:40:0;;;8245:21:1;8302:2;8282:18;;;8275:30;-1:-1:-1;;;8321:18:1;;;8314:46;8377:18;;55943:40:0;8061:340:1;55943:40:0;56048:11;;56014:15;;56048:24;-1:-1:-1;56048:24:0;56040:52;;;;-1:-1:-1;;;56040:52:0;;8608:2:1;56040:52:0;;;8590:21:1;8647:2;8627:18;;;8620:30;-1:-1:-1;;;8666:18:1;;;8659:45;8721:18;;56040:52:0;8406:339:1;56040:52:0;56125:6;;:43;;-1:-1:-1;;;56125:43:0;;56142:10;56125:43;;;8962:34:1;56162:4:0;9012:18:1;;;9005:43;56103:19:0;;-1:-1:-1;;;;;56125:6:0;;:16;;8897:18:1;;56125:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56103:65;;56200:11;56187:9;:24;;56179:59;;;;-1:-1:-1;;;56179:59:0;;9450:2:1;56179:59:0;;;9432:21:1;9489:2;9469:18;;;9462:30;-1:-1:-1;;;9508:18:1;;;9501:52;9570:18;;56179:59:0;9248:346:1;56179:59:0;56270:6;;:28;;-1:-1:-1;;;56270:28:0;;56287:10;56270:28;;;5431:51:1;56249:18:0;;-1:-1:-1;;;;;56270:6:0;;:16;;5404:18:1;;56270:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56249:49;;56330:10;56317:9;:23;;56309:56;;;;-1:-1:-1;;;56309:56:0;;9801:2:1;56309:56:0;;;9783:21:1;9840:2;9820:18;;;9813:30;-1:-1:-1;;;9859:18:1;;;9852:50;9919:18;;56309:56:0;9599:344:1;56309:56:0;56376:6;;:38;;-1:-1:-1;;;56376:38:0;;56392:10;56376:38;;;10122:51:1;10189:18;;;10182:34;;;-1:-1:-1;;;;;56376:6:0;;;;:15;;10095:18:1;;56376:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56446:6:0;;:28;;-1:-1:-1;;;56446:28:0;;56463:10;56446:28;;;5431:51:1;56425:18:0;;-1:-1:-1;;;;;;56446:6:0;;;;-1:-1:-1;56446:16:0;;5404:18:1;;56446:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56425:49;-1:-1:-1;56519:10:0;56493:22;56506:9;56425:49;56493:22;:::i;:::-;:36;56485:64;;;;-1:-1:-1;;;56485:64:0;;10429:2:1;56485:64:0;;;10411:21:1;10468:2;10448:18;;;10441:30;-1:-1:-1;;;10487:18:1;;;10480:45;10542:18;;56485:64:0;10227:339:1;56485:64:0;56582:6;;;;;;;;;-1:-1:-1;;;;;56582:6:0;-1:-1:-1;;;;;56582:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56568:31;;44014:2;56568:31;;56560:60;;;;-1:-1:-1;;;56560:60:0;;11051:2:1;56560:60:0;;;11033:21:1;11090:2;11070:18;;;11063:30;-1:-1:-1;;;11109:18:1;;;11102:46;11165:18;;56560:60:0;10849:340:1;56560:60:0;56666:6;;:17;;;-1:-1:-1;;;56666:17:0;;;;56631:19;;-1:-1:-1;;;;;56666:6:0;;:15;;:17;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56653:30;;44014:2;56653:30;:::i;:::-;56631:52;-1:-1:-1;56694:17:0;56726:19;56631:52;56726:2;:19;:::i;:::-;56714:31;;:9;:31;:::i;:::-;56694:51;;56756:28;56774:9;56756:17;:28::i;:::-;56795;56801:10;56813:9;56795:5;:28::i;:::-;55932:899;;;;;;55889:942;:::o;65775:187::-;34361:35;25295:16;25306:4;25295:10;:16::i;:::-;65887:5:::1;:12;65903:1;65887:17;65879:50;;;::::0;-1:-1:-1;;;65879:50:0;;12935:2:1;65879:50:0::1;::::0;::::1;12917:21:1::0;12974:2;12954:18;;;12947:30;-1:-1:-1;;;12993:18:1;;;12986:50;13053:18;;65879:50:0::1;12733:344:1::0;65879:50:0::1;65940:14:::0;;::::1;::::0;:6:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;60667:103::-:0;59905:13;:11;:13::i;:::-;60732:30:::1;60759:1;60732:18;:30::i;:::-;60667:103::o:0;64920:99::-;64969:16;65005:6;64998:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64920:99;:::o;54742:164::-;54819:46;54835:7;18259:10;54858:6;54819:15;:46::i;:::-;54876:22;54882:7;54891:6;54876:5;:22::i;32471:153::-;32561:7;32588:18;;;:12;:18;;;;;:28;;32610:5;32588:21;:28::i;:::-;32581:35;32471:153;-1:-1:-1;;;32471:153:0:o;25699:147::-;25785:4;25809:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;25809:29:0;;;;;;;;;;;;;;;25699:147::o;43188:104::-;43244:13;43277:7;43270:14;;;;;:::i;47546:436::-;47639:4;18259:10;47639:4;47722:25;18259:10;47739:7;47722:9;:25::i;:::-;47695:52;;47786:15;47766:16;:35;;47758:85;;;;-1:-1:-1;;;47758:85:0;;13284:2:1;47758:85:0;;;13266:21:1;13323:2;13303:18;;;13296:30;13362:34;13342:18;;;13335:62;-1:-1:-1;;;13413:18:1;;;13406:35;13458:19;;47758:85:0;13082:401:1;47758:85:0;47879:60;47888:5;47895:7;47923:15;47904:16;:34;47879:8;:60::i;44593:193::-;44672:4;18259:10;44728:28;18259:10;44745:2;44749:6;44728:9;:28::i;63659:970::-;63781:16;63800:11;:9;:11::i;:::-;63781:30;;63864:35;63879:9;63890:8;63864:14;:35::i;:::-;63980:17;64000:39;64008:2;64012:8;64022:9;64033:5;64000:7;:39::i;:::-;63980:59;-1:-1:-1;64059:36:0;:7;63980:59;64059:16;:36::i;:::-;64058:37;64050:70;;;;-1:-1:-1;;;64050:70:0;;13690:2:1;64050:70:0;;;13672:21:1;13729:2;13709:18;;;13702:30;-1:-1:-1;;;13748:18:1;;;13741:50;13808:18;;64050:70:0;13488:344:1;64050:70:0;64185:14;64202:20;64212:9;64202;:20::i;:::-;64185:37;;64250:1;64241:6;:10;64233:39;;;;-1:-1:-1;;;64233:39:0;;14039:2:1;64233:39:0;;;14021:21:1;14078:2;14058:18;;;14051:30;-1:-1:-1;;;14097:18:1;;;14090:46;14153:18;;64233:39:0;13837:340:1;64233:39:0;64338:31;:7;64358:9;64338:11;:31::i;:::-;;64438:16;64457:21;64471:6;64457:13;:21::i;:::-;64438:40;-1:-1:-1;64493:12:0;;64489:42;;64507:24;64513:7;60092:6;;-1:-1:-1;;;;;60092:6:0;;60019:87;64513:7;64522:8;64507:5;:24::i;:::-;64604:17;64610:2;64614:6;64604:5;:17::i;32798:142::-;32878:7;32905:18;;;:12;:18;;;;;:27;;:25;:27::i;28120:149::-;27313:7;27340:12;;;:6;:12;;;;;:22;;;25295:16;25306:4;25295:10;:16::i;:::-;28235:26:::1;28247:4;28253:7;28235:11;:26::i;44849:151::-:0;-1:-1:-1;;;;;44965:18:0;;;44938:7;44965:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;44849:151::o;63248:331::-;63282:17;63312:16;63327:1;63312:12;:16;:::i;:::-;63302:27;;-1:-1:-1;63348:13:0;63340:44;;;;-1:-1:-1;;;63340:44:0;;14384:2:1;63340:44:0;;;14366:21:1;14423:2;14403:18;;;14396:30;-1:-1:-1;;;14442:18:1;;;14435:48;14500:18;;63340:44:0;14182:342:1;63340:44:0;63415:15;63449:13;63441:43;;;;-1:-1:-1;;;63441:43:0;;14731:2:1;63441:43:0;;;14713:21:1;14770:2;14750:18;;;14743:30;-1:-1:-1;;;14789:18:1;;;14782:47;14846:18;;63441:43:0;14529:341:1;63441:43:0;63495:22;;;;:11;:22;;;;;;;;;:34;;;63545:26;;15049:25:1;;;15090:18;;;15083:34;;;63545:26:0;;15022:18:1;63545:26:0;;;;;;;63271:308;;63248:331::o;65069:181::-;34102:32;25295:16;25306:4;25295:10;:16::i;:::-;65175:5:::1;:12;65191:1;65175:17;65167:50;;;::::0;-1:-1:-1;;;65167:50:0;;12935:2:1;65167:50:0::1;::::0;::::1;12917:21:1::0;12974:2;12954:18;;;12947:30;-1:-1:-1;;;12993:18:1;;;12986:50;13053:18;;65167:50:0::1;12733:344:1::0;65167:50:0::1;65228:14:::0;;::::1;::::0;:6:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;65316:247::-:0;65382:7;;65415:22;65427:10;65415:9;:22;:::i;:::-;65402:35;;65546:6;65553:1;65546:9;;;;;;;;:::i;:::-;;;;;;;;;65534:6;65541:1;65534:9;;;;;;;;:::i;:::-;;;;;;;;;65507:6;65514:1;65507:9;;;;;;;;:::i;:::-;;;;;;;;;65519:11;65507:23;;;;:::i;:::-;65493:6;65500:1;65493:9;;;;;;;;:::i;:::-;;;;;;;;;65480:6;65487:1;65480:9;;;;;;;;:::i;:::-;;;;;;;;;65468:6;65475:1;65468:9;;;;;;;;:::i;:::-;;;;;;;;;65463:2;:14;;;;:::i;:::-;:26;;;;:::i;:::-;65456:34;;:3;:34;:::i;:::-;:46;;;;:::i;:::-;65455:76;;;;:::i;:::-;:88;;;;:::i;:::-;:100;;;;:::i;60925:201::-;59905:13;:11;:13::i;:::-;-1:-1:-1;;;;;61014:22:0;::::1;61006:73;;;::::0;-1:-1:-1;;;61006:73:0;;15330:2:1;61006:73:0::1;::::0;::::1;15312:21:1::0;15369:2;15349:18;;;15342:30;15408:34;15388:18;;;15381:62;-1:-1:-1;;;15459:18:1;;;15452:36;15505:19;;61006:73:0::1;15128:402:1::0;61006:73:0::1;61090:28;61109:8;61090:18;:28::i;30421:238::-:0;30505:22;30513:4;30519:7;30505;:22::i;:::-;30500:152;;30544:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30544:29:0;;;;;;;;;:36;;-1:-1:-1;;30544:36:0;30576:4;30544:36;;;30627:12;18259:10;;18179:98;30627:12;-1:-1:-1;;;;;30600:40:0;30618:7;-1:-1:-1;;;;;30600:40:0;30612:4;30600:40;;;;;;;;;;30421:238;;:::o;8398:152::-;8468:4;8492:50;8497:3;-1:-1:-1;;;;;8517:23:0;;8492:4;:50::i;58026:177::-;58135:4;58159:36;58183:11;58159:23;:36::i;51171:380::-;-1:-1:-1;;;;;51307:19:0;;51299:68;;;;-1:-1:-1;;;51299:68:0;;15737:2:1;51299:68:0;;;15719:21:1;15776:2;15756:18;;;15749:30;15815:34;15795:18;;;15788:62;-1:-1:-1;;;15866:18:1;;;15859:34;15910:19;;51299:68:0;15535:400:1;51299:68:0;-1:-1:-1;;;;;51386:21:0;;51378:68;;;;-1:-1:-1;;;51378:68:0;;16142:2:1;51378:68:0;;;16124:21:1;16181:2;16161:18;;;16154:30;16220:34;16200:18;;;16193:62;-1:-1:-1;;;16271:18:1;;;16264:32;16313:19;;51378:68:0;15940:398:1;51378:68:0;-1:-1:-1;;;;;51459:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;51511:32;;1836:25:1;;;51511:32:0;;1809:18:1;51511:32:0;;;;;;;51171:380;;;:::o;51842:453::-;51977:24;52004:25;52014:5;52021:7;52004:9;:25::i;:::-;51977:52;;-1:-1:-1;;52044:16:0;:37;52040:248;;52126:6;52106:16;:26;;52098:68;;;;-1:-1:-1;;;52098:68:0;;16545:2:1;52098:68:0;;;16527:21:1;16584:2;16564:18;;;16557:30;16623:31;16603:18;;;16596:59;16672:18;;52098:68:0;16343:353:1;52098:68:0;52210:51;52219:5;52226:7;52254:6;52235:16;:25;52210:8;:51::i;:::-;51966:329;51842:453;;;:::o;48452:671::-;-1:-1:-1;;;;;48583:18:0;;48575:68;;;;-1:-1:-1;;;48575:68:0;;16903:2:1;48575:68:0;;;16885:21:1;16942:2;16922:18;;;16915:30;16981:34;16961:18;;;16954:62;-1:-1:-1;;;17032:18:1;;;17025:35;17077:19;;48575:68:0;16701:401:1;48575:68:0;-1:-1:-1;;;;;48662:16:0;;48654:64;;;;-1:-1:-1;;;48654:64:0;;17309:2:1;48654:64:0;;;17291:21:1;17348:2;17328:18;;;17321:30;17387:34;17367:18;;;17360:62;-1:-1:-1;;;17438:18:1;;;17431:33;17481:19;;48654:64:0;17107:399:1;48654:64:0;-1:-1:-1;;;;;48804:15:0;;48782:19;48804:15;;;;;;;;;;;48838:21;;;;48830:72;;;;-1:-1:-1;;;48830:72:0;;17713:2:1;48830:72:0;;;17695:21:1;17752:2;17732:18;;;17725:30;17791:34;17771:18;;;17764:62;-1:-1:-1;;;17842:18:1;;;17835:36;17888:19;;48830:72:0;17511:402:1;48830:72:0;-1:-1:-1;;;;;48938:15:0;;;:9;:15;;;;;;;;;;;48956:20;;;48938:38;;48998:13;;;;;;;;:23;;48970:6;;48938:9;48998:23;;48970:6;;48998:23;:::i;:::-;;;;;;;;49054:2;-1:-1:-1;;;;;49039:26:0;49048:4;-1:-1:-1;;;;;49039:26:0;;49058:6;49039:26;;;;1836:25:1;;1824:2;1809:18;;1690:177;49039:26:0;;;;;;;;49078:37;27680:147;26150:105;26217:30;26228:4;18259:10;26217;:30::i;33033:169::-;33121:31;33138:4;33144:7;33121:16;:31::i;:::-;33163:18;;;;:12;:18;;;;;:31;;33186:7;33163:22;:31::i;33296:174::-;33385:32;33403:4;33409:7;33385:17;:32::i;:::-;33428:18;;;;:12;:18;;;;;:34;;33454:7;33428:25;:34::i;57021:83::-;57061:3;25295:16;57061:3;25295:10;:16::i;:::-;-1:-1:-1;57077:11:0::1;:19:::0;;-1:-1:-1;;57077:19:0::1;::::0;;57021:83::o;50142:591::-;-1:-1:-1;;;;;50226:21:0;;50218:67;;;;-1:-1:-1;;;50218:67:0;;18120:2:1;50218:67:0;;;18102:21:1;18159:2;18139:18;;;18132:30;18198:34;18178:18;;;18171:62;-1:-1:-1;;;18249:18:1;;;18242:31;18290:19;;50218:67:0;17918:397:1;50218:67:0;-1:-1:-1;;;;;50385:18:0;;50360:22;50385:18;;;;;;;;;;;50422:24;;;;50414:71;;;;-1:-1:-1;;;50414:71:0;;18522:2:1;50414:71:0;;;18504:21:1;18561:2;18541:18;;;18534:30;18600:34;18580:18;;;18573:62;-1:-1:-1;;;18651:18:1;;;18644:32;18693:19;;50414:71:0;18320:398:1;50414:71:0;-1:-1:-1;;;;;50521:18:0;;:9;:18;;;;;;;;;;50542:23;;;50521:44;;50587:12;:22;;50559:6;;50521:9;50587:22;;50559:6;;50587:22;:::i;:::-;;;;-1:-1:-1;;50627:37:0;;1836:25:1;;;50653:1:0;;-1:-1:-1;;;;;50627:37:0;;;;;1824:2:1;1809:18;50627:37:0;;;;;;;27680:147;;;:::o;57148:95::-;57229:6;57211:14;;:24;;;;;;;:::i;:::-;;;;-1:-1:-1;;;57148:95:0:o;49410:399::-;-1:-1:-1;;;;;49494:21:0;;49486:65;;;;-1:-1:-1;;;49486:65:0;;18925:2:1;49486:65:0;;;18907:21:1;18964:2;18944:18;;;18937:30;19003:33;18983:18;;;18976:61;19054:18;;49486:65:0;18723:355:1;49486:65:0;49642:6;49626:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;49659:18:0;;:9;:18;;;;;;;;;;:28;;49681:6;;49659:9;:28;;49681:6;;49659:28;:::i;:::-;;;;-1:-1:-1;;49703:37:0;;1836:25:1;;;-1:-1:-1;;;;;49703:37:0;;;49720:1;;49703:37;;1824:2:1;1809:18;49703:37:0;;;;;;;28824:218;;:::o;60184:132::-;60092:6;;-1:-1:-1;;;;;60092:6:0;18259:10;60248:23;60240:68;;;;-1:-1:-1;;;60240:68:0;;19285:2:1;60240:68:0;;;19267:21:1;;;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;19415:18;;60240:68:0;19083:356:1;61286:191:0;61379:6;;;-1:-1:-1;;;;;61396:17:0;;;-1:-1:-1;;;;;;61396:17:0;;;;;;;61429:40;;61379:6;;;61396:17;61379:6;;61429:40;;61360:16;;61429:40;61349:128;61286:191;:::o;9694:158::-;9768:7;9819:22;9823:3;9835:5;9819:3;:22::i;66639:196::-;66683:7;;66722:27;66741:7;66722:15;:27;:::i;:::-;66703:46;;66779:1;66768:8;:12;66760:41;;;;-1:-1:-1;;;66760:41:0;;19646:2:1;66760:41:0;;;19628:21:1;19685:2;19665:18;;;19658:30;-1:-1:-1;;;19704:18:1;;;19697:46;19760:18;;66760:41:0;19444:340:1;66760:41:0;66819:8;66639:196;-1:-1:-1;66639:196:0:o;66045:538::-;66139:13;66131:44;;;;-1:-1:-1;;;66131:44:0;;14384:2:1;66131:44:0;;;14366:21:1;14423:2;14403:18;;;14396:30;-1:-1:-1;;;14442:18:1;;;14435:48;14500:18;;66131:44:0;14182:342:1;66131:44:0;66186:17;66206:22;;;:11;:22;;;;;;66268:8;66243:21;66256:7;66206:22;66243:21;:::i;:::-;:33;66239:337;;66310:1;66293:229;66318:3;66313:1;:8;66293:229;;66367:1;66351:12;:17;;:61;;;;-1:-1:-1;66403:9:0;66382:16;66397:1;66382:12;:16;:::i;:::-;66372:27;:40;66351:61;66347:160;;;66437:7;;66045:538;;:::o;66347:160::-;66323:3;;;;:::i;:::-;;;;66293:229;;;-1:-1:-1;66536:28:0;;-1:-1:-1;;;66536:28:0;;20131:2:1;66536:28:0;;;20113:21:1;20170:2;20150:18;;;20143:30;-1:-1:-1;;;20189:18:1;;;20182:48;20247:18;;66536:28:0;19929:342:1;66913:253:0;67068:7;67116:8;:6;:8::i;:::-;67126:2;67130:8;67140:9;67151:5;67105:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67095:63;;;;;;67088:70;;66913:253;;;;;;:::o;11490:146::-;11567:4;4506:19;;;:12;;;:19;;;;;;:24;;11591:37;4409:129;69013:335;69083:7;69103:18;69124:33;69141:15;69124:16;:33::i;:::-;69103:54;;69168:13;69184:19;69193:9;69184:8;:19::i;:::-;69168:35;;;;69226:10;69218:5;:18;69214:108;;;69294:16;44014:2;69294;:16;:::i;:::-;69289:1;69267:18;69275:10;69267:5;:18;:::i;:::-;69261:25;;:1;:25;:::i;:::-;:29;;;;:::i;:::-;69260:50;;;;:::i;:::-;69253:57;69013:335;-1:-1:-1;;;;69013:335:0:o;69214:108::-;-1:-1:-1;69339:1:0;;69013:335;-1:-1:-1;;;69013:335:0:o;10960:131::-;11027:4;11051:32;11056:3;11076:5;11051:4;:32::i;9223:117::-;9286:7;9313:19;9321:3;4707:18;;4624:109;2313:414;2376:4;4506:19;;;:12;;;:19;;;;;;2393:327;;-1:-1:-1;2436:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2619:18;;2597:19;;;:12;;;:19;;;;;;:40;;;;2652:11;;2393:327;-1:-1:-1;2703:5:0;2696:12;;57341:286;57426:4;-1:-1:-1;;;;;;57463:39:0;;-1:-1:-1;;;57463:39:0;;:103;;-1:-1:-1;;;;;;;57519:47:0;;-1:-1:-1;;;57519:47:0;57463:103;:156;;;;57583:36;57607:11;57583:23;:36::i;26545:505::-;26634:22;26642:4;26648:7;26634;:22::i;:::-;26629:414;;26822:41;26850:7;-1:-1:-1;;;;;26822:41:0;26860:2;26822:19;:41::i;:::-;26936:38;26964:4;26971:2;26936:19;:38::i;:::-;26727:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;26727:270:0;;;;;;;;;;-1:-1:-1;;;26673:358:0;;;;;;;:::i;30839:239::-;30923:22;30931:4;30937:7;30923;:22::i;:::-;30919:152;;;30994:5;30962:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30962:29:0;;;;;;;;;;:37;;-1:-1:-1;;30962:37:0;;;31019:40;18259:10;;30962:12;;31019:40;;30994:5;31019:40;30839:239;;:::o;8726:158::-;8799:4;8823:53;8831:3;-1:-1:-1;;;;;8851:23:0;;8823:7;:53::i;5087:120::-;5154:7;5181:3;:11;;5193:5;5181:18;;;;;;;;:::i;:::-;;;;;;;;;5174:25;;5087:120;;;;:::o;67368:894::-;67428:5;;;67474:756;67496:2;67492:1;:6;;;67474:756;;;67520:8;67531:9;67541:1;67531:12;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;;67562:9:0;;67567:4;67562:9;67558:89;;67592:12;67603:1;67592:12;;:::i;:::-;;;67623:8;;;67558:89;-1:-1:-1;;;;;;;;;67683:9:0;;;;:39;;-1:-1:-1;;;;;;;;;;67713:9:0;;;67683:39;:69;;;-1:-1:-1;;;;;;;;;;67743:9:0;;;67683:69;:99;;;-1:-1:-1;;;;;;;;;;67773:9:0;;;67683:99;:129;;;-1:-1:-1;;;;;;;;;;67803:9:0;;;67683:129;:159;;;-1:-1:-1;;;;;;;;;;67833:9:0;;;67683:159;:189;;;-1:-1:-1;;;;;;;;;;67863:9:0;;;67683:189;:219;;;-1:-1:-1;;;;;;;;;;67893:9:0;;;67683:219;:249;;;-1:-1:-1;;;;;;;;;;67923:9:0;;;67683:249;:279;;;-1:-1:-1;;;;;;;;;;67953:9:0;;;67683:279;:309;;;-1:-1:-1;;;;;;;;;;67983:9:0;;;67683:309;:339;;;-1:-1:-1;;;;;;;;;;68013:9:0;;;67683:339;:369;;;-1:-1:-1;;;;;;;;;;68043:9:0;;;67683:369;:399;;;-1:-1:-1;;;;;;;;;;68073:9:0;;;67683:399;:429;;;-1:-1:-1;;;;;;;;;;68103:9:0;;;67683:429;67661:538;;;68147:12;68158:1;68147:12;;:::i;:::-;;;68178:5;;;67661:538;68213:5;;;67474:756;67500:3;;;;:::i;:::-;;;;67474:756;;;-1:-1:-1;68247:7:0;67368:894;-1:-1:-1;;67368:894:0:o;33774:153::-;33859:4;33883:36;33907:11;33883:23;:36::i;20124:451::-;20199:13;20225:19;20257:10;20261:6;20257:1;:10;:::i;:::-;:14;;20270:1;20257:14;:::i;:::-;20247:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20247:25:0;;20225:47;;-1:-1:-1;;;20283:6:0;20290:1;20283:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20283:15:0;;;;;;;;;-1:-1:-1;;;20309:6:0;20316:1;20309:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20309:15:0;;;;;;;;-1:-1:-1;20340:9:0;20352:10;20356:6;20352:1;:10;:::i;:::-;:14;;20365:1;20352:14;:::i;:::-;20340:26;;20335:135;20372:1;20368;:5;20335:135;;;-1:-1:-1;;;20420:5:0;20428:3;20420:11;20407:25;;;;;;;:::i;:::-;;;;20395:6;20402:1;20395:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;20395:37:0;;;;;;;;-1:-1:-1;20457:1:0;20447:11;;;;;20375:3;;;:::i;:::-;;;20335:135;;;-1:-1:-1;20488:10:0;;20480:55;;;;-1:-1:-1;;;20480:55:0;;22443:2:1;20480:55:0;;;22425:21:1;;;22462:18;;;22455:30;22521:34;22501:18;;;22494:62;22573:18;;20480:55:0;22241:356:1;2903:1420:0;2969:4;3108:19;;;:12;;;:19;;;;;;3144:15;;3140:1176;;3519:21;3543:14;3556:1;3543:10;:14;:::i;:::-;3592:18;;3519:38;;-1:-1:-1;3572:17:0;;3592:22;;3613:1;;3592:22;:::i;:::-;3572:42;;3648:13;3635:9;:26;3631:405;;3682:17;3702:3;:11;;3714:9;3702:22;;;;;;;;:::i;:::-;;;;;;;;;3682:42;;3856:9;3827:3;:11;;3839:13;3827:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3941:23;;;:12;;;:23;;;;;:36;;;3631:405;4117:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4212:3;:12;;:19;4225:5;4212:19;;;;;;;;;;;4205:26;;;4255:4;4248:11;;;;;;;3140:1176;4299:5;4292:12;;;;;31658:214;31743:4;-1:-1:-1;;;;;;31767:57:0;;-1:-1:-1;;;31767:57:0;;:97;;;31828:36;31852:11;25488:4;-1:-1:-1;;;;;;25512:47:0;;-1:-1:-1;;;25512:47:0;;:87;;-1:-1:-1;;;;;;;;;;22779:40:0;;;25563:36;22670:157;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:286:1;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:271::-;794:3;832:5;826:12;859:6;854:3;847:19;875:76;944:6;937:4;932:3;928:14;921:4;914:5;910:16;875:76;:::i;:::-;1005:2;984:15;-1:-1:-1;;980:29:1;971:39;;;;1012:4;967:50;;752:271;-1:-1:-1;;752:271:1:o;1028:220::-;1177:2;1166:9;1159:21;1140:4;1197:45;1238:2;1227:9;1223:18;1215:6;1197:45;:::i;1253:173::-;1321:20;;-1:-1:-1;;;;;1370:31:1;;1360:42;;1350:70;;1416:1;1413;1406:12;1431:254;1499:6;1507;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;1599:29;1618:9;1599:29;:::i;:::-;1589:39;1675:2;1660:18;;;;1647:32;;-1:-1:-1;;;1431:254:1:o;1872:632::-;2043:2;2095:21;;;2165:13;;2068:18;;;2187:22;;;2014:4;;2043:2;2266:15;;;;2240:2;2225:18;;;2014:4;2309:169;2323:6;2320:1;2317:13;2309:169;;;2384:13;;2372:26;;2453:15;;;;2418:12;;;;2345:1;2338:9;2309:169;;;-1:-1:-1;2495:3:1;;1872:632;-1:-1:-1;;;;;;1872:632:1:o;2691:180::-;2750:6;2803:2;2791:9;2782:7;2778:23;2774:32;2771:52;;;2819:1;2816;2809:12;2771:52;-1:-1:-1;2842:23:1;;2691:180;-1:-1:-1;2691:180:1:o;2876:328::-;2953:6;2961;2969;3022:2;3010:9;3001:7;2997:23;2993:32;2990:52;;;3038:1;3035;3028:12;2990:52;3061:29;3080:9;3061:29;:::i;:::-;3051:39;;3109:38;3143:2;3132:9;3128:18;3109:38;:::i;:::-;3099:48;;3194:2;3183:9;3179:18;3166:32;3156:42;;2876:328;;;;;:::o;3394:254::-;3462:6;3470;3523:2;3511:9;3502:7;3498:23;3494:32;3491:52;;;3539:1;3536;3529:12;3491:52;3575:9;3562:23;3552:33;;3604:38;3638:2;3627:9;3623:18;3604:38;:::i;:::-;3594:48;;3394:254;;;;;:::o;3842:127::-;3903:10;3898:3;3894:20;3891:1;3884:31;3934:4;3931:1;3924:15;3958:4;3955:1;3948:15;3974:1115;4058:6;4089:2;4132;4120:9;4111:7;4107:23;4103:32;4100:52;;;4148:1;4145;4138:12;4100:52;4188:9;4175:23;4217:18;4258:2;4250:6;4247:14;4244:34;;;4274:1;4271;4264:12;4244:34;4312:6;4301:9;4297:22;4287:32;;4357:7;4350:4;4346:2;4342:13;4338:27;4328:55;;4379:1;4376;4369:12;4328:55;4415:2;4402:16;4437:2;4433;4430:10;4427:36;;;4443:18;;:::i;:::-;4489:2;4486:1;4482:10;4521:2;4515:9;4584:2;4580:7;4575:2;4571;4567:11;4563:25;4555:6;4551:38;4639:6;4627:10;4624:22;4619:2;4607:10;4604:18;4601:46;4598:72;;;4650:18;;:::i;:::-;4686:2;4679:22;4736:18;;;4770:15;;;;-1:-1:-1;4812:11:1;;;4808:20;;;4840:19;;;4837:39;;;4872:1;4869;4862:12;4837:39;4896:11;;;;4916:142;4932:6;4927:3;4924:15;4916:142;;;4998:17;;4986:30;;4949:12;;;;5036;;;;4916:142;;;5077:6;3974:1115;-1:-1:-1;;;;;;;;3974:1115:1:o;5094:186::-;5153:6;5206:2;5194:9;5185:7;5181:23;5177:32;5174:52;;;5222:1;5219;5212:12;5174:52;5245:29;5264:9;5245:29;:::i;5493:248::-;5561:6;5569;5622:2;5610:9;5601:7;5597:23;5593:32;5590:52;;;5638:1;5635;5628:12;5590:52;-1:-1:-1;;5661:23:1;;;5731:2;5716:18;;;5703:32;;-1:-1:-1;5493:248:1:o;5746:322::-;5823:6;5831;5839;5892:2;5880:9;5871:7;5867:23;5863:32;5860:52;;;5908:1;5905;5898:12;5860:52;5931:29;5950:9;5931:29;:::i;:::-;5921:39;6007:2;5992:18;;5979:32;;-1:-1:-1;6058:2:1;6043:18;;;6030:32;;5746:322;-1:-1:-1;;;5746:322:1:o;6073:260::-;6141:6;6149;6202:2;6190:9;6181:7;6177:23;6173:32;6170:52;;;6218:1;6215;6208:12;6170:52;6241:29;6260:9;6241:29;:::i;:::-;6231:39;;6289:38;6323:2;6312:9;6308:18;6289:38;:::i;6338:380::-;6417:1;6413:12;;;;6460;;;6481:61;;6535:4;6527:6;6523:17;6513:27;;6481:61;6588:2;6580:6;6577:14;6557:18;6554:38;6551:161;;6634:10;6629:3;6625:20;6622:1;6615:31;6669:4;6666:1;6659:15;6697:4;6694:1;6687:15;6551:161;;6338:380;;;:::o;6723:127::-;6784:10;6779:3;6775:20;6772:1;6765:31;6815:4;6812:1;6805:15;6839:4;6836:1;6829:15;6855:127;6916:10;6911:3;6907:20;6904:1;6897:31;6947:4;6944:1;6937:15;6971:4;6968:1;6961:15;6987:125;7052:9;;;7073:10;;;7070:36;;;7086:18;;:::i;7117:128::-;7184:9;;;7205:11;;;7202:37;;;7219:18;;:::i;7250:168::-;7323:9;;;7354;;7371:15;;;7365:22;;7351:37;7341:71;;7392:18;;:::i;7423:217::-;7463:1;7489;7479:132;;7533:10;7528:3;7524:20;7521:1;7514:31;7568:4;7565:1;7558:15;7596:4;7593:1;7586:15;7479:132;-1:-1:-1;7625:9:1;;7423:217::o;9059:184::-;9129:6;9182:2;9170:9;9161:7;9157:23;9153:32;9150:52;;;9198:1;9195;9188:12;9150:52;-1:-1:-1;9221:16:1;;9059:184;-1:-1:-1;9059:184:1:o;10571:273::-;10639:6;10692:2;10680:9;10671:7;10667:23;10663:32;10660:52;;;10708:1;10705;10698:12;10660:52;10740:9;10734:16;10790:4;10783:5;10779:16;10772:5;10769:27;10759:55;;10810:1;10807;10800:12;11194:151;11284:4;11277:12;;;11263;;;11259:31;;11302:14;;11299:40;;;11319:18;;:::i;11350:422::-;11439:1;11482:5;11439:1;11496:270;11517:7;11507:8;11504:21;11496:270;;;11576:4;11572:1;11568:6;11564:17;11558:4;11555:27;11552:53;;;11585:18;;:::i;:::-;11635:7;11625:8;11621:22;11618:55;;;11655:16;;;;11618:55;11734:22;;;;11694:15;;;;11496:270;;;11500:3;11350:422;;;;;:::o;11777:806::-;11826:5;11856:8;11846:80;;-1:-1:-1;11897:1:1;11911:5;;11846:80;11945:4;11935:76;;-1:-1:-1;11982:1:1;11996:5;;11935:76;12027:4;12045:1;12040:59;;;;12113:1;12108:130;;;;12020:218;;12040:59;12070:1;12061:10;;12084:5;;;12108:130;12145:3;12135:8;12132:17;12129:43;;;12152:18;;:::i;:::-;-1:-1:-1;;12208:1:1;12194:16;;12223:5;;12020:218;;12322:2;12312:8;12309:16;12303:3;12297:4;12294:13;12290:36;12284:2;12274:8;12271:16;12266:2;12260:4;12257:12;12253:35;12250:77;12247:159;;;-1:-1:-1;12359:19:1;;;12391:5;;12247:159;12438:34;12463:8;12457:4;12438:34;:::i;:::-;12508:6;12504:1;12500:6;12496:19;12487:7;12484:32;12481:58;;;12519:18;;:::i;:::-;12557:20;;11777:806;-1:-1:-1;;;11777:806:1:o;12588:140::-;12646:5;12675:47;12716:4;12706:8;12702:19;12696:4;12675:47;:::i;19789:135::-;19828:3;19849:17;;;19846:43;;19869:18;;:::i;:::-;-1:-1:-1;19916:1:1;19905:13;;19789:135::o;20276:533::-;20537:3;20526:9;20519:22;20500:4;20558:46;20599:3;20588:9;20584:19;20576:6;20558:46;:::i;:::-;-1:-1:-1;;;;;20640:32:1;;;;20635:2;20620:18;;20613:60;-1:-1:-1;20704:2:1;20689:18;;20682:34;;;;20747:2;20732:18;;20725:34;;;;20790:3;20775:19;;;20768:35;20550:54;20276:533;-1:-1:-1;20276:533:1:o;20814:131::-;20874:5;20903:36;20930:8;20924:4;20903:36;:::i;20950:812::-;21361:25;21356:3;21349:38;21331:3;21416:6;21410:13;21432:75;21500:6;21495:2;21490:3;21486:12;21479:4;21471:6;21467:17;21432:75;:::i;:::-;-1:-1:-1;;;21566:2:1;21526:16;;;21558:11;;;21551:40;21616:13;;21638:76;21616:13;21700:2;21692:11;;21685:4;21673:17;;21638:76;:::i;:::-;21734:17;21753:2;21730:26;;20950:812;-1:-1:-1;;;;20950:812:1:o;21767:148::-;21855:4;21834:12;;;21848;;;21830:31;;21873:13;;21870:39;;;21889:18;;:::i;21920:175::-;21957:3;22001:4;21994:5;21990:16;22030:4;22021:7;22018:17;22015:43;;22038:18;;:::i;:::-;22087:1;22074:15;;21920:175;-1:-1:-1;;21920:175:1:o;22100:136::-;22139:3;22167:5;22157:39;;22176:18;;:::i;:::-;-1:-1:-1;;;22212:18:1;;22100:136::o;22602:127::-;22663:10;22658:3;22654:20;22651:1;22644:31;22694:4;22691:1;22684:15;22718:4;22715:1;22708:15
Swarm Source
ipfs://d1f211bc6019bbccfe22d84e6a32e1bc26fedbdb4ac67b0229945152cebb908a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 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.