Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tech.ramses.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Contains helper methods for interacting with ERC20 tokens that do not consistently return true/false

Functions

safeTransfer

  function safeTransfer(
    address token,
    address to,
    uint256 value
  ) internal
Transfers tokens from msg.sender to a recipient Calls transfer on token contract, errors with TF if transfer fails

Parameters:

NameTypeDescription
tokenaddressThe contract address of the token which will be transferred
toaddressThe recipient of the transfer
valueuint256The value of the transfer