Skip to main content

Solidity API

ERC20Preset

constructor

constructor(address bridgeAddress, string name, string symbol) public

totalSupply

function totalSupply() public view virtual returns (uint256)

balanceOf

function balanceOf(address account) public view virtual returns (uint256)

supportsInterface

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

_transfer

function _transfer(address sender, address recipient, uint256 amount) internal virtual

_mint

function _mint(address account, uint256 amount) internal virtual

_burn

function _burn(address account, uint256 amount) internal virtual

_beforeTokenTransfer

function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual

_grantRole

function _grantRole(bytes32 role, address account) internal virtual

_revokeRole

function _revokeRole(bytes32 role, address account) internal virtual