TransferHelper

Functions

safeTransferFrom

  function safeTransferFrom(
    address token,
    address from,
    address to,
    uint256 value
  ) internal

Transfers tokens from the targeted address to the given destination Errors with 'STF' if transfer fails

Parameters:

safeTransfer

  function safeTransfer(
    address token,
    address to,
    uint256 value
  ) internal

Transfers tokens from msg.sender to a recipient

Errors with ST if transfer fails

Parameters:

safeApprove

  function safeApprove(
    address token,
    address to,
    uint256 value
  ) internal

Approves the stipulated contract to spend the given allowance in the given token

Errors with 'SA' if transfer fails

Parameters:

safeTransferSEI

  function safeTransferETH(
    address to,
    uint256 value
  ) internal

Transfers SEI to the recipient address

Fails with STE

Parameters:

Last updated