Agent documentation index: llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Skip to main content

IFAsset

IFAsset is the ERC-20 surface of an FAsset token (FXRP, FBTC, FDOGE, FLTC, ...) with three extra accessors that expose the underlying asset's identity and the IAssetManager bound to this FAsset. It extends OpenZeppelin's IERC20 and IERC20Metadata.

Sourced from IFAsset.sol on GitHub.

Functions

assetName

The name of the underlying asset (for example, "XRP" for FXRP).

function assetName() external view returns (string memory);

assetSymbol

The symbol of the underlying asset (for example, "XRP").

function assetSymbol() external view returns (string memory);

assetManager

The address of the IAssetManager instance that controls minting and redemption for this FAsset. FAssets and asset managers are in 1:1 correspondence.

function assetManager() external view returns (address);