Skip to main content

transferFrom

Contract: JBToken​‌

Interface: IJBToken

Transfer tokens between accounts.

Only the owner of this contract cant burn some of its supply.

Definition

function transferFrom(
uint256 _projectId,
address _from,
address _to,
uint256 _amount
) external override { ... }
  • Arguments:
    • _projectId is the ID of the project to which the token belongs. This is ignored.
    • _from is the originating address.
    • _to is the destination address.
    • _amount is the amount of the transfer, as a fixed point number with 18 decimals.
  • The function overrides a function definition from the IJBToken interface.
  • The function doesn't return anything.

Body

  1. Forward the call to the ERC20 implementation.

    transferFrom(_from, _to, _amount);

    Inherited references: