Note Schema
Each Note can be regarded as a token that possesses the following core characteristics:
Uniqueness: Each note is identified by a unique NoteID, making it independent and irreplaceable.
Non-fungibility: Each note has independent metadata and behavioral logic.
Single Holder: Each note has at most one current Holder, which can be a User, Agent, etc. If no Holder is specified, it is considered a "Public Note" and can be settled by anyone.
FusionFi protocol defines the following schema for Notes:
NoteID
The unique identifier of the Note, usually a system-generated hash value.
Issuer
The ID of the Agent that created the Note.
Holder
The current holder of the Note. If not specified, denotes a public note and can be settled by anyone.
Amount
The the quantity of the Note's indicated asset, a BigInt.
AssetID
The identifier for the type of asset represented by the Note.
AssetYield
The annualized yield of the Note's underlying asset, indicating the asset's appreciation rate, commonly used for lending or or income-generating Notes.
HolderAmount
The number of underlying assets held by the holder (counterparty assets), describing the asset demand or liability on the other side of the note.
HolderAssetID
The identifier of the asset held by the holder, indicating the type of asset held by the counterparty.
HolderAssetYield
The annualized return rate of counterparty assets, indicating the appreciation of counterparty assets, is usually related to the counterparty's profit conditions.
IssueDate
Note creation time, marking the starting point of the note's lifecycle.
DueDate
The expiration time of the Note, indicating the validity period of the note, and it may not be settled after this time.
SettleDate
Note’s settlement time, indicating the time point when the note is fully settled.
CollateralAmount
The amount of collateral assets in the Note, indicating the amount of collateral assets required to ensure transaction security.
CollateralAssetID
Identifier of the collateral asset, indicating the specific asset type of the collateral in the note.
CollateralRate
Collateral ratio, indicating the proportion of collateral asset value to the total value of notes, used to measure transaction security (such as over-collateralization ratio).
HolderCollateralAmount
The amount of collateral assets provided by the counterparty, describing the margin amount provided by the other side of the transaction.
HolderCollateralAssetID
The identifier of the counterparty's collateral asset, indicating the specific type of collateral of the counterparty.
HolderCollateralRate
Counterparty's collateral ratio, used to measure the counterparty's risk management and security in the transaction.
Last updated
Was this helpful?