Token migration announcement. XPower LOKI token contract has migrated to a new address.
Overview
AVAX Balance
AVAX Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
No addresses found
Latest 25 from a total of 205 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 39867122 | 447 days ago | IN | 0 AVAX | 0.00123524 | ||||
Approve | 37903258 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902996 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902937 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902845 | 493 days ago | IN | 0 AVAX | 0.00072852 | ||||
Approve | 37902166 | 493 days ago | IN | 0 AVAX | 0.00070562 | ||||
Approve | 37902166 | 493 days ago | IN | 0 AVAX | 0.00078258 | ||||
Renounce Role | 37502246 | 503 days ago | IN | 0 AVAX | 0.00121059 | ||||
Seal | 37502244 | 503 days ago | IN | 0 AVAX | 0.00074904 | ||||
Grant Role | 37502180 | 503 days ago | IN | 0 AVAX | 0.00313826 | ||||
Transfer Ownersh... | 34164006 | 583 days ago | IN | 0 AVAX | 0.00075996 | ||||
Approve | 33275977 | 604 days ago | IN | 0 AVAX | 0.00123556 | ||||
Mint | 33241790 | 604 days ago | IN | 0 AVAX | 0.00403698 | ||||
Init | 33241785 | 604 days ago | IN | 0 AVAX | 0.00119075 | ||||
Mint | 33240145 | 604 days ago | IN | 0 AVAX | 0.00404 | ||||
Init | 33240140 | 604 days ago | IN | 0 AVAX | 0.00119075 | ||||
Approve | 33230262 | 605 days ago | IN | 0 AVAX | 0.00123946 | ||||
Mint | 33229886 | 605 days ago | IN | 0 AVAX | 0.00449182 | ||||
Init | 33229879 | 605 days ago | IN | 0 AVAX | 0.00119075 | ||||
Approve | 26734816 | 758 days ago | IN | 0 AVAX | 0.00127529 | ||||
Mint | 25842698 | 779 days ago | IN | 0 AVAX | 0.00398157 | ||||
Init | 25842317 | 779 days ago | IN | 0 AVAX | 0.00121321 | ||||
Mint | 25842124 | 779 days ago | IN | 0 AVAX | 0.00353569 | ||||
Mint | 25842067 | 779 days ago | IN | 0 AVAX | 0.00353469 | ||||
Init | 25841800 | 779 days ago | IN | 0 AVAX | 0.00121321 |
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-07 */ // 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 { /** role grants right to change APR parametrization */ bytes32 public constant ALPHA_ROLE = keccak256("ALPHA_ROLE"); bytes32 public constant ALPHA_ADMIN_ROLE = keccak256("ALPHA_ADMIN_ROLE"); /** role grants right to change APR bonus parametrization */ bytes32 public constant GAMMA_ROLE = keccak256("GAMMA_ROLE"); bytes32 public constant GAMMA_ADMIN_ROLE = keccak256("GAMMA_ADMIN_ROLE"); /** role grants right to change treasury's share per mint */ bytes32 public constant DELTA_ROLE = keccak256("DELTA_ROLE"); bytes32 public constant DELTA_ADMIN_ROLE = keccak256("DELTA_ADMIN_ROLE"); /** role grants right to change difficulty parametrization */ bytes32 public constant THETA_ROLE = keccak256("THETA_ROLE"); bytes32 public constant THETA_ADMIN_ROLE = keccak256("THETA_ADMIN_ROLE"); /** role grants right to seal MOE migration */ bytes32 public constant MOE_SEAL_ROLE = keccak256("MOE_SEAL_ROLE"); bytes32 public constant MOE_SEAL_ADMIN_ROLE = keccak256("MOE_SEAL_ADMIN_ROLE"); /** role grants right to seal SOV migration */ bytes32 public constant SOV_SEAL_ROLE = keccak256("SOV_SEAL_ROLE"); bytes32 public constant SOV_SEAL_ADMIN_ROLE = keccak256("SOV_SEAL_ADMIN_ROLE"); /** role grants right to seal NFT migration */ bytes32 public constant NFT_SEAL_ROLE = keccak256("NFT_SEAL_ROLE"); bytes32 public constant NFT_SEAL_ADMIN_ROLE = keccak256("NFT_SEAL_ADMIN_ROLE"); /** role grants right to change meta data URIs */ bytes32 public constant URI_DATA_ROLE = keccak256("URI_DATA_ROLE"); bytes32 public constant URI_DATA_ADMIN_ROLE = keccak256("URI_DATA_ADMIN_ROLE"); constructor() { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _setRoleAdmin(ALPHA_ROLE, ALPHA_ADMIN_ROLE); _grantRole(ALPHA_ADMIN_ROLE, msg.sender); _setRoleAdmin(GAMMA_ROLE, GAMMA_ADMIN_ROLE); _grantRole(GAMMA_ADMIN_ROLE, msg.sender); _setRoleAdmin(DELTA_ROLE, DELTA_ADMIN_ROLE); _grantRole(DELTA_ADMIN_ROLE, msg.sender); _setRoleAdmin(THETA_ROLE, THETA_ADMIN_ROLE); _grantRole(THETA_ADMIN_ROLE, msg.sender); _setRoleAdmin(MOE_SEAL_ROLE, MOE_SEAL_ADMIN_ROLE); _grantRole(MOE_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(SOV_SEAL_ROLE, SOV_SEAL_ADMIN_ROLE); _grantRole(SOV_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(NFT_SEAL_ROLE, NFT_SEAL_ADMIN_ROLE); _grantRole(NFT_SEAL_ADMIN_ROLE, msg.sender); _setRoleAdmin(URI_DATA_ROLE, URI_DATA_ADMIN_ROLE); _grantRole(URI_DATA_ADMIN_ROLE, msg.sender); } /** returns true if this contract implements the interface defined by interfaceId. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return super.supportsInterface(interfaceId); } } // File @openzeppelin/contracts/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; _mint(msg.sender, newAmount); _incrementCounter(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 { function seal() public override onlyRole(MOE_SEAL_ROLE) { super.seal(); } } /** * Allows migration of SOV tokens from an old contract upto a certain deadline. */ abstract contract SovMigratable is Migratable { function seal() public override onlyRole(SOV_SEAL_ROLE) { super.seal(); } } // 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, 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 treasure-for */ uint256[] private _theta = [0, 0, 2, 1, 0, 0]; /** parametrization of difficulty-for */ uint256[] private _delta = [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 beneficiary (e.g. nonce provider) _mint(to, amount); // mint tokens for owner (i.e. project treasury) uint256 treasure = treasureFor(amount); if (treasure > 0) _mint(owner(), treasure); } /** @return treasure for given amount */ function treasureFor(uint256 amount) public view returns (uint256) { return ((amount + _theta[5] - _theta[4]) * _theta[3]) / _theta[2] + _theta[1] - _theta[0]; } /** @return treasure parameters */ function getTheta() public view returns (uint256[] memory) { return _theta; } /** set treasure parameters */ function setTheta(uint256[] memory array) public onlyRole(THETA_ROLE) { require(array.length == 6, "invalid array.length"); _theta = array; } /** @return difficulty for given timestamp */ function difficultyFor(uint256 timestamp) public view returns (uint256) { uint256 dt = timestamp - _timestamp; return (100 * (dt + _delta[5] - _delta[4]) * _delta[3]) / (_delta[2] * 365_25 days) + _delta[1] - _delta[0]; } /** @return difficulty parameters */ function getDelta() public view returns (uint256[] memory) { return _delta; } /** set difficulty parameters */ function setDelta(uint256[] memory array) public onlyRole(DELTA_ROLE) { require(array.length == 6, "invalid array.length"); _delta = 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; } } /** * 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 = difficultyFor(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":"ALPHA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ALPHA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELTA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELTA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAMMA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAMMA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOE_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOV_SEAL_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOV_SEAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THETA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THETA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_DATA_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_DATA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"difficultyFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDelta","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":"getTheta","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":"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":"setDelta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"array","type":"uint256[]"}],"name":"setTheta","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":"treasureFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6009805460ff191660019081179091556000600a81905561016060405260a081815260c0829052600260e05261010092909252610120819052610140526200004c90600f90600662000633565b506040805160c081018252600080825260208201819052600492820192909252600160608201526080810182905260a08101919091526200009290601090600662000633565b50348015620000a057600080fd5b50604051620036ce380380620036ce833981016040819052620000c3916200069f565b604051806040016040528060048152602001634c4f4b4960e01b81525082828181604051806040016040528060068152602001652c2837bbb2b960d11b8152508581600390816200011591906200077f565b5060046200012482826200077f565b5062000136915060009050336200043c565b620001717f39331c3081f37cb3d1da4e5ce293da53d66ea4df63f4ddb834ef31094c8e0fc16000805160206200360e8339815191526200047f565b6200018c6000805160206200360e833981519152336200043c565b620001c77f5c4a8fcfe2d0ae629a83e88fafb83c323492e5bd0a29542da23fb84bb87a4991600080516020620036ae8339815191526200047f565b620001e2600080516020620036ae833981519152336200043c565b6200021d7fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada6000805160206200364e8339815191526200047f565b620002386000805160206200364e833981519152336200043c565b620002737f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c8195600080516020620035ee8339815191526200047f565b6200028e600080516020620035ee833981519152336200043c565b620002c97faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb6000805160206200362e8339815191526200047f565b620002e46000805160206200362e833981519152336200043c565b6200031f7f59c5589e073e79cb068a473a938b08b6e078e7ab02c16b2566189f37d4ef86fe6000805160206200368e8339815191526200047f565b6200033a6000805160206200368e833981519152336200043c565b620003757fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a596000805160206200366e8339815191526200047f565b620003906000805160206200366e833981519152336200043c565b620003cb7f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac69600080516020620035ce8339815191526200047f565b620003e6600080516020620035ce833981519152336200043c565b620003f281426200084b565b60085550600780546001600160a01b0319166001600160a01b039290921691909117905562000428620004223390565b620004ca565b5050636215621e608052506200086d915050565b6200045382826200051c60201b620016a31760201c565b60008281526006602090815260409091206200047a91839062001729620005c1821b17901c565b505050565b600082815260056020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620005bd5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200057c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620005d8836001600160a01b038416620005e1565b90505b92915050565b60008181526001830160205260408120546200062a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620005db565b506000620005db565b82805482825590600052602060002090810192821562000676579160200282015b8281111562000676578251829060ff1690559160200191906001019062000654565b506200068492915062000688565b5090565b5b8082111562000684576000815560010162000689565b60008060408385031215620006b357600080fd5b82516001600160a01b0381168114620006cb57600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200070657607f821691505b6020821081036200072757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200047a57600081815260208120601f850160051c81016020861015620007565750805b601f850160051c820191505b81811015620007775782815560010162000762565b505050505050565b81516001600160401b038111156200079b576200079b620006db565b620007b381620007ac8454620006f1565b846200072d565b602080601f831160018114620007eb5760008415620007d25750858301515b600019600386901b1c1916600185901b17855562000777565b600085815260208120601f198616915b828110156200081c57888601518255948401946001909101908401620007fb565b50858210156200083b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620005db57634e487b7160e01b600052601160045260246000fd5b608051612d45620008896000396000610fec0152612d456000f3fe608060405234801561001057600080fd5b506004361061030c5760003560e01c8063811977891161019d578063c549176e116100e9578063d547741f116100a2578063e1c7392a1161007c578063e1c7392a146107c9578063eb497214146107d1578063f2fde38b146107f8578063fd511a8d1461080b57600080fd5b8063d547741f14610790578063dd62ed3e146107a3578063dd953ca3146107b657600080fd5b8063c549176e146106ed578063c89dcfce146106f5578063ca15c87314610708578063cc6919a41461071b578063cd9b869a14610742578063cde828951461076957600080fd5b8063a217fddf11610156578063ab31b70e11610130578063ab31b70e14610665578063b68041291461068c578063bb140470146106b3578063bf329b79146106da57600080fd5b8063a217fddf14610637578063a457c2d71461063f578063a9059cbb1461065257600080fd5b806381197789146105aa5780638da5cb5b146105bd5780639010d07c146105e257806391d14854146105f557806394c209a51461060857806395d89b411461062f57600080fd5b80633fb27b851161025c5780635d45bf5e1161021557806370a08231116101ef57806370a082311461053f578063715018a61461056857806376d844541461057057806379cc67901461059757600080fd5b80635d45bf5e146104ca578063653e102c146104f15780636c6284dc1461051857600080fd5b80633fb27b851461044d57806342966c6814610455578063454b0608146104685780634990dad31461047b57806355506d92146104a2578063559c1c7f146104b557600080fd5b8063248a9ca3116102c9578063313ce567116102a3578063313ce567146103f157806335996f5b1461040057806336568abe14610427578063395093511461043a57600080fd5b8063248a9ca3146103b15780632c678c64146103d45780632f2ff15d146103dc57600080fd5b806301ffc9a71461031157806306fdde0314610339578063095ea7b31461034e5780630a99e88a1461036157806318160ddd1461039657806323b872dd1461039e575b600080fd5b61032461031f3660046126c2565b610832565b60405190151581526020015b60405180910390f35b610341610878565b604051610330919061273c565b61032461035c366004612766565b61090a565b6103887faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb81565b604051908152602001610330565b600254610388565b6103246103ac366004612790565b610922565b6103886103bf3660046127cc565b60009081526005602052604090206001015490565b600a54610388565b6103ef6103ea3660046127e5565b610946565b005b60405160128152602001610330565b6103887f5c4a8fcfe2d0ae629a83e88fafb83c323492e5bd0a29542da23fb84bb87a499181565b6103ef6104353660046127e5565b610970565b610324610448366004612766565b6109f3565b6103ef610a15565b6103ef6104633660046127cc565b610a4a565b6103ef6104763660046127cc565b610a54565b6103887f1e1b9e42058f87aacc86151eee60be3728a69ade31e7db408acbba7774f5d2c581565b6103ef6104b0366004612827565b610edf565b6104bd610f64565b60405161033091906128e5565b6103887f47fa9d826949f4f367afefb5d5a267558f054ceca49dcb3bde75713cd8e50eaf81565b6103887f45c2e9089aab0ada4a53b23071933de07fadb404d384f07834351ae6401e212181565b6103887fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada81565b61038861054d366004612929565b6001600160a01b031660009081526020819052604090205490565b6103ef610fbb565b6103887f59c5589e073e79cb068a473a938b08b6e078e7ab02c16b2566189f37d4ef86fe81565b6103ef6105a5366004612766565b610fcf565b6103886105b83660046127cc565b610fe4565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610330565b6105ca6105f0366004612944565b61112b565b6103246106033660046127e5565b611143565b6103887fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5981565b61034161116e565b610388600081565b61032461064d366004612766565b61117d565b610324610660366004612766565b6111f8565b6103887f1d79eadc793a64c7d14d38414c0f4e02a3d61d2bbca04d299f819c3874c62f5081565b6103887fe1322164d2a9c594e09927ac212ba43210d25e7c9efc459689fb7b6107c895b181565b6103887f7df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a81565b6103886106e83660046127cc565b611206565b6104bd6112ff565b6103ef610703366004612966565b611355565b6103886107163660046127cc565b61145e565b6103887f39331c3081f37cb3d1da4e5ce293da53d66ea4df63f4ddb834ef31094c8e0fc181565b6103887f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6981565b6103887f18279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328081565b6103ef61079e3660046127e5565b611475565b6103886107b1366004612999565b61149a565b6103ef6107c4366004612827565b6114c5565b6103ef61154a565b6103887f21b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151981565b6103ef610806366004612929565b61162d565b6103887f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c819581565b60006001600160e01b031982166336372b0760e01b148061086357506001600160e01b0319821663a219a02560e01b145b8061087257506108728261173e565b92915050565b606060038054610887906129c3565b80601f01602080910402602001604051908101604052809291908181526020018280546108b3906129c3565b80156109005780601f106108d557610100808354040283529160200191610900565b820191906000526020600020905b8154815290600101906020018083116108e357829003601f168201915b5050505050905090565b600033610918818585611749565b5060019392505050565b60003361093085828561186d565b61093b8585856118e7565b506001949350505050565b60008281526005602052604090206001015461096181611ab5565b61096b8383611abf565b505050565b6001600160a01b03811633146109e55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109ef8282611ae1565b5050565b600033610918818585610a06838361149a565b610a109190612a13565b611749565b7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb610a3f81611ab5565b610a47611b03565b50565b610a473382611b1b565b60095460ff16610a995760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016109dc565b6008544290811115610adf5760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016109dc565b600754604051636eb1769f60e11b81523360048201523060248201526000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610b2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b529190612a26565b905080831115610b9d5760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e7420616c6c6f77616e636560501b60448201526064016109dc565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612a26565b905080841115610c535760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b60448201526064016109dc565b60075460405163079cc67960e41b8152336004820152602481018690526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b50506007546040516370a0823160e01b8152336004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d269190612a26565b905081610d338683612a13565b14610d725760405162461bcd60e51b815260206004820152600f60248201526e696e76616c69642062616c616e636560881b60448201526064016109dc565b600760009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190612a3f565b60ff1660121015610e2f5760405162461bcd60e51b815260206004820152601060248201526f696e76616c696420646563696d616c7360801b60448201526064016109dc565b6007546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190612a3f565b610ea8906012612a62565b90506000610eb782600a612b5f565b610ec19088612b6e565b9050610ecd3382611c69565b610ed681611d48565b50505050505050565b7fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada610f0981611ab5565b8151600614610f515760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016109dc565b815161096b906010906020850190612662565b6060600f80548060200260200160405190810160405280929190818152602001828054801561090057602002820191906000526020600020905b815481526020019060010190808311610f9e575050505050905090565b610fc3611d62565b610fcd6000611dbc565b565b610fda82338361186d565b6109ef8282611b1b565b6000806110117f000000000000000000000000000000000000000000000000000000000000000084612b85565b9050601060008154811061102757611027612b98565b9060005260206000200154601060018154811061104657611046612b98565b9060005260206000200154601060028154811061106557611065612b98565b906000526020600020015463bc19138061107f9190612b6e565b601060038154811061109357611093612b98565b906000526020600020015460106004815481106110b2576110b2612b98565b906000526020600020015460106005815481106110d1576110d1612b98565b9060005260206000200154866110e79190612a13565b6110f19190612b85565b6110fc906064612b6e565b6111069190612b6e565b6111109190612bae565b61111a9190612a13565b6111249190612b85565b9392505050565b60008281526006602052604081206111249083611e0e565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610887906129c3565b6000338161118b828661149a565b9050838110156111eb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109dc565b61093b8286868403611749565b6000336109188185856118e7565b6000600f60008154811061121c5761121c612b98565b9060005260206000200154600f60018154811061123b5761123b612b98565b9060005260206000200154600f60028154811061125a5761125a612b98565b9060005260206000200154600f60038154811061127957611279612b98565b9060005260206000200154600f60048154811061129857611298612b98565b9060005260206000200154600f6005815481106112b7576112b7612b98565b9060005260206000200154876112cd9190612a13565b6112d79190612b85565b6112e19190612b6e565b6112eb9190612bae565b6112f59190612a13565b6108729190612b85565b606060108054806020026020016040519081016040528092919081815260200182805480156109005760200282019190600052602060002090815481526020019060010190808311610f9e575050505050905090565b600061135f611e1a565b905061136b8382611e73565b600061137985838686611f56565b9050611386600c82611f98565b156113ca5760405162461bcd60e51b81526020600482015260146024820152730c8eae0d8d2c6c2e8ca40dcdedcc6ca5ad0c2e6d60631b60448201526064016109dc565b60006113d582611fb0565b90506000811161141a5760405162461bcd60e51b815260206004820152601060248201526f0cadae0e8f240dcdedcc6ca5ad0c2e6d60831b60448201526064016109dc565b611425600c8361201f565b506114308682611c69565b600061143b82611206565b90508015610ed657610ed6611458600b546001600160a01b031690565b82611c69565b60008181526006602052604081206108729061202b565b60008281526005602052604090206001015461149081611ab5565b61096b8383611ae1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c81956114ef81611ab5565b81516006146115375760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016109dc565b815161096b90600f906020850190612662565b6000611557600143612b85565b4090508061159c5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b42806115de5760405162461bcd60e51b81526020600482015260116024820152700696e76616c69642074696d657374616d7607c1b60448201526064016109dc565b6000828152600e602090815260409182902083905581518481529081018390527f2c6c5a9e4f0ddd70b42bd7fcac74128409018755c234dc0d2d29c66eb6335c9a910160405180910390a15050565b611635611d62565b6001600160a01b03811661169a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109dc565b610a4781611dbc565b6116ad8282611143565b6109ef5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116e53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611124836001600160a01b038416612035565b600061087282612084565b6001600160a01b0383166117ab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109dc565b6001600160a01b03821661180c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109dc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611879848461149a565b905060001981146118e157818110156118d45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109dc565b6118e18484848403611749565b50505050565b6001600160a01b03831661194b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109dc565b6001600160a01b0382166119ad5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109dc565b6001600160a01b03831660009081526020819052604090205481811015611a255760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109dc565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a5c908490612a13565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611aa891815260200190565b60405180910390a36118e1565b610a4781336120a9565b611ac982826116a3565b600082815260066020526040902061096b9082611729565b611aeb828261210d565b600082815260066020526040902061096b9082612174565b6000611b0e81611ab5565b506009805460ff19169055565b6001600160a01b038216611b7b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109dc565b6001600160a01b03821660009081526020819052604090205481811015611bef5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109dc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c1e908490612b85565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038216611cbf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109dc565b8060026000828254611cd19190612a13565b90915550506001600160a01b03821660009081526020819052604081208054839290611cfe908490612a13565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80600a6000828254611d5a9190612a13565b909155505050565b600b546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109dc565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006111248383612189565b600080611e29610e1042612bae565b905060008111611e6e5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081a5b9d195c9d985b60821b60448201526064016109dc565b919050565b81611eb55760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b6000828152600e602052604090205481611ed1610e1083612bae565b1461096b5760015b6101008111611f1857804310158015611efb575083611ef88243612b85565b40145b15611f065750505050565b80611f1081612bd0565b915050611ed9565b5060405162461bcd60e51b81526020600482015260126024820152710caf0e0d2e4cac840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b6000611f6061116e565b85858585604051602001611f78959493929190612be9565b604051602081830303815290604052805190602001209050949350505050565b60008181526001830160205260408120541515611124565b600080611fbc42610fe4565b90506000611fc9846121b3565b60ff1690508181111561201557611fe26012600a612b5f565b6001611fee8484612b85565b611ff9906002612c29565b6120039190612b85565b61200d9190612b6e565b949350505050565b5060009392505050565b60006111248383612035565b6000610872825490565b600081815260018301602052604081205461207c57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610872565b506000610872565b60006001600160e01b03198216635a05180f60e01b148061087257506108728261239e565b6120b38282611143565b6109ef576120cb816001600160a01b031660146123d3565b6120d68360206123d3565b6040516020016120e7929190612c35565b60408051601f198184030181529082905262461bcd60e51b82526109dc9160040161273c565b6121178282611143565b156109ef5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611124836001600160a01b03841661256f565b60008260000182815481106121a0576121a0612b98565b9060005260206000200154905092915050565b600080805b60208160ff161015612397576000848260ff16602081106121db576121db612b98565b1a60f81b90506001600160f81b03198116600003612206576121fe600284612caa565b925050612385565b600160f81b6001600160f81b03198216148061222f5750600160f91b6001600160f81b03198216145b806122475750600360f81b6001600160f81b03198216145b8061225f5750600160fa1b6001600160f81b03198216145b806122775750600560f81b6001600160f81b03198216145b8061228f5750600360f91b6001600160f81b03198216145b806122a75750600760f81b6001600160f81b03198216145b806122bf5750600160fb1b6001600160f81b03198216145b806122d75750600960f81b6001600160f81b03198216145b806122ef5750600560f91b6001600160f81b03198216145b806123075750600b60f81b6001600160f81b03198216145b8061231f5750600360fa1b6001600160f81b03198216145b806123375750600d60f81b6001600160f81b03198216145b8061234f5750600760f91b6001600160f81b03198216145b806123675750600f60f81b6001600160f81b03198216145b1561237f57612377600184612caa565b925050612397565b50612397565b8061238f81612cc3565b9150506121b8565b5092915050565b60006001600160e01b03198216637965db0b60e01b148061087257506301ffc9a760e01b6001600160e01b0319831614610872565b606060006123e2836002612b6e565b6123ed906002612a13565b67ffffffffffffffff81111561240557612405612811565b6040519080825280601f01601f19166020018201604052801561242f576020820181803683370190505b509050600360fc1b8160008151811061244a5761244a612b98565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061247957612479612b98565b60200101906001600160f81b031916908160001a905350600061249d846002612b6e565b6124a8906001612a13565b90505b6001811115612520576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124dc576124dc612b98565b1a60f81b8282815181106124f2576124f2612b98565b60200101906001600160f81b031916908160001a90535060049490941c9361251981612ce2565b90506124ab565b5083156111245760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109dc565b60008181526001830160205260408120548015612658576000612593600183612b85565b85549091506000906125a790600190612b85565b905081811461260c5760008660000182815481106125c7576125c7612b98565b90600052602060002001549050808760000184815481106125ea576125ea612b98565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061261d5761261d612cf9565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610872565b6000915050610872565b82805482825590600052602060002090810192821561269d579160200282015b8281111561269d578251825591602001919060010190612682565b506126a99291506126ad565b5090565b5b808211156126a957600081556001016126ae565b6000602082840312156126d457600080fd5b81356001600160e01b03198116811461112457600080fd5b60005b838110156127075781810151838201526020016126ef565b50506000910152565b600081518084526127288160208601602086016126ec565b601f01601f19169290920160200192915050565b6020815260006111246020830184612710565b80356001600160a01b0381168114611e6e57600080fd5b6000806040838503121561277957600080fd5b6127828361274f565b946020939093013593505050565b6000806000606084860312156127a557600080fd5b6127ae8461274f565b92506127bc6020850161274f565b9150604084013590509250925092565b6000602082840312156127de57600080fd5b5035919050565b600080604083850312156127f857600080fd5b823591506128086020840161274f565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561283a57600080fd5b823567ffffffffffffffff8082111561285257600080fd5b818501915085601f83011261286657600080fd5b81358181111561287857612878612811565b8060051b604051601f19603f8301168101818110858211171561289d5761289d612811565b6040529182528482019250838101850191888311156128bb57600080fd5b938501935b828510156128d9578435845293850193928501926128c0565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561291d57835183529284019291840191600101612901565b50909695505050505050565b60006020828403121561293b57600080fd5b6111248261274f565b6000806040838503121561295757600080fd5b50508035926020909101359150565b60008060006060848603121561297b57600080fd5b6129848461274f565b95602085013595506040909401359392505050565b600080604083850312156129ac57600080fd5b6129b58361274f565b91506128086020840161274f565b600181811c908216806129d757607f821691505b6020821081036129f757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610872576108726129fd565b600060208284031215612a3857600080fd5b5051919050565b600060208284031215612a5157600080fd5b815160ff8116811461112457600080fd5b60ff8281168282160390811115610872576108726129fd565b600181815b80851115612ab6578160001904821115612a9c57612a9c6129fd565b80851615612aa957918102915b93841c9390800290612a80565b509250929050565b600082612acd57506001610872565b81612ada57506000610872565b8160018114612af05760028114612afa57612b16565b6001915050610872565b60ff841115612b0b57612b0b6129fd565b50506001821b610872565b5060208310610133831016604e8410600b8410161715612b39575081810a610872565b612b438383612a7b565b8060001904821115612b5757612b576129fd565b029392505050565b600061112460ff841683612abe565b8082028115828204841417610872576108726129fd565b81810381811115610872576108726129fd565b634e487b7160e01b600052603260045260246000fd5b600082612bcb57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201612be257612be26129fd565b5060010190565b60a081526000612bfc60a0830188612710565b6001600160a01b039690961660208301525060408101939093526060830191909152608090910152919050565b60006111248383612abe565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c6d8160178501602088016126ec565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c9e8160288401602088016126ec565b01602801949350505050565b60ff8181168382160190811115610872576108726129fd565b600060ff821660ff8103612cd957612cd96129fd565b60010192915050565b600081612cf157612cf16129fd565b506000190190565b634e487b7160e01b600052603160045260246000fdfea264697066735822122080ffe14c94ef66218e93c380059dbcb6c39e60cec3af4306b4ed40ac5c48412d64736f6c6343000811003321b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b35408352315191d79eadc793a64c7d14d38414c0f4e02a3d61d2bbca04d299f819c3874c62f5045c2e9089aab0ada4a53b23071933de07fadb404d384f07834351ae6401e21217df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a1e1b9e42058f87aacc86151eee60be3728a69ade31e7db408acbba7774f5d2c518279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c3280e1322164d2a9c594e09927ac212ba43210d25e7c9efc459689fb7b6107c895b147fa9d826949f4f367afefb5d5a267558f054ceca49dcb3bde75713cd8e50eaf0000000000000000000000001ab7b945f50d33cf387fb74eb5f7a092ad03dc810000000000000000000000000000000000000000000000000000000007861f80
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061030c5760003560e01c8063811977891161019d578063c549176e116100e9578063d547741f116100a2578063e1c7392a1161007c578063e1c7392a146107c9578063eb497214146107d1578063f2fde38b146107f8578063fd511a8d1461080b57600080fd5b8063d547741f14610790578063dd62ed3e146107a3578063dd953ca3146107b657600080fd5b8063c549176e146106ed578063c89dcfce146106f5578063ca15c87314610708578063cc6919a41461071b578063cd9b869a14610742578063cde828951461076957600080fd5b8063a217fddf11610156578063ab31b70e11610130578063ab31b70e14610665578063b68041291461068c578063bb140470146106b3578063bf329b79146106da57600080fd5b8063a217fddf14610637578063a457c2d71461063f578063a9059cbb1461065257600080fd5b806381197789146105aa5780638da5cb5b146105bd5780639010d07c146105e257806391d14854146105f557806394c209a51461060857806395d89b411461062f57600080fd5b80633fb27b851161025c5780635d45bf5e1161021557806370a08231116101ef57806370a082311461053f578063715018a61461056857806376d844541461057057806379cc67901461059757600080fd5b80635d45bf5e146104ca578063653e102c146104f15780636c6284dc1461051857600080fd5b80633fb27b851461044d57806342966c6814610455578063454b0608146104685780634990dad31461047b57806355506d92146104a2578063559c1c7f146104b557600080fd5b8063248a9ca3116102c9578063313ce567116102a3578063313ce567146103f157806335996f5b1461040057806336568abe14610427578063395093511461043a57600080fd5b8063248a9ca3146103b15780632c678c64146103d45780632f2ff15d146103dc57600080fd5b806301ffc9a71461031157806306fdde0314610339578063095ea7b31461034e5780630a99e88a1461036157806318160ddd1461039657806323b872dd1461039e575b600080fd5b61032461031f3660046126c2565b610832565b60405190151581526020015b60405180910390f35b610341610878565b604051610330919061273c565b61032461035c366004612766565b61090a565b6103887faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb81565b604051908152602001610330565b600254610388565b6103246103ac366004612790565b610922565b6103886103bf3660046127cc565b60009081526005602052604090206001015490565b600a54610388565b6103ef6103ea3660046127e5565b610946565b005b60405160128152602001610330565b6103887f5c4a8fcfe2d0ae629a83e88fafb83c323492e5bd0a29542da23fb84bb87a499181565b6103ef6104353660046127e5565b610970565b610324610448366004612766565b6109f3565b6103ef610a15565b6103ef6104633660046127cc565b610a4a565b6103ef6104763660046127cc565b610a54565b6103887f1e1b9e42058f87aacc86151eee60be3728a69ade31e7db408acbba7774f5d2c581565b6103ef6104b0366004612827565b610edf565b6104bd610f64565b60405161033091906128e5565b6103887f47fa9d826949f4f367afefb5d5a267558f054ceca49dcb3bde75713cd8e50eaf81565b6103887f45c2e9089aab0ada4a53b23071933de07fadb404d384f07834351ae6401e212181565b6103887fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada81565b61038861054d366004612929565b6001600160a01b031660009081526020819052604090205490565b6103ef610fbb565b6103887f59c5589e073e79cb068a473a938b08b6e078e7ab02c16b2566189f37d4ef86fe81565b6103ef6105a5366004612766565b610fcf565b6103886105b83660046127cc565b610fe4565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610330565b6105ca6105f0366004612944565b61112b565b6103246106033660046127e5565b611143565b6103887fbc524e8ef0f829ac5a52282466b7de9273cee2f628ae71bbcd8e2d8cd73f4a5981565b61034161116e565b610388600081565b61032461064d366004612766565b61117d565b610324610660366004612766565b6111f8565b6103887f1d79eadc793a64c7d14d38414c0f4e02a3d61d2bbca04d299f819c3874c62f5081565b6103887fe1322164d2a9c594e09927ac212ba43210d25e7c9efc459689fb7b6107c895b181565b6103887f7df1fa30796d39d0e882422146943ee011c6f6b410f211570cc3a712e3e51e6a81565b6103886106e83660046127cc565b611206565b6104bd6112ff565b6103ef610703366004612966565b611355565b6103886107163660046127cc565b61145e565b6103887f39331c3081f37cb3d1da4e5ce293da53d66ea4df63f4ddb834ef31094c8e0fc181565b6103887f4a89d315e602b0589d706720a2c812227309c5069c55dff3ebf78f5e797aac6981565b6103887f18279111969b053eb32d637cdc8d9e7e53d648d3969f60ee55ddd0f63a7c328081565b6103ef61079e3660046127e5565b611475565b6103886107b1366004612999565b61149a565b6103ef6107c4366004612827565b6114c5565b6103ef61154a565b6103887f21b4f2a846971d5096997e4122542f612858bcbb112ef24ef9b354083523151981565b6103ef610806366004612929565b61162d565b6103887f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c819581565b60006001600160e01b031982166336372b0760e01b148061086357506001600160e01b0319821663a219a02560e01b145b8061087257506108728261173e565b92915050565b606060038054610887906129c3565b80601f01602080910402602001604051908101604052809291908181526020018280546108b3906129c3565b80156109005780601f106108d557610100808354040283529160200191610900565b820191906000526020600020905b8154815290600101906020018083116108e357829003601f168201915b5050505050905090565b600033610918818585611749565b5060019392505050565b60003361093085828561186d565b61093b8585856118e7565b506001949350505050565b60008281526005602052604090206001015461096181611ab5565b61096b8383611abf565b505050565b6001600160a01b03811633146109e55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109ef8282611ae1565b5050565b600033610918818585610a06838361149a565b610a109190612a13565b611749565b7faa06a9d3e3ec1501dfa4c06793f24ccddc527fa3089263f11fd78652bb9bafdb610a3f81611ab5565b610a47611b03565b50565b610a473382611b1b565b60095460ff16610a995760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b60448201526064016109dc565b6008544290811115610adf5760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b60448201526064016109dc565b600754604051636eb1769f60e11b81523360048201523060248201526000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610b2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b529190612a26565b905080831115610b9d5760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e7420616c6c6f77616e636560501b60448201526064016109dc565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612a26565b905080841115610c535760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b60448201526064016109dc565b60075460405163079cc67960e41b8152336004820152602481018690526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b50506007546040516370a0823160e01b8152336004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d269190612a26565b905081610d338683612a13565b14610d725760405162461bcd60e51b815260206004820152600f60248201526e696e76616c69642062616c616e636560881b60448201526064016109dc565b600760009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190612a3f565b60ff1660121015610e2f5760405162461bcd60e51b815260206004820152601060248201526f696e76616c696420646563696d616c7360801b60448201526064016109dc565b6007546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190612a3f565b610ea8906012612a62565b90506000610eb782600a612b5f565b610ec19088612b6e565b9050610ecd3382611c69565b610ed681611d48565b50505050505050565b7fc59bac438accc1773e42114a5d60cc41578f9661c64de118f75dd833d66c9ada610f0981611ab5565b8151600614610f515760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016109dc565b815161096b906010906020850190612662565b6060600f80548060200260200160405190810160405280929190818152602001828054801561090057602002820191906000526020600020905b815481526020019060010190808311610f9e575050505050905090565b610fc3611d62565b610fcd6000611dbc565b565b610fda82338361186d565b6109ef8282611b1b565b6000806110117f000000000000000000000000000000000000000000000000000000006215621e84612b85565b9050601060008154811061102757611027612b98565b9060005260206000200154601060018154811061104657611046612b98565b9060005260206000200154601060028154811061106557611065612b98565b906000526020600020015463bc19138061107f9190612b6e565b601060038154811061109357611093612b98565b906000526020600020015460106004815481106110b2576110b2612b98565b906000526020600020015460106005815481106110d1576110d1612b98565b9060005260206000200154866110e79190612a13565b6110f19190612b85565b6110fc906064612b6e565b6111069190612b6e565b6111109190612bae565b61111a9190612a13565b6111249190612b85565b9392505050565b60008281526006602052604081206111249083611e0e565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610887906129c3565b6000338161118b828661149a565b9050838110156111eb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109dc565b61093b8286868403611749565b6000336109188185856118e7565b6000600f60008154811061121c5761121c612b98565b9060005260206000200154600f60018154811061123b5761123b612b98565b9060005260206000200154600f60028154811061125a5761125a612b98565b9060005260206000200154600f60038154811061127957611279612b98565b9060005260206000200154600f60048154811061129857611298612b98565b9060005260206000200154600f6005815481106112b7576112b7612b98565b9060005260206000200154876112cd9190612a13565b6112d79190612b85565b6112e19190612b6e565b6112eb9190612bae565b6112f59190612a13565b6108729190612b85565b606060108054806020026020016040519081016040528092919081815260200182805480156109005760200282019190600052602060002090815481526020019060010190808311610f9e575050505050905090565b600061135f611e1a565b905061136b8382611e73565b600061137985838686611f56565b9050611386600c82611f98565b156113ca5760405162461bcd60e51b81526020600482015260146024820152730c8eae0d8d2c6c2e8ca40dcdedcc6ca5ad0c2e6d60631b60448201526064016109dc565b60006113d582611fb0565b90506000811161141a5760405162461bcd60e51b815260206004820152601060248201526f0cadae0e8f240dcdedcc6ca5ad0c2e6d60831b60448201526064016109dc565b611425600c8361201f565b506114308682611c69565b600061143b82611206565b90508015610ed657610ed6611458600b546001600160a01b031690565b82611c69565b60008181526006602052604081206108729061202b565b60008281526005602052604090206001015461149081611ab5565b61096b8383611ae1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f503a2d748c5ecb01ed789bb2094880edb7d51ae1befc2df98a828eaade7c81956114ef81611ab5565b81516006146115375760405162461bcd60e51b81526020600482015260146024820152730d2dcecc2d8d2c840c2e4e4c2f25cd8cadccee8d60631b60448201526064016109dc565b815161096b90600f906020850190612662565b6000611557600143612b85565b4090508061159c5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b42806115de5760405162461bcd60e51b81526020600482015260116024820152700696e76616c69642074696d657374616d7607c1b60448201526064016109dc565b6000828152600e602090815260409182902083905581518481529081018390527f2c6c5a9e4f0ddd70b42bd7fcac74128409018755c234dc0d2d29c66eb6335c9a910160405180910390a15050565b611635611d62565b6001600160a01b03811661169a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109dc565b610a4781611dbc565b6116ad8282611143565b6109ef5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116e53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611124836001600160a01b038416612035565b600061087282612084565b6001600160a01b0383166117ab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109dc565b6001600160a01b03821661180c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109dc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611879848461149a565b905060001981146118e157818110156118d45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109dc565b6118e18484848403611749565b50505050565b6001600160a01b03831661194b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109dc565b6001600160a01b0382166119ad5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109dc565b6001600160a01b03831660009081526020819052604090205481811015611a255760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109dc565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a5c908490612a13565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611aa891815260200190565b60405180910390a36118e1565b610a4781336120a9565b611ac982826116a3565b600082815260066020526040902061096b9082611729565b611aeb828261210d565b600082815260066020526040902061096b9082612174565b6000611b0e81611ab5565b506009805460ff19169055565b6001600160a01b038216611b7b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109dc565b6001600160a01b03821660009081526020819052604090205481811015611bef5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109dc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c1e908490612b85565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038216611cbf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109dc565b8060026000828254611cd19190612a13565b90915550506001600160a01b03821660009081526020819052604081208054839290611cfe908490612a13565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80600a6000828254611d5a9190612a13565b909155505050565b600b546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109dc565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006111248383612189565b600080611e29610e1042612bae565b905060008111611e6e5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081a5b9d195c9d985b60821b60448201526064016109dc565b919050565b81611eb55760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b6000828152600e602052604090205481611ed1610e1083612bae565b1461096b5760015b6101008111611f1857804310158015611efb575083611ef88243612b85565b40145b15611f065750505050565b80611f1081612bd0565b915050611ed9565b5060405162461bcd60e51b81526020600482015260126024820152710caf0e0d2e4cac840c4d8dec6d65ad0c2e6d60731b60448201526064016109dc565b6000611f6061116e565b85858585604051602001611f78959493929190612be9565b604051602081830303815290604052805190602001209050949350505050565b60008181526001830160205260408120541515611124565b600080611fbc42610fe4565b90506000611fc9846121b3565b60ff1690508181111561201557611fe26012600a612b5f565b6001611fee8484612b85565b611ff9906002612c29565b6120039190612b85565b61200d9190612b6e565b949350505050565b5060009392505050565b60006111248383612035565b6000610872825490565b600081815260018301602052604081205461207c57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610872565b506000610872565b60006001600160e01b03198216635a05180f60e01b148061087257506108728261239e565b6120b38282611143565b6109ef576120cb816001600160a01b031660146123d3565b6120d68360206123d3565b6040516020016120e7929190612c35565b60408051601f198184030181529082905262461bcd60e51b82526109dc9160040161273c565b6121178282611143565b156109ef5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611124836001600160a01b03841661256f565b60008260000182815481106121a0576121a0612b98565b9060005260206000200154905092915050565b600080805b60208160ff161015612397576000848260ff16602081106121db576121db612b98565b1a60f81b90506001600160f81b03198116600003612206576121fe600284612caa565b925050612385565b600160f81b6001600160f81b03198216148061222f5750600160f91b6001600160f81b03198216145b806122475750600360f81b6001600160f81b03198216145b8061225f5750600160fa1b6001600160f81b03198216145b806122775750600560f81b6001600160f81b03198216145b8061228f5750600360f91b6001600160f81b03198216145b806122a75750600760f81b6001600160f81b03198216145b806122bf5750600160fb1b6001600160f81b03198216145b806122d75750600960f81b6001600160f81b03198216145b806122ef5750600560f91b6001600160f81b03198216145b806123075750600b60f81b6001600160f81b03198216145b8061231f5750600360fa1b6001600160f81b03198216145b806123375750600d60f81b6001600160f81b03198216145b8061234f5750600760f91b6001600160f81b03198216145b806123675750600f60f81b6001600160f81b03198216145b1561237f57612377600184612caa565b925050612397565b50612397565b8061238f81612cc3565b9150506121b8565b5092915050565b60006001600160e01b03198216637965db0b60e01b148061087257506301ffc9a760e01b6001600160e01b0319831614610872565b606060006123e2836002612b6e565b6123ed906002612a13565b67ffffffffffffffff81111561240557612405612811565b6040519080825280601f01601f19166020018201604052801561242f576020820181803683370190505b509050600360fc1b8160008151811061244a5761244a612b98565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061247957612479612b98565b60200101906001600160f81b031916908160001a905350600061249d846002612b6e565b6124a8906001612a13565b90505b6001811115612520576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124dc576124dc612b98565b1a60f81b8282815181106124f2576124f2612b98565b60200101906001600160f81b031916908160001a90535060049490941c9361251981612ce2565b90506124ab565b5083156111245760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109dc565b60008181526001830160205260408120548015612658576000612593600183612b85565b85549091506000906125a790600190612b85565b905081811461260c5760008660000182815481106125c7576125c7612b98565b90600052602060002001549050808760000184815481106125ea576125ea612b98565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061261d5761261d612cf9565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610872565b6000915050610872565b82805482825590600052602060002090810192821561269d579160200282015b8281111561269d578251825591602001919060010190612682565b506126a99291506126ad565b5090565b5b808211156126a957600081556001016126ae565b6000602082840312156126d457600080fd5b81356001600160e01b03198116811461112457600080fd5b60005b838110156127075781810151838201526020016126ef565b50506000910152565b600081518084526127288160208601602086016126ec565b601f01601f19169290920160200192915050565b6020815260006111246020830184612710565b80356001600160a01b0381168114611e6e57600080fd5b6000806040838503121561277957600080fd5b6127828361274f565b946020939093013593505050565b6000806000606084860312156127a557600080fd5b6127ae8461274f565b92506127bc6020850161274f565b9150604084013590509250925092565b6000602082840312156127de57600080fd5b5035919050565b600080604083850312156127f857600080fd5b823591506128086020840161274f565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561283a57600080fd5b823567ffffffffffffffff8082111561285257600080fd5b818501915085601f83011261286657600080fd5b81358181111561287857612878612811565b8060051b604051601f19603f8301168101818110858211171561289d5761289d612811565b6040529182528482019250838101850191888311156128bb57600080fd5b938501935b828510156128d9578435845293850193928501926128c0565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561291d57835183529284019291840191600101612901565b50909695505050505050565b60006020828403121561293b57600080fd5b6111248261274f565b6000806040838503121561295757600080fd5b50508035926020909101359150565b60008060006060848603121561297b57600080fd5b6129848461274f565b95602085013595506040909401359392505050565b600080604083850312156129ac57600080fd5b6129b58361274f565b91506128086020840161274f565b600181811c908216806129d757607f821691505b6020821081036129f757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610872576108726129fd565b600060208284031215612a3857600080fd5b5051919050565b600060208284031215612a5157600080fd5b815160ff8116811461112457600080fd5b60ff8281168282160390811115610872576108726129fd565b600181815b80851115612ab6578160001904821115612a9c57612a9c6129fd565b80851615612aa957918102915b93841c9390800290612a80565b509250929050565b600082612acd57506001610872565b81612ada57506000610872565b8160018114612af05760028114612afa57612b16565b6001915050610872565b60ff841115612b0b57612b0b6129fd565b50506001821b610872565b5060208310610133831016604e8410600b8410161715612b39575081810a610872565b612b438383612a7b565b8060001904821115612b5757612b576129fd565b029392505050565b600061112460ff841683612abe565b8082028115828204841417610872576108726129fd565b81810381811115610872576108726129fd565b634e487b7160e01b600052603260045260246000fd5b600082612bcb57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201612be257612be26129fd565b5060010190565b60a081526000612bfc60a0830188612710565b6001600160a01b039690961660208301525060408101939093526060830191909152608090910152919050565b60006111248383612abe565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c6d8160178501602088016126ec565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c9e8160288401602088016126ec565b01602801949350505050565b60ff8181168382160190811115610872576108726129fd565b600060ff821660ff8103612cd957612cd96129fd565b60010192915050565b600081612cf157612cf16129fd565b506000190190565b634e487b7160e01b600052603160045260246000fdfea264697066735822122080ffe14c94ef66218e93c380059dbcb6c39e60cec3af4306b4ed40ac5c48412d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001ab7b945f50d33cf387fb74eb5f7a092ad03dc810000000000000000000000000000000000000000000000000000000007861f80
-----Decoded View---------------
Arg [0] : moeBase (address): 0x1Ab7b945f50D33cF387Fb74eB5f7a092aD03dc81
Arg [1] : deadlineIn (uint256): 126230400
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001ab7b945f50d33cf387fb74eb5f7a092ad03dc81
Arg [1] : 0000000000000000000000000000000000000000000000000000000007861f80
Deployed Bytecode Sourcemap
66898:627:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56620:286;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;56620:286:0;;;;;;;;42249:100;;;:::i;:::-;;;;;;;:::i;44600:201::-;;;;;;:::i;:::-;;:::i;34494:66::-;;34534:26;34494:66;;;;;1836:25:1;;;1824:2;1809:18;34494:66:0;1690:177:1;43369:108:0;43457:12;;43369:108;;45381:295;;;;;;:::i;:::-;;:::i;27237:131::-;;;;;;:::i;:::-;27311:7;27338:12;;;:6;:12;;;;;:22;;;;27237:131;56163:90;56231:14;;56163:90;;27678:147;;;;;;:::i;:::-;;:::i;:::-;;43211:93;;;43294:2;2973:36:1;;2961:2;2946:18;43211:93:0;2831:184:1;33869:60:0;;33906:23;33869:60;;28822:218;;;;;;:::i;:::-;;:::i;46085:238::-;;;;;;:::i;:::-;;:::i;57057:87::-;;;:::i;53612:91::-;;;;;;:::i;:::-;;:::i;55167:942::-;;;;;;:::i;:::-;;:::i;34148:72::-;;34191:29;34148:72;;64269:164;;;;;;:::i;:::-;;:::i;63480:91::-;;;:::i;:::-;;;;;;;:::i;33936:72::-;;33979:29;33936:72;;33724;;33767:29;33724:72;;34081:60;;34118:23;34081:60;;43540:127;;;;;;:::i;:::-;-1:-1:-1;;;;;43641:18:0;43614:7;43641:18;;;;;;;;;;;;43540:127;59270:103;;;:::i;34704:66::-;;34744:26;34704:66;;54022:164;;;;;;:::i;:::-;;:::i;63838:244::-;;;;;;:::i;:::-;;:::i;58622:87::-;58695:6;;-1:-1:-1;;;;;58695:6:0;58622:87;;;-1:-1:-1;;;;;5449:32:1;;;5431:51;;5419:2;5404:18;58622:87:0;5285:203:1;32469:153:0;;;;;;:::i;:::-;;:::i;25697:147::-;;;;;;:::i;:::-;;:::i;34914:66::-;;34954:26;34914:66;;42468:104;;;:::i;24802:49::-;;24847:4;24802:49;;46826:436;;;;;;:::i;:::-;;:::i;43873:193::-;;;;;;:::i;:::-;;:::i;34361:72::-;;34404:29;34361:72;;34777:78;;34823:32;34777:78;;34567;;34613:32;34567:78;;63257:175;;;;;;:::i;:::-;;:::i;64132:91::-;;;:::i;62235:968::-;;;;;;:::i;:::-;;:::i;32796:142::-;;;;;;:::i;:::-;;:::i;33657:60::-;;33694:23;33657:60;;35127:66;;35167:26;35127:66;;34987:78;;35033:32;34987:78;;28118:149;;;;;;:::i;:::-;;:::i;44129:151::-;;;;;;:::i;:::-;;:::i;63615:164::-;;;;;;:::i;:::-;;:::i;61824:331::-;;;:::i;35200:78::-;;35246:32;35200:78;;59528:201;;;;;;:::i;:::-;;:::i;34294:60::-;;34331:23;34294:60;;56620:286;56705:4;-1:-1:-1;;;;;;56742:39:0;;-1:-1:-1;;;56742:39:0;;:103;;-1:-1:-1;;;;;;;56798:47:0;;-1:-1:-1;;;56798:47:0;56742:103;:156;;;;56862:36;56886:11;56862:23;:36::i;:::-;56722:176;56620:286;-1:-1:-1;;56620:286:0:o;42249:100::-;42303:13;42336:5;42329:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42249:100;:::o;44600:201::-;44683:4;18259:10;44739:32;18259:10;44755:7;44764:6;44739:8;:32::i;:::-;-1:-1:-1;44789:4:0;;44600:201;-1:-1:-1;;;44600:201:0:o;45381:295::-;45512:4;18259:10;45570:38;45586:4;18259:10;45601:6;45570:15;:38::i;:::-;45619:27;45629:4;45635:2;45639:6;45619:9;:27::i;:::-;-1:-1:-1;45664:4:0;;45381:295;-1:-1:-1;;;;45381:295:0:o;27678:147::-;27311:7;27338:12;;;:6;:12;;;;;:22;;;25293:16;25304:4;25293:10;:16::i;:::-;27792:25:::1;27803:4;27809:7;27792:10;:25::i;:::-;27678:147:::0;;;:::o;28822:218::-;-1:-1:-1;;;;;28918:23:0;;18259:10;28918:23;28910:83;;;;-1:-1:-1;;;28910:83:0;;6925:2:1;28910:83:0;;;6907:21:1;6964:2;6944:18;;;6937:30;7003:34;6983:18;;;6976:62;-1:-1:-1;;;7054:18:1;;;7047:45;7109:19;;28910:83:0;;;;;;;;;29006:26;29018:4;29024:7;29006:11;:26::i;:::-;28822:218;;:::o;46085:238::-;46173:4;18259:10;46229:64;18259:10;46245:7;46282:10;46254:25;18259:10;46245:7;46254:9;:25::i;:::-;:38;;;;:::i;:::-;46229:8;:64::i;57057:87::-;34534:26;25293:16;25304:4;25293:10;:16::i;:::-;57124:12:::1;:10;:12::i;:::-;57057:87:::0;:::o;53612:91::-;53668:27;18259:10;53688:6;53668:5;:27::i;55167:942::-;55229:11;;;;55221:40;;;;-1:-1:-1;;;55221:40:0;;7603:2:1;55221:40:0;;;7585:21:1;7642:2;7622:18;;;7615:30;-1:-1:-1;;;7661:18:1;;;7654:46;7717:18;;55221:40:0;7401:340:1;55221:40:0;55326:11;;55292:15;;55326:24;-1:-1:-1;55326:24:0;55318:52;;;;-1:-1:-1;;;55318:52:0;;7948:2:1;55318:52:0;;;7930:21:1;7987:2;7967:18;;;7960:30;-1:-1:-1;;;8006:18:1;;;7999:45;8061:18;;55318:52:0;7746:339:1;55318:52:0;55403:6;;:43;;-1:-1:-1;;;55403:43:0;;55420:10;55403:43;;;8302:34:1;55440:4:0;8352:18:1;;;8345:43;55381:19:0;;-1:-1:-1;;;;;55403:6:0;;:16;;8237:18:1;;55403:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55381:65;;55478:11;55465:9;:24;;55457:59;;;;-1:-1:-1;;;55457:59:0;;8790:2:1;55457:59:0;;;8772:21:1;8829:2;8809:18;;;8802:30;-1:-1:-1;;;8848:18:1;;;8841:52;8910:18;;55457:59:0;8588:346:1;55457:59:0;55548:6;;:28;;-1:-1:-1;;;55548:28:0;;55565:10;55548:28;;;5431:51:1;55527:18:0;;-1:-1:-1;;;;;55548:6:0;;:16;;5404:18:1;;55548:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55527:49;;55608:10;55595:9;:23;;55587:56;;;;-1:-1:-1;;;55587:56:0;;9141:2:1;55587:56:0;;;9123:21:1;9180:2;9160:18;;;9153:30;-1:-1:-1;;;9199:18:1;;;9192:50;9259:18;;55587:56:0;8939:344:1;55587:56:0;55654:6;;:38;;-1:-1:-1;;;55654:38:0;;55670:10;55654:38;;;9462:51:1;9529:18;;;9522:34;;;-1:-1:-1;;;;;55654:6:0;;;;:15;;9435:18:1;;55654:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55724:6:0;;:28;;-1:-1:-1;;;55724:28:0;;55741:10;55724:28;;;5431:51:1;55703:18:0;;-1:-1:-1;;;;;;55724:6:0;;;;-1:-1:-1;55724:16:0;;5404:18:1;;55724:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55703:49;-1:-1:-1;55797:10:0;55771:22;55784:9;55703:49;55771:22;:::i;:::-;:36;55763:64;;;;-1:-1:-1;;;55763:64:0;;9769:2:1;55763:64:0;;;9751:21:1;9808:2;9788:18;;;9781:30;-1:-1:-1;;;9827:18:1;;;9820:45;9882:18;;55763:64:0;9567:339:1;55763:64:0;55860:6;;;;;;;;;-1:-1:-1;;;;;55860:6:0;-1:-1:-1;;;;;55860:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55846:31;;43294:2;55846:31;;55838:60;;;;-1:-1:-1;;;55838:60:0;;10391:2:1;55838:60:0;;;10373:21:1;10430:2;10410:18;;;10403:30;-1:-1:-1;;;10449:18:1;;;10442:46;10505:18;;55838:60:0;10189:340:1;55838:60:0;55944:6;;:17;;;-1:-1:-1;;;55944:17:0;;;;55909:19;;-1:-1:-1;;;;;55944:6:0;;:15;;:17;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55931:30;;43294:2;55931:30;:::i;:::-;55909:52;-1:-1:-1;55972:17:0;56004:19;55909:52;56004:2;:19;:::i;:::-;55992:31;;:9;:31;:::i;:::-;55972:51;;56034:28;56040:10;56052:9;56034:5;:28::i;:::-;56073;56091:9;56073:17;:28::i;:::-;55210:899;;;;;;55167:942;:::o;64269:164::-;34118:23;25293:16;25304:4;25293:10;:16::i;:::-;64358:5:::1;:12;64374:1;64358:17;64350:50;;;::::0;-1:-1:-1;;;64350:50:0;;12448:2:1;64350:50:0::1;::::0;::::1;12430:21:1::0;12487:2;12467:18;;;12460:30;-1:-1:-1;;;12506:18:1;;;12499:50;12566:18;;64350:50:0::1;12246:344:1::0;64350:50:0::1;64411:14:::0;;::::1;::::0;:6:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;63480:91::-:0;63521:16;63557:6;63550:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63480:91;:::o;59270:103::-;58508:13;:11;:13::i;:::-;59335:30:::1;59362:1;59335:18;:30::i;:::-;59270:103::o:0;54022:164::-;54099:46;54115:7;18259:10;54138:6;54099:15;:46::i;:::-;54156:22;54162:7;54171:6;54156:5;:22::i;63838:244::-;63901:7;;63934:22;63946:10;63934:9;:22;:::i;:::-;63921:35;;64065:6;64072:1;64065:9;;;;;;;;:::i;:::-;;;;;;;;;64053:6;64060:1;64053:9;;;;;;;;:::i;:::-;;;;;;;;;64026:6;64033:1;64026:9;;;;;;;;:::i;:::-;;;;;;;;;64038:11;64026:23;;;;:::i;:::-;64012:6;64019:1;64012:9;;;;;;;;:::i;:::-;;;;;;;;;63999:6;64006:1;63999:9;;;;;;;;:::i;:::-;;;;;;;;;63987:6;63994:1;63987:9;;;;;;;;:::i;:::-;;;;;;;;;63982:2;:14;;;;:::i;:::-;:26;;;;:::i;:::-;63975:34;;:3;:34;:::i;:::-;:46;;;;:::i;:::-;63974:76;;;;:::i;:::-;:88;;;;:::i;:::-;:100;;;;:::i;:::-;63967:107;63838:244;-1:-1:-1;;;63838:244:0:o;32469:153::-;32559:7;32586:18;;;:12;:18;;;;;:28;;32608:5;32586:21;:28::i;25697:147::-;25783:4;25807:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;25807:29:0;;;;;;;;;;;;;;;25697:147::o;42468:104::-;42524:13;42557:7;42550:14;;;;;:::i;46826:436::-;46919:4;18259:10;46919:4;47002:25;18259:10;47019:7;47002:9;:25::i;:::-;46975:52;;47066:15;47046:16;:35;;47038:85;;;;-1:-1:-1;;;47038:85:0;;13284:2:1;47038: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;;47038:85:0;13082:401:1;47038:85:0;47159:60;47168:5;47175:7;47203:15;47184:16;:34;47159:8;:60::i;43873:193::-;43952:4;18259:10;44008:28;18259:10;44025:2;44029:6;44008:9;:28::i;63257:175::-;63315:7;63415:6;63422:1;63415:9;;;;;;;;:::i;:::-;;;;;;;;;63403:6;63410:1;63403:9;;;;;;;;:::i;:::-;;;;;;;;;63391:6;63398:1;63391:9;;;;;;;;:::i;:::-;;;;;;;;;63378:6;63385:1;63378:9;;;;;;;;:::i;:::-;;;;;;;;;63365:6;63372:1;63365:9;;;;;;;;:::i;:::-;;;;;;;;;63353:6;63360:1;63353:9;;;;;;;;:::i;:::-;;;;;;;;;63344:6;:18;;;;:::i;:::-;:30;;;;:::i;:::-;63343:44;;;;:::i;:::-;63342:58;;;;:::i;:::-;:70;;;;:::i;:::-;:82;;;;:::i;64132:91::-;64173:16;64209:6;64202:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64132:91;:::o;62235:968::-;62357:16;62376:11;:9;:11::i;:::-;62357:30;;62440:35;62455:9;62466:8;62440:14;:35::i;:::-;62556:17;62576:39;62584:2;62588:8;62598:9;62609:5;62576:7;:39::i;:::-;62556:59;-1:-1:-1;62635:36:0;:7;62556:59;62635:16;:36::i;:::-;62634:37;62626:70;;;;-1:-1:-1;;;62626:70:0;;13690:2:1;62626:70:0;;;13672:21:1;13729:2;13709:18;;;13702:30;-1:-1:-1;;;13748:18:1;;;13741:50;13808:18;;62626:70:0;13488:344:1;62626:70:0;62761:14;62778:20;62788:9;62778;:20::i;:::-;62761:37;;62826:1;62817:6;:10;62809:39;;;;-1:-1:-1;;;62809:39:0;;14039:2:1;62809:39:0;;;14021:21:1;14078:2;14058:18;;;14051:30;-1:-1:-1;;;14097:18:1;;;14090:46;14153:18;;62809:39:0;13837:340:1;62809:39:0;62914:31;:7;62934:9;62914:11;:31::i;:::-;;63018:17;63024:2;63028:6;63018:5;:17::i;:::-;63104:16;63123:19;63135:6;63123:11;:19::i;:::-;63104:38;-1:-1:-1;63157:12:0;;63153:42;;63171:24;63177:7;58695:6;;-1:-1:-1;;;;;58695:6:0;;58622:87;63177:7;63186:8;63171:5;:24::i;32796:142::-;32876:7;32903:18;;;:12;:18;;;;;:27;;:25;:27::i;28118:149::-;27311:7;27338:12;;;:6;:12;;;;;:22;;;25293:16;25304:4;25293:10;:16::i;:::-;28233:26:::1;28245:4;28251:7;28233:11;:26::i;44129:151::-:0;-1:-1:-1;;;;;44245:18:0;;;44218:7;44245:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;44129:151::o;63615:164::-;34331:23;25293:16;25304:4;25293:10;:16::i;:::-;63704:5:::1;:12;63720:1;63704:17;63696:50;;;::::0;-1:-1:-1;;;63696:50:0;;12448:2:1;63696:50:0::1;::::0;::::1;12430:21:1::0;12487:2;12467:18;;;12460:30;-1:-1:-1;;;12506:18:1;;;12499:50;12566:18;;63696:50:0::1;12246:344:1::0;63696:50:0::1;63757:14:::0;;::::1;::::0;:6:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;61824:331::-:0;61858:17;61888:16;61903:1;61888:12;:16;:::i;:::-;61878:27;;-1:-1:-1;61924:13:0;61916:44;;;;-1:-1:-1;;;61916:44:0;;14384:2:1;61916:44:0;;;14366:21:1;14423:2;14403:18;;;14396:30;-1:-1:-1;;;14442:18:1;;;14435:48;14500:18;;61916:44:0;14182:342:1;61916:44:0;61991:15;62025:13;62017:43;;;;-1:-1:-1;;;62017:43:0;;14731:2:1;62017:43:0;;;14713:21:1;14770:2;14750:18;;;14743:30;-1:-1:-1;;;14789:18:1;;;14782:47;14846:18;;62017:43:0;14529:341:1;62017:43:0;62071:22;;;;:11;:22;;;;;;;;;:34;;;62121:26;;15049:25:1;;;15090:18;;;15083:34;;;62121:26:0;;15022:18:1;62121:26:0;;;;;;;61847:308;;61824:331::o;59528:201::-;58508:13;:11;:13::i;:::-;-1:-1:-1;;;;;59617:22:0;::::1;59609:73;;;::::0;-1:-1:-1;;;59609:73:0;;15330:2:1;59609: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;;59609:73:0::1;15128:402:1::0;59609:73:0::1;59693:28;59712:8;59693:18;:28::i;30419:238::-:0;30503:22;30511:4;30517:7;30503;:22::i;:::-;30498:152;;30542:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30542:29:0;;;;;;;;;:36;;-1:-1:-1;;30542:36:0;30574:4;30542:36;;;30625:12;18259:10;;18179:98;30625:12;-1:-1:-1;;;;;30598:40:0;30616:7;-1:-1:-1;;;;;30598:40:0;30610:4;30598:40;;;;;;;;;;30419:238;;:::o;8398:152::-;8468:4;8492:50;8497:3;-1:-1:-1;;;;;8517:23:0;;8492:4;:50::i;36337:153::-;36422:4;36446:36;36470:11;36446:23;:36::i;50451:380::-;-1:-1:-1;;;;;50587:19:0;;50579:68;;;;-1:-1:-1;;;50579:68:0;;15737:2:1;50579: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;;50579:68:0;15535:400:1;50579:68:0;-1:-1:-1;;;;;50666:21:0;;50658:68;;;;-1:-1:-1;;;50658:68:0;;16142:2:1;50658: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;;50658:68:0;15940:398:1;50658:68:0;-1:-1:-1;;;;;50739:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;50791:32;;1836:25:1;;;50791:32:0;;1809:18:1;50791:32:0;;;;;;;50451:380;;;:::o;51122:453::-;51257:24;51284:25;51294:5;51301:7;51284:9;:25::i;:::-;51257:52;;-1:-1:-1;;51324:16:0;:37;51320:248;;51406:6;51386:16;:26;;51378:68;;;;-1:-1:-1;;;51378:68:0;;16545:2:1;51378:68:0;;;16527:21:1;16584:2;16564:18;;;16557:30;16623:31;16603:18;;;16596:59;16672:18;;51378:68:0;16343:353:1;51378:68:0;51490:51;51499:5;51506:7;51534:6;51515:16;:25;51490:8;:51::i;:::-;51246:329;51122:453;;;:::o;47732:671::-;-1:-1:-1;;;;;47863:18:0;;47855:68;;;;-1:-1:-1;;;47855:68:0;;16903:2:1;47855: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;;47855:68:0;16701:401:1;47855:68:0;-1:-1:-1;;;;;47942:16:0;;47934:64;;;;-1:-1:-1;;;47934:64:0;;17309:2:1;47934: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;;47934:64:0;17107:399:1;47934:64:0;-1:-1:-1;;;;;48084:15:0;;48062:19;48084:15;;;;;;;;;;;48118:21;;;;48110:72;;;;-1:-1:-1;;;48110:72:0;;17713:2:1;48110: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;;48110:72:0;17511:402:1;48110:72:0;-1:-1:-1;;;;;48218:15:0;;;:9;:15;;;;;;;;;;;48236:20;;;48218:38;;48278:13;;;;;;;;:23;;48250:6;;48218:9;48278:23;;48250:6;;48278:23;:::i;:::-;;;;;;;;48334:2;-1:-1:-1;;;;;48319:26:0;48328:4;-1:-1:-1;;;;;48319:26:0;;48338:6;48319:26;;;;1836:25:1;;1824:2;1809:18;;1690:177;48319:26:0;;;;;;;;48358:37;27678:147;26148:105;26215:30;26226:4;18259:10;26215;:30::i;33031:169::-;33119:31;33136:4;33142:7;33119:16;:31::i;:::-;33161:18;;;;:12;:18;;;;;:31;;33184:7;33161:22;:31::i;33294:174::-;33383:32;33401:4;33407:7;33383:17;:32::i;:::-;33426:18;;;;:12;:18;;;;;:34;;33452:7;33426:25;:34::i;56299:83::-;56339:3;25293:16;56339:3;25293:10;:16::i;:::-;-1:-1:-1;56355:11:0::1;:19:::0;;-1:-1:-1;;56355:19:0::1;::::0;;56299:83::o;49422:591::-;-1:-1:-1;;;;;49506:21:0;;49498:67;;;;-1:-1:-1;;;49498:67:0;;18120:2:1;49498: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;;49498:67:0;17918:397:1;49498:67:0;-1:-1:-1;;;;;49665:18:0;;49640:22;49665:18;;;;;;;;;;;49702:24;;;;49694:71;;;;-1:-1:-1;;;49694:71:0;;18522:2:1;49694: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;;49694:71:0;18320:398:1;49694:71:0;-1:-1:-1;;;;;49801:18:0;;:9;:18;;;;;;;;;;49822:23;;;49801:44;;49867:12;:22;;49839:6;;49801:9;49867:22;;49839:6;;49867:22;:::i;:::-;;;;-1:-1:-1;;49907:37:0;;1836:25:1;;;49933:1:0;;-1:-1:-1;;;;;49907:37:0;;;;;1824:2:1;1809:18;49907:37:0;;;;;;;27678:147;;;:::o;48690:399::-;-1:-1:-1;;;;;48774:21:0;;48766:65;;;;-1:-1:-1;;;48766:65:0;;18925:2:1;48766:65:0;;;18907:21:1;18964:2;18944:18;;;18937:30;19003:33;18983:18;;;18976:61;19054:18;;48766:65:0;18723:355:1;48766:65:0;48922:6;48906:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;48939:18:0;;:9;:18;;;;;;;;;;:28;;48961:6;;48939:9;:28;;48961:6;;48939:28;:::i;:::-;;;;-1:-1:-1;;48983:37:0;;1836:25:1;;;-1:-1:-1;;;;;48983:37:0;;;49000:1;;48983:37;;1824:2:1;1809:18;48983:37:0;;;;;;;28822:218;;:::o;56426:95::-;56507:6;56489:14;;:24;;;;;;;:::i;:::-;;;;-1:-1:-1;;;56426:95:0:o;58787:132::-;58695:6;;-1:-1:-1;;;;;58695:6:0;18259:10;58851:23;58843:68;;;;-1:-1:-1;;;58843:68:0;;19285:2:1;58843:68:0;;;19267:21:1;;;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;19415:18;;58843:68:0;19083:356:1;59889:191:0;59982:6;;;-1:-1:-1;;;;;59999:17:0;;;-1:-1:-1;;;;;;59999:17:0;;;;;;;60032:40;;59982:6;;;59999:17;59982:6;;60032:40;;59963:16;;60032:40;59952:128;59889:191;:::o;9694:158::-;9768:7;9819:22;9823:3;9835:5;9819:3;:22::i;65110:196::-;65154:7;;65193:27;65212:7;65193:15;:27;:::i;:::-;65174:46;;65250:1;65239:8;:12;65231:41;;;;-1:-1:-1;;;65231:41:0;;19646:2:1;65231:41:0;;;19628:21:1;19685:2;19665:18;;;19658:30;-1:-1:-1;;;19704:18:1;;;19697:46;19760:18;;65231:41:0;19444:340:1;65231:41:0;65290:8;65110:196;-1:-1:-1;65110:196:0:o;64516:538::-;64610:13;64602:44;;;;-1:-1:-1;;;64602:44:0;;14384:2:1;64602:44:0;;;14366:21:1;14423:2;14403:18;;;14396:30;-1:-1:-1;;;14442:18:1;;;14435:48;14500:18;;64602:44:0;14182:342:1;64602:44:0;64657:17;64677:22;;;:11;:22;;;;;;64739:8;64714:21;64727:7;64677:22;64714:21;:::i;:::-;:33;64710:337;;64781:1;64764:229;64789:3;64784:1;:8;64764:229;;64838:1;64822:12;:17;;:61;;;;-1:-1:-1;64874:9:0;64853:16;64868:1;64853:12;:16;:::i;:::-;64843:27;:40;64822:61;64818:160;;;64908:7;;64516:538;;:::o;64818:160::-;64794:3;;;;:::i;:::-;;;;64764:229;;;-1:-1:-1;65007:28:0;;-1:-1:-1;;;65007:28:0;;20131:2:1;65007:28:0;;;20113:21:1;20170:2;20150:18;;;20143:30;-1:-1:-1;;;20189:18:1;;;20182:48;20247:18;;65007:28:0;19929:342:1;65384:253:0;65539:7;65587:8;:6;:8::i;:::-;65597:2;65601:8;65611:9;65622:5;65576:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65566:63;;;;;;65559:70;;65384:253;;;;;;:::o;11490:146::-;11567:4;4506:19;;;:12;;;:19;;;;;;:24;;11591:37;4409:129;67190:332;67260:7;67280:18;67301:30;67315:15;67301:13;:30::i;:::-;67280:51;;67342:13;67358:19;67367:9;67358:8;:19::i;:::-;67342:35;;;;67400:10;67392:5;:18;67388:108;;;67468:16;43294:2;67468;:16;:::i;:::-;67463:1;67441:18;67449:10;67441:5;:18;:::i;:::-;67435:25;;:1;:25;:::i;:::-;:29;;;;:::i;:::-;67434:50;;;;:::i;:::-;67427:57;67190:332;-1:-1:-1;;;;67190:332:0:o;67388:108::-;-1:-1:-1;67513:1:0;;67190:332;-1:-1:-1;;;67190:332: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;;31656:214;31741:4;-1:-1:-1;;;;;;31765:57:0;;-1:-1:-1;;;31765:57:0;;:97;;;31826:36;31850:11;31826:23;:36::i;26543:505::-;26632:22;26640:4;26646:7;26632;:22::i;:::-;26627:414;;26820:41;26848:7;-1:-1:-1;;;;;26820:41:0;26858:2;26820:19;:41::i;:::-;26934:38;26962:4;26969:2;26934:19;:38::i;:::-;26725:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;26725:270:0;;;;;;;;;;-1:-1:-1;;;26671:358:0;;;;;;;:::i;30837:239::-;30921:22;30929:4;30935:7;30921;:22::i;:::-;30917:152;;;30992:5;30960:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30960:29:0;;;;;;;;;;:37;;-1:-1:-1;;30960:37:0;;;31017:40;18259:10;;30960:12;;31017:40;;30992:5;31017:40;30837: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;65839:894::-;65899:5;;;65945:756;65967:2;65963:1;:6;;;65945:756;;;65991:8;66002:9;66012:1;66002:12;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;;66033:9:0;;66038:4;66033:9;66029:89;;66063:12;66074:1;66063:12;;:::i;:::-;;;66094:8;;;66029:89;-1:-1:-1;;;;;;;;;66154:9:0;;;;:39;;-1:-1:-1;;;;;;;;;;66184:9:0;;;66154:39;:69;;;-1:-1:-1;;;;;;;;;;66214:9:0;;;66154:69;:99;;;-1:-1:-1;;;;;;;;;;66244:9:0;;;66154:99;:129;;;-1:-1:-1;;;;;;;;;;66274:9:0;;;66154:129;:159;;;-1:-1:-1;;;;;;;;;;66304:9:0;;;66154:159;:189;;;-1:-1:-1;;;;;;;;;;66334:9:0;;;66154:189;:219;;;-1:-1:-1;;;;;;;;;;66364:9:0;;;66154:219;:249;;;-1:-1:-1;;;;;;;;;;66394:9:0;;;66154:249;:279;;;-1:-1:-1;;;;;;;;;;66424:9:0;;;66154:279;:309;;;-1:-1:-1;;;;;;;;;;66454:9:0;;;66154:309;:339;;;-1:-1:-1;;;;;;;;;;66484:9:0;;;66154:339;:369;;;-1:-1:-1;;;;;;;;;;66514:9:0;;;66154:369;:399;;;-1:-1:-1;;;;;;;;;;66544:9:0;;;66154:399;:429;;;-1:-1:-1;;;;;;;;;;66574:9:0;;;66154:429;66132:538;;;66618:12;66629:1;66618:12;;:::i;:::-;;;66649:5;;;66132:538;66684:5;;;65945:756;65971:3;;;;:::i;:::-;;;;65945:756;;;-1:-1:-1;66718:7:0;65839:894;-1:-1:-1;;65839:894:0:o;25401:204::-;25486:4;-1:-1:-1;;;;;;25510:47:0;;-1:-1:-1;;;25510:47:0;;:87;;-1:-1:-1;;;;;;;;;;22779:40:0;;;25561:36;22670:157;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;;;;;-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;2054:328::-;2131:6;2139;2147;2200:2;2188:9;2179:7;2175:23;2171:32;2168:52;;;2216:1;2213;2206:12;2168:52;2239:29;2258:9;2239:29;:::i;:::-;2229:39;;2287:38;2321:2;2310:9;2306:18;2287:38;:::i;:::-;2277:48;;2372:2;2361:9;2357:18;2344:32;2334:42;;2054:328;;;;;:::o;2387:180::-;2446:6;2499:2;2487:9;2478:7;2474:23;2470:32;2467:52;;;2515:1;2512;2505:12;2467:52;-1:-1:-1;2538:23:1;;2387:180;-1:-1:-1;2387:180:1:o;2572:254::-;2640:6;2648;2701:2;2689:9;2680:7;2676:23;2672:32;2669:52;;;2717:1;2714;2707:12;2669:52;2753:9;2740:23;2730:33;;2782:38;2816:2;2805:9;2801:18;2782:38;:::i;:::-;2772:48;;2572:254;;;;;:::o;3205:127::-;3266:10;3261:3;3257:20;3254:1;3247:31;3297:4;3294:1;3287:15;3321:4;3318:1;3311:15;3337:1115;3421:6;3452:2;3495;3483:9;3474:7;3470:23;3466:32;3463:52;;;3511:1;3508;3501:12;3463:52;3551:9;3538:23;3580:18;3621:2;3613:6;3610:14;3607:34;;;3637:1;3634;3627:12;3607:34;3675:6;3664:9;3660:22;3650:32;;3720:7;3713:4;3709:2;3705:13;3701:27;3691:55;;3742:1;3739;3732:12;3691:55;3778:2;3765:16;3800:2;3796;3793:10;3790:36;;;3806:18;;:::i;:::-;3852:2;3849:1;3845:10;3884:2;3878:9;3947:2;3943:7;3938:2;3934;3930:11;3926:25;3918:6;3914:38;4002:6;3990:10;3987:22;3982:2;3970:10;3967:18;3964:46;3961:72;;;4013:18;;:::i;:::-;4049:2;4042:22;4099:18;;;4133:15;;;;-1:-1:-1;4175:11:1;;;4171:20;;;4203:19;;;4200:39;;;4235:1;4232;4225:12;4200:39;4259:11;;;;4279:142;4295:6;4290:3;4287:15;4279:142;;;4361:17;;4349:30;;4312:12;;;;4399;;;;4279:142;;;4440:6;3337:1115;-1:-1:-1;;;;;;;;3337:1115:1:o;4457:632::-;4628:2;4680:21;;;4750:13;;4653:18;;;4772:22;;;4599:4;;4628:2;4851:15;;;;4825:2;4810:18;;;4599:4;4894:169;4908:6;4905:1;4902:13;4894:169;;;4969:13;;4957:26;;5038:15;;;;5003:12;;;;4930:1;4923:9;4894:169;;;-1:-1:-1;5080:3:1;;4457:632;-1:-1:-1;;;;;;4457:632: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;7139:127::-;7200:10;7195:3;7191:20;7188:1;7181:31;7231:4;7228:1;7221:15;7255:4;7252:1;7245:15;7271:125;7336:9;;;7357:10;;;7354:36;;;7370:18;;:::i;8399:184::-;8469:6;8522:2;8510:9;8501:7;8497:23;8493:32;8490:52;;;8538:1;8535;8528:12;8490:52;-1:-1:-1;8561:16:1;;8399:184;-1:-1:-1;8399:184:1:o;9911:273::-;9979:6;10032:2;10020:9;10011:7;10007:23;10003:32;10000:52;;;10048:1;10045;10038:12;10000:52;10080:9;10074:16;10130:4;10123:5;10119:16;10112:5;10109:27;10099:55;;10150:1;10147;10140:12;10534:151;10624:4;10617:12;;;10603;;;10599:31;;10642:14;;10639:40;;;10659:18;;:::i;10690:422::-;10779:1;10822:5;10779:1;10836:270;10857:7;10847:8;10844:21;10836:270;;;10916:4;10912:1;10908:6;10904:17;10898:4;10895:27;10892:53;;;10925:18;;:::i;:::-;10975:7;10965:8;10961:22;10958:55;;;10995:16;;;;10958:55;11074:22;;;;11034:15;;;;10836:270;;;10840:3;10690:422;;;;;:::o;11117:806::-;11166:5;11196:8;11186:80;;-1:-1:-1;11237:1:1;11251:5;;11186:80;11285:4;11275:76;;-1:-1:-1;11322:1:1;11336:5;;11275:76;11367:4;11385:1;11380:59;;;;11453:1;11448:130;;;;11360:218;;11380:59;11410:1;11401:10;;11424:5;;;11448:130;11485:3;11475:8;11472:17;11469:43;;;11492:18;;:::i;:::-;-1:-1:-1;;11548:1:1;11534:16;;11563:5;;11360:218;;11662:2;11652:8;11649:16;11643:3;11637:4;11634:13;11630:36;11624:2;11614:8;11611:16;11606:2;11600:4;11597:12;11593:35;11590:77;11587:159;;;-1:-1:-1;11699:19:1;;;11731:5;;11587:159;11778:34;11803:8;11797:4;11778:34;:::i;:::-;11848:6;11844:1;11840:6;11836:19;11827:7;11824:32;11821:58;;;11859:18;;:::i;:::-;11897:20;;11117:806;-1:-1:-1;;;11117:806:1:o;11928:140::-;11986:5;12015:47;12056:4;12046:8;12042:19;12036:4;12015:47;:::i;12073:168::-;12146:9;;;12177;;12194:15;;;12188:22;;12174:37;12164:71;;12215:18;;:::i;12595:128::-;12662:9;;;12683:11;;;12680:37;;;12697:18;;:::i;12728:127::-;12789:10;12784:3;12780:20;12777:1;12770:31;12820:4;12817:1;12810:15;12844:4;12841:1;12834:15;12860:217;12900:1;12926;12916:132;;12970:10;12965:3;12961:20;12958:1;12951:31;13005:4;13002:1;12995:15;13033:4;13030:1;13023:15;12916:132;-1:-1:-1;13062:9:1;;12860:217::o;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://80ffe14c94ef66218e93c380059dbcb6c39e60cec3af4306b4ed40ac5c48412d
Loading...
Loading
Loading...
Loading
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.