buyBond
Requirements
The following conditions must be met to buy a KUMA NFT from the contract:
The contract must be unpaused
The bought bond must be in reserve
Burned MIBT Calculation
The KUMASwap contract will burn KIBT from the user's balance before sending the Bonds NFT. A KBCToken is issued during buyBond if the bond's value (i.e. the value of the bond given its coupon) is greater than that of the bond's realized value (i.e. how much KIBT accrual the bond has backed).
Where is the is the KIBT cumulativeRate at the time of depositing the bond to the KUMASwap contract and is the KIBT cumulativeRate at the time of buying the bond
Last updated