Crate pallet_saft_registry[−][src]
Expand description
SAFT Registry Pallet
This pallet consists of records of off-chain SAFTs. An SAFT asset can have multiple SAFT
Records. Each SAFTRecord
holds the number of units of its asset and their value. This value is
expected to in the same currency the liquid assets use for their price feeds, so that the NAV
can easily be calculated according to the NAV formula. The SAFT registry pallet requires the
AssetRecorder
trait which is an abstraction over the features for adding/removing assets,
which is implemented for the AssetIndex
. Adding a SAFT record will call into the
AssetRecorder::add_saft
function, in mints new PINT according to the value of the SAFT record.
SAFTs can be converted to liquid tokens once they’re available in the network with a location.
Re-exports
pub use pallet::*;