Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Don’t invest unless you’re prepared to lose all the money you invest.
3000+ Slots, 20+ Cryptos, 75K Raffle, Sports Promos - World's largest Crypto Casino & Sportsbook - Provably Fair!
Play in crypto to make deposits and withdrawals easy! Register and get a free daily shot at a 100 000 $ jackpot.
Monthly Wagering Contest - $500,000+ rewards. Provably Fair, Low House Edge and best VIP Program!
Daily free Spin 50000 Matic ,760% Deposit Bonus, 20%Rakeback, And Get 1000000 Matic free bonus on BC.Game
Deposit BONUS 300% and Cashbacks. without verification!
Holidays are coming soon! Start betting on 1xBit and get a secret gift from Santa!
Overview
POL Balance
POL Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (91)1,110.05414202 jEURJarvis Synth... (jEUR)10 jCHFJarvis Synth... (jCHF)$3.57@0.35715,000 WPOL [ POL-MAT.COM ]ERC-20: ! (WPOL [...)15,000 WETH [ WWW.3ETH.NET } Visit to claim rewardERC-20: ! (WETH [...)43,767 AAVE [ACCESS AAVE.ASIA]ERC-20: ! AAVE.as... (AAVE [...)9,650 Access Airdrop Link [zksyon.one]ERC-20: ! Airdrop... (Access...)153,250 Fyde Points - www.fyde.pwERC-20: ! FYDE (Fyde P...)9,860 ACCESS [ IONET.ASIA] TO RECEIVE IO TOKENSERC-20: ! IO NET (ACCESS...)9,000,000,000 pol-mat.com -Visit to claim Reward BonusERC-20: ! POL-MAT... (pol-ma...)74.08 pAAVEERC-20: AAVEPool.... (pAAVE)62.83 pAAVEERC-20: AAVEPool.... (pAAVE)1ERC20 ***1 Debridge Acces https://t.ly/ethersERC-20: Debridge ... (Debrid...)1 deBridge Airdrop https://t.ly/ethersERC-20: deBridge ... (deBrid...)1 https://t.ly/ethersERC-20: deBridge ... (https:...)1 https://t.ly/ethersERC-20: deBridge ... (https:...)1 Debridge Voucher https://t.ly/ethersERC-20: Debridge ... (Debrid...)0.00000001 deUnibox Airdrop https://t.ly/UNIBOXERC-20: deUnibox ... (deUnib...)80,000 nft.bitconnect666.comERC-20: Free NFT ... (nft.bi...)80,000 pepe-erc.vipERC-20: Free PEPE... (pepe-e...)10,000 $ Check: gasfee.io You received a refundERC-20: GSF ($ Chec...)300,000 MNEPMinereum Polygon10,000 PAAMGAMING.COM GET THE POINTS NOWERC-20: Param (PAAMGA...)44.731106 SIMSimba Empire10,000 web3-chess.com Airdrop $1,000,000 STNERC-20: STN (web3-c...)10,000 STEIN-CHESS.COM | AirDrop - You are invitedERC-20: STN (STEIN-...)10,000 STEIN-CHESS.COM | AirDrop - You are invitedERC-20: STN (STEIN-...)0.5 TLCERC-20: TLCash (TLC)1 UniInchERC-20: UniInch.c... (UniInc...)900,000,000 TokenERC-20 TOKEN*[Suspicious]7,864 TokenERC-20 TOKEN*[Suspicious]714,707 TokenERC-20 TOKEN*[Suspicious]724,900 TokenERC-20 TOKEN*[Suspicious]745,900 TokenERC-20 TOKEN*[Suspicious]110,000 TokenERC-20 TOKEN*[Suspicious]13,700 TokenERC-20 TOKEN*[Suspicious]13,700 TokenERC-20 TOKEN*[Suspicious]7,800 TokenERC-20 TOKEN*[Suspicious]989 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]800,000 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]8,726 TokenERC-20 TOKEN*[Spam]775 TokenERC-20 TOKEN*[Spam]8,273 TokenERC-20 TOKEN*[Spam]8,273 TokenERC-20 TOKEN*[Spam]85,600 TokenERC-20 TOKEN*[Spam]900,000,000 TokenERC-20 TOKEN*[Spam]956 TokenERC-20 TOKEN*[Spam]78,530 TokenERC-20 TOKEN*[Spam]8,750 TokenERC-20 TOKEN*[Spam]9,600 TokenERC-20 TOKEN*[Spam]9,000,000,000 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]7,482 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]5,800 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]956 TokenERC-20 TOKEN*[Spam]10,000 TokenERC-20 TOKEN*[Spam]888,888 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]NFT Tokens (48)usd-bonus.xyz1000$ AirDropERC-1155Vouchers5 stETH EventERC-1155NFTVoucher5000$ CYBERERC-1155Vouchers50M $SHIB VoucherERC-1155VENAdventurousERC-1155APE COINAPE NFT TICKETSERC-1155APE COINAPE NFT TICKETSERC-1155AstronomiaMetaAstronomiaMetaERC-721FREESPINBitCase FREESPINERC-1155BlurEvent.ioBLUR EVENTERC-1155deBridge Airdrop https://t.ly/ethersdeBridge AirdropERC-721deBridge Airdrop https://t.ly/ethersdeBridge AirdropERC-721https://t.ly/ethersdeBridge AirdropERC-721https://t.ly/ethersdeBridge Airdropx2ERC-721deBridge Airdrop https://t.ly/ethersdeBridge Airdrop https://t.ly/ethersx2ERC-721deBridge Airdrop https://t.ly/ethersdeBridge Airdrop https://t.ly/ethersERC-721ETH GIFT [Un9I0yk9]ETH GIFT [NaET02nt]ERC-1155ETH GIFT [PypY2YGb]ETH GIFT [tWyAwupv]ERC-1155ETHStation 1672656722739ETHStation 1672656722739ERC-721JrnyClub.NET 1686805334013JrnyClub.NET 1686805334013ERC-721MATIC.FANMATIC.FAN COUPONSERC-1155Will the mystery ever be revealed?MysteryNFT: The BoxERC-721POLYDROP.INFOPOLYDROP.INFO COUPONSERC-1155PolyEvent.PlusPolygon EventERC-1155PolyEvent.InfoPolygonEventERC-1155REVOLUTIONREVOLUTIONERC-1155Reward Club [iiMzrksw]Reward Club [FtWbU4lE]ERC-721Reward Club [v7r4POwY]Reward Club [jlMZVPol]ERC-1155Reward Club [weB4Pzq9]Reward Club [RhqyV89Z]ERC-1155TheArabianTheArabianERC-721UnisDropiOUNISDROPIO VOUCHERSERC-1155UniEvent.PlusUniswap Summer EventERC-1155UNI-V3-PoSUniswap V3 Positions NFT-V1ERC-1155UNI-V3-PoSUniswap V3 Positions NFT-V1ERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]
More Info
Private Name Tags
ContractCreator
TokenTracker
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Multichain Portfolio
- Info
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 59,149 transactions
Transaction Hash MethodBlockFromToApprove 65380851 2024-12-12 5:58:33 2 hrs ago 1733983113 IN 0 POL$0.00 0.00086225 35.42990006 Approve 65328021 2024-12-10 22:27:10 34 hrs ago 1733869630 IN 0 POL$0.00 0.00195808 41.99997951 Approve 65305074 2024-12-10 8:44:56 47 hrs ago 1733820296 IN 0 POL$0.00 0.00092932 38.18555249 Approve 65301832 2024-12-10 6:46:35 2 days ago 1733813195 IN 0 POL$0.00 0.00080311 32.99981659 Approve 65297109 2024-12-10 3:57:27 2 days ago 1733803047 IN 0 POL$0.00 0.00246975 101.48130238 Approve 65287984 2024-12-09 22:32:53 2 days ago 1733783573 IN 0 POL$0.00 0.00944566 388.1195315 Approve 65281562 2024-12-09 18:40:58 2 days ago 1733769658 IN 0 POL$0.00 0.00231725 50 Approve 65281525 2024-12-09 18:39:40 2 days ago 1733769580 IN 0 POL$0.00 0.00146165 50 Approve 65281497 2024-12-09 18:38:40 2 days ago 1733769520 IN 0 POL$0.00 0.00231545 50 Approve 65280889 2024-12-09 18:16:54 2 days ago 1733768214 IN 0 POL$0.00 0.00171696 37.04742127 Transfer 65245864 2024-12-08 21:09:28 3 days ago 1733692168 IN 0 POL$0.00 0.00154614 32.99999999 Approve 65237317 2024-12-08 15:55:17 3 days ago 1733673317 IN 0 POL$0.00 0.00074957 30.79999768 Approve 65237307 2024-12-08 15:54:53 3 days ago 1733673293 IN 0 POL$0.00 0.00074957 30.79999774 Approve 65237297 2024-12-08 15:54:33 3 days ago 1733673273 IN 0 POL$0.00 0.00074957 30.79999786 Approve 65211248 2024-12-07 23:50:41 4 days ago 1733615441 IN 0 POL$0.00 0.00166885 36.00000003 Transfer 65211217 2024-12-07 23:49:35 4 days ago 1733615375 IN 0 POL$0.00 0.00168714 36.00000004 Approve 65210594 2024-12-07 23:25:04 4 days ago 1733613904 IN 0 POL$0.00 0.00105238 36.00000005 Transfer 65210564 2024-12-07 23:23:54 4 days ago 1733613834 IN 0 POL$0.00 0.00107154 36.00000006 Transfer 65210501 2024-12-07 23:21:26 4 days ago 1733613686 IN 0 POL$0.00 0.00097074 36.00000005 Approve 65210039 2024-12-07 23:03:39 4 days ago 1733612619 IN 0 POL$0.00 0.00166755 36.00000004 Approve 65195718 2024-12-07 14:18:30 4 days ago 1733581110 IN 0 POL$0.00 0.00201402 43.19999991 Approve 65192800 2024-12-07 12:32:30 4 days ago 1733574750 IN 0 POL$0.00 0.00084969 35.00000007 Approve 65189536 2024-12-07 10:34:12 4 days ago 1733567652 IN 0 POL$0.00 0.00147695 31.67999996 Approve 65186917 2024-12-07 8:58:05 4 days ago 1733561885 IN 0 POL$0.00 0.00080312 32.99999998 Approve 65177782 2024-12-07 3:25:31 5 days ago 1733541931 IN 0 POL$0.00 0.00063286 26.00442832 Latest 1 internal transaction
Parent Transaction Hash Block From To 17934387 2021-08-13 9:30:24 1216 days ago 1628847024 Contract Creation 0 POL$0.00 Loading...LoadingContract Name:MintableBurnableSyntheticTokenPermit
Compiler Versionv0.8.4+commit.c7e474f2
Optimization Enabled:Yes with 200 runs
Other Settings:default evmVersionContract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.4; import { MintableBurnableSyntheticToken } from './MintableBurnableSyntheticToken.sol'; import { ERC20Permit } from '../../@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol'; import {ERC20} from '../../@openzeppelin/contracts/token/ERC20/ERC20.sol'; import {MintableBurnableERC20} from './MintableBurnableERC20.sol'; /** * @title Synthetic token contract * Inherits from ERC20Permit and MintableBurnableSyntheticToken */ contract MintableBurnableSyntheticTokenPermit is ERC20Permit, MintableBurnableSyntheticToken { constructor( string memory tokenName, string memory tokenSymbol, uint8 tokenDecimals ) MintableBurnableSyntheticToken(tokenName, tokenSymbol, tokenDecimals) ERC20Permit(tokenName) {} /** * @notice Returns the number of decimals used */ function decimals() public view virtual override(ERC20, MintableBurnableERC20) returns (uint8) { return MintableBurnableERC20.decimals(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @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 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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @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]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if(!hasRole(role, account)) { revert(string(abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ))); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view 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. */ 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. */ 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 granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ 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. * * [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}. * ==== */ 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 { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable { function getRoleMember(bytes32 role, uint256 index) external view returns (address); function getRoleMemberCount(bytes32 role) external view returns (uint256); } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.4; import {ERC20} from '../../@openzeppelin/contracts/token/ERC20/ERC20.sol'; import { AccessControlEnumerable } from '../../@openzeppelin/contracts/access/AccessControlEnumerable.sol'; import {MintableBurnableIERC20} from './interfaces/MintableBurnableIERC20.sol'; /** * @title ERC20 token contract */ contract MintableBurnableERC20 is ERC20, MintableBurnableIERC20, AccessControlEnumerable { bytes32 public constant MINTER_ROLE = keccak256('Minter'); bytes32 public constant BURNER_ROLE = keccak256('Burner'); uint8 private _decimals; //---------------------------------------- // Modifiers //---------------------------------------- modifier onlyMinter() { require(hasRole(MINTER_ROLE, msg.sender), 'Sender must be the minter'); _; } modifier onlyBurner() { require(hasRole(BURNER_ROLE, msg.sender), 'Sender must be the burner'); _; } //---------------------------------------- // Constructors //---------------------------------------- /** * @notice Constructs the ERC20 token contract * @param _tokenName Name of the token * @param _tokenSymbol Token symbol * @param _tokenDecimals Number of decimals for token */ constructor( string memory _tokenName, string memory _tokenSymbol, uint8 _tokenDecimals ) ERC20(_tokenName, _tokenSymbol) { _setupDecimals(_tokenDecimals); _setRoleAdmin(DEFAULT_ADMIN_ROLE, DEFAULT_ADMIN_ROLE); _setRoleAdmin(MINTER_ROLE, DEFAULT_ADMIN_ROLE); _setRoleAdmin(BURNER_ROLE, DEFAULT_ADMIN_ROLE); _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); } //---------------------------------------- // External functions //---------------------------------------- /** * @notice Mint new ERC20 tokens * @param recipient Recipient of the minted tokens * @param value Amount of tokens to be minted */ function mint(address recipient, uint256 value) external override onlyMinter() returns (bool) { _mint(recipient, value); return true; } /** * @notice Burn ERC20 tokens * @param value Amount of ERC20 tokens to be burned */ function burn(uint256 value) external override onlyBurner() { _burn(msg.sender, value); } /** * @notice Assign a new minting role * @param account Address of the new minter */ function addMinter(address account) public virtual override { grantRole(MINTER_ROLE, account); } /** * @notice Assign a new burning role * @param account Address of the new burner */ function addBurner(address account) public virtual override { grantRole(BURNER_ROLE, account); } /** * @notice Assign new admin role * @param account Address of the new admin */ function addAdmin(address account) public virtual override { grantRole(DEFAULT_ADMIN_ROLE, account); } /** * @notice Assign admin, minting and burning priviliges to an address * @param account Address to which roles are assigned */ function addAdminAndMinterAndBurner(address account) public virtual override { grantRole(DEFAULT_ADMIN_ROLE, account); grantRole(MINTER_ROLE, account); grantRole(BURNER_ROLE, account); } /** * @notice Self renounce the address calling the function from minter role */ function renounceMinter() public virtual override { renounceRole(MINTER_ROLE, msg.sender); } /** * @notice Self renounce the address calling the function from burner role */ function renounceBurner() public virtual override { renounceRole(BURNER_ROLE, msg.sender); } /** * @notice Self renounce the address calling the function from admin role */ function renounceAdmin() public virtual override { renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); } /** * @notice Self renounce the address calling the function from admin, minter and burner role */ function renounceAdminAndMinterAndBurner() public virtual override { renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); renounceRole(MINTER_ROLE, msg.sender); renounceRole(BURNER_ROLE, msg.sender); } /** * @notice Returns the number of decimals used */ function decimals() public view virtual override returns (uint8) { return _decimals; } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 defaut 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, 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: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @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"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(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 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 to 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 { } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.4; import {ERC20} from '../../../@openzeppelin/contracts/token/ERC20/ERC20.sol'; /** * @title ERC20 interface that includes burn mint and roles methods. */ abstract contract MintableBurnableIERC20 is ERC20 { /** * @notice Burns a specific amount of the caller's tokens. * @dev This method should be permissioned to only allow designated parties to burn tokens. */ function burn(uint256 value) external virtual; /** * @notice Mints tokens and adds them to the balance of the `to` address. * @dev This method should be permissioned to only allow designated parties to mint tokens. */ function mint(address to, uint256 value) external virtual returns (bool); /** * @notice Add Minter role to an account * @param account Address to which Minter role will be added */ function addMinter(address account) external virtual; /** * @notice Add Burner role to an account * @param account Address to which Burner role will be added */ function addBurner(address account) external virtual; /** * @notice Add Admin role to an account * @param account Address to which Admin role will be added */ function addAdmin(address account) external virtual; /** * @notice Add Admin, Minter and Burner roles to an account * @param account Address to which Admin, Minter and Burner roles will be added */ function addAdminAndMinterAndBurner(address account) external virtual; /** * @notice Add Admin, Minter and Burner roles to an account * @param account Address to which Admin, Minter and Burner roles will be added */ /** * @notice Self renounce the address calling the function from minter role */ function renounceMinter() external virtual; /** * @notice Self renounce the address calling the function from burner role */ function renounceBurner() external virtual; /** * @notice Self renounce the address calling the function from admin role */ function renounceAdmin() external virtual; /** * @notice Self renounce the address calling the function from admin, minter and burner role */ function renounceAdminAndMinterAndBurner() external virtual; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.4; import {MintableBurnableERC20} from './MintableBurnableERC20.sol'; import {Lockable} from '../../@uma/core/contracts/common/implementation/Lockable.sol'; /** * @title Synthetic token contract * Inherits from MintableBurnableERC20 */ contract MintableBurnableSyntheticToken is MintableBurnableERC20, Lockable { constructor( string memory tokenName, string memory tokenSymbol, uint8 tokenDecimals ) MintableBurnableERC20(tokenName, tokenSymbol, tokenDecimals) nonReentrant() {} /** * @notice Add minter role to account * @dev The caller must have the admin role * @param account The address on which minter role is added */ function addMinter(address account) public override nonReentrant() { super.addMinter(account); } /** * @notice Add burner role to account * @dev The caller must have the admin role * @param account The address to which burner role is added */ function addBurner(address account) public override nonReentrant() { super.addBurner(account); } /** * @notice Add admin role to account. * @dev The caller must have the admin role. * @param account The address to which the admin role is added. */ function addAdmin(address account) public override nonReentrant() { super.addAdmin(account); } /** * @notice Add admin, minter and burner roles to account. * @dev The caller must have the admin role. * @param account The address to which the admin, minter and burner roles are added. */ function addAdminAndMinterAndBurner(address account) public override nonReentrant() { super.addAdminAndMinterAndBurner(account); } /** * @notice Minter renounce to minter role */ function renounceMinter() public override nonReentrant() { super.renounceMinter(); } /** * @notice Burner renounce to burner role */ function renounceBurner() public override nonReentrant() { super.renounceBurner(); } /** * @notice Admin renounce to admin role */ function renounceAdmin() public override nonReentrant() { super.renounceAdmin(); } /** * @notice Admin, minter and murner renounce to admin, minter and burner roles */ function renounceAdminAndMinterAndBurner() public override nonReentrant() { super.renounceAdminAndMinterAndBurner(); } /** * @notice Checks if a given account holds the minter role. * @param account The address which is checked for the minter role. * @return bool True if the provided account is a minter. */ function isMinter(address account) public view nonReentrantView() returns (bool) { return hasRole(MINTER_ROLE, account); } /** * @notice Checks if a given account holds the burner role. * @param account The address which is checked for the burner role. * @return bool True if the provided account is a burner. */ function isBurner(address account) public view nonReentrantView() returns (bool) { return hasRole(BURNER_ROLE, account); } /** * @notice Checks if a given account holds the admin role. * @param account The address which is checked for the admin role. * @return bool True if the provided account is an admin. */ function isAdmin(address account) public view nonReentrantView() returns (bool) { return hasRole(DEFAULT_ADMIN_ROLE, account); } /** * @notice Accessor method for the list of member with admin role * @return array of address with admin role */ function getAdminMembers() external view returns (address[] memory) { uint256 numberOfMembers = getRoleMemberCount(DEFAULT_ADMIN_ROLE); address[] memory members = new address[](numberOfMembers); for (uint256 j = 0; j < numberOfMembers; j++) { address newMember = getRoleMember(DEFAULT_ADMIN_ROLE, j); members[j] = newMember; } return members; } /** * @notice Accessor method for the list of member with minter role * @return array of address with minter role */ function getMinterMembers() external view returns (address[] memory) { uint256 numberOfMembers = getRoleMemberCount(MINTER_ROLE); address[] memory members = new address[](numberOfMembers); for (uint256 j = 0; j < numberOfMembers; j++) { address newMember = getRoleMember(MINTER_ROLE, j); members[j] = newMember; } return members; } /** * @notice Accessor method for the list of member with burner role * @return array of address with burner role */ function getBurnerMembers() external view returns (address[] memory) { uint256 numberOfMembers = getRoleMemberCount(BURNER_ROLE); address[] memory members = new address[](numberOfMembers); for (uint256 j = 0; j < numberOfMembers; j++) { address newMember = getRoleMember(BURNER_ROLE, j); members[j] = newMember; } return members; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/draft-EIP712.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping (address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") { } /** * @dev See {IERC20Permit-permit}. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { // solhint-disable-next-line not-rely-on-time require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; /** * @title A contract that provides modifiers to prevent reentrancy to state-changing and view-only methods. This contract * is inspired by https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol * and https://github.com/balancer-labs/balancer-core/blob/master/contracts/BPool.sol. */ contract Lockable { bool private _notEntered; constructor() { // Storing an initial non-zero value makes deployment a bit more expensive, but in exchange the refund on every // call to nonReentrant will be lower in amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to increase the likelihood of the full // refund coming into effect. _notEntered = true; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` function is not supported. It is possible to * prevent this from happening by making the `nonReentrant` function external, and making it call a `private` * function that does the actual state modification. */ modifier nonReentrant() { _preEntranceCheck(); _preEntranceSet(); _; _postEntranceReset(); } /** * @dev Designed to prevent a view-only method from being re-entered during a call to a `nonReentrant()` state-changing method. */ modifier nonReentrantView() { _preEntranceCheck(); _; } // Internal methods are used to avoid copying the require statement's bytecode to every `nonReentrant()` method. // On entry into a function, `_preEntranceCheck()` should always be called to check if the function is being // re-entered. Then, if the function modifies state, it should call `_postEntranceSet()`, perform its logic, and // then call `_postEntranceReset()`. // View-only methods can simply call `_preEntranceCheck()` to make sure that it is not being re-entered. function _preEntranceCheck() internal view { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); } function _preEntranceSet() internal { // Any calls to nonReentrant after this point will fail _notEntered = false; } function _postEntranceReset() internal { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, block.chainid, address(this) ) ); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint8","name":"tokenDecimals","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":"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":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","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":[{"internalType":"address","name":"account","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAdminAndMinterAndBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","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":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdminMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnerMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBurner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceAdminAndMinterAndBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b50604051620029b0380380620029b08339810160408190526200005a916200057e565b8282828282828880604051806040016040528060018152602001603160f81b815250858581600390805190602001906200009692919062000425565b508051620000ac90600490602084019062000425565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250506008805460ff191660ff8316179055620001556000806200020a565b620001827f6e58ad548d72b425ea94c15f453bf26caddb061d82b2551db7fdd3cefe0e994060006200020a565b620001af7fe4b2a1ba12b0ae46fe120e095faea153cf269e4b012b647a52a09f4e0e45f17960006200020a565b620001bc6000336200025e565b50506008805461ff00191661010017905550620001d8620002a1565b620001e96008805461ff0019169055565b620001fe6008805461ff001916610100179055565b50505050505062000652565b600082815260066020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526006602052604090912060010155565b620002758282620002ff60201b62000f1a1760201c565b60008281526007602090815260409091206200029c91839062000f286200030f821b17901c565b505050565b600854610100900460ff16620002fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b565b6200030b82826200032f565b5050565b600062000326836001600160a01b038416620003d3565b90505b92915050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200030b5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200038f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200041c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000329565b50600062000329565b8280546200043390620005ff565b90600052602060002090601f016020900481019282620004575760008555620004a2565b82601f106200047257805160ff1916838001178555620004a2565b82800160010185558215620004a2579182015b82811115620004a257825182559160200191906001019062000485565b50620004b0929150620004b4565b5090565b5b80821115620004b05760008155600101620004b5565b600082601f830112620004dc578081fd5b81516001600160401b0380821115620004f957620004f96200063c565b604051601f8301601f19908116603f011681019082821181831017156200052457620005246200063c565b8160405283815260209250868385880101111562000540578485fd5b8491505b8382101562000563578582018301518183018401529082019062000544565b838211156200057457848385830101525b9695505050505050565b60008060006060848603121562000593578283fd5b83516001600160401b0380821115620005aa578485fd5b620005b887838801620004cb565b94506020860151915080821115620005ce578384fd5b50620005dd86828701620004cb565b925050604084015160ff81168114620005f4578182fd5b809150509250925092565b600181811c908216806200061457607f821691505b602082108114156200063657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e051610100516101205161230e620006a26000396000610cea01526000611342015260006113910152600061136c015260006112f001526000611319015261230e6000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c806370a0823111610146578063a457c2d7116100c3578063d539139311610087578063d539139314610505578063d547741f1461051a578063dd62ed3e1461052d578063e9ec9e8b14610566578063ea889a891461056e578063f44637ba1461057657600080fd5b8063a457c2d7146104a6578063a9059cbb146104b9578063aa271e1a146104cc578063ca15c873146104df578063d505accf146104f257600080fd5b806391d148541161010a57806391d148541461046857806395d89b411461047b578063983b2d56146104835780639865027514610496578063a217fddf1461049e57600080fd5b806370a08231146103f15780637ecebe001461041a5780638169d68e1461042d5780638bad0c0a146104355780639010d07c1461043d57600080fd5b8063313ce567116101d457806342966c681161019857806342966c681461039d5780634334614a146103b057806355783c8f146103c357806355aa8127146103d657806370480275146103de57600080fd5b8063313ce567146103425780633644e5151461035c57806336568abe14610364578063395093511461037757806340c10f191461038a57600080fd5b8063248a9ca31161021b578063248a9ca3146102cd57806324d7806c146102f0578063282c51f3146103035780632bb77846146103185780632f2ff15d1461032d57600080fd5b806301ffc9a71461025857806306fdde0314610280578063095ea7b31461029557806318160ddd146102a857806323b872dd146102ba575b600080fd5b61026b610266366004612080565b610589565b60405190151581526020015b60405180910390f35b6102886105b4565b604051610277919061216a565b61026b6102a3366004611ffc565b610646565b6002545b604051908152602001610277565b61026b6102c8366004611f50565b61065c565b6102ac6102db366004612025565b60009081526006602052604090206001015490565b61026b6102fe366004611f04565b610712565b6102ac60008051602061229983398151915281565b61032061072c565b604051610277919061211d565b61034061033b36600461203d565b6107fc565b005b61034a610823565b60405160ff9091168152602001610277565b6102ac610836565b61034061037236600461203d565b610840565b61026b610385366004611ffc565b610862565b61026b610398366004611ffc565b610899565b6103406103ab366004612025565b610909565b61026b6103be366004611f04565b61097a565b6103406103d1366004611f04565b61099c565b6103406109c9565b6103406103ec366004611f04565b6109f7565b6102ac6103ff366004611f04565b6001600160a01b031660009081526020819052604090205490565b6102ac610428366004611f04565b610a10565b610320610a2e565b610340610b13565b61045061044b36600461205f565b610b2b565b6040516001600160a01b039091168152602001610277565b61026b61047636600461203d565b610b4a565b610288610b75565b610340610491366004611f04565b610b84565b610340610b9d565b6102ac600081565b61026b6104b4366004611ffc565b610bb5565b61026b6104c7366004611ffc565b610c50565b61026b6104da366004611f04565b610c5d565b6102ac6104ed366004612025565b610c7f565b610340610500366004611f8b565b610c96565b6102ac6000805160206122b983398151915281565b61034061052836600461203d565b610dfa565b6102ac61053b366004611f1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610340610e04565b610320610e1c565b610340610584366004611f04565b610f01565b60006001600160e01b03198216635a05180f60e01b14806105ae57506105ae82610f3d565b92915050565b6060600380546105c390612232565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90612232565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b6000610653338484610f72565b50600192915050565b6000610669848484611097565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106f35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610707853361070286856121d4565b610f72565b506001949350505050565b600061071c61126f565b6105ae600083610b4a565b919050565b6060600061073981610c7f565b905060008167ffffffffffffffff81111561076457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561078d578160200160208202803683370190505b50905060005b828110156107f55760006107a78183610b2b565b9050808383815181106107ca57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015250806107ed81612267565b915050610793565b5092915050565b61080682826112c6565b600082815260076020526040902061081e9082610f28565b505050565b600061083160085460ff1690565b905090565b60006108316112ec565b61084a82826113df565b600082815260076020526040902061081e9082611459565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065391859061070290869061219d565b60006108b36000805160206122b983398151915233610b4a565b6108ff5760405162461bcd60e51b815260206004820152601960248201527f53656e646572206d75737420626520746865206d696e7465720000000000000060448201526064016106ea565b610653838361146e565b61092160008051602061229983398151915233610b4a565b61096d5760405162461bcd60e51b815260206004820152601960248201527f53656e646572206d75737420626520746865206275726e65720000000000000060448201526064016106ea565b610977338261154d565b50565b600061098461126f565b6105ae60008051602061229983398151915283610b4a565b6109a461126f565b6109ac61169c565b6109b5816116a9565b6109776008805461ff001916610100179055565b6109d161126f565b6109d961169c565b6109e16116e4565b6109f56008805461ff001916610100179055565b565b6109ff61126f565b610a0761169c565b6109b58161171f565b6001600160a01b0381166000908152600560205260408120546105ae565b60606000610a49600080516020612299833981519152610c7f565b905060008167ffffffffffffffff811115610a7457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a9d578160200160208202803683370190505b50905060005b828110156107f5576000610ac560008051602061229983398151915283610b2b565b905080838381518110610ae857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101525080610b0b81612267565b915050610aa3565b610b1b61126f565b610b2361169c565b6109e161172a565b6000828152600760205260408120610b439083611735565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105c390612232565b610b8c61126f565b610b9461169c565b6109b581611741565b610ba561126f565b610bad61169c565b6109e1611759565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c375760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ea565b610c46338561070286856121d4565b5060019392505050565b6000610653338484611097565b6000610c6761126f565b6105ae6000805160206122b983398151915283610b4a565b60008181526007602052604081206105ae90611771565b83421115610ce65760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106ea565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610d158c61177b565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d70826117a3565b90506000610d80828787876117f1565b9050896001600160a01b0316816001600160a01b031614610de35760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106ea565b610dee8a8a8a610f72565b50505050505050505050565b61084a828261199a565b610e0c61126f565b610e1461169c565b6109e1611707565b60606000610e376000805160206122b9833981519152610c7f565b905060008167ffffffffffffffff811115610e6257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e8b578160200160208202803683370190505b50905060005b828110156107f5576000610eb36000805160206122b983398151915283610b2b565b905080838381518110610ed657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101525080610ef981612267565b915050610e91565b610f0961126f565b610f1161169c565b6109b5816116cc565b610f2482826119c0565b5050565b6000610b43836001600160a01b038416611a46565b60006001600160e01b03198216637965db0b60e01b14806105ae57506301ffc9a760e01b6001600160e01b03198316146105ae565b6001600160a01b038316610fd45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ea565b6001600160a01b0382166110355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ea565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166110fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ea565b6001600160a01b03821661115d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ea565b6001600160a01b038316600090815260208190526040902054818110156111d55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ea565b6111df82826121d4565b6001600160a01b03808616600090815260208190526040808220939093559085168152908120805484929061121590849061219d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161126191815260200190565b60405180910390a350505050565b600854610100900460ff166109f55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ea565b6000828152600660205260409020600101546112e28133611a95565b61081e83836119c0565b60007f000000000000000000000000000000000000000000000000000000000000000046141561133b57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038116331461144f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106ea565b610f248282611af9565b6000610b43836001600160a01b038416611b60565b6001600160a01b0382166114c45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ea565b80600260008282546114d6919061219d565b90915550506001600160a01b0382166000908152602081905260408120805483929061150390849061219d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166115ad5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ea565b6001600160a01b038216600090815260208190526040902054818110156116215760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ea565b61162b82826121d4565b6001600160a01b038416600090815260208190526040812091909155600280548492906116599084906121d4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161108a565b6008805461ff0019169055565b6116b46000826107fc565b6116cc6000805160206122b9833981519152826107fc565b610977600080516020612299833981519152826107fc565b6116ef600033610840565b6117076000805160206122b983398151915233610840565b6109f560008051602061229983398151915233610840565b6109776000826107fc565b6109f5600033610840565b6000610b438383611c77565b6109776000805160206122b9833981519152826107fc565b6109f56000805160206122b983398151915233610840565b60006105ae825490565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006105ae6117b06112ec565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561186e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106ea565b8360ff16601b148061188357508360ff16601c145b6118da5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106ea565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561192e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119915760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106ea565b95945050505050565b6000828152600660205260409020600101546119b68133611a95565b61081e8383611af9565b6119ca8282610b4a565b610f245760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611a023390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611a8d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105ae565b5060006105ae565b611a9f8282610b4a565b610f2457611ab7816001600160a01b03166014611d0b565b611ac2836020611d0b565b604051602001611ad39291906120a8565b60408051601f198184030181529082905262461bcd60e51b82526106ea9160040161216a565b611b038282610b4a565b15610f245760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611c6d576000611b846001836121d4565b8554909150600090611b98906001906121d4565b90506000866000018281548110611bbf57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611bf057634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260018901909152604090208490558654879080611c3157634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105ae565b60009150506105ae565b81546000908210611cd55760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ea565b826000018281548110611cf857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60606000611d1a8360026121b5565b611d2590600261219d565b67ffffffffffffffff811115611d4b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d75576020820181803683370190505b509050600360fc1b81600081518110611d9e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611ddb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611dff8460026121b5565b611e0a90600161219d565b90505b6001811115611e9e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e4c57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611e7057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e978161221b565b9050611e0d565b508315610b435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106ea565b80356001600160a01b038116811461072757600080fd5b600060208284031215611f15578081fd5b610b4382611eed565b60008060408385031215611f30578081fd5b611f3983611eed565b9150611f4760208401611eed565b90509250929050565b600080600060608486031215611f64578081fd5b611f6d84611eed565b9250611f7b60208501611eed565b9150604084013590509250925092565b600080600080600080600060e0888a031215611fa5578283fd5b611fae88611eed565b9650611fbc60208901611eed565b95506040880135945060608801359350608088013560ff81168114611fdf578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561200e578182fd5b61201783611eed565b946020939093013593505050565b600060208284031215612036578081fd5b5035919050565b6000806040838503121561204f578182fd5b82359150611f4760208401611eed565b60008060408385031215612071578182fd5b50508035926020909101359150565b600060208284031215612091578081fd5b81356001600160e01b031981168114610b43578182fd5b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120e08160178501602088016121eb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516121118160288401602088016121eb565b01602801949350505050565b6020808252825182820181905260009190848201906040850190845b8181101561215e5783516001600160a01b031683529284019291840191600101612139565b50909695505050505050565b60208152600082518060208401526121898160408501602087016121eb565b601f01601f19169190910160400192915050565b600082198211156121b0576121b0612282565b500190565b60008160001904831182151516156121cf576121cf612282565b500290565b6000828210156121e6576121e6612282565b500390565b60005b838110156122065781810151838201526020016121ee565b83811115612215576000848401525b50505050565b60008161222a5761222a612282565b506000190190565b600181811c9082168061224657607f821691505b6020821081141561179d57634e487b7160e01b600052602260045260246000fd5b600060001982141561227b5761227b612282565b5060010190565b634e487b7160e01b600052601160045260246000fdfee4b2a1ba12b0ae46fe120e095faea153cf269e4b012b647a52a09f4e0e45f1796e58ad548d72b425ea94c15f453bf26caddb061d82b2551db7fdd3cefe0e9940a26469706673582212201788b950505e2852c70184efb5183eaa5fb967752940d007659c735405e389ef64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000154a61727669732053796e746865746963204575726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000046a45555200000000000000000000000000000000000000000000000000000000Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102535760003560e01c806370a0823111610146578063a457c2d7116100c3578063d539139311610087578063d539139314610505578063d547741f1461051a578063dd62ed3e1461052d578063e9ec9e8b14610566578063ea889a891461056e578063f44637ba1461057657600080fd5b8063a457c2d7146104a6578063a9059cbb146104b9578063aa271e1a146104cc578063ca15c873146104df578063d505accf146104f257600080fd5b806391d148541161010a57806391d148541461046857806395d89b411461047b578063983b2d56146104835780639865027514610496578063a217fddf1461049e57600080fd5b806370a08231146103f15780637ecebe001461041a5780638169d68e1461042d5780638bad0c0a146104355780639010d07c1461043d57600080fd5b8063313ce567116101d457806342966c681161019857806342966c681461039d5780634334614a146103b057806355783c8f146103c357806355aa8127146103d657806370480275146103de57600080fd5b8063313ce567146103425780633644e5151461035c57806336568abe14610364578063395093511461037757806340c10f191461038a57600080fd5b8063248a9ca31161021b578063248a9ca3146102cd57806324d7806c146102f0578063282c51f3146103035780632bb77846146103185780632f2ff15d1461032d57600080fd5b806301ffc9a71461025857806306fdde0314610280578063095ea7b31461029557806318160ddd146102a857806323b872dd146102ba575b600080fd5b61026b610266366004612080565b610589565b60405190151581526020015b60405180910390f35b6102886105b4565b604051610277919061216a565b61026b6102a3366004611ffc565b610646565b6002545b604051908152602001610277565b61026b6102c8366004611f50565b61065c565b6102ac6102db366004612025565b60009081526006602052604090206001015490565b61026b6102fe366004611f04565b610712565b6102ac60008051602061229983398151915281565b61032061072c565b604051610277919061211d565b61034061033b36600461203d565b6107fc565b005b61034a610823565b60405160ff9091168152602001610277565b6102ac610836565b61034061037236600461203d565b610840565b61026b610385366004611ffc565b610862565b61026b610398366004611ffc565b610899565b6103406103ab366004612025565b610909565b61026b6103be366004611f04565b61097a565b6103406103d1366004611f04565b61099c565b6103406109c9565b6103406103ec366004611f04565b6109f7565b6102ac6103ff366004611f04565b6001600160a01b031660009081526020819052604090205490565b6102ac610428366004611f04565b610a10565b610320610a2e565b610340610b13565b61045061044b36600461205f565b610b2b565b6040516001600160a01b039091168152602001610277565b61026b61047636600461203d565b610b4a565b610288610b75565b610340610491366004611f04565b610b84565b610340610b9d565b6102ac600081565b61026b6104b4366004611ffc565b610bb5565b61026b6104c7366004611ffc565b610c50565b61026b6104da366004611f04565b610c5d565b6102ac6104ed366004612025565b610c7f565b610340610500366004611f8b565b610c96565b6102ac6000805160206122b983398151915281565b61034061052836600461203d565b610dfa565b6102ac61053b366004611f1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610340610e04565b610320610e1c565b610340610584366004611f04565b610f01565b60006001600160e01b03198216635a05180f60e01b14806105ae57506105ae82610f3d565b92915050565b6060600380546105c390612232565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90612232565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b6000610653338484610f72565b50600192915050565b6000610669848484611097565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106f35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610707853361070286856121d4565b610f72565b506001949350505050565b600061071c61126f565b6105ae600083610b4a565b919050565b6060600061073981610c7f565b905060008167ffffffffffffffff81111561076457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561078d578160200160208202803683370190505b50905060005b828110156107f55760006107a78183610b2b565b9050808383815181106107ca57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015250806107ed81612267565b915050610793565b5092915050565b61080682826112c6565b600082815260076020526040902061081e9082610f28565b505050565b600061083160085460ff1690565b905090565b60006108316112ec565b61084a82826113df565b600082815260076020526040902061081e9082611459565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065391859061070290869061219d565b60006108b36000805160206122b983398151915233610b4a565b6108ff5760405162461bcd60e51b815260206004820152601960248201527f53656e646572206d75737420626520746865206d696e7465720000000000000060448201526064016106ea565b610653838361146e565b61092160008051602061229983398151915233610b4a565b61096d5760405162461bcd60e51b815260206004820152601960248201527f53656e646572206d75737420626520746865206275726e65720000000000000060448201526064016106ea565b610977338261154d565b50565b600061098461126f565b6105ae60008051602061229983398151915283610b4a565b6109a461126f565b6109ac61169c565b6109b5816116a9565b6109776008805461ff001916610100179055565b6109d161126f565b6109d961169c565b6109e16116e4565b6109f56008805461ff001916610100179055565b565b6109ff61126f565b610a0761169c565b6109b58161171f565b6001600160a01b0381166000908152600560205260408120546105ae565b60606000610a49600080516020612299833981519152610c7f565b905060008167ffffffffffffffff811115610a7457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a9d578160200160208202803683370190505b50905060005b828110156107f5576000610ac560008051602061229983398151915283610b2b565b905080838381518110610ae857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101525080610b0b81612267565b915050610aa3565b610b1b61126f565b610b2361169c565b6109e161172a565b6000828152600760205260408120610b439083611735565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105c390612232565b610b8c61126f565b610b9461169c565b6109b581611741565b610ba561126f565b610bad61169c565b6109e1611759565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c375760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ea565b610c46338561070286856121d4565b5060019392505050565b6000610653338484611097565b6000610c6761126f565b6105ae6000805160206122b983398151915283610b4a565b60008181526007602052604081206105ae90611771565b83421115610ce65760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106ea565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d158c61177b565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d70826117a3565b90506000610d80828787876117f1565b9050896001600160a01b0316816001600160a01b031614610de35760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106ea565b610dee8a8a8a610f72565b50505050505050505050565b61084a828261199a565b610e0c61126f565b610e1461169c565b6109e1611707565b60606000610e376000805160206122b9833981519152610c7f565b905060008167ffffffffffffffff811115610e6257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e8b578160200160208202803683370190505b50905060005b828110156107f5576000610eb36000805160206122b983398151915283610b2b565b905080838381518110610ed657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101525080610ef981612267565b915050610e91565b610f0961126f565b610f1161169c565b6109b5816116cc565b610f2482826119c0565b5050565b6000610b43836001600160a01b038416611a46565b60006001600160e01b03198216637965db0b60e01b14806105ae57506301ffc9a760e01b6001600160e01b03198316146105ae565b6001600160a01b038316610fd45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ea565b6001600160a01b0382166110355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ea565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166110fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ea565b6001600160a01b03821661115d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ea565b6001600160a01b038316600090815260208190526040902054818110156111d55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ea565b6111df82826121d4565b6001600160a01b03808616600090815260208190526040808220939093559085168152908120805484929061121590849061219d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161126191815260200190565b60405180910390a350505050565b600854610100900460ff166109f55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ea565b6000828152600660205260409020600101546112e28133611a95565b61081e83836119c0565b60007f000000000000000000000000000000000000000000000000000000000000008946141561133b57507f07f09ade2123e8338ab169f88b68af45d13f3a6051cdd56693590ef74b10ae8290565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f79e81012ce520b674e1e65c76fbcf2f46a0b96fbf1aaa17c9ef3c5f07b75456e828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038116331461144f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106ea565b610f248282611af9565b6000610b43836001600160a01b038416611b60565b6001600160a01b0382166114c45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ea565b80600260008282546114d6919061219d565b90915550506001600160a01b0382166000908152602081905260408120805483929061150390849061219d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166115ad5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ea565b6001600160a01b038216600090815260208190526040902054818110156116215760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ea565b61162b82826121d4565b6001600160a01b038416600090815260208190526040812091909155600280548492906116599084906121d4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161108a565b6008805461ff0019169055565b6116b46000826107fc565b6116cc6000805160206122b9833981519152826107fc565b610977600080516020612299833981519152826107fc565b6116ef600033610840565b6117076000805160206122b983398151915233610840565b6109f560008051602061229983398151915233610840565b6109776000826107fc565b6109f5600033610840565b6000610b438383611c77565b6109776000805160206122b9833981519152826107fc565b6109f56000805160206122b983398151915233610840565b60006105ae825490565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006105ae6117b06112ec565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561186e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106ea565b8360ff16601b148061188357508360ff16601c145b6118da5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106ea565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561192e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119915760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106ea565b95945050505050565b6000828152600660205260409020600101546119b68133611a95565b61081e8383611af9565b6119ca8282610b4a565b610f245760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611a023390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611a8d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105ae565b5060006105ae565b611a9f8282610b4a565b610f2457611ab7816001600160a01b03166014611d0b565b611ac2836020611d0b565b604051602001611ad39291906120a8565b60408051601f198184030181529082905262461bcd60e51b82526106ea9160040161216a565b611b038282610b4a565b15610f245760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611c6d576000611b846001836121d4565b8554909150600090611b98906001906121d4565b90506000866000018281548110611bbf57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611bf057634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260018901909152604090208490558654879080611c3157634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105ae565b60009150506105ae565b81546000908210611cd55760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ea565b826000018281548110611cf857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60606000611d1a8360026121b5565b611d2590600261219d565b67ffffffffffffffff811115611d4b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d75576020820181803683370190505b509050600360fc1b81600081518110611d9e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611ddb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611dff8460026121b5565b611e0a90600161219d565b90505b6001811115611e9e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e4c57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611e7057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e978161221b565b9050611e0d565b508315610b435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106ea565b80356001600160a01b038116811461072757600080fd5b600060208284031215611f15578081fd5b610b4382611eed565b60008060408385031215611f30578081fd5b611f3983611eed565b9150611f4760208401611eed565b90509250929050565b600080600060608486031215611f64578081fd5b611f6d84611eed565b9250611f7b60208501611eed565b9150604084013590509250925092565b600080600080600080600060e0888a031215611fa5578283fd5b611fae88611eed565b9650611fbc60208901611eed565b95506040880135945060608801359350608088013560ff81168114611fdf578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561200e578182fd5b61201783611eed565b946020939093013593505050565b600060208284031215612036578081fd5b5035919050565b6000806040838503121561204f578182fd5b82359150611f4760208401611eed565b60008060408385031215612071578182fd5b50508035926020909101359150565b600060208284031215612091578081fd5b81356001600160e01b031981168114610b43578182fd5b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120e08160178501602088016121eb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516121118160288401602088016121eb565b01602801949350505050565b6020808252825182820181905260009190848201906040850190845b8181101561215e5783516001600160a01b031683529284019291840191600101612139565b50909695505050505050565b60208152600082518060208401526121898160408501602087016121eb565b601f01601f19169190910160400192915050565b600082198211156121b0576121b0612282565b500190565b60008160001904831182151516156121cf576121cf612282565b500290565b6000828210156121e6576121e6612282565b500390565b60005b838110156122065781810151838201526020016121ee565b83811115612215576000848401525b50505050565b60008161222a5761222a612282565b506000190190565b600181811c9082168061224657607f821691505b6020821081141561179d57634e487b7160e01b600052602260045260246000fd5b600060001982141561227b5761227b612282565b5060010190565b634e487b7160e01b600052601160045260246000fdfee4b2a1ba12b0ae46fe120e095faea153cf269e4b012b647a52a09f4e0e45f1796e58ad548d72b425ea94c15f453bf26caddb061d82b2551db7fdd3cefe0e9940a26469706673582212201788b950505e2852c70184efb5183eaa5fb967752940d007659c735405e389ef64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000154a61727669732053796e746865746963204575726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000046a45555200000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tokenName (string): Jarvis Synthetic Euro
Arg [1] : tokenSymbol (string): jEUR
Arg [2] : tokenDecimals (uint8): 18
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [4] : 4a61727669732053796e746865746963204575726f0000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 6a45555200000000000000000000000000000000000000000000000000000000Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingOVERVIEW
The project is focused on the sphere of synthetic assets, more particularly synthetic assets that track Forex. Their goal is to allow users and investors into DeFi to gain exposure to either their local currencies or other stable currencies that are not the USD.
Loading...LoadingMultichain Portfolio | 30 Chains
Chain Token Portfolio % Price Amount Value POL 100.00% $0.357042 10 $3.57 [ Download: CSV Export ][ 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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.