Interfaces
Complete reference of all Fira Protocol Solidity interfaces, grouped by module, with key function signatures and type definitions.
FW (Fira Wrapped)
IFiraWrappedStandardized
function deposit(address receiver, address tokenIn, uint256 amountTokenToDeposit, uint256 minSharesOut)
external payable returns (uint256 amountSharesOut);
function redeem(address receiver, uint256 amountSharesToRedeem, address tokenOut, uint256 minTokenOut, bool burnFromInternalBalance)
external returns (uint256 amountTokenOut);
function exchangeRate() external view returns (uint256);
function previewDeposit(address tokenIn, uint256 amountTokenToDeposit) external view returns (uint256);
function previewRedeem(address tokenOut, uint256 amountSharesToRedeem) external view returns (uint256);
function claimRewards(address user) external returns (uint256[] memory);
function accruedRewards(address user) external view returns (uint256[] memory);
function getTokensIn() external view returns (address[] memory);
function getTokensOut() external view returns (address[] memory);
function assetInfo() external view returns (AssetType, address, uint8);Market
IPMarket
IPMarketFactoryV3
IPMarketSwapCallback
Yield contracts
IBondToken
IBCToken (CouponToken)
IBCContractFactory
Router facets
IPActionSwapBTV3
IPActionSwapCTV3
IPActionAddRemoveLiqV3
IPActionMiscV3
IPActionBorrow
IPActionSimple
Shared types (IPAllActionTypeV3)
Utility interfaces
IRehypothecationModule
ILiquidityInjector
IOracle
Last updated