More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,236 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 65206910 | 4 days ago | IN | 0 POL | 0.00231745 | ||||
Approve | 65200390 | 4 days ago | IN | 0 POL | 0.00233125 | ||||
Transfer | 65200315 | 4 days ago | IN | 0 POL | 0.0030346 | ||||
Approve | 65198121 | 4 days ago | IN | 0 POL | 0.00090427 | ||||
Approve | 65190520 | 4 days ago | IN | 0 POL | 0.00138795 | ||||
Approve | 65154490 | 5 days ago | IN | 0 POL | 0.00140133 | ||||
Approve | 65044248 | 8 days ago | IN | 0 POL | 0.00139236 | ||||
Approve | 65044238 | 8 days ago | IN | 0 POL | 0.00139199 | ||||
Approve | 64989849 | 9 days ago | IN | 0 POL | 0.00191462 | ||||
Transfer | 64859215 | 12 days ago | IN | 0 POL | 0.0045528 | ||||
Approve | 64802903 | 14 days ago | IN | 0 POL | 0.001483 | ||||
Approve | 64802686 | 14 days ago | IN | 0 POL | 0.00154235 | ||||
Approve | 64732013 | 16 days ago | IN | 0 POL | 0.00142253 | ||||
Approve | 64681729 | 17 days ago | IN | 0 POL | 0.00180701 | ||||
Approve | 64404318 | 24 days ago | IN | 0 POL | 0.00138831 | ||||
Approve | 64326225 | 26 days ago | IN | 0 POL | 0.00083723 | ||||
Transfer | 64152523 | 30 days ago | IN | 0 POL | 0.0028409 | ||||
Approve | 64056857 | 32 days ago | IN | 0 POL | 0.00167042 | ||||
Transfer | 64039742 | 33 days ago | IN | 0 POL | 0.0193631 | ||||
Transfer | 63760066 | 40 days ago | IN | 0 POL | 0.03210105 | ||||
Approve | 63658531 | 42 days ago | IN | 0 POL | 0.00491616 | ||||
Approve | 63333592 | 50 days ago | IN | 0 POL | 0.00139217 | ||||
Approve | 62983410 | 59 days ago | IN | 0 POL | 0.00102232 | ||||
Approve | 62547191 | 70 days ago | IN | 0 POL | 0.00139047 | ||||
Approve | 62499601 | 71 days ago | IN | 0 POL | 0.00139047 |
Loading...
Loading
Contract Name:
SolarX
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-07-26 */ // Sources flattened with hardhat v2.13.1 https://hardhat.org // File @openzeppelin/contracts/access/[email protected] // SPDX-License-Identifier: MIT // 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/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.8.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(account), " 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/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.8.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.openzeppelin.com/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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File contracts/SolarX.sol pragma solidity ^0.8.18; contract SolarX is ERC20, AccessControl { using SafeMath for uint256; uint256 private MAX_TOTAL_SUPPLY; uint256 private MAX_ALLOWED_BURN_AMOUNT; uint256 private commissionPercentage; uint256 private tP = 100; address public advisors; address public miningPoolAddress; bytes32 public constant UPDATER_ROLE = keccak256("UPDATER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); event MiningPoolAddressUpdated( address indexed updater, address indexed _newaddress, string indexed _type ); event MaxBurnUpdated(address indexed updater, uint256 newAmount); event CommissionPercentageUpdated( address indexed updater, uint256 percentage ); constructor( string memory name, string memory symbol, uint256 initialSupply, uint8 decimals, address _miningPoolAddress, uint256 _MAX_ALLOWED_BURN_AMOUNT, uint256 _MAX_TOTAL_SUPPLY, uint8 _commissionPercentage ) ERC20(name, symbol) { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(UPDATER_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); advisors = _msgSender(); _mint(_msgSender(), initialSupply * (10**decimals)); require( _miningPoolAddress != address(0), "Mining Pool Address cannot be null!" ); MAX_TOTAL_SUPPLY = _MAX_TOTAL_SUPPLY * (10**decimals); miningPoolAddress = _miningPoolAddress; MAX_ALLOWED_BURN_AMOUNT = _MAX_ALLOWED_BURN_AMOUNT * (10**decimals); require( _commissionPercentage >= 0 && _commissionPercentage <= 10, "Percentage must be between 0 and 10" ); commissionPercentage = tP - _commissionPercentage; } function transfer(address to, uint256 amount) public override returns (bool) { uint256 userTransaction = amount.mul(commissionPercentage).div(100); uint256 commission = amount.sub(userTransaction); _transfer(_msgSender(), to, userTransaction); _transfer(_msgSender(), miningPoolAddress, commission); return true; } function transferFrom( address from, address to, uint256 amount ) public override returns (bool) { uint256 userTransaction = amount.mul(commissionPercentage).div(100); uint256 commission = amount.sub(userTransaction); super.transferFrom(from, to, userTransaction); super.transferFrom(from, miningPoolAddress, commission); return true; } function mint(address to, uint256 amount) public virtual onlyRole(MINTER_ROLE) { uint256 currentSupply = totalSupply(); require( currentSupply + amount <= MAX_TOTAL_SUPPLY, "Mint amount exceeds the maximum limit, cannot mint" ); require(to != address(0), "Address must not be zero address"); _mint(to, amount); } function burn(uint256 amount) public virtual { require( amount <= MAX_ALLOWED_BURN_AMOUNT, "Burn amount exceeds the maximum limit" ); require(_msgSender() != address(0), "Address must not be zero address"); require(_msgSender() == advisors, "Address can't burn tokens"); _burn(_msgSender(), amount); } function setMiningPoolAddress(address _miningPoolAddress) public virtual onlyRole(UPDATER_ROLE) { require( _miningPoolAddress != address(0), "Address must not be zero address" ); miningPoolAddress = _miningPoolAddress; emit MiningPoolAddressUpdated( _msgSender(), _miningPoolAddress, "Mining Pool Address" ); } function setCommissionPercentage(uint256 percentage) public virtual onlyRole(UPDATER_ROLE) { require( percentage >= 0 && percentage <= 10, "Percentage must be between 0 and 100" ); commissionPercentage = tP - percentage; emit CommissionPercentageUpdated(_msgSender(), percentage); } function setMaxBurn(uint256 amount) public virtual onlyRole(UPDATER_ROLE) { require(amount > 0, "MAX_ALLOWED_BURN_AMOUNT must not be zero"); MAX_ALLOWED_BURN_AMOUNT = amount * (10**18); emit MaxBurnUpdated(_msgSender(), amount); } function maxTotalSupply() public view virtual returns (uint256) { return MAX_TOTAL_SUPPLY; } function maxAllowedBurnAmount() public view virtual returns (uint256) { return MAX_ALLOWED_BURN_AMOUNT; } function currentCommissionPercentage() public view virtual returns (uint256) { return tP - commissionPercentage; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"address","name":"_miningPoolAddress","type":"address"},{"internalType":"uint256","name":"_MAX_ALLOWED_BURN_AMOUNT","type":"uint256"},{"internalType":"uint256","name":"_MAX_TOTAL_SUPPLY","type":"uint256"},{"internalType":"uint8","name":"_commissionPercentage","type":"uint8"}],"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":true,"internalType":"address","name":"updater","type":"address"},{"indexed":false,"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"CommissionPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"updater","type":"address"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxBurnUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"updater","type":"address"},{"indexed":true,"internalType":"address","name":"_newaddress","type":"address"},{"indexed":true,"internalType":"string","name":"_type","type":"string"}],"name":"MiningPoolAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"advisors","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"currentCommissionPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"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":"maxAllowedBurnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miningPoolAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"setCommissionPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_miningPoolAddress","type":"address"}],"name":"setMiningPoolAddress","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"}]
Contract Creation Code
608060405260646009553480156200001657600080fd5b506040516200202d3803806200202d8339810160408190526200003991620004a8565b8787600362000049838262000604565b50600462000058828262000604565b506200006a915060009050336200023d565b620000967f73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285dab336200023d565b620000c27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200023d565b600a80546001600160a01b03191633908117909155620000fb90620000e987600a620007e3565b620000f59089620007fb565b6200024d565b6001600160a01b038416620001635760405162461bcd60e51b815260206004820152602360248201527f4d696e696e6720506f6f6c20416464726573732063616e6e6f74206265206e756044820152626c6c2160e81b60648201526084015b60405180910390fd5b6200017085600a620007e3565b6200017c9083620007fb565b600655600b80546001600160a01b0319166001600160a01b038616179055620001a785600a620007e3565b620001b39084620007fb565b600755600a8160ff161115620002185760405162461bcd60e51b815260206004820152602360248201527f50657263656e74616765206d757374206265206265747765656e203020616e6460448201526202031360ec1b60648201526084016200015a565b8060ff166009546200022b919062000815565b60085550620008419650505050505050565b62000249828262000310565b5050565b6001600160a01b038216620002a55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200015a565b8060026000828254620002b991906200082b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6200031c82826200039f565b620002495760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003563390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003f457600080fd5b81516001600160401b0380821115620004115762000411620003cc565b604051601f8301601f19908116603f011681019082821181831017156200043c576200043c620003cc565b816040528381526020925086838588010111156200045957600080fd5b600091505b838210156200047d57858201830151818301840152908201906200045e565b600093810190920192909252949350505050565b805160ff81168114620004a357600080fd5b919050565b600080600080600080600080610100898b031215620004c657600080fd5b88516001600160401b0380821115620004de57600080fd5b620004ec8c838d01620003e2565b995060208b01519150808211156200050357600080fd5b50620005128b828c01620003e2565b975050604089015195506200052a60608a0162000491565b60808a01519095506001600160a01b03811681146200054857600080fd5b60a08a015160c08b0151919550935091506200056760e08a0162000491565b90509295985092959890939650565b600181811c908216806200058b57607f821691505b602082108103620005ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039a57600081815260208120601f850160051c81016020861015620005db5750805b601f850160051c820191505b81811015620005fc57828155600101620005e7565b505050505050565b81516001600160401b03811115620006205762000620620003cc565b620006388162000631845462000576565b84620005b2565b602080601f831160018114620006705760008415620006575750858301515b600019600386901b1c1916600185901b178555620005fc565b600085815260208120601f198616915b82811015620006a15788860151825594840194600190910190840162000680565b5085821015620006c05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620007275781600019048211156200070b576200070b620006d0565b808516156200071957918102915b93841c9390800290620006eb565b509250929050565b6000826200074057506001620003c6565b816200074f57506000620003c6565b8160018114620007685760028114620007735762000793565b6001915050620003c6565b60ff841115620007875762000787620006d0565b50506001821b620003c6565b5060208310610133831016604e8410600b8410161715620007b8575081810a620003c6565b620007c48383620006e6565b8060001904821115620007db57620007db620006d0565b029392505050565b6000620007f460ff8416836200072f565b9392505050565b8082028115828204841417620003c657620003c6620006d0565b81810381811115620003c657620003c6620006d0565b80820180821115620003c657620003c6620006d0565b6117dc80620008516000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806347e6338011610104578063a457c2d7116100a2578063d539139311610071578063d5391393146103ea578063d547741f14610411578063dd62ed3e14610424578063edcfd0501461043757600080fd5b8063a457c2d7146103a9578063a9059cbb146103bc578063b43c4943146103cf578063cb90a5ff146103d757600080fd5b806391d14854116100de57806391d148541461037357806395d89b4114610386578063a217fddf1461038e578063a390618b1461039657600080fd5b806347e633801461030a5780634dda613c1461031f57806370a082311461034a57600080fd5b80632ab4d0521161017c578063395093511161014b57806339509351146102be57806339b87c8f146102d157806340c10f19146102e457806342966c68146102f757600080fd5b80632ab4d0521461027f5780632f2ff15d14610287578063313ce5671461029c57806336568abe146102ab57600080fd5b806309b6a018116101b857806309b6a0181461022f57806318160ddd1461024157806323b872dd14610249578063248a9ca31461025c57600080fd5b806301ffc9a7146101df57806306fdde0314610207578063095ea7b31461021c575b600080fd5b6101f26101ed36600461145d565b61044a565b60405190151581526020015b60405180910390f35b61020f610481565b6040516101fe91906114ab565b6101f261022a3660046114fa565b610513565b6007545b6040519081526020016101fe565b600254610233565b6101f2610257366004611524565b61052b565b61023361026a366004611560565b60009081526005602052604090206001015490565b600654610233565b61029a610295366004611579565b61058f565b005b604051601281526020016101fe565b61029a6102b9366004611579565b6105b9565b6101f26102cc3660046114fa565b61063c565b61029a6102df366004611560565b61065e565b61029a6102f23660046114fa565b61071e565b61029a610305366004611560565b610802565b61023360008051602061178783398151915281565b600b54610332906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b6102336103583660046115a5565b6001600160a01b031660009081526020819052604090205490565b6101f2610381366004611579565b6108ef565b61020f61091a565b610233600081565b61029a6103a4366004611560565b610929565b6101f26103b73660046114fa565b6109e9565b6101f26103ca3660046114fa565b610a6f565b610233610abd565b61029a6103e53660046115a5565b610ad4565b6102337f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61029a61041f366004611579565b610b9e565b6102336104323660046115c0565b610bc3565b600a54610332906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b148061047b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610490906115ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104bc906115ea565b80156105095780601f106104de57610100808354040283529160200191610509565b820191906000526020600020905b8154815290600101906020018083116104ec57829003601f168201915b5050505050905090565b600033610521818585610bee565b5060019392505050565b60008061054e606461054860085486610d1290919063ffffffff16565b90610d25565b9050600061055c8483610d31565b9050610569868684610d3d565b50600b546105829087906001600160a01b031683610d3d565b5060019695505050505050565b6000828152600560205260409020600101546105aa81610d56565b6105b48383610d60565b505050565b6001600160a01b038116331461062e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106388282610de6565b5050565b60003361052181858561064f8383610bc3565b610659919061163a565b610bee565b60008051602061178783398151915261067681610d56565b600a8211156106d35760405162461bcd60e51b8152602060048201526024808201527f50657263656e74616765206d757374206265206265747765656e203020616e646044820152630203130360e41b6064820152608401610625565b816009546106e1919061164d565b60085560405182815233907f7b57d47798e579e78d1d754fe0894a1b69c5585a77a0ebce456a2b49c742a587906020015b60405180910390a25050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661074881610d56565b600061075360025490565b600654909150610763848361163a565b11156107cc5760405162461bcd60e51b815260206004820152603260248201527f4d696e7420616d6f756e74206578636565647320746865206d6178696d756d206044820152711b1a5b5a5d0b0818d85b9b9bdd081b5a5b9d60721b6064820152608401610625565b6001600160a01b0384166107f25760405162461bcd60e51b815260040161062590611660565b6107fc8484610e4d565b50505050565b6007548111156108625760405162461bcd60e51b815260206004820152602560248201527f4275726e20616d6f756e74206578636565647320746865206d6178696d756d206044820152641b1a5b5a5d60da1b6064820152608401610625565b3361087f5760405162461bcd60e51b815260040161062590611660565b600a546001600160a01b0316336001600160a01b0316146108e25760405162461bcd60e51b815260206004820152601960248201527f416464726573732063616e2774206275726e20746f6b656e73000000000000006044820152606401610625565b6108ec3382610f0c565b50565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610490906115ea565b60008051602061178783398151915261094181610d56565b600082116109a25760405162461bcd60e51b815260206004820152602860248201527f4d41585f414c4c4f5745445f4255524e5f414d4f554e54206d757374206e6f74604482015267206265207a65726f60c01b6064820152608401610625565b6109b482670de0b6b3a7640000611695565b60075560405182815233907fa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da590602001610712565b600033816109f78286610bc3565b905083811015610a575760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610625565b610a648286868403610bee565b506001949350505050565b600080610a8c606461054860085486610d1290919063ffffffff16565b90506000610a9a8483610d31565b9050610aa733868461103e565b610a6433600b546001600160a01b03168361103e565b6000600854600954610acf919061164d565b905090565b600080516020611787833981519152610aec81610d56565b6001600160a01b038216610b125760405162461bcd60e51b815260040161062590611660565b600b80546001600160a01b0319166001600160a01b038416179055604051724d696e696e6720506f6f6c204164647265737360681b81526013016040518091039020826001600160a01b0316610b653390565b6001600160a01b03167fe75da71d8897763180b463bd15bd58ea5896fc01ab9859c88a8f0b00b2802ffc60405160405180910390a45050565b600082815260056020526040902060010154610bb981610d56565b6105b48383610de6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610c505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610625565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610625565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d1e8284611695565b9392505050565b6000610d1e82846116ac565b6000610d1e828461164d565b600033610d4b8582856111e2565b610a6485858561103e565b6108ec8133611256565b610d6a82826108ef565b6106385760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610da23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610df082826108ef565b156106385760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610ea35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610625565b8060026000828254610eb5919061163a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610f6c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610625565b6001600160a01b03821660009081526020819052604090205481811015610fe05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610625565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0383166110a25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610625565b6001600160a01b0382166111045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610625565b6001600160a01b0383166000908152602081905260409020548181101561117c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610625565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107fc565b60006111ee8484610bc3565b905060001981146107fc57818110156112495760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610625565b6107fc8484848403610bee565b61126082826108ef565b6106385761126d816112af565b6112788360206112c1565b6040516020016112899291906116ce565b60408051601f198184030181529082905262461bcd60e51b8252610625916004016114ab565b606061047b6001600160a01b03831660145b606060006112d0836002611695565b6112db90600261163a565b67ffffffffffffffff8111156112f3576112f3611743565b6040519080825280601f01601f19166020018201604052801561131d576020820181803683370190505b509050600360fc1b8160008151811061133857611338611759565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061136757611367611759565b60200101906001600160f81b031916908160001a905350600061138b846002611695565b61139690600161163a565b90505b600181111561140e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113ca576113ca611759565b1a60f81b8282815181106113e0576113e0611759565b60200101906001600160f81b031916908160001a90535060049490941c936114078161176f565b9050611399565b508315610d1e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610625565b60006020828403121561146f57600080fd5b81356001600160e01b031981168114610d1e57600080fd5b60005b838110156114a257818101518382015260200161148a565b50506000910152565b60208152600082518060208401526114ca816040850160208701611487565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146114f557600080fd5b919050565b6000806040838503121561150d57600080fd5b611516836114de565b946020939093013593505050565b60008060006060848603121561153957600080fd5b611542846114de565b9250611550602085016114de565b9150604084013590509250925092565b60006020828403121561157257600080fd5b5035919050565b6000806040838503121561158c57600080fd5b8235915061159c602084016114de565b90509250929050565b6000602082840312156115b757600080fd5b610d1e826114de565b600080604083850312156115d357600080fd5b6115dc836114de565b915061159c602084016114de565b600181811c908216806115fe57607f821691505b60208210810361161e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047b5761047b611624565b8181038181111561047b5761047b611624565b6020808252818101527f41646472657373206d757374206e6f74206265207a65726f2061646472657373604082015260600190565b808202811582820484141761047b5761047b611624565b6000826116c957634e487b7160e01b600052601260045260246000fd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611706816017850160208801611487565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611737816028840160208801611487565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161177e5761177e611624565b50600019019056fe73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285daba2646970667358221220ca1629fb7d80b475c3d8fdfb9bef377dae181e09ecd792f3f4428b2e0b340d3864736f6c634300081200330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000183311800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000e87ba7fe711552eb9458fd052d3ea9b8a16ccd6f00000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000029b9270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006536f6c61725800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004534f4c5800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806347e6338011610104578063a457c2d7116100a2578063d539139311610071578063d5391393146103ea578063d547741f14610411578063dd62ed3e14610424578063edcfd0501461043757600080fd5b8063a457c2d7146103a9578063a9059cbb146103bc578063b43c4943146103cf578063cb90a5ff146103d757600080fd5b806391d14854116100de57806391d148541461037357806395d89b4114610386578063a217fddf1461038e578063a390618b1461039657600080fd5b806347e633801461030a5780634dda613c1461031f57806370a082311461034a57600080fd5b80632ab4d0521161017c578063395093511161014b57806339509351146102be57806339b87c8f146102d157806340c10f19146102e457806342966c68146102f757600080fd5b80632ab4d0521461027f5780632f2ff15d14610287578063313ce5671461029c57806336568abe146102ab57600080fd5b806309b6a018116101b857806309b6a0181461022f57806318160ddd1461024157806323b872dd14610249578063248a9ca31461025c57600080fd5b806301ffc9a7146101df57806306fdde0314610207578063095ea7b31461021c575b600080fd5b6101f26101ed36600461145d565b61044a565b60405190151581526020015b60405180910390f35b61020f610481565b6040516101fe91906114ab565b6101f261022a3660046114fa565b610513565b6007545b6040519081526020016101fe565b600254610233565b6101f2610257366004611524565b61052b565b61023361026a366004611560565b60009081526005602052604090206001015490565b600654610233565b61029a610295366004611579565b61058f565b005b604051601281526020016101fe565b61029a6102b9366004611579565b6105b9565b6101f26102cc3660046114fa565b61063c565b61029a6102df366004611560565b61065e565b61029a6102f23660046114fa565b61071e565b61029a610305366004611560565b610802565b61023360008051602061178783398151915281565b600b54610332906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b6102336103583660046115a5565b6001600160a01b031660009081526020819052604090205490565b6101f2610381366004611579565b6108ef565b61020f61091a565b610233600081565b61029a6103a4366004611560565b610929565b6101f26103b73660046114fa565b6109e9565b6101f26103ca3660046114fa565b610a6f565b610233610abd565b61029a6103e53660046115a5565b610ad4565b6102337f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61029a61041f366004611579565b610b9e565b6102336104323660046115c0565b610bc3565b600a54610332906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b148061047b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610490906115ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104bc906115ea565b80156105095780601f106104de57610100808354040283529160200191610509565b820191906000526020600020905b8154815290600101906020018083116104ec57829003601f168201915b5050505050905090565b600033610521818585610bee565b5060019392505050565b60008061054e606461054860085486610d1290919063ffffffff16565b90610d25565b9050600061055c8483610d31565b9050610569868684610d3d565b50600b546105829087906001600160a01b031683610d3d565b5060019695505050505050565b6000828152600560205260409020600101546105aa81610d56565b6105b48383610d60565b505050565b6001600160a01b038116331461062e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106388282610de6565b5050565b60003361052181858561064f8383610bc3565b610659919061163a565b610bee565b60008051602061178783398151915261067681610d56565b600a8211156106d35760405162461bcd60e51b8152602060048201526024808201527f50657263656e74616765206d757374206265206265747765656e203020616e646044820152630203130360e41b6064820152608401610625565b816009546106e1919061164d565b60085560405182815233907f7b57d47798e579e78d1d754fe0894a1b69c5585a77a0ebce456a2b49c742a587906020015b60405180910390a25050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661074881610d56565b600061075360025490565b600654909150610763848361163a565b11156107cc5760405162461bcd60e51b815260206004820152603260248201527f4d696e7420616d6f756e74206578636565647320746865206d6178696d756d206044820152711b1a5b5a5d0b0818d85b9b9bdd081b5a5b9d60721b6064820152608401610625565b6001600160a01b0384166107f25760405162461bcd60e51b815260040161062590611660565b6107fc8484610e4d565b50505050565b6007548111156108625760405162461bcd60e51b815260206004820152602560248201527f4275726e20616d6f756e74206578636565647320746865206d6178696d756d206044820152641b1a5b5a5d60da1b6064820152608401610625565b3361087f5760405162461bcd60e51b815260040161062590611660565b600a546001600160a01b0316336001600160a01b0316146108e25760405162461bcd60e51b815260206004820152601960248201527f416464726573732063616e2774206275726e20746f6b656e73000000000000006044820152606401610625565b6108ec3382610f0c565b50565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610490906115ea565b60008051602061178783398151915261094181610d56565b600082116109a25760405162461bcd60e51b815260206004820152602860248201527f4d41585f414c4c4f5745445f4255524e5f414d4f554e54206d757374206e6f74604482015267206265207a65726f60c01b6064820152608401610625565b6109b482670de0b6b3a7640000611695565b60075560405182815233907fa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da590602001610712565b600033816109f78286610bc3565b905083811015610a575760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610625565b610a648286868403610bee565b506001949350505050565b600080610a8c606461054860085486610d1290919063ffffffff16565b90506000610a9a8483610d31565b9050610aa733868461103e565b610a6433600b546001600160a01b03168361103e565b6000600854600954610acf919061164d565b905090565b600080516020611787833981519152610aec81610d56565b6001600160a01b038216610b125760405162461bcd60e51b815260040161062590611660565b600b80546001600160a01b0319166001600160a01b038416179055604051724d696e696e6720506f6f6c204164647265737360681b81526013016040518091039020826001600160a01b0316610b653390565b6001600160a01b03167fe75da71d8897763180b463bd15bd58ea5896fc01ab9859c88a8f0b00b2802ffc60405160405180910390a45050565b600082815260056020526040902060010154610bb981610d56565b6105b48383610de6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610c505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610625565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610625565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d1e8284611695565b9392505050565b6000610d1e82846116ac565b6000610d1e828461164d565b600033610d4b8582856111e2565b610a6485858561103e565b6108ec8133611256565b610d6a82826108ef565b6106385760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610da23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610df082826108ef565b156106385760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610ea35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610625565b8060026000828254610eb5919061163a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610f6c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610625565b6001600160a01b03821660009081526020819052604090205481811015610fe05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610625565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0383166110a25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610625565b6001600160a01b0382166111045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610625565b6001600160a01b0383166000908152602081905260409020548181101561117c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610625565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107fc565b60006111ee8484610bc3565b905060001981146107fc57818110156112495760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610625565b6107fc8484848403610bee565b61126082826108ef565b6106385761126d816112af565b6112788360206112c1565b6040516020016112899291906116ce565b60408051601f198184030181529082905262461bcd60e51b8252610625916004016114ab565b606061047b6001600160a01b03831660145b606060006112d0836002611695565b6112db90600261163a565b67ffffffffffffffff8111156112f3576112f3611743565b6040519080825280601f01601f19166020018201604052801561131d576020820181803683370190505b509050600360fc1b8160008151811061133857611338611759565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061136757611367611759565b60200101906001600160f81b031916908160001a905350600061138b846002611695565b61139690600161163a565b90505b600181111561140e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113ca576113ca611759565b1a60f81b8282815181106113e0576113e0611759565b60200101906001600160f81b031916908160001a90535060049490941c936114078161176f565b9050611399565b508315610d1e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610625565b60006020828403121561146f57600080fd5b81356001600160e01b031981168114610d1e57600080fd5b60005b838110156114a257818101518382015260200161148a565b50506000910152565b60208152600082518060208401526114ca816040850160208701611487565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146114f557600080fd5b919050565b6000806040838503121561150d57600080fd5b611516836114de565b946020939093013593505050565b60008060006060848603121561153957600080fd5b611542846114de565b9250611550602085016114de565b9150604084013590509250925092565b60006020828403121561157257600080fd5b5035919050565b6000806040838503121561158c57600080fd5b8235915061159c602084016114de565b90509250929050565b6000602082840312156115b757600080fd5b610d1e826114de565b600080604083850312156115d357600080fd5b6115dc836114de565b915061159c602084016114de565b600181811c908216806115fe57607f821691505b60208210810361161e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047b5761047b611624565b8181038181111561047b5761047b611624565b6020808252818101527f41646472657373206d757374206e6f74206265207a65726f2061646472657373604082015260600190565b808202811582820484141761047b5761047b611624565b6000826116c957634e487b7160e01b600052601260045260246000fd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611706816017850160208801611487565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611737816028840160208801611487565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161177e5761177e611624565b50600019019056fe73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285daba2646970667358221220ca1629fb7d80b475c3d8fdfb9bef377dae181e09ecd792f3f4428b2e0b340d3864736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000183311800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000e87ba7fe711552eb9458fd052d3ea9b8a16ccd6f00000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000029b9270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006536f6c61725800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004534f4c5800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): SolarX
Arg [1] : symbol (string): SOLX
Arg [2] : initialSupply (uint256): 406000000
Arg [3] : decimals (uint8): 18
Arg [4] : _miningPoolAddress (address): 0xe87bA7fE711552eB9458Fd052D3eA9B8a16CCD6F
Arg [5] : _MAX_ALLOWED_BURN_AMOUNT (uint256): 1000000
Arg [6] : _MAX_TOTAL_SUPPLY (uint256): 700000000
Arg [7] : _commissionPercentage (uint8): 0
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000018331180
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000e87ba7fe711552eb9458fd052d3ea9b8a16ccd6f
Arg [5] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [6] : 0000000000000000000000000000000000000000000000000000000029b92700
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 536f6c6172580000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 534f4c5800000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
53554:5098:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23800:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;23800:204:0;;;;;;;;35247:100;;;:::i;:::-;;;;;;;:::i;37598:201::-;;;;;;:::i;:::-;;:::i;58353:119::-;58441:23;;58353:119;;;1736:25:1;;;1724:2;1709:18;58353:119:0;1590:177:1;36367:108:0;36455:12;;36367:108;;55868:422;;;;;;:::i;:::-;;:::i;25623:131::-;;;;;;:::i;:::-;25697:7;25724:12;;;:6;:12;;;;;:22;;;;25623:131;58239:106;58321:16;;58239:106;;26064:147;;;;;;:::i;:::-;;:::i;:::-;;36209:93;;;36292:2;2873:36:1;;2861:2;2846:18;36209:93:0;2731:184:1;27208:218:0;;;;;;:::i;:::-;;:::i;39083:238::-;;;;;;:::i;:::-;;:::i;57576:383::-;;;;;;:::i;:::-;;:::i;56298:420::-;;;;;;:::i;:::-;;:::i;56726:377::-;;;;;;:::i;:::-;;:::i;53868:64::-;;-1:-1:-1;;;;;;;;;;;53868:64:0;;53827:32;;;;;-1:-1:-1;;;;;53827:32:0;;;;;;-1:-1:-1;;;;;3269:32:1;;;3251:51;;3239:2;3224:18;53827:32:0;3105:203:1;36538:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;36639:18:0;36612:7;36639:18;;;;;;;;;;;;36538:127;24096:147;;;;;;:::i;:::-;;:::i;35466:104::-;;;:::i;23201:49::-;;23246:4;23201:49;;57967:264;;;;;;:::i;:::-;;:::i;39824:436::-;;;;;;:::i;:::-;;:::i;55460:400::-;;;;;;:::i;:::-;;:::i;58480:169::-;;;:::i;57111:457::-;;;;;;:::i;:::-;;:::i;53939:62::-;;53977:24;53939:62;;26504:149;;;;;;:::i;:::-;;:::i;37127:151::-;;;;;;:::i;:::-;;:::i;53797:23::-;;;;;-1:-1:-1;;;;;53797:23:0;;;23800:204;23885:4;-1:-1:-1;;;;;;23909:47:0;;-1:-1:-1;;;23909:47:0;;:87;;-1:-1:-1;;;;;;;;;;5949:40:0;;;23960:36;23902:94;23800:204;-1:-1:-1;;23800:204:0:o;35247:100::-;35301:13;35334:5;35327:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35247:100;:::o;37598:201::-;37681:4;3910:10;37737:32;3910:10;37753:7;37762:6;37737:8;:32::i;:::-;-1:-1:-1;37787:4:0;;37598:201;-1:-1:-1;;;37598:201:0:o;55868:422::-;55991:4;56008:23;56034:41;56071:3;56034:32;56045:20;;56034:6;:10;;:32;;;;:::i;:::-;:36;;:41::i;:::-;56008:67;-1:-1:-1;56086:18:0;56107:27;:6;56008:67;56107:10;:27::i;:::-;56086:48;;56147:45;56166:4;56172:2;56176:15;56147:18;:45::i;:::-;-1:-1:-1;56228:17:0;;56203:55;;56222:4;;-1:-1:-1;;;;;56228:17:0;56247:10;56203:18;:55::i;:::-;-1:-1:-1;56278:4:0;;55868:422;-1:-1:-1;;;;;;55868:422:0:o;26064:147::-;25697:7;25724:12;;;:6;:12;;;;;:22;;;23692:16;23703:4;23692:10;:16::i;:::-;26178:25:::1;26189:4;26195:7;26178:10;:25::i;:::-;26064:147:::0;;;:::o;27208:218::-;-1:-1:-1;;;;;27304:23:0;;3910:10;27304:23;27296:83;;;;-1:-1:-1;;;27296:83:0;;4356:2:1;27296:83:0;;;4338:21:1;4395:2;4375:18;;;4368:30;4434:34;4414:18;;;4407:62;-1:-1:-1;;;4485:18:1;;;4478:45;4540:19;;27296:83:0;;;;;;;;;27392:26;27404:4;27410:7;27392:11;:26::i;:::-;27208:218;;:::o;39083:238::-;39171:4;3910:10;39227:64;3910:10;39243:7;39280:10;39252:25;3910:10;39243:7;39252:9;:25::i;:::-;:38;;;;:::i;:::-;39227:8;:64::i;57576:383::-;-1:-1:-1;;;;;;;;;;;23692:16:0;23703:4;23692:10;:16::i;:::-;57765:2:::1;57751:10;:16;;57710:121;;;::::0;-1:-1:-1;;;57710:121:0;;5034:2:1;57710:121:0::1;::::0;::::1;5016:21:1::0;5073:2;5053:18;;;5046:30;5112:34;5092:18;;;5085:62;-1:-1:-1;;;5163:18:1;;;5156:34;5207:19;;57710:121:0::1;4832:400:1::0;57710:121:0::1;57870:10;57865:2;;:15;;;;:::i;:::-;57842:20;:38:::0;57898:53:::1;::::0;1736:25:1;;;3910:10:0;;57898:53:::1;::::0;1724:2:1;1709:18;57898:53:0::1;;;;;;;;57576:383:::0;;:::o;56298:420::-;53977:24;23692:16;23703:4;23692:10;:16::i;:::-;56420:21:::1;56444:13;36455:12:::0;;;36367:108;56444:13:::1;56516:16;::::0;56420:37;;-1:-1:-1;56490:22:0::1;56506:6:::0;56420:37;56490:22:::1;:::i;:::-;:42;;56468:142;;;::::0;-1:-1:-1;;;56468:142:0;;5572:2:1;56468:142:0::1;::::0;::::1;5554:21:1::0;5611:2;5591:18;;;5584:30;5650:34;5630:18;;;5623:62;-1:-1:-1;;;5701:18:1;;;5694:48;5759:19;;56468:142:0::1;5370:414:1::0;56468:142:0::1;-1:-1:-1::0;;;;;56629:16:0;::::1;56621:61;;;;-1:-1:-1::0;;;56621:61:0::1;;;;;;;:::i;:::-;56693:17;56699:2;56703:6;56693:5;:17::i;:::-;56409:309;56298:420:::0;;;:::o;56726:377::-;56814:23;;56804:6;:33;;56782:120;;;;-1:-1:-1;;;56782:120:0;;6352:2:1;56782:120:0;;;6334:21:1;6391:2;6371:18;;;6364:30;6430:34;6410:18;;;6403:62;-1:-1:-1;;;6481:18:1;;;6474:35;6526:19;;56782:120:0;6150:401:1;56782:120:0;3910:10;56913:71;;;;-1:-1:-1;;;56913:71:0;;;;;;;:::i;:::-;57019:8;;-1:-1:-1;;;;;57019:8:0;3910:10;-1:-1:-1;;;;;57003:24:0;;56995:62;;;;-1:-1:-1;;;56995:62:0;;6758:2:1;56995:62:0;;;6740:21:1;6797:2;6777:18;;;6770:30;6836:27;6816:18;;;6809:55;6881:18;;56995:62:0;6556:349:1;56995:62:0;57068:27;3910:10;57088:6;57068:5;:27::i;:::-;56726:377;:::o;24096:147::-;24182:4;24206:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;24206:29:0;;;;;;;;;;;;;;;24096:147::o;35466:104::-;35522:13;35555:7;35548:14;;;;;:::i;57967:264::-;-1:-1:-1;;;;;;;;;;;23692:16:0;23703:4;23692:10;:16::i;:::-;58069:1:::1;58060:6;:10;58052:63;;;::::0;-1:-1:-1;;;58052:63:0;;7112:2:1;58052:63:0::1;::::0;::::1;7094:21:1::0;7151:2;7131:18;;;7124:30;7190:34;7170:18;;;7163:62;-1:-1:-1;;;7241:18:1;;;7234:38;7289:19;;58052:63:0::1;6910:404:1::0;58052:63:0::1;58152:17;:6:::0;58162::::1;58152:17;:::i;:::-;58126:23;:43:::0;58187:36:::1;::::0;1736:25:1;;;3910:10:0;;58187:36:::1;::::0;1724:2:1;1709:18;58187:36:0::1;1590:177:1::0;39824:436:0;39917:4;3910:10;39917:4;40000:25;3910:10;40017:7;40000:9;:25::i;:::-;39973:52;;40064:15;40044:16;:35;;40036:85;;;;-1:-1:-1;;;40036:85:0;;7694:2:1;40036:85:0;;;7676:21:1;7733:2;7713:18;;;7706:30;7772:34;7752:18;;;7745:62;-1:-1:-1;;;7823:18:1;;;7816:35;7868:19;;40036:85:0;7492:401:1;40036:85:0;40157:60;40166:5;40173:7;40201:15;40182:16;:34;40157:8;:60::i;:::-;-1:-1:-1;40248:4:0;;39824:436;-1:-1:-1;;;;39824:436:0:o;55460:400::-;55558:4;55582:23;55608:41;55645:3;55608:32;55619:20;;55608:6;:10;;:32;;;;:::i;:41::-;55582:67;-1:-1:-1;55660:18:0;55681:27;:6;55582:67;55681:10;:27::i;:::-;55660:48;-1:-1:-1;55721:44:0;3910:10;55745:2;55749:15;55721:9;:44::i;:::-;55776:54;3910:10;55800:17;;-1:-1:-1;;;;;55800:17:0;55819:10;55776:9;:54::i;58480:169::-;58584:7;58621:20;;58616:2;;:25;;;;:::i;:::-;58609:32;;58480:169;:::o;57111:457::-;-1:-1:-1;;;;;;;;;;;23692:16:0;23703:4;23692:10;:16::i;:::-;-1:-1:-1;;;;;57272:32:0;::::1;57250:114;;;;-1:-1:-1::0;;;57250:114:0::1;;;;;;;:::i;:::-;57375:17;:38:::0;;-1:-1:-1;;;;;;57375:38:0::1;-1:-1:-1::0;;;;;57375:38:0;::::1;;::::0;;57429:131:::1;::::0;-1:-1:-1;;;8100:34:1;;8159:2;8150:12;57429:131:0::1;;;;;;;57495:18;-1:-1:-1::0;;;;;57429:131:0::1;57468:12;3910:10:::0;;3830:98;57468:12:::1;-1:-1:-1::0;;;;;57429:131:0::1;;;;;;;;;;;57111:457:::0;;:::o;26504:149::-;25697:7;25724:12;;;:6;:12;;;;;:22;;;23692:16;23703:4;23692:10;:16::i;:::-;26619:26:::1;26631:4;26637:7;26619:11;:26::i;37127:151::-:0;-1:-1:-1;;;;;37243:18:0;;;37216:7;37243:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;37127:151::o;43851:380::-;-1:-1:-1;;;;;43987:19:0;;43979:68;;;;-1:-1:-1;;;43979:68:0;;8375:2:1;43979:68:0;;;8357:21:1;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;-1:-1:-1;;;8504:18:1;;;8497:34;8548:19;;43979:68:0;8173:400:1;43979:68:0;-1:-1:-1;;;;;44066:21:0;;44058:68;;;;-1:-1:-1;;;44058:68:0;;8780:2:1;44058:68:0;;;8762:21:1;8819:2;8799:18;;;8792:30;8858:34;8838:18;;;8831:62;-1:-1:-1;;;8909:18:1;;;8902:32;8951:19;;44058:68:0;8578:398:1;44058:68:0;-1:-1:-1;;;;;44139:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;44191:32;;1736:25:1;;;44191:32:0;;1709:18:1;44191:32:0;;;;;;;43851:380;;;:::o;50057:98::-;50115:7;50142:5;50146:1;50142;:5;:::i;:::-;50135:12;50057:98;-1:-1:-1;;;50057:98:0:o;50456:::-;50514:7;50541:5;50545:1;50541;:5;:::i;49700:98::-;49758:7;49785:5;49789:1;49785;:5;:::i;38379:295::-;38510:4;3910:10;38568:38;38584:4;3910:10;38599:6;38568:15;:38::i;:::-;38617:27;38627:4;38633:2;38637:6;38617:9;:27::i;24547:105::-;24614:30;24625:4;3910:10;24614;:30::i;28805:238::-;28889:22;28897:4;28903:7;28889;:22::i;:::-;28884:152;;28928:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28928:29:0;;;;;;;;;:36;;-1:-1:-1;;28928:36:0;28960:4;28928:36;;;29011:12;3910:10;;3830:98;29011:12;-1:-1:-1;;;;;28984:40:0;29002:7;-1:-1:-1;;;;;28984:40:0;28996:4;28984:40;;;;;;;;;;28805:238;;:::o;29223:239::-;29307:22;29315:4;29321:7;29307;:22::i;:::-;29303:152;;;29378:5;29346:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29346:29:0;;;;;;;;;;:37;;-1:-1:-1;;29346:37:0;;;29403:40;3910:10;;29346:12;;29403:40;;29378:5;29403:40;29223:239;;:::o;41857:548::-;-1:-1:-1;;;;;41941:21:0;;41933:65;;;;-1:-1:-1;;;41933:65:0;;9405:2:1;41933:65:0;;;9387:21:1;9444:2;9424:18;;;9417:30;9483:33;9463:18;;;9456:61;9534:18;;41933:65:0;9203:355:1;41933:65:0;42089:6;42073:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;42244:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;42299:37;1736:25:1;;;42299:37:0;;1709:18:1;42299:37:0;;;;;;;27208:218;;:::o;42738:675::-;-1:-1:-1;;;;;42822:21:0;;42814:67;;;;-1:-1:-1;;;42814:67:0;;9765:2:1;42814:67:0;;;9747:21:1;9804:2;9784:18;;;9777:30;9843:34;9823:18;;;9816:62;-1:-1:-1;;;9894:18:1;;;9887:31;9935:19;;42814:67:0;9563:397:1;42814:67:0;-1:-1:-1;;;;;42981:18:0;;42956:22;42981:18;;;;;;;;;;;43018:24;;;;43010:71;;;;-1:-1:-1;;;43010:71:0;;10167:2:1;43010:71:0;;;10149:21:1;10206:2;10186:18;;;10179:30;10245:34;10225:18;;;10218:62;-1:-1:-1;;;10296:18:1;;;10289:32;10338:19;;43010:71:0;9965:398:1;43010:71:0;-1:-1:-1;;;;;43117:18:0;;:9;:18;;;;;;;;;;;43138:23;;;43117:44;;43256:12;:22;;;;;;;43307:37;1736:25:1;;;43117:9:0;;:18;43307:37;;1709:18:1;43307:37:0;;;;;;;26064:147;;;:::o;40730:840::-;-1:-1:-1;;;;;40861:18:0;;40853:68;;;;-1:-1:-1;;;40853:68:0;;10570:2:1;40853:68:0;;;10552:21:1;10609:2;10589:18;;;10582:30;10648:34;10628:18;;;10621:62;-1:-1:-1;;;10699:18:1;;;10692:35;10744:19;;40853:68:0;10368:401:1;40853:68:0;-1:-1:-1;;;;;40940:16:0;;40932:64;;;;-1:-1:-1;;;40932:64:0;;10976:2:1;40932:64:0;;;10958:21:1;11015:2;10995:18;;;10988:30;11054:34;11034:18;;;11027:62;-1:-1:-1;;;11105:18:1;;;11098:33;11148:19;;40932:64:0;10774:399:1;40932:64:0;-1:-1:-1;;;;;41082:15:0;;41060:19;41082:15;;;;;;;;;;;41116:21;;;;41108:72;;;;-1:-1:-1;;;41108:72:0;;11380:2:1;41108:72:0;;;11362:21:1;11419:2;11399:18;;;11392:30;11458:34;11438:18;;;11431:62;-1:-1:-1;;;11509:18:1;;;11502:36;11555:19;;41108:72:0;11178:402:1;41108:72:0;-1:-1:-1;;;;;41216:15:0;;;:9;:15;;;;;;;;;;;41234:20;;;41216:38;;41434:13;;;;;;;;;;:23;;;;;;41486:26;;1736:25:1;;;41434:13:0;;41486:26;;1709:18:1;41486:26:0;;;;;;;41525:37;26064:147;44522:453;44657:24;44684:25;44694:5;44701:7;44684:9;:25::i;:::-;44657:52;;-1:-1:-1;;44724:16:0;:37;44720:248;;44806:6;44786:16;:26;;44778:68;;;;-1:-1:-1;;;44778:68:0;;11787:2:1;44778:68:0;;;11769:21:1;11826:2;11806:18;;;11799:30;11865:31;11845:18;;;11838:59;11914:18;;44778:68:0;11585:353:1;44778:68:0;44890:51;44899:5;44906:7;44934:6;44915:16;:25;44890:8;:51::i;24942:492::-;25031:22;25039:4;25045:7;25031;:22::i;:::-;25026:401;;25219:28;25239:7;25219:19;:28::i;:::-;25320:38;25348:4;25355:2;25320:19;:38::i;:::-;25124:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25124:257:0;;;;;;;;;;-1:-1:-1;;;25070:345:0;;;;;;;:::i;21059:151::-;21117:13;21150:52;-1:-1:-1;;;;;21162:22:0;;19214:2;20455:447;20530:13;20556:19;20588:10;20592:6;20588:1;:10;:::i;:::-;:14;;20601:1;20588:14;:::i;:::-;20578:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20578:25:0;;20556:47;;-1:-1:-1;;;20614:6:0;20621:1;20614:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20614:15:0;;;;;;;;;-1:-1:-1;;;20640:6:0;20647:1;20640:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20640:15:0;;;;;;;;-1:-1:-1;20671:9:0;20683:10;20687:6;20683:1;:10;:::i;:::-;:14;;20696:1;20683:14;:::i;:::-;20671:26;;20666:131;20703:1;20699;:5;20666:131;;;-1:-1:-1;;;20747:5:0;20755:3;20747:11;20738:21;;;;;;;:::i;:::-;;;;20726:6;20733:1;20726:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20726:33:0;;;;;;;;-1:-1:-1;20784:1:0;20774:11;;;;;20706:3;;;:::i;:::-;;;20666:131;;;-1:-1:-1;20815:10:0;;20807:55;;;;-1:-1:-1;;;20807:55:0;;13367:2:1;20807:55:0;;;13349:21:1;;;13386:18;;;13379:30;13445:34;13425:18;;;13418:62;13497:18;;20807:55:0;13165:356:1;14:286;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:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:173::-;1221:20;;-1:-1:-1;;;;;1270:31:1;;1260:42;;1250:70;;1316:1;1313;1306:12;1250:70;1153:173;;;:::o;1331:254::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;1575:2;1560:18;;;;1547:32;;-1:-1:-1;;;1331:254:1:o;1772:328::-;1849:6;1857;1865;1918:2;1906:9;1897:7;1893:23;1889:32;1886:52;;;1934:1;1931;1924:12;1886:52;1957:29;1976:9;1957:29;:::i;:::-;1947:39;;2005:38;2039:2;2028:9;2024:18;2005:38;:::i;:::-;1995:48;;2090:2;2079:9;2075:18;2062:32;2052:42;;1772:328;;;;;:::o;2105:180::-;2164:6;2217:2;2205:9;2196:7;2192:23;2188:32;2185:52;;;2233:1;2230;2223:12;2185:52;-1:-1:-1;2256:23:1;;2105:180;-1:-1:-1;2105:180:1:o;2472:254::-;2540:6;2548;2601:2;2589:9;2580:7;2576:23;2572:32;2569:52;;;2617:1;2614;2607:12;2569:52;2653:9;2640:23;2630:33;;2682:38;2716:2;2705:9;2701:18;2682:38;:::i;:::-;2672:48;;2472:254;;;;;:::o;3313:186::-;3372:6;3425:2;3413:9;3404:7;3400:23;3396:32;3393:52;;;3441:1;3438;3431:12;3393:52;3464:29;3483:9;3464:29;:::i;3504:260::-;3572:6;3580;3633:2;3621:9;3612:7;3608:23;3604:32;3601:52;;;3649:1;3646;3639:12;3601:52;3672:29;3691:9;3672:29;:::i;:::-;3662:39;;3720:38;3754:2;3743:9;3739:18;3720:38;:::i;3769:380::-;3848:1;3844:12;;;;3891;;;3912:61;;3966:4;3958:6;3954:17;3944:27;;3912:61;4019:2;4011:6;4008:14;3988:18;3985:38;3982:161;;4065:10;4060:3;4056:20;4053:1;4046:31;4100:4;4097:1;4090:15;4128:4;4125:1;4118:15;3982:161;;3769:380;;;:::o;4570:127::-;4631:10;4626:3;4622:20;4619:1;4612:31;4662:4;4659:1;4652:15;4686:4;4683:1;4676:15;4702:125;4767:9;;;4788:10;;;4785:36;;;4801:18;;:::i;5237:128::-;5304:9;;;5325:11;;;5322:37;;;5339:18;;:::i;5789:356::-;5991:2;5973:21;;;6010:18;;;6003:30;6069:34;6064:2;6049:18;;6042:62;6136:2;6121:18;;5789:356::o;7319:168::-;7392:9;;;7423;;7440:15;;;7434:22;;7420:37;7410:71;;7461:18;;:::i;8981:217::-;9021:1;9047;9037:132;;9091:10;9086:3;9082:20;9079:1;9072:31;9126:4;9123:1;9116:15;9154:4;9151:1;9144:15;9037:132;-1:-1:-1;9183:9:1;;8981:217::o;11943:812::-;12354:25;12349:3;12342:38;12324:3;12409:6;12403:13;12425:75;12493:6;12488:2;12483:3;12479:12;12472:4;12464:6;12460:17;12425:75;:::i;:::-;-1:-1:-1;;;12559:2:1;12519:16;;;12551:11;;;12544:40;12609:13;;12631:76;12609:13;12693:2;12685:11;;12678:4;12666:17;;12631:76;:::i;:::-;12727:17;12746:2;12723:26;;11943:812;-1:-1:-1;;;;11943:812:1:o;12760:127::-;12821:10;12816:3;12812:20;12809:1;12802:31;12852:4;12849:1;12842:15;12876:4;12873:1;12866:15;12892:127;12953:10;12948:3;12944:20;12941:1;12934:31;12984:4;12981:1;12974:15;13008:4;13005:1;12998:15;13024:136;13063:3;13091:5;13081:39;;13100:18;;:::i;:::-;-1:-1:-1;;;13136:18:1;;13024:136::o
Swarm Source
ipfs://ca1629fb7d80b475c3d8fdfb9bef377dae181e09ecd792f3f4428b2e0b340d38
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,830.22 | 0.0107 | $40.93 |
[ 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.