Bond Token

BondToken is the fixed-rate principal token — intentionally minimal, with strict access control limiting minting to CT and the LiquidityInjector.

circle-info

Source: src/fira_bonding/core/YieldContracts/BondToken.sol

Contract summary

BondToken is intentionally minimal. It stores immutable references to FW, factory, and expiry. The CT address is set once during initialize(), and the LiquidityInjector address is stored as a configurable variable.

Access control

  • mintByCT / burnByCT — Only the paired CouponToken can call these

  • mintByLI / burnByLI — Only the LiquidityInjector can call these

  • No other address can mint or burn BT

This strict access prevents principal inflation outside the yield-split lifecycle.

Expiry

isExpired() delegates to MiniHelpers.isCurrentlyExpired. BT has no post-expiry logic itself — all post-expiry behavior lives in the CouponToken contract.

Inherited contracts

  • FiraERC20 — ERC-20 with reentrancy guard

Last updated