Overview
Max Total Supply
8,863,849.999999999999999949 RELAY
Holders
993 (0.00%)
Market
Price
$0.04 @ 0.000018 ETH
Onchain Market Cap
$395,724.19
Circulating Supply Market Cap
$148,628.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,607.793690906063454084 RELAYValue
$71.78 ( ~0.0291055750514937 Eth) [0.0181%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RelayToken
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.4; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; contract RelayToken is ERC20Burnable, ERC20Capped, ERC20Permit, AccessControlEnumerable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); constructor( string memory name, string memory symbol, uint256 cap ) ERC20Capped(cap) ERC20Permit(name) ERC20(name, symbol) { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); } function _mint(address account, uint256 amount) internal override(ERC20, ERC20Capped) { ERC20Capped._mint(account, amount); } function mint(address account, uint256 amount) public { require(hasRole(MINTER_ROLE, _msgSender()), "RelayToken: must have minter role to mint"); _mint(account, amount); } }
// 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; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// 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 { 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: 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 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; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } // 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: 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 default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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"); unchecked { _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"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `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"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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) { return msg.data; } }
// 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 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, 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. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // 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) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } 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, decremented or reset. 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; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "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] = _HEX_SYMBOLS[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 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: 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"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"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"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
6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200003757600080fd5b506040516200226c3803806200226c8339810160408190526200005a91620004b0565b8280604051806040016040528060018152602001603160f81b81525083868681600390805190602001906200009192919062000357565b508051620000a790600490602084019062000357565b50505060008111620000ff5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b608052815160208084019190912082519183019190912060e08290526101008190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001968184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0526101205250620001b9935060009250620001b39150503390565b620001ee565b620001e57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001ee565b50505062000573565b6200020582826200023160201b62000a371760201c565b60008281526007602090815260409091206200022c91839062000a4162000241821b17901c565b505050565b6200023d828262000261565b5050565b600062000258836001600160a01b03841662000305565b90505b92915050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200023d5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002c13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200034e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200025b565b5060006200025b565b828054620003659062000520565b90600052602060002090601f016020900481019282620003895760008555620003d4565b82601f10620003a457805160ff1916838001178555620003d4565b82800160010185558215620003d4579182015b82811115620003d4578251825591602001919060010190620003b7565b50620003e2929150620003e6565b5090565b5b80821115620003e25760008155600101620003e7565b600082601f8301126200040e578081fd5b81516001600160401b03808211156200042b576200042b6200055d565b604051601f8301601f19908116603f011681019082821181831017156200045657620004566200055d565b8160405283815260209250868385880101111562000472578485fd5b8491505b8382101562000495578582018301518183018401529082019062000476565b83821115620004a657848385830101525b9695505050505050565b600080600060608486031215620004c5578283fd5b83516001600160401b0380821115620004dc578485fd5b620004ea87838801620003fd565b9450602086015191508082111562000500578384fd5b506200050f86828701620003fd565b925050604084015190509250925092565b600181811c908216806200053557607f821691505b602082108114156200055757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e051610100516101205161014051611c97620005d5600039600061091d01526000610dfb01526000610e4a01526000610e2501526000610da901526000610dd201526000818161028701526115990152611c976000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d505accf11610071578063d505accf146103d5578063d5391393146103e8578063d547741f1461040f578063dd62ed3e1461042257600080fd5b8063a457c2d71461039c578063a9059cbb146103af578063ca15c873146103c257600080fd5b80639010d07c116100d35780639010d07c1461034e57806391d148541461037957806395d89b411461038c578063a217fddf1461039457600080fd5b806370a08231146102ff57806379cc6790146103285780637ecebe001461033b57600080fd5b8063313ce5671161016657806336568abe1161014057806336568abe146102b357806339509351146102c657806340c10f19146102d957806342966c68146102ec57600080fd5b8063313ce56714610276578063355274ea146102855780633644e515146102ab57600080fd5b806318160ddd116101a257806318160ddd1461021957806323b872dd1461022b578063248a9ca31461023e5780632f2ff15d1461026157600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d7366004611ab5565b61045b565b60405190151581526020015b60405180910390f35b6101f9610486565b6040516101e89190611b52565b6101dc610214366004611a31565b610518565b6002545b6040519081526020016101e8565b6101dc610239366004611985565b61052e565b61021d61024c366004611a5a565b60009081526006602052604090206001015490565b61027461026f366004611a72565b6105dd565b005b604051601281526020016101e8565b7f000000000000000000000000000000000000000000000000000000000000000061021d565b61021d610604565b6102746102c1366004611a72565b610613565b6101dc6102d4366004611a31565b610635565b6102746102e7366004611a31565b610671565b6102746102fa366004611a5a565b610707565b61021d61030d366004611939565b6001600160a01b031660009081526020819052604090205490565b610274610336366004611a31565b610714565b61021d610349366004611939565b610795565b61036161035c366004611a94565b6107b3565b6040516001600160a01b0390911681526020016101e8565b6101dc610387366004611a72565b6107d2565b6101f96107fd565b61021d600081565b6101dc6103aa366004611a31565b61080c565b6101dc6103bd366004611a31565b6108a5565b61021d6103d0366004611a5a565b6108b2565b6102746103e33660046119c0565b6108c9565b61021d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027461041d366004611a72565b610a2d565b61021d610430366004611953565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216635a05180f60e01b1480610480575061048082610a56565b92915050565b60606003805461049590611c16565b80601f01602080910402602001604051908101604052809291908181526020018280546104c190611c16565b801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b6000610525338484610a8b565b50600192915050565b600061053b848484610baf565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105c55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105d28533858403610a8b565b506001949350505050565b6105e78282610d7f565b60008281526007602052604090206105ff9082610a41565b505050565b600061060e610da5565b905090565b61061d8282610e98565b60008281526007602052604090206105ff9082610f12565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161052591859061066c908690611b85565b610a8b565b61069b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336107d2565b6106f95760405162461bcd60e51b815260206004820152602960248201527f52656c6179546f6b656e3a206d7573742068617665206d696e74657220726f6c60448201526819481d1bc81b5a5b9d60ba1b60648201526084016105bc565b6107038282610f27565b5050565b6107113382610f31565b50565b60006107208333610430565b90508181101561077e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105bc565b61078b8333848403610a8b565b6105ff8383610f31565b6001600160a01b038116600090815260056020526040812054610480565b60008281526007602052604081206107cb908361107f565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461049590611c16565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561088e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105bc565b61089b3385858403610a8b565b5060019392505050565b6000610525338484610baf565b60008181526007602052604081206104809061108b565b834211156109195760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105bc565b60007f00000000000000000000000000000000000000000000000000000000000000008888886109488c611095565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006109a3826110bd565b905060006109b38287878761110b565b9050896001600160a01b0316816001600160a01b031614610a165760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105bc565b610a218a8a8a610a8b565b50505050505050505050565b61061d82826112b4565b61070382826112da565b60006107cb836001600160a01b038416611360565b60006001600160e01b03198216637965db0b60e01b148061048057506301ffc9a760e01b6001600160e01b0319831614610480565b6001600160a01b038316610aed5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105bc565b6001600160a01b038216610b4e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105bc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105bc565b6001600160a01b038216610c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105bc565b6001600160a01b03831660009081526020819052604090205481811015610ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105bc565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d24908490611b85565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d7091815260200190565b60405180910390a35b50505050565b600082815260066020526040902060010154610d9b81336113af565b6105ff83836112da565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610df457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b0381163314610f085760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bc565b6107038282611413565b60006107cb836001600160a01b03841661147a565b6107038282611597565b6001600160a01b038216610f915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105bc565b6001600160a01b038216600090815260208190526040902054818110156110055760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105bc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611034908490611bbc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60006107cb8383611624565b6000610480825490565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006104806110ca610da5565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156111885760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105bc565b8360ff16601b148061119d57508360ff16601c145b6111f45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105bc565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611248573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105bc565b95945050505050565b6000828152600660205260409020600101546112d081336113af565b6105ff8383611413565b6112e482826107d2565b6107035760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561131c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546113a757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610480565b506000610480565b6113b982826107d2565b610703576113d1816001600160a01b0316601461165c565b6113dc83602061165c565b6040516020016113ed929190611add565b60408051601f198184030181529082905262461bcd60e51b82526105bc91600401611b52565b61141d82826107d2565b156107035760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561158d57600061149e600183611bbc565b85549091506000906114b290600190611bbc565b90508181146115335760008660000182815481106114e057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061151157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061155257634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610480565b6000915050610480565b7f0000000000000000000000000000000000000000000000000000000000000000816115c260025490565b6115cc9190611b85565b111561161a5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016105bc565b610703828261183e565b600082600001828154811061164957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6060600061166b836002611b9d565b611676906002611b85565b67ffffffffffffffff81111561169c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116c6576020820181803683370190505b509050600360fc1b816000815181106116ef57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061172c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611750846002611b9d565b61175b906001611b85565b90505b60018111156117ef576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061179d57634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106117c157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117e881611bff565b905061175e565b5083156107cb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bc565b6001600160a01b0382166118945760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105bc565b80600260008282546118a69190611b85565b90915550506001600160a01b038216600090815260208190526040812080548392906118d3908490611b85565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461193457600080fd5b919050565b60006020828403121561194a578081fd5b6107cb8261191d565b60008060408385031215611965578081fd5b61196e8361191d565b915061197c6020840161191d565b90509250929050565b600080600060608486031215611999578081fd5b6119a28461191d565b92506119b06020850161191d565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119da578283fd5b6119e38861191d565b96506119f16020890161191d565b95506040880135945060608801359350608088013560ff81168114611a14578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a43578182fd5b611a4c8361191d565b946020939093013593505050565b600060208284031215611a6b578081fd5b5035919050565b60008060408385031215611a84578182fd5b8235915061197c6020840161191d565b60008060408385031215611aa6578182fd5b50508035926020909101359150565b600060208284031215611ac6578081fd5b81356001600160e01b0319811681146107cb578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b15816017850160208801611bd3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b46816028840160208801611bd3565b01602801949350505050565b6020815260008251806020840152611b71816040850160208701611bd3565b601f01601f19169190910160400192915050565b60008219821115611b9857611b98611c4b565b500190565b6000816000190483118215151615611bb757611bb7611c4b565b500290565b600082821015611bce57611bce611c4b565b500390565b60005b83811015611bee578181015183820152602001611bd6565b83811115610d795750506000910152565b600081611c0e57611c0e611c4b565b506000190190565b600181811c90821680611c2a57607f821691505b602082108114156110b757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212201de4b5b1720340948c6702d40596cd4fc90a53a534451db092bb93bf047b098a64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000000000000000000000000000000000000000000b52656c617920546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000552454c4159000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d505accf11610071578063d505accf146103d5578063d5391393146103e8578063d547741f1461040f578063dd62ed3e1461042257600080fd5b8063a457c2d71461039c578063a9059cbb146103af578063ca15c873146103c257600080fd5b80639010d07c116100d35780639010d07c1461034e57806391d148541461037957806395d89b411461038c578063a217fddf1461039457600080fd5b806370a08231146102ff57806379cc6790146103285780637ecebe001461033b57600080fd5b8063313ce5671161016657806336568abe1161014057806336568abe146102b357806339509351146102c657806340c10f19146102d957806342966c68146102ec57600080fd5b8063313ce56714610276578063355274ea146102855780633644e515146102ab57600080fd5b806318160ddd116101a257806318160ddd1461021957806323b872dd1461022b578063248a9ca31461023e5780632f2ff15d1461026157600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d7366004611ab5565b61045b565b60405190151581526020015b60405180910390f35b6101f9610486565b6040516101e89190611b52565b6101dc610214366004611a31565b610518565b6002545b6040519081526020016101e8565b6101dc610239366004611985565b61052e565b61021d61024c366004611a5a565b60009081526006602052604090206001015490565b61027461026f366004611a72565b6105dd565b005b604051601281526020016101e8565b7f000000000000000000000000000000000000000000084595161401484a00000061021d565b61021d610604565b6102746102c1366004611a72565b610613565b6101dc6102d4366004611a31565b610635565b6102746102e7366004611a31565b610671565b6102746102fa366004611a5a565b610707565b61021d61030d366004611939565b6001600160a01b031660009081526020819052604090205490565b610274610336366004611a31565b610714565b61021d610349366004611939565b610795565b61036161035c366004611a94565b6107b3565b6040516001600160a01b0390911681526020016101e8565b6101dc610387366004611a72565b6107d2565b6101f96107fd565b61021d600081565b6101dc6103aa366004611a31565b61080c565b6101dc6103bd366004611a31565b6108a5565b61021d6103d0366004611a5a565b6108b2565b6102746103e33660046119c0565b6108c9565b61021d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027461041d366004611a72565b610a2d565b61021d610430366004611953565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216635a05180f60e01b1480610480575061048082610a56565b92915050565b60606003805461049590611c16565b80601f01602080910402602001604051908101604052809291908181526020018280546104c190611c16565b801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b6000610525338484610a8b565b50600192915050565b600061053b848484610baf565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105c55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105d28533858403610a8b565b506001949350505050565b6105e78282610d7f565b60008281526007602052604090206105ff9082610a41565b505050565b600061060e610da5565b905090565b61061d8282610e98565b60008281526007602052604090206105ff9082610f12565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161052591859061066c908690611b85565b610a8b565b61069b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336107d2565b6106f95760405162461bcd60e51b815260206004820152602960248201527f52656c6179546f6b656e3a206d7573742068617665206d696e74657220726f6c60448201526819481d1bc81b5a5b9d60ba1b60648201526084016105bc565b6107038282610f27565b5050565b6107113382610f31565b50565b60006107208333610430565b90508181101561077e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105bc565b61078b8333848403610a8b565b6105ff8383610f31565b6001600160a01b038116600090815260056020526040812054610480565b60008281526007602052604081206107cb908361107f565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461049590611c16565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561088e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105bc565b61089b3385858403610a8b565b5060019392505050565b6000610525338484610baf565b60008181526007602052604081206104809061108b565b834211156109195760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105bc565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886109488c611095565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006109a3826110bd565b905060006109b38287878761110b565b9050896001600160a01b0316816001600160a01b031614610a165760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105bc565b610a218a8a8a610a8b565b50505050505050505050565b61061d82826112b4565b61070382826112da565b60006107cb836001600160a01b038416611360565b60006001600160e01b03198216637965db0b60e01b148061048057506301ffc9a760e01b6001600160e01b0319831614610480565b6001600160a01b038316610aed5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105bc565b6001600160a01b038216610b4e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105bc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105bc565b6001600160a01b038216610c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105bc565b6001600160a01b03831660009081526020819052604090205481811015610ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105bc565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d24908490611b85565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d7091815260200190565b60405180910390a35b50505050565b600082815260066020526040902060010154610d9b81336113af565b6105ff83836112da565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610df457507f36a50b32389720cc61797bc926b2da9b46941e5d8fdb55d30a9be38e1a82172f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f884ca458a709ef6cf76df9d892a2ac759f6fecc78a6d225b062eb0ae79a0b4ae828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b0381163314610f085760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bc565b6107038282611413565b60006107cb836001600160a01b03841661147a565b6107038282611597565b6001600160a01b038216610f915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105bc565b6001600160a01b038216600090815260208190526040902054818110156110055760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105bc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611034908490611bbc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60006107cb8383611624565b6000610480825490565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006104806110ca610da5565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156111885760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105bc565b8360ff16601b148061119d57508360ff16601c145b6111f45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105bc565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611248573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105bc565b95945050505050565b6000828152600660205260409020600101546112d081336113af565b6105ff8383611413565b6112e482826107d2565b6107035760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561131c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546113a757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610480565b506000610480565b6113b982826107d2565b610703576113d1816001600160a01b0316601461165c565b6113dc83602061165c565b6040516020016113ed929190611add565b60408051601f198184030181529082905262461bcd60e51b82526105bc91600401611b52565b61141d82826107d2565b156107035760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561158d57600061149e600183611bbc565b85549091506000906114b290600190611bbc565b90508181146115335760008660000182815481106114e057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061151157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061155257634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610480565b6000915050610480565b7f000000000000000000000000000000000000000000084595161401484a000000816115c260025490565b6115cc9190611b85565b111561161a5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016105bc565b610703828261183e565b600082600001828154811061164957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6060600061166b836002611b9d565b611676906002611b85565b67ffffffffffffffff81111561169c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116c6576020820181803683370190505b509050600360fc1b816000815181106116ef57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061172c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611750846002611b9d565b61175b906001611b85565b90505b60018111156117ef576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061179d57634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106117c157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117e881611bff565b905061175e565b5083156107cb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bc565b6001600160a01b0382166118945760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105bc565b80600260008282546118a69190611b85565b90915550506001600160a01b038216600090815260208190526040812080548392906118d3908490611b85565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461193457600080fd5b919050565b60006020828403121561194a578081fd5b6107cb8261191d565b60008060408385031215611965578081fd5b61196e8361191d565b915061197c6020840161191d565b90509250929050565b600080600060608486031215611999578081fd5b6119a28461191d565b92506119b06020850161191d565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119da578283fd5b6119e38861191d565b96506119f16020890161191d565b95506040880135945060608801359350608088013560ff81168114611a14578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a43578182fd5b611a4c8361191d565b946020939093013593505050565b600060208284031215611a6b578081fd5b5035919050565b60008060408385031215611a84578182fd5b8235915061197c6020840161191d565b60008060408385031215611aa6578182fd5b50508035926020909101359150565b600060208284031215611ac6578081fd5b81356001600160e01b0319811681146107cb578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b15816017850160208801611bd3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b46816028840160208801611bd3565b01602801949350505050565b6020815260008251806020840152611b71816040850160208701611bd3565b601f01601f19169190910160400192915050565b60008219821115611b9857611b98611c4b565b500190565b6000816000190483118215151615611bb757611bb7611c4b565b500290565b600082821015611bce57611bce611c4b565b500390565b60005b83811015611bee578181015183820152602001611bd6565b83811115610d795750506000910152565b600081611c0e57611c0e611c4b565b506000190190565b600181811c90821680611c2a57607f821691505b602082108114156110b757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212201de4b5b1720340948c6702d40596cd4fc90a53a534451db092bb93bf047b098a64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000000000000000000000000000000000000000000b52656c617920546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000552454c4159000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Relay Token
Arg [1] : symbol (string): RELAY
Arg [2] : cap (uint256): 10000000000000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000084595161401484a000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 52656c617920546f6b656e000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 52454c4159000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
321:766:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;817:212:1;;;;;;:::i;:::-;;:::i;:::-;;;4792:14:18;;4785:22;4767:41;;4755:2;4740:18;817:212:1;;;;;;;;2074:98:2;;;:::i;:::-;;;;;;;:::i;4171:166::-;;;;;;:::i;:::-;;:::i;3162:106::-;3249:12;;3162:106;;;4965:25:18;;;4953:2;4938:18;3162:106:2;4920:76:18;4804:478:2;;;;;;:::i;:::-;;:::i;5447:121:0:-;;;;;;:::i;:::-;5513:7;5539:12;;;:6;:12;;;;;:22;;;;5447:121;2144:162:1;;;;;;:::i;:::-;;:::i;:::-;;3011:91:2;;;3093:2;15033:36:18;;15021:2;15006:18;3011:91:2;14988:87:18;561:81:5;631:4;561:81;;2426:113:7;;;:::i;2651:171:1:-;;;;;;:::i;:::-;;:::i;5677:212:2:-;;;;;;:::i;:::-;;:::i;894:191:17:-;;;;;;:::i;:::-;;:::i;487:89:4:-;;;;;;:::i;:::-;;:::i;3326:125:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3426:18:2;3400:7;3426:18;;;;;;;;;;;;3326:125;882:361:4;;;;;;:::i;:::-;;:::i;2176:126:7:-;;;;;;:::i;:::-;;:::i;1614:143:1:-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4583:32:18;;;4565:51;;4553:2;4538:18;1614:143:1;4520:102:18;4364:137:0;;;;;;:::i;:::-;;:::i;2285:102:2:-;;;:::i;2396:49:0:-;;2441:4;2396:49;;6376:405:2;;;;;;:::i;:::-;;:::i;3654:172::-;;;;;;:::i;:::-;;:::i;1925:132:1:-;;;;;;:::i;:::-;;:::i;1489:626:7:-;;;;;;:::i;:::-;;:::i;415:62:17:-;;453:24;415:62;;2394:167:1;;;;;;:::i;:::-;;:::i;3884:149:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3999:18:2;;;3973:7;3999:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3884:149;817:212:1;902:4;-1:-1:-1;;;;;;925:57:1;;-1:-1:-1;;;925:57:1;;:97;;;986:36;1010:11;986:23;:36::i;:::-;918:104;817:212;-1:-1:-1;;817:212:1:o;2074:98:2:-;2128:13;2160:5;2153:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2074:98;:::o;4171:166::-;4254:4;4270:39;665:10:9;4293:7:2;4302:6;4270:8;:39::i;:::-;-1:-1:-1;4326:4:2;4171:166;;;;:::o;4804:478::-;4940:4;4956:36;4966:6;4974:9;4985:6;4956:9;:36::i;:::-;-1:-1:-1;;;;;5030:19:2;;5003:24;5030:19;;;:11;:19;;;;;;;;665:10:9;5030:33:2;;;;;;;;5081:26;;;;5073:79;;;;-1:-1:-1;;;5073:79:2;;11348:2:18;5073:79:2;;;11330:21:18;11387:2;11367:18;;;11360:30;11426:34;11406:18;;;11399:62;-1:-1:-1;;;11477:18:18;;;11470:38;11525:19;;5073:79:2;;;;;;;;;5186:57;5195:6;665:10:9;5236:6:2;5217:16;:25;5186:8;:57::i;:::-;-1:-1:-1;5271:4:2;;4804:478;-1:-1:-1;;;;4804:478:2:o;2144:162:1:-;2228:30;2244:4;2250:7;2228:15;:30::i;:::-;2268:18;;;;:12;:18;;;;;:31;;2291:7;2268:22;:31::i;:::-;;2144:162;;:::o;2426:113:7:-;2486:7;2512:20;:18;:20::i;:::-;2505:27;;2426:113;:::o;2651:171:1:-;2738:33;2757:4;2763:7;2738:18;:33::i;:::-;2781:18;;;;:12;:18;;;;;:34;;2807:7;2781:25;:34::i;5677:212:2:-;665:10:9;5765:4:2;5813:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;5813:34:2;;;;;;;;;;5765:4;;5781:80;;5804:7;;5813:47;;5850:10;;5813:47;:::i;:::-;5781:8;:80::i;894:191:17:-;966:34;453:24;665:10:9;4364:137:0;:::i;966:34:17:-;958:88;;;;-1:-1:-1;;;958:88:17;;9773:2:18;958:88:17;;;9755:21:18;9812:2;9792:18;;;9785:30;9851:34;9831:18;;;9824:62;-1:-1:-1;;;9902:18:18;;;9895:39;9951:19;;958:88:17;9745:231:18;958:88:17;1056:22;1062:7;1071:6;1056:5;:22::i;:::-;894:191;;:::o;487:89:4:-;542:27;665:10:9;562:6:4;542:5;:27::i;:::-;487:89;:::o;882:361::-;958:24;985:32;995:7;665:10:9;3884:149:2;:::i;985:32:4:-;958:59;;1055:6;1035:16;:26;;1027:75;;;;-1:-1:-1;;;1027:75:4;;11757:2:18;1027:75:4;;;11739:21:18;11796:2;11776:18;;;11769:30;11835:34;11815:18;;;11808:62;-1:-1:-1;;;11886:18:18;;;11879:34;11930:19;;1027:75:4;11729:226:18;1027:75:4;1136:58;1145:7;665:10:9;1187:6:4;1168:16;:25;1136:8;:58::i;:::-;1214:22;1220:7;1229:6;1214:5;:22::i;2176:126:7:-;-1:-1:-1;;;;;2271:14:7;;2245:7;2271:14;;;:7;:14;;;;;864::10;2271:24:7;773:112:10;1614:143:1;1696:7;1722:18;;;:12;:18;;;;;:28;;1744:5;1722:21;:28::i;:::-;1715:35;1614:143;-1:-1:-1;;;1614:143:1:o;4364:137:0:-;4442:4;4465:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;4465:29:0;;;;;;;;;;;;;;;4364:137::o;2285:102:2:-;2341:13;2373:7;2366:14;;;;;:::i;6376:405::-;665:10:9;6469:4:2;6512:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6512:34:2;;;;;;;;;;6564:35;;;;6556:85;;;;-1:-1:-1;;;6556:85:2;;13729:2:18;6556:85:2;;;13711:21:18;13768:2;13748:18;;;13741:30;13807:34;13787:18;;;13780:62;-1:-1:-1;;;13858:18:18;;;13851:35;13903:19;;6556:85:2;13701:227:18;6556:85:2;6675:67;665:10:9;6698:7:2;6726:15;6707:16;:34;6675:8;:67::i;:::-;-1:-1:-1;6770:4:2;;6376:405;-1:-1:-1;;;6376:405:2:o;3654:172::-;3740:4;3756:42;665:10:9;3780:9:2;3791:6;3756:9;:42::i;1925:132:1:-;1997:7;2023:18;;;:12;:18;;;;;:27;;:25;:27::i;1489:626:7:-;1724:8;1705:15;:27;;1697:69;;;;-1:-1:-1;;;1697:69:7;;9008:2:18;1697:69:7;;;8990:21:18;9047:2;9027:18;;;9020:30;9086:31;9066:18;;;9059:59;9135:18;;1697:69:7;8980:179:18;1697:69:7;1777:18;1819:16;1837:5;1844:7;1853:5;1860:16;1870:5;1860:9;:16::i;:::-;1808:79;;;;;;5288:25:18;;;;-1:-1:-1;;;;;5387:15:18;;;5367:18;;;5360:43;5439:15;;;;5419:18;;;5412:43;5471:18;;;5464:34;5514:19;;;5507:35;5558:19;;;5551:35;;;5260:19;;1808:79:7;;;;;;;;;;;;1798:90;;;;;;1777:111;;1899:12;1914:28;1931:10;1914:16;:28::i;:::-;1899:43;;1953:14;1970:28;1984:4;1990:1;1993;1996;1970:13;:28::i;:::-;1953:45;;2026:5;-1:-1:-1;;;;;2016:15:7;:6;-1:-1:-1;;;;;2016:15:7;;2008:58;;;;-1:-1:-1;;;2008:58:7;;10989:2:18;2008:58:7;;;10971:21:18;11028:2;11008:18;;;11001:30;11067:32;11047:18;;;11040:60;11117:18;;2008:58:7;10961:180:18;2008:58:7;2077:31;2086:5;2093:7;2102:5;2077:8;:31::i;:::-;1489:626;;;;;;;;;;:::o;2394:167:1:-;2479:31;2496:4;2502:7;2479:16;:31::i;7614:110:0:-;7692:25;7703:4;7709:7;7692:10;:25::i;6232:150:16:-;6302:4;6325:50;6330:3;-1:-1:-1;;;;;6350:23:16;;6325:4;:50::i;4075:202:0:-;4160:4;-1:-1:-1;;;;;;4183:47:0;;-1:-1:-1;;;4183:47:0;;:87;;-1:-1:-1;;;;;;;;;;871:40:14;;;4234:36:0;763:155:14;9952:370:2;-1:-1:-1;;;;;10083:19:2;;10075:68;;;;-1:-1:-1;;;10075:68:2;;13324:2:18;10075:68:2;;;13306:21:18;13363:2;13343:18;;;13336:30;13402:34;13382:18;;;13375:62;-1:-1:-1;;;13453:18:18;;;13446:34;13497:19;;10075:68:2;13296:226:18;10075:68:2;-1:-1:-1;;;;;10161:21:2;;10153:68;;;;-1:-1:-1;;;10153:68:2;;8605:2:18;10153:68:2;;;8587:21:18;8644:2;8624:18;;;8617:30;8683:34;8663:18;;;8656:62;-1:-1:-1;;;8734:18:18;;;8727:32;8776:19;;10153:68:2;8577:224:18;10153:68:2;-1:-1:-1;;;;;10232:18:2;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10283:32;;4965:25:18;;;10283:32:2;;4938:18:18;10283:32:2;;;;;;;9952:370;;;:::o;7255:713::-;-1:-1:-1;;;;;7390:20:2;;7382:70;;;;-1:-1:-1;;;7382:70:2;;12564:2:18;7382:70:2;;;12546:21:18;12603:2;12583:18;;;12576:30;12642:34;12622:18;;;12615:62;-1:-1:-1;;;12693:18:18;;;12686:35;12738:19;;7382:70:2;12536:227:18;7382:70:2;-1:-1:-1;;;;;7470:23:2;;7462:71;;;;-1:-1:-1;;;7462:71:2;;7798:2:18;7462:71:2;;;7780:21:18;7837:2;7817:18;;;7810:30;7876:34;7856:18;;;7849:62;-1:-1:-1;;;7927:18:18;;;7920:33;7970:19;;7462:71:2;7770:225:18;7462:71:2;-1:-1:-1;;;;;7626:17:2;;7602:21;7626:17;;;;;;;;;;;7661:23;;;;7653:74;;;;-1:-1:-1;;;7653:74:2;;9366:2:18;7653:74:2;;;9348:21:18;9405:2;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;-1:-1:-1;;;9495:18:18;;;9488:36;9541:19;;7653:74:2;9338:228:18;7653:74:2;-1:-1:-1;;;;;7761:17:2;;;:9;:17;;;;;;;;;;;7781:22;;;7761:42;;7823:20;;;;;;;;:30;;7797:6;;7761:9;7823:30;;7797:6;;7823:30;:::i;:::-;;;;;;;;7886:9;-1:-1:-1;;;;;7869:35:2;7878:6;-1:-1:-1;;;;;7869:35:2;;7897:6;7869:35;;;;4965:25:18;;4953:2;4938:18;;4920:76;7869:35:2;;;;;;;;7915:46;7255:713;;;;:::o;5818:145:0:-;5513:7;5539:12;;;:6;:12;;;;;:22;;;3960:30;3971:4;665:10:9;3960::0;:30::i;:::-;5931:25:::1;5942:4;5948:7;5931:10;:25::i;2990:275:13:-:0;3043:7;3083:16;3066:13;:33;3062:197;;;-1:-1:-1;3122:24:13;;2990:275::o;3062:197::-;-1:-1:-1;3447:73:13;;;3206:10;3447:73;;;;5856:25:18;;;;3218:12:13;5897:18:18;;;5890:34;3232:15:13;5940:18:18;;;5933:34;3491:13:13;5983:18:18;;;5976:34;3514:4:13;6026:19:18;;;;6019:61;;;;3447:73:13;;;;;;;;;;5828:19:18;;;;3447:73:13;;;3437:84;;;;;;2426:113:7:o;6835:214:0:-;-1:-1:-1;;;;;6930:23:0;;665:10:9;6930:23:0;6922:83;;;;-1:-1:-1;;;6922:83:0;;14135:2:18;6922:83:0;;;14117:21:18;14174:2;14154:18;;;14147:30;14213:34;14193:18;;;14186:62;-1:-1:-1;;;14264:18:18;;;14257:45;14319:19;;6922:83:0;14107:237:18;6922:83:0;7016:26;7028:4;7034:7;7016:11;:26::i;6550:156:16:-;6623:4;6646:53;6654:3;-1:-1:-1;;;;;6674:23:16;;6646:7;:53::i;751:137:17:-;847:34;865:7;874:6;847:17;:34::i;8953:576:2:-;-1:-1:-1;;;;;9036:21:2;;9028:67;;;;-1:-1:-1;;;9028:67:2;;12162:2:18;9028:67:2;;;12144:21:18;12201:2;12181:18;;;12174:30;12240:34;12220:18;;;12213:62;-1:-1:-1;;;12291:18:18;;;12284:31;12332:19;;9028:67:2;12134:223:18;9028:67:2;-1:-1:-1;;;;;9191:18:2;;9166:22;9191:18;;;;;;;;;;;9227:24;;;;9219:71;;;;-1:-1:-1;;;9219:71:2;;8202:2:18;9219:71:2;;;8184:21:18;8241:2;8221:18;;;8214:30;8280:34;8260:18;;;8253:62;-1:-1:-1;;;8331:18:18;;;8324:32;8373:19;;9219:71:2;8174:224:18;9219:71:2;-1:-1:-1;;;;;9324:18:2;;:9;:18;;;;;;;;;;9345:23;;;9324:44;;9388:12;:22;;9362:6;;9324:9;9388:22;;9362:6;;9388:22;:::i;:::-;;;;-1:-1:-1;;9426:37:2;;4965:25:18;;;9452:1:2;;-1:-1:-1;;;;;9426:37:2;;;;;4953:2:18;4938:18;9426:37:2;;;;;;;2268:31:1;2144:162;;:::o;7490:156:16:-;7564:7;7614:22;7618:3;7630:5;7614:3;:22::i;7033:115::-;7096:7;7122:19;7130:3;3961:18;;3879:107;2670:203:7;-1:-1:-1;;;;;2790:14:7;;2730:15;2790:14;;;:7;:14;;;;;864::10;;996:1;978:19;;;;864:14;2849:17:7;2670:203;;;;:::o;4153:165:13:-;4230:7;4256:55;4278:20;:18;:20::i;:::-;4300:10;5774:57:12;;-1:-1:-1;;;5774:57:12;;;3489:27:18;3532:11;;;3525:27;;;3568:12;;;3561:28;;;5738:7:12;;3605:12:18;;5774:57:12;;;;;;;;;;;;5764:68;;;;;;5757:75;;5645:194;;;;;3265:1486;3388:7;4316:66;4302:80;;;4281:161;;;;-1:-1:-1;;;4281:161:12;;10183:2:18;4281:161:12;;;10165:21:18;10222:2;10202:18;;;10195:30;10261:34;10241:18;;;10234:62;-1:-1:-1;;;10312:18:18;;;10305:32;10354:19;;4281:161:12;10155:224:18;4281:161:12;4460:1;:7;;4465:2;4460:7;:18;;;;4471:1;:7;;4476:2;4471:7;4460:18;4452:65;;;;-1:-1:-1;;;4452:65:12;;10586:2:18;4452:65:12;;;10568:21:18;10625:2;10605:18;;;10598:30;10664:34;10644:18;;;10637:62;-1:-1:-1;;;10715:18:18;;;10708:32;10757:19;;4452:65:12;10558:224:18;4452:65:12;4629:24;;;4612:14;4629:24;;;;;;;;;6318:25:18;;;6391:4;6379:17;;6359:18;;;6352:45;;;;6413:18;;;6406:34;;;6456:18;;;6449:34;;;4629:24:12;;6290:19:18;;4629:24:12;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4629:24:12;;-1:-1:-1;;4629:24:12;;;-1:-1:-1;;;;;;;4671:20:12;;4663:57;;;;-1:-1:-1;;;4663:57:12;;7084:2:18;4663:57:12;;;7066:21:18;7123:2;7103:18;;;7096:30;7162:26;7142:18;;;7135:54;7206:18;;4663:57:12;7056:174:18;4663:57:12;4738:6;3265:1486;-1:-1:-1;;;;;3265:1486:12:o;6197:147:0:-;5513:7;5539:12;;;:6;:12;;;;;:22;;;3960:30;3971:4;665:10:9;3960::0;:30::i;:::-;6311:26:::1;6323:4;6329:7;6311:11;:26::i;8047:224::-:0;8121:22;8129:4;8135:7;8121;:22::i;:::-;8116:149;;8159:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;8159:29:0;;;;;;;;;:36;;-1:-1:-1;;8159:36:0;8191:4;8159:36;;;8241:12;665:10:9;;586:96;8241:12:0;-1:-1:-1;;;;;8214:40:0;8232:7;-1:-1:-1;;;;;8214:40:0;8226:4;8214:40;;;;;;;;;;8047:224;;:::o;1630:404:16:-;1693:4;3767:19;;;:12;;;:19;;;;;;1709:319;;-1:-1:-1;1751:23:16;;;;;;;;:11;:23;;;;;;;;;;;;;1931:18;;1909:19;;;:12;;;:19;;;;;;:40;;;;1963:11;;1709:319;-1:-1:-1;2012:5:16;2005:12;;4782:484:0;4862:22;4870:4;4876:7;4862;:22::i;:::-;4857:403;;5045:41;5073:7;-1:-1:-1;;;;;5045:41:0;5083:2;5045:19;:41::i;:::-;5157:38;5185:4;5192:2;5157:19;:38::i;:::-;4952:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4952:265:0;;;;;;;;;;-1:-1:-1;;;4900:349:0;;;;;;;:::i;8277:225::-;8351:22;8359:4;8365:7;8351;:22::i;:::-;8347:149;;;8421:5;8389:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;8389:29:0;;;;;;;;;;:37;;-1:-1:-1;;8389:37:0;;;8445:40;665:10:9;;8389:12:0;;8445:40;;8421:5;8445:40;8277:225;;:::o;2202:1388:16:-;2268:4;2405:19;;;:12;;;:19;;;;;;2439:15;;2435:1149;;2808:21;2832:14;2845:1;2832:10;:14;:::i;:::-;2880:18;;2808:38;;-1:-1:-1;2860:17:16;;2880:22;;2901:1;;2880:22;:::i;:::-;2860:42;;2934:13;2921:9;:26;2917:398;;2967:17;2987:3;:11;;2999:9;2987:22;;;;;;-1:-1:-1;;;2987:22:16;;;;;;;;;;;;;;;;;2967:42;;3138:9;3109:3;:11;;3121:13;3109:26;;;;;;-1:-1:-1;;;3109:26:16;;;;;;;;;;;;;;;;;;;;:38;;;;3221:23;;;:12;;;:23;;;;;:36;;;2917:398;3393:17;;:3;;:17;;;-1:-1:-1;;;3393:17:16;;;;;;;;;;;;;;;;;;;;;;;;;;3485:3;:12;;:19;3498:5;3485:19;;;;;;;;;;;3478:26;;;3526:4;3519:11;;;;;;;2435:1149;3568:5;3561:12;;;;;695:204:5;631:4;809:6;787:19;3249:12:2;;;3162:106;787:19:5;:28;;;;:::i;:::-;:37;;779:75;;;;-1:-1:-1;;;779:75:5;;12970:2:18;779:75:5;;;12952:21:18;13009:2;12989:18;;;12982:30;13048:27;13028:18;;;13021:55;13093:18;;779:75:5;12942:175:18;779:75:5;864:28;876:7;885:6;864:11;:28::i;4328:118:16:-;4395:7;4421:3;:11;;4433:5;4421:18;;;;;;-1:-1:-1;;;4421:18:16;;;;;;;;;;;;;;;;;4414:25;;4328:118;;;;:::o;1535:441:11:-;1610:13;1635:19;1667:10;1671:6;1667:1;:10;:::i;:::-;:14;;1680:1;1667:14;:::i;:::-;1657:25;;;;;;-1:-1:-1;;;1657:25:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1657:25:11;;1635:47;;-1:-1:-1;;;1692:6:11;1699:1;1692:9;;;;;;-1:-1:-1;;;1692:9:11;;;;;;;;;;;;:15;-1:-1:-1;;;;;1692:15:11;;;;;;;;;-1:-1:-1;;;1717:6:11;1724:1;1717:9;;;;;;-1:-1:-1;;;1717:9:11;;;;;;;;;;;;:15;-1:-1:-1;;;;;1717:15:11;;;;;;;;-1:-1:-1;1747:9:11;1759:10;1763:6;1759:1;:10;:::i;:::-;:14;;1772:1;1759:14;:::i;:::-;1747:26;;1742:132;1779:1;1775;:5;1742:132;;;-1:-1:-1;;;1826:5:11;1834:3;1826:11;1813:25;;;;;-1:-1:-1;;;1813:25:11;;;;;;;;;;;;1801:6;1808:1;1801:9;;;;;;-1:-1:-1;;;1801:9:11;;;;;;;;;;;;:37;-1:-1:-1;;;;;1801:37:11;;;;;;;;-1:-1:-1;1862:1:11;1852:11;;;;;1782:3;;;:::i;:::-;;;1742:132;;;-1:-1:-1;1891:10:11;;1883:55;;;;-1:-1:-1;;;1883:55:11;;7437:2:18;1883:55:11;;;7419:21:18;;;7456:18;;;7449:30;7515:34;7495:18;;;7488:62;7567:18;;1883:55:11;7409:182:18;8244:389:2;-1:-1:-1;;;;;8327:21:2;;8319:65;;;;-1:-1:-1;;;8319:65:2;;14551:2:18;8319:65:2;;;14533:21:18;14590:2;14570:18;;;14563:30;14629:33;14609:18;;;14602:61;14680:18;;8319:65:2;14523:181:18;8319:65:2;8471:6;8455:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8487:18:2;;:9;:18;;;;;;;;;;:28;;8509:6;;8487:9;:28;;8509:6;;8487:28;:::i;:::-;;;;-1:-1:-1;;8530:37:2;;4965:25:18;;;-1:-1:-1;;;;;8530:37:2;;;8547:1;;8530:37;;4953:2:18;4938:18;8530:37:2;;;;;;;894:191:17;;:::o;14:173:18:-;82:20;;-1:-1:-1;;;;;131:31:18;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:713::-;1122:6;1130;1138;1146;1154;1162;1170;1223:3;1211:9;1202:7;1198:23;1194:33;1191:2;;;1245:6;1237;1230:22;1191:2;1273:29;1292:9;1273:29;:::i;:::-;1263:39;;1321:38;1355:2;1344:9;1340:18;1321:38;:::i;:::-;1311:48;;1406:2;1395:9;1391:18;1378:32;1368:42;;1457:2;1446:9;1442:18;1429:32;1419:42;;1511:3;1500:9;1496:19;1483:33;1556:4;1549:5;1545:16;1538:5;1535:27;1525:2;;1581:6;1573;1566:22;1525:2;1181:543;;;;-1:-1:-1;1181:543:18;;;;1609:5;1661:3;1646:19;;1633:33;;-1:-1:-1;1713:3:18;1698:19;;;1685:33;;1181:543;-1:-1:-1;;1181:543:18:o;1729:264::-;1797:6;1805;1858:2;1846:9;1837:7;1833:23;1829:32;1826:2;;;1879:6;1871;1864:22;1826:2;1907:29;1926:9;1907:29;:::i;:::-;1897:39;1983:2;1968:18;;;;1955:32;;-1:-1:-1;;;1816:177:18:o;1998:190::-;2057:6;2110:2;2098:9;2089:7;2085:23;2081:32;2078:2;;;2131:6;2123;2116:22;2078:2;-1:-1:-1;2159:23:18;;2068:120;-1:-1:-1;2068:120:18:o;2193:264::-;2261:6;2269;2322:2;2310:9;2301:7;2297:23;2293:32;2290:2;;;2343:6;2335;2328:22;2290:2;2384:9;2371:23;2361:33;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;2462:258::-;2530:6;2538;2591:2;2579:9;2570:7;2566:23;2562:32;2559:2;;;2612:6;2604;2597:22;2559:2;-1:-1:-1;;2640:23:18;;;2710:2;2695:18;;;2682:32;;-1:-1:-1;2549:171:18:o;2725:306::-;2783:6;2836:2;2824:9;2815:7;2811:23;2807:32;2804:2;;;2857:6;2849;2842:22;2804:2;2888:23;;-1:-1:-1;;;;;;2940:32:18;;2930:43;;2920:2;;2992:6;2984;2977:22;3628:786;4039:25;4034:3;4027:38;4009:3;4094:6;4088:13;4110:62;4165:6;4160:2;4155:3;4151:12;4144:4;4136:6;4132:17;4110:62;:::i;:::-;-1:-1:-1;;;4231:2:18;4191:16;;;4223:11;;;4216:40;4281:13;;4303:63;4281:13;4352:2;4344:11;;4337:4;4325:17;;4303:63;:::i;:::-;4386:17;4405:2;4382:26;;4017:397;-1:-1:-1;;;;4017:397:18:o;6494:383::-;6643:2;6632:9;6625:21;6606:4;6675:6;6669:13;6718:6;6713:2;6702:9;6698:18;6691:34;6734:66;6793:6;6788:2;6777:9;6773:18;6768:2;6760:6;6756:15;6734:66;:::i;:::-;6861:2;6840:15;-1:-1:-1;;6836:29:18;6821:45;;;;6868:2;6817:54;;6615:262;-1:-1:-1;;6615:262:18:o;15080:128::-;15120:3;15151:1;15147:6;15144:1;15141:13;15138:2;;;15157:18;;:::i;:::-;-1:-1:-1;15193:9:18;;15128:80::o;15213:168::-;15253:7;15319:1;15315;15311:6;15307:14;15304:1;15301:21;15296:1;15289:9;15282:17;15278:45;15275:2;;;15326:18;;:::i;:::-;-1:-1:-1;15366:9:18;;15265:116::o;15386:125::-;15426:4;15454:1;15451;15448:8;15445:2;;;15459:18;;:::i;:::-;-1:-1:-1;15496:9:18;;15435:76::o;15516:258::-;15588:1;15598:113;15612:6;15609:1;15606:13;15598:113;;;15688:11;;;15682:18;15669:11;;;15662:39;15634:2;15627:10;15598:113;;;15729:6;15726:1;15723:13;15720:2;;;-1:-1:-1;;15764:1:18;15746:16;;15739:27;15569:205::o;15779:136::-;15818:3;15846:5;15836:2;;15855:18;;:::i;:::-;-1:-1:-1;;;15891:18:18;;15826:89::o;15920:380::-;15999:1;15995:12;;;;16042;;;16063:2;;16117:4;16109:6;16105:17;16095:27;;16063:2;16170;16162:6;16159:14;16139:18;16136:38;16133:2;;;16216:10;16211:3;16207:20;16204:1;16197:31;16251:4;16248:1;16241:15;16279:4;16276:1;16269:15;16305:127;16366:10;16361:3;16357:20;16354:1;16347:31;16397:4;16394:1;16387:15;16421:4;16418:1;16411:15
Swarm Source
ipfs://1de4b5b1720340948c6702d40596cd4fc90a53a534451db092bb93bf047b098a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.