@cygnus-wealth/data-models 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ export var AccountType;
2
+ (function (AccountType) {
3
+ AccountType["SPOT"] = "SPOT";
4
+ AccountType["MARGIN"] = "MARGIN";
5
+ AccountType["FUTURES"] = "FUTURES";
6
+ AccountType["SAVINGS"] = "SAVINGS";
7
+ AccountType["STAKING"] = "STAKING";
8
+ AccountType["WALLET"] = "WALLET";
9
+ AccountType["DEFI"] = "DEFI";
10
+ AccountType["BROKERAGE"] = "BROKERAGE";
11
+ AccountType["RETIREMENT"] = "RETIREMENT";
12
+ AccountType["OTHER"] = "OTHER";
13
+ })(AccountType || (AccountType = {}));
@@ -0,0 +1,16 @@
1
+ export var AssetType;
2
+ (function (AssetType) {
3
+ AssetType["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
4
+ AssetType["STOCK"] = "STOCK";
5
+ AssetType["ETF"] = "ETF";
6
+ AssetType["MUTUAL_FUND"] = "MUTUAL_FUND";
7
+ AssetType["BOND"] = "BOND";
8
+ AssetType["COMMODITY"] = "COMMODITY";
9
+ AssetType["FIAT"] = "FIAT";
10
+ AssetType["NFT"] = "NFT";
11
+ AssetType["DERIVATIVE"] = "DERIVATIVE";
12
+ AssetType["LIQUIDITY_POOL"] = "LIQUIDITY_POOL";
13
+ AssetType["STAKED_POSITION"] = "STAKED_POSITION";
14
+ AssetType["LENDING_POSITION"] = "LENDING_POSITION";
15
+ AssetType["OTHER"] = "OTHER";
16
+ })(AssetType || (AssetType = {}));
@@ -0,0 +1,13 @@
1
+ export var Chain;
2
+ (function (Chain) {
3
+ Chain["ETHEREUM"] = "ETHEREUM";
4
+ Chain["POLYGON"] = "POLYGON";
5
+ Chain["ARBITRUM"] = "ARBITRUM";
6
+ Chain["OPTIMISM"] = "OPTIMISM";
7
+ Chain["AVALANCHE"] = "AVALANCHE";
8
+ Chain["BSC"] = "BSC";
9
+ Chain["SOLANA"] = "SOLANA";
10
+ Chain["SUI"] = "SUI";
11
+ Chain["BITCOIN"] = "BITCOIN";
12
+ Chain["OTHER"] = "OTHER";
13
+ })(Chain || (Chain = {}));
@@ -0,0 +1,23 @@
1
+ export var IntegrationSource;
2
+ (function (IntegrationSource) {
3
+ // CEXs
4
+ IntegrationSource["ROBINHOOD"] = "ROBINHOOD";
5
+ IntegrationSource["KRAKEN"] = "KRAKEN";
6
+ IntegrationSource["COINBASE"] = "COINBASE";
7
+ IntegrationSource["BINANCE"] = "BINANCE";
8
+ // DEXs
9
+ IntegrationSource["UNISWAP"] = "UNISWAP";
10
+ IntegrationSource["SUSHISWAP"] = "SUSHISWAP";
11
+ IntegrationSource["PANCAKESWAP"] = "PANCAKESWAP";
12
+ IntegrationSource["CURVE"] = "CURVE";
13
+ IntegrationSource["BALANCER"] = "BALANCER";
14
+ // Wallets
15
+ IntegrationSource["METAMASK"] = "METAMASK";
16
+ IntegrationSource["RABBY"] = "RABBY";
17
+ IntegrationSource["PHANTOM"] = "PHANTOM";
18
+ IntegrationSource["SLUSH"] = "SLUSH";
19
+ // Other
20
+ IntegrationSource["MANUAL_ENTRY"] = "MANUAL_ENTRY";
21
+ IntegrationSource["BLOCKCHAIN_DIRECT"] = "BLOCKCHAIN_DIRECT";
22
+ IntegrationSource["OTHER"] = "OTHER";
23
+ })(IntegrationSource || (IntegrationSource = {}));
@@ -0,0 +1,22 @@
1
+ export var TransactionType;
2
+ (function (TransactionType) {
3
+ TransactionType["BUY"] = "BUY";
4
+ TransactionType["SELL"] = "SELL";
5
+ TransactionType["TRANSFER_IN"] = "TRANSFER_IN";
6
+ TransactionType["TRANSFER_OUT"] = "TRANSFER_OUT";
7
+ TransactionType["SWAP"] = "SWAP";
8
+ TransactionType["STAKE"] = "STAKE";
9
+ TransactionType["UNSTAKE"] = "UNSTAKE";
10
+ TransactionType["CLAIM_REWARD"] = "CLAIM_REWARD";
11
+ TransactionType["PROVIDE_LIQUIDITY"] = "PROVIDE_LIQUIDITY";
12
+ TransactionType["REMOVE_LIQUIDITY"] = "REMOVE_LIQUIDITY";
13
+ TransactionType["BORROW"] = "BORROW";
14
+ TransactionType["REPAY"] = "REPAY";
15
+ TransactionType["LIQUIDATION"] = "LIQUIDATION";
16
+ TransactionType["MINT"] = "MINT";
17
+ TransactionType["BURN"] = "BURN";
18
+ TransactionType["FEE"] = "FEE";
19
+ TransactionType["DIVIDEND"] = "DIVIDEND";
20
+ TransactionType["INTEREST"] = "INTEREST";
21
+ TransactionType["OTHER"] = "OTHER";
22
+ })(TransactionType || (TransactionType = {}));
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // Enums
2
+ export { AssetType } from './enums/AssetType';
3
+ export { Chain } from './enums/Chain';
4
+ export { IntegrationSource } from './enums/IntegrationSource';
5
+ export { TransactionType } from './enums/TransactionType';
6
+ export { AccountType } from './enums/AccountType';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cygnus-wealth/data-models",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Shared TypeScript data models for CygnusWealth project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",