principal
- the amount deposited in the bond;gain
- the amount of token that will be gained (this is used to determine the APY);issuedAt
- the issuance date;maturesAt
- the maturity date; liquidated
- a flag used to determine if the senior bond was redeemed or not.ABOND.principal
ABOND.gain
ABOND.issuedAt
ABOND.maturesAt
abond.paid
), the extra reward can be considered profit for the junior pool (and loss if it's negative).