Source code for pypergraph.keyring.accounts.dag_asset_library
fromtypingimportListfrompypergraph.keyring.accounts.asset_libraryimportAssetMap,AssetLibrary# DAG (Constellation) Asset Library# The default asset map for DAG is empty or could include a definition.DEFAULT_DAG:AssetMap={# Uncomment and adjust if a default asset is desired:# 'DAG': KeyringAssetInfo(# id='constellation',# label='Constellation',# symbol='DAG',# network='*',# decimals=8,# native=True# )}
[docs]classDagAssetLibrary(AssetLibrary):@propertydefdefault_assets_map(self)->AssetMap:returnDEFAULT_DAG@propertydefdefault_assets(self)->List[str]:return[]# No default symbols are provided in this case