跳到主要内容

_transferFrom

Contract: JBPayoutRedemptionPaymentTerminal​‌

Transfers tokens.

Definition

function _transferFrom(
address _from,
address payable _to,
uint256 _amount
) internal override { ...}
  • Arguments:
    • _from is the address from which the transfer should originate. This is ignored.
    • _to is the address to which the transfer should go.
    • _amount is the amount of the transfer, as a fixed point number with the same number of decimals as this terminal.
  • The resulting function is internal to this contract and its inheriters.
  • The resulting function overrides a function definition from the IJBPayoutRedemptionPaymentTerminal interface.

Body

  1. Send the specified amount of ETH from this contract to the specified address.

    Address.sendValue(_to, _amount);

    Library references: