-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathElasticSearchDiagram
61 lines (58 loc) · 1.29 KB
/
ElasticSearchDiagram
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@startuml
!theme plain
top to bottom direction
skinparam linetype ortho
class ChainTransactionsIndex {
- block_hash: text
- block_number: text
- block_timestamp: date
- from_address: text
- gas: double
- gas_price: double
- hash: text
- input: text
- nonce: text
- receipt_cumulative_gas_used: double
- receipt_gas_used: double
- receipt_status: text
- to_address: text
- transaction_index: text
- transfer_index: long
- value: double
}
class PortfolioTransactionsIndex {
- indexer: text
- portfolio_id: integer
- transaction_id: text
- classification: text
- source: text
- source_id: integer
- source_name: text
- transaction_source: text
- transaction_type: text
- quantity: double
- historical_price: double
- current_price: double
- cost_basis: double
- valuation_price: double
- pnl: double
- from_address: text
- to_address: text
- timestamp: date
- chain: text
- token_symbol: keyword
- fetch_timestamp: date
- user: text
- contract: text
}
class PriceHistoryIndex {
- chain: text
- chain_token: text
- currency_quote: text
- price: double
- service: text
- service_id: text
- timestamp: date
- fetch_timestamp: date
}
@enduml