BloomFactory
Overview
The BloomFactory
allows the owner
to deploy BloomPool
s. At the moment the Blueberry Foundation only maintains support for USDC
as the lend asset and bIb01
as the rwa asset, so there will only be one BloomPool
, but in the future if expansion to other assets occurs this canonical factory can generate new BloomPool
s for those assets.
Contract API
isFromFactory
isFromFactory
Checks if an address
is from the factory. Returning true
if it is a valid BloomPool
deployed from the factory and false
if it is not.
createBloomPool
createBloomPool
This is a permissioned function that only the owner
of the BloomFactory
can call.
Creates a new BloomPool
instance. Returning that instance back to the user.
Last updated