new DaoFactory()
Methods
-
<static> get(provider, chain)
-
Cretae an instance of a dao and return it
Parameters:
Name Type Description providerDaoType The provider as defined in the static variables of this class chainBech32hrp The Bech32 registered prefix used to identify the chain Returns:
dao - An instance of a class extending the AbstractDao subtype- Type
- AbstractDao