Commit 5677192
jeffyanta
Track USDC swap account (#41)
* Update account data packages to include mint
* Update common data packages to include mint
* Update account server to pull mint from DB records
* Update transaction service to handle mint and fix tests
* Fix tests everywhere else
* Make external deposit store interface more generic
* Pull in v1.8.4 APIs
* Support swap account in account info store
* Update core RPCs and utilities for swap account integration
* Refactor Geyser external deposit handler to handle USDC swap accounts
* Define chat messages used in manual USDC deposit swap flow
* Integrate USDC being converted chat message into Swap RPC
* Integrate USDC deposited chat message into Geyser
* Detect if Kin external deposit is a Code swap, and message accordingly
* Implement LinkAdditionalAccounts RPC in Account service
* Update Swap RPC
* Consistency in how common mints are constructed
* Update TestIsCodeAccount_HappyPath to incorporate a swap account
* Update CalculateFromBlockchain comments1 parent 3ee4fc2 commit 5677192
File tree
52 files changed
+1611
-633
lines changed- pkg/code
- async
- account
- commitment
- geyser
- sequencer
- balance
- chat
- common
- data
- account
- postgres
- tests
- deposit
- memory
- postgres
- tests
- timelock
- postgres
- tests
- lawenforcement
- localization
- server/grpc
- account
- messaging
- micropayment
- phone
- transaction/v2
- user
- webhook
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+1611
-633
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
26 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
| |||
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments