Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
feat: add optional description to base asset type (#264)
Browse files Browse the repository at this point in the history
> 

nah CI does that
  • Loading branch information
0xdef1cafe authored Dec 2, 2021
1 parent 67d1792 commit 9fc4c63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export enum UtxoAccountType {
P2pkh = 'P2pkh'
}

// TODO(0xdef1cafe): remove this, client should not be aware of where data is from
// Describes the data source for where to get the asset details or asset description.
export enum AssetDataSource {
CoinGecko = 'coingecko',
Expand All @@ -48,6 +49,7 @@ export enum AssetDataSource {
type AbstractAsset = {
caip19: string
chain: ChainTypes
description?: string
dataSource: AssetDataSource
network: NetworkTypes
symbol: string
Expand Down

0 comments on commit 9fc4c63

Please sign in to comment.