Wrapped Asset

ERC20 token that is used to represent the native token value on the other chains.

Modifiers:

onlyRole(role)
onlyMinter()

Events:

Transfer(from, to, value)
Approval(owner, spender, value)
RoleAdminChanged(role, previousAdminRole, newAdminRole)
RoleGranted(role, account, sender)
RoleRevoked(role, account, sender)

Functions:

totalSupply()
balanceOf(account)
transfer(recipient, amount)
allowance(owner, spender)
approve(spener, amount)
transferFrom(sender, recipient, amount)
supportsInterface(interfaceId)
hasRole(role, account)
getRoleAdmin(role)
grantRole(role, account)
revokeRole(role, account)
renounceRole(role, account)
mint(receiver, amount)
burn(amount)
permit(owner, spender, value, deadline, v, r, s)
_setupRole(role, account)
_setRoleAdmin(role, adminRole)
_checkRole(role, account)

Functions

onlyRole(bytes32 role)
onlyRole(bytes32 role)

Modifier that checks that an account has a specific role. Reverts with a standardized message including the required role.