Skip to main content

RenERC20LogicV1

Reference

Contract: RenERC20LogicV1​

RenERC20 represents a digital asset that has been bridged on to the Ethereum ledger. It exposes mint and burn functions that can only be called by its associated Gateway contract.

Inherits from:

  • CanReclaimTokens
  • Claimable
  • ERC20WithPermit
  • ERC20WithRate
  • ERC20Detailed
  • ERC20
  • IERC20
  • Ownable
  • Context
  • Initializable


Functions​

initialize (uint256 _chainId, address _nextOwner, uint256 _initialRate, string _version, string _name, string _symbol, uint8 _decimals) (public)​


updateSymbol (string symbol) (public)​


mint (address _to, uint256 _amount) (public)​

mint can only be called by the tokens' associated Gateway contract. See Gateway's mint function instead.


burn (address _from, uint256 _amount) (public)​

burn can only be called by the tokens' associated Gateway contract. See Gateway's burn functions instead.


transfer (address recipient, uint256 amount) → bool (public)​


transferFrom (address sender, address recipient, uint256 amount) → bool (public)​