@ledgerhq/live-common 34.49.0-nightly.3 → 34.49.0-nightly.5

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.
Files changed (253) hide show
  1. package/lib/bridge/react/BridgeSync.d.ts.map +1 -1
  2. package/lib/bridge/react/BridgeSync.js +17 -4
  3. package/lib/bridge/react/BridgeSync.js.map +1 -1
  4. package/lib/bridge/syncSessionManager/index.d.ts +18 -0
  5. package/lib/bridge/syncSessionManager/index.d.ts.map +1 -0
  6. package/lib/bridge/syncSessionManager/index.js +75 -0
  7. package/lib/bridge/syncSessionManager/index.js.map +1 -0
  8. package/lib/bridge/syncSessionManager/index.test.d.ts +2 -0
  9. package/lib/bridge/syncSessionManager/index.test.d.ts.map +1 -0
  10. package/lib/bridge/syncSessionManager/index.test.js +118 -0
  11. package/lib/bridge/syncSessionManager/index.test.js.map +1 -0
  12. package/lib/deposit/deposit.integration.test.js +60 -1
  13. package/lib/deposit/deposit.integration.test.js.map +1 -1
  14. package/lib/e2e/data/deviceLabelsData.js +2 -2
  15. package/lib/e2e/data/deviceLabelsData.js.map +1 -1
  16. package/lib/e2e/enum/Account.d.ts +1 -0
  17. package/lib/e2e/enum/Account.d.ts.map +1 -1
  18. package/lib/e2e/enum/Account.js +2 -1
  19. package/lib/e2e/enum/Account.js.map +1 -1
  20. package/lib/e2e/enum/DeviceLabels.d.ts +3 -9
  21. package/lib/e2e/enum/DeviceLabels.d.ts.map +1 -1
  22. package/lib/e2e/enum/DeviceLabels.js +2 -8
  23. package/lib/e2e/enum/DeviceLabels.js.map +1 -1
  24. package/lib/e2e/families/bitcoin.d.ts +1 -0
  25. package/lib/e2e/families/bitcoin.d.ts.map +1 -1
  26. package/lib/e2e/families/bitcoin.js +28 -1
  27. package/lib/e2e/families/bitcoin.js.map +1 -1
  28. package/lib/e2e/families/tezos.d.ts.map +1 -1
  29. package/lib/e2e/families/tezos.js +5 -3
  30. package/lib/e2e/families/tezos.js.map +1 -1
  31. package/lib/e2e/index.d.ts +2 -0
  32. package/lib/e2e/index.d.ts.map +1 -1
  33. package/lib/e2e/models/Swap.d.ts +2 -0
  34. package/lib/e2e/models/Swap.d.ts.map +1 -1
  35. package/lib/e2e/models/Swap.js +6 -0
  36. package/lib/e2e/models/Swap.js.map +1 -1
  37. package/lib/e2e/speculos.d.ts +8 -0
  38. package/lib/e2e/speculos.d.ts.map +1 -1
  39. package/lib/e2e/speculos.js +23 -31
  40. package/lib/e2e/speculos.js.map +1 -1
  41. package/lib/exchange/providers/swap.js +2 -2
  42. package/lib/exchange/providers/swap.js.map +1 -1
  43. package/lib/families/celo/bridge.integration.test.js +4 -1
  44. package/lib/families/celo/bridge.integration.test.js.map +1 -1
  45. package/lib/families/cosmos/datasets/axelar.integration.test.js +4 -1
  46. package/lib/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
  47. package/lib/families/cosmos/datasets/desmos.integration.test.js +4 -1
  48. package/lib/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
  49. package/lib/families/cosmos/datasets/onomy.integration.test.js +4 -1
  50. package/lib/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
  51. package/lib/families/filecoin/bridge.integration.test.js +4 -1
  52. package/lib/families/filecoin/bridge.integration.test.js.map +1 -1
  53. package/lib/families/kaspa/bridge.integration.test.js +4 -1
  54. package/lib/families/kaspa/bridge.integration.test.js.map +1 -1
  55. package/lib/families/mina/bridge.integration.test.js +4 -1
  56. package/lib/families/mina/bridge.integration.test.js.map +1 -1
  57. package/lib/families/multiversx/synchronisation.integration.test.js +4 -1
  58. package/lib/families/multiversx/synchronisation.integration.test.js.map +1 -1
  59. package/lib/families/ton/bridge.integration.test.js +4 -1
  60. package/lib/families/ton/bridge.integration.test.js.map +1 -1
  61. package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
  62. package/lib/featureFlags/defaultFeatures.js +1 -0
  63. package/lib/featureFlags/defaultFeatures.js.map +1 -1
  64. package/lib/featureFlags/useFeature.d.ts +1 -1
  65. package/lib/featureFlags/useFeature.d.ts.map +1 -1
  66. package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
  67. package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
  68. package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
  69. package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
  70. package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
  71. package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
  72. package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
  73. package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
  74. package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
  75. package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
  76. package/lib/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
  77. package/lib/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
  78. package/lib/notifications/ServiceStatusProvider/entry-points.js +3 -0
  79. package/lib/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
  80. package/lib/notifications/ServiceStatusProvider/index.d.ts +18 -1
  81. package/lib/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
  82. package/lib/notifications/ServiceStatusProvider/index.js +47 -9
  83. package/lib/notifications/ServiceStatusProvider/index.js.map +1 -1
  84. package/lib/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
  85. package/lib/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
  86. package/lib/notifications/ServiceStatusProvider/index.test.js +88 -0
  87. package/lib/notifications/ServiceStatusProvider/index.test.js.map +1 -0
  88. package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
  89. package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
  90. package/lib/notifications/ServiceStatusProvider/ledger-components.js +17 -0
  91. package/lib/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
  92. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
  93. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
  94. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1192 -0
  95. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
  96. package/lib/notifications/ServiceStatusProvider/types.d.ts +3 -1
  97. package/lib/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
  98. package/lib/wallet-api/react.d.ts +1 -1
  99. package/lib/wallet-api/react.d.ts.map +1 -1
  100. package/lib/wallet-api/react.js +1 -1
  101. package/lib/wallet-api/react.js.map +1 -1
  102. package/lib-es/bridge/react/BridgeSync.d.ts.map +1 -1
  103. package/lib-es/bridge/react/BridgeSync.js +17 -4
  104. package/lib-es/bridge/react/BridgeSync.js.map +1 -1
  105. package/lib-es/bridge/syncSessionManager/index.d.ts +18 -0
  106. package/lib-es/bridge/syncSessionManager/index.d.ts.map +1 -0
  107. package/lib-es/bridge/syncSessionManager/index.js +68 -0
  108. package/lib-es/bridge/syncSessionManager/index.js.map +1 -0
  109. package/lib-es/bridge/syncSessionManager/index.test.d.ts +2 -0
  110. package/lib-es/bridge/syncSessionManager/index.test.d.ts.map +1 -0
  111. package/lib-es/bridge/syncSessionManager/index.test.js +116 -0
  112. package/lib-es/bridge/syncSessionManager/index.test.js.map +1 -0
  113. package/lib-es/deposit/deposit.integration.test.js +37 -1
  114. package/lib-es/deposit/deposit.integration.test.js.map +1 -1
  115. package/lib-es/e2e/data/deviceLabelsData.js +2 -2
  116. package/lib-es/e2e/data/deviceLabelsData.js.map +1 -1
  117. package/lib-es/e2e/enum/Account.d.ts +1 -0
  118. package/lib-es/e2e/enum/Account.d.ts.map +1 -1
  119. package/lib-es/e2e/enum/Account.js +2 -1
  120. package/lib-es/e2e/enum/Account.js.map +1 -1
  121. package/lib-es/e2e/enum/DeviceLabels.d.ts +3 -9
  122. package/lib-es/e2e/enum/DeviceLabels.d.ts.map +1 -1
  123. package/lib-es/e2e/enum/DeviceLabels.js +2 -8
  124. package/lib-es/e2e/enum/DeviceLabels.js.map +1 -1
  125. package/lib-es/e2e/families/bitcoin.d.ts +1 -0
  126. package/lib-es/e2e/families/bitcoin.d.ts.map +1 -1
  127. package/lib-es/e2e/families/bitcoin.js +27 -1
  128. package/lib-es/e2e/families/bitcoin.js.map +1 -1
  129. package/lib-es/e2e/families/tezos.d.ts.map +1 -1
  130. package/lib-es/e2e/families/tezos.js +6 -4
  131. package/lib-es/e2e/families/tezos.js.map +1 -1
  132. package/lib-es/e2e/index.d.ts +2 -0
  133. package/lib-es/e2e/index.d.ts.map +1 -1
  134. package/lib-es/e2e/models/Swap.d.ts +2 -0
  135. package/lib-es/e2e/models/Swap.d.ts.map +1 -1
  136. package/lib-es/e2e/models/Swap.js +6 -0
  137. package/lib-es/e2e/models/Swap.js.map +1 -1
  138. package/lib-es/e2e/speculos.d.ts +8 -0
  139. package/lib-es/e2e/speculos.d.ts.map +1 -1
  140. package/lib-es/e2e/speculos.js +23 -32
  141. package/lib-es/e2e/speculos.js.map +1 -1
  142. package/lib-es/exchange/providers/swap.js +2 -2
  143. package/lib-es/exchange/providers/swap.js.map +1 -1
  144. package/lib-es/families/celo/bridge.integration.test.js +4 -1
  145. package/lib-es/families/celo/bridge.integration.test.js.map +1 -1
  146. package/lib-es/families/cosmos/datasets/axelar.integration.test.js +4 -1
  147. package/lib-es/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
  148. package/lib-es/families/cosmos/datasets/desmos.integration.test.js +4 -1
  149. package/lib-es/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
  150. package/lib-es/families/cosmos/datasets/onomy.integration.test.js +4 -1
  151. package/lib-es/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
  152. package/lib-es/families/filecoin/bridge.integration.test.js +4 -1
  153. package/lib-es/families/filecoin/bridge.integration.test.js.map +1 -1
  154. package/lib-es/families/kaspa/bridge.integration.test.js +4 -1
  155. package/lib-es/families/kaspa/bridge.integration.test.js.map +1 -1
  156. package/lib-es/families/mina/bridge.integration.test.js +4 -1
  157. package/lib-es/families/mina/bridge.integration.test.js.map +1 -1
  158. package/lib-es/families/multiversx/synchronisation.integration.test.js +4 -1
  159. package/lib-es/families/multiversx/synchronisation.integration.test.js.map +1 -1
  160. package/lib-es/families/ton/bridge.integration.test.js +4 -1
  161. package/lib-es/families/ton/bridge.integration.test.js.map +1 -1
  162. package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
  163. package/lib-es/featureFlags/defaultFeatures.js +1 -0
  164. package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
  165. package/lib-es/featureFlags/useFeature.d.ts +1 -1
  166. package/lib-es/featureFlags/useFeature.d.ts.map +1 -1
  167. package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
  168. package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
  169. package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
  170. package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
  171. package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
  172. package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
  173. package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
  174. package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
  175. package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
  176. package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
  177. package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
  178. package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
  179. package/lib-es/notifications/ServiceStatusProvider/entry-points.js +2 -0
  180. package/lib-es/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
  181. package/lib-es/notifications/ServiceStatusProvider/index.d.ts +18 -1
  182. package/lib-es/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
  183. package/lib-es/notifications/ServiceStatusProvider/index.js +47 -9
  184. package/lib-es/notifications/ServiceStatusProvider/index.js.map +1 -1
  185. package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
  186. package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
  187. package/lib-es/notifications/ServiceStatusProvider/index.test.js +86 -0
  188. package/lib-es/notifications/ServiceStatusProvider/index.test.js.map +1 -0
  189. package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
  190. package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
  191. package/lib-es/notifications/ServiceStatusProvider/ledger-components.js +14 -0
  192. package/lib-es/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
  193. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
  194. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
  195. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1189 -0
  196. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
  197. package/lib-es/notifications/ServiceStatusProvider/types.d.ts +3 -1
  198. package/lib-es/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
  199. package/lib-es/wallet-api/react.d.ts +1 -1
  200. package/lib-es/wallet-api/react.d.ts.map +1 -1
  201. package/lib-es/wallet-api/react.js +1 -1
  202. package/lib-es/wallet-api/react.js.map +1 -1
  203. package/package.json +67 -67
  204. package/src/bridge/react/BridgeSync.tsx +17 -3
  205. package/src/bridge/syncSessionManager/index.test.ts +151 -0
  206. package/src/bridge/syncSessionManager/index.ts +93 -0
  207. package/src/deposit/deposit.integration.test.ts +41 -2
  208. package/src/e2e/data/deviceLabelsData.ts +2 -2
  209. package/src/e2e/enum/Account.ts +7 -0
  210. package/src/e2e/enum/DeviceLabels.ts +2 -8
  211. package/src/e2e/families/bitcoin.ts +33 -1
  212. package/src/e2e/families/tezos.ts +13 -4
  213. package/src/e2e/models/Swap.ts +8 -0
  214. package/src/e2e/speculos.ts +26 -35
  215. package/src/exchange/providers/swap.ts +2 -2
  216. package/src/families/celo/bridge.integration.test.ts +4 -1
  217. package/src/families/cosmos/datasets/__snapshots__/babylon.integration.test.ts.snap +2 -2
  218. package/src/families/cosmos/datasets/__snapshots__/cosmos.integration.test.ts.snap +299 -4
  219. package/src/families/cosmos/datasets/__snapshots__/cryptoOrg.integration.test.ts.snap +2 -2
  220. package/src/families/cosmos/datasets/__snapshots__/injective.integration.test.ts.snap +2 -2
  221. package/src/families/cosmos/datasets/__snapshots__/mantra.integration.test.ts.snap +2 -2
  222. package/src/families/cosmos/datasets/__snapshots__/osmosis.integration.test.ts.snap +2 -2
  223. package/src/families/cosmos/datasets/__snapshots__/persistence.integration.test.ts.snap +4 -4
  224. package/src/families/cosmos/datasets/__snapshots__/stargaze.integration.test.ts.snap +2 -2
  225. package/src/families/cosmos/datasets/__snapshots__/xion.integration.test.ts.snap +2 -2
  226. package/src/families/cosmos/datasets/axelar.integration.test.ts +4 -1
  227. package/src/families/cosmos/datasets/desmos.integration.test.ts +4 -1
  228. package/src/families/cosmos/datasets/onomy.integration.test.ts +4 -1
  229. package/src/families/filecoin/bridge.integration.test.ts +4 -1
  230. package/src/families/internet_computer/__snapshots__/bridge.integration.test.ts.snap +60 -3
  231. package/src/families/kaspa/bridge.integration.test.ts +4 -1
  232. package/src/families/mina/bridge.integration.test.ts +4 -1
  233. package/src/families/multiversx/synchronisation.integration.test.ts +5 -1
  234. package/src/families/polkadot/__snapshots__/bridge.integration.test.ts.snap +50 -4
  235. package/src/families/stacks/__snapshots__/bridge.integration.test.ts.snap +23 -3
  236. package/src/families/stellar/__snapshots__/bridge.integration.test.ts.snap +1490 -60
  237. package/src/families/ton/bridge.integration.test.ts +4 -1
  238. package/src/featureFlags/defaultFeatures.ts +1 -0
  239. package/src/notifications/ServiceStatusProvider/entry-points.ts +3 -0
  240. package/src/notifications/ServiceStatusProvider/index.test.ts +102 -0
  241. package/src/notifications/ServiceStatusProvider/index.tsx +61 -13
  242. package/src/notifications/ServiceStatusProvider/ledger-components.ts +13 -0
  243. package/src/notifications/ServiceStatusProvider/mocks/ledgerStatus.ts +1188 -0
  244. package/src/notifications/ServiceStatusProvider/types.ts +4 -1
  245. package/src/wallet-api/react.ts +3 -3
  246. package/src/families/celo/__snapshots__/bridge.integration.test.ts.snap +0 -285
  247. package/src/families/cosmos/datasets/__snapshots__/axelar.integration.test.ts.snap +0 -45
  248. package/src/families/cosmos/datasets/__snapshots__/desmos.integration.test.ts.snap +0 -45
  249. package/src/families/cosmos/datasets/__snapshots__/onomy.integration.test.ts.snap +0 -45
  250. package/src/families/filecoin/__snapshots__/bridge.integration.test.ts.snap +0 -242
  251. package/src/families/kaspa/__snapshots__/bridge.integration.test.ts.snap +0 -66
  252. package/src/families/mina/__snapshots__/bridge.integration.test.ts.snap +0 -169
  253. package/src/families/ton/__snapshots__/bridge.integration.test.ts.snap +0 -338
@@ -1,3 +1,5 @@
1
+ import { EntryPoint } from "./entry-points";
2
+
1
3
  type Component = {
2
4
  id: string;
3
5
  name: string;
@@ -42,5 +44,6 @@ export type ServiceStatusApi = {
42
44
  };
43
45
 
44
46
  export type ServiceStatusUserSettings = {
45
- tickers: string[];
47
+ tickers?: string[];
48
+ entryPoint?: EntryPoint;
46
49
  };
@@ -1010,11 +1010,11 @@ export interface RecentlyUsed {
1010
1010
 
1011
1011
  export type RecentlyUsedManifest = AppManifest & { usedAt: UsedAt };
1012
1012
  export type UsedAt = {
1013
- unit: Intl.RelativeTimeFormatUnit;
1013
+ unit?: Intl.RelativeTimeFormatUnit;
1014
1014
  diff: number;
1015
1015
  };
1016
1016
 
1017
- function calculateTimeDiff(usedAt: string) {
1017
+ function calculateTimeDiff(usedAt: string): UsedAt {
1018
1018
  const start = new Date();
1019
1019
  const end = new Date(usedAt);
1020
1020
  const interval = intervalToDuration({ start, end });
@@ -1027,7 +1027,7 @@ function calculateTimeDiff(usedAt: string) {
1027
1027
  "minutes",
1028
1028
  "seconds",
1029
1029
  ];
1030
- let timeDiff = { unit: units[-1], diff: 0 };
1030
+ let timeDiff: UsedAt = { unit: undefined, diff: 0 };
1031
1031
 
1032
1032
  for (const unit of units) {
1033
1033
  if (interval[unit] > 0) {
@@ -1,285 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`celo currency bridge scanAccounts Celo 1 1`] = `
4
- [
5
- {
6
- "balance": "200083719000010000",
7
- "celoResources": {
8
- "electionAddress": "0x8D6677192144292870907E3Fa8A5527fE55A7ff6",
9
- "lockedBalance": "200000000000000000",
10
- "lockedGoldAddress": "0x6cC083Aed9e3ebe302A6336dBC7c921C9f03349E",
11
- "maxNumGroupsVotedFor": "10",
12
- "nonvotingLockedBalance": "100000000000000000",
13
- "pendingWithdrawals": [],
14
- "registrationStatus": true,
15
- "votes": [
16
- {
17
- "activatable": true,
18
- "amount": "50000000000000000",
19
- "index": 0,
20
- "revokable": true,
21
- "type": "pending",
22
- "validatorGroup": "0x0861a61Bf679A30680510EcC238ee43B82C5e843",
23
- },
24
- {
25
- "activatable": true,
26
- "amount": "50000000000000000",
27
- "index": 0,
28
- "revokable": true,
29
- "type": "pending",
30
- "validatorGroup": "0x35aE10F412503aBcf9275133613E8df7f56E72Be",
31
- },
32
- ],
33
- },
34
- "currencyId": "celo",
35
- "derivationMode": "",
36
- "freshAddress": "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
37
- "freshAddressPath": "44'/52752'/0'/0/0",
38
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
39
- "index": 0,
40
- "operationsCount": 10,
41
- "pendingOperations": [],
42
- "seedIdentifier": "0453390dcc1e6f1be0fb34f837b278ed1b4c84097c7493c13a0d915c735af1d8aa445d2738a95e8f50bc22abd2e17cb868d4db22a623d99d861740eb93373d50a3",
43
- "spendableBalance": "83719000010000",
44
- "swapHistory": [],
45
- "syncHash": undefined,
46
- "used": true,
47
- },
48
- {
49
- "balance": "0",
50
- "celoResources": {
51
- "electionAddress": "0x8D6677192144292870907E3Fa8A5527fE55A7ff6",
52
- "lockedBalance": "0",
53
- "lockedGoldAddress": "0x6cC083Aed9e3ebe302A6336dBC7c921C9f03349E",
54
- "maxNumGroupsVotedFor": "10",
55
- "nonvotingLockedBalance": "0",
56
- "pendingWithdrawals": [],
57
- "registrationStatus": false,
58
- "votes": [],
59
- },
60
- "currencyId": "celo",
61
- "derivationMode": "",
62
- "freshAddress": "0x2cC7E5913bADa8FA2895bDeF7F4C2E36C2368Abb",
63
- "freshAddressPath": "44'/52752'/1'/0/0",
64
- "id": "js:2:celo:0x2cC7E5913bADa8FA2895bDeF7F4C2E36C2368Abb:",
65
- "index": 1,
66
- "operationsCount": 0,
67
- "pendingOperations": [],
68
- "seedIdentifier": "0453390dcc1e6f1be0fb34f837b278ed1b4c84097c7493c13a0d915c735af1d8aa445d2738a95e8f50bc22abd2e17cb868d4db22a623d99d861740eb93373d50a3",
69
- "spendableBalance": "0",
70
- "swapHistory": [],
71
- "syncHash": undefined,
72
- "used": false,
73
- },
74
- ]
75
- `;
76
-
77
- exports[`celo currency bridge scanAccounts Celo 1 2`] = `
78
- [
79
- [
80
- {
81
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
82
- "blockHash": null,
83
- "blockHeight": 14356282,
84
- "extra": {
85
- "celoOperationValue": "150000000000000000",
86
- },
87
- "fee": "33936000000000",
88
- "hasFailed": false,
89
- "hash": "0x13b90cebe150eadbebd525200f2ff7ae8e838defbee31a9812a802356705b0f2",
90
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x13b90cebe150eadbebd525200f2ff7ae8e838defbee31a9812a802356705b0f2-LOCK",
91
- "recipients": [
92
- "0x6cc083aed9e3ebe302a6336dbc7c921c9f03349e",
93
- ],
94
- "senders": [
95
- "0xcfd48e0faf9f19377509ce68a6a6f4d9c85ff8ab",
96
- ],
97
- "type": "LOCK",
98
- "value": "33936000000000",
99
- },
100
- {
101
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
102
- "blockHash": null,
103
- "blockHeight": 14356260,
104
- "extra": {
105
- "celoOperationValue": "0",
106
- },
107
- "fee": "23628500000000",
108
- "hasFailed": false,
109
- "hash": "0x1bedc04795ee8c4b8739e661498ad7721f5f0f8dc957a7e2009314d447be20a8",
110
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x1bedc04795ee8c4b8739e661498ad7721f5f0f8dc957a7e2009314d447be20a8-REGISTER",
111
- "recipients": [
112
- "0x7d21685c17607338b313a7174bab6620bad0aab7",
113
- ],
114
- "senders": [
115
- "0xcfd48e0faf9f19377509ce68a6a6f4d9c85ff8ab",
116
- ],
117
- "type": "REGISTER",
118
- "value": "23628500000000",
119
- },
120
- {
121
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
122
- "blockHash": null,
123
- "blockHeight": 15545261,
124
- "extra": {
125
- "celoOperationValue": "1000000000000",
126
- },
127
- "fee": "20250000000000",
128
- "hasFailed": false,
129
- "hash": "0x374851f85b8e09848861425e01ef3f276a4dc39cd746df3681a214a40a30c864",
130
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x374851f85b8e09848861425e01ef3f276a4dc39cd746df3681a214a40a30c864-IN",
131
- "recipients": [
132
- "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
133
- ],
134
- "senders": [
135
- "0x835bD367715a74Ab03E91EdCCaF804c82BfE6b93",
136
- ],
137
- "type": "IN",
138
- "value": "1000000000000",
139
- },
140
- {
141
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
142
- "blockHash": null,
143
- "blockHeight": 14356275,
144
- "extra": {
145
- "celoOperationValue": "50000000000000000",
146
- "celoSourceValidator": "0x0861a61bf679a30680510ecc238ee43b82c5e843",
147
- },
148
- "fee": "104239000000000",
149
- "hasFailed": false,
150
- "hash": "0x3f8609e7d154aac9d4165d0587ecbf058dcd45a9b86d313558c0066069d8ef0d",
151
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x3f8609e7d154aac9d4165d0587ecbf058dcd45a9b86d313558c0066069d8ef0d-VOTE",
152
- "recipients": [
153
- "0x0861a61bf679a30680510ecc238ee43b82c5e843",
154
- ],
155
- "senders": [
156
- "0xcfd48e0faf9f19377509ce68a6a6f4d9c85ff8ab",
157
- ],
158
- "type": "VOTE",
159
- "value": "104239000000000",
160
- },
161
- {
162
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
163
- "blockHash": null,
164
- "blockHeight": 14345376,
165
- "extra": {
166
- "celoOperationValue": "399893159500000000",
167
- },
168
- "fee": "18281000000000",
169
- "hasFailed": false,
170
- "hash": "0x6aa0cc933bfcf828bad4bfc16f9474b287aa754ec37f19563724ea60c1c2e2da",
171
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x6aa0cc933bfcf828bad4bfc16f9474b287aa754ec37f19563724ea60c1c2e2da-IN",
172
- "recipients": [
173
- "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
174
- ],
175
- "senders": [
176
- "0x330be4C2B77f0f08f037c1D04788D00344765556",
177
- ],
178
- "type": "IN",
179
- "value": "399893159500000000",
180
- },
181
- {
182
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
183
- "blockHash": null,
184
- "blockHeight": 15975626,
185
- "extra": {
186
- "celoOperationValue": "1000000000000",
187
- },
188
- "fee": "19992000000000",
189
- "hasFailed": false,
190
- "hash": "0x857cbd64d3e9afde598b6622dae0d713f4c50d6d79e95c59dfc4a1bc9bf17c5e",
191
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x857cbd64d3e9afde598b6622dae0d713f4c50d6d79e95c59dfc4a1bc9bf17c5e-IN",
192
- "recipients": [
193
- "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
194
- ],
195
- "senders": [
196
- "0x74d7aC2d24D96640d236613132B8e6c1Edf20bCD",
197
- ],
198
- "type": "IN",
199
- "value": "1000000000000",
200
- },
201
- {
202
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
203
- "blockHash": null,
204
- "blockHeight": 14391317,
205
- "extra": {
206
- "celoOperationValue": "199497368500000000",
207
- },
208
- "fee": "18281000000000",
209
- "hasFailed": false,
210
- "hash": "0x9d8263a088cf91dd3376b2c4a033a51401414441cf747fde724901b4480b563f",
211
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x9d8263a088cf91dd3376b2c4a033a51401414441cf747fde724901b4480b563f-OUT",
212
- "recipients": [
213
- "0xDE680aC69f10F8B7e8B547f6da866369D059ac81",
214
- ],
215
- "senders": [
216
- "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
217
- ],
218
- "type": "OUT",
219
- "value": "199497368500000000",
220
- },
221
- {
222
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
223
- "blockHash": null,
224
- "blockHeight": 18940246,
225
- "extra": {
226
- "celoOperationValue": "10000",
227
- },
228
- "fee": "1009500000000000",
229
- "hasFailed": false,
230
- "hash": "0x9ed4be7c7526fc5b039ea34e450ab7341de59cc173d1b1b2cdd058432ecf8c1e",
231
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0x9ed4be7c7526fc5b039ea34e450ab7341de59cc173d1b1b2cdd058432ecf8c1e-IN",
232
- "recipients": [
233
- "0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB",
234
- ],
235
- "senders": [
236
- "0xdecF377bbfD6c9c2556553934C4D14B1EeCFdd7d",
237
- ],
238
- "type": "IN",
239
- "value": "10000",
240
- },
241
- {
242
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
243
- "blockHash": null,
244
- "blockHeight": 14356307,
245
- "extra": {
246
- "celoOperationValue": "50000000000000000",
247
- "celoSourceValidator": "0x35ae10f412503abcf9275133613e8df7f56e72be",
248
- },
249
- "fee": "100051500000000",
250
- "hasFailed": false,
251
- "hash": "0xb1d95aa993e5175effba1eec6aa7e5a557c5e1d6f8c3d4414fbe6e206b6f8841",
252
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0xb1d95aa993e5175effba1eec6aa7e5a557c5e1d6f8c3d4414fbe6e206b6f8841-VOTE",
253
- "recipients": [
254
- "0x35ae10f412503abcf9275133613e8df7f56e72be",
255
- ],
256
- "senders": [
257
- "0xcfd48e0faf9f19377509ce68a6a6f4d9c85ff8ab",
258
- ],
259
- "type": "VOTE",
260
- "value": "100051500000000",
261
- },
262
- {
263
- "accountId": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:",
264
- "blockHash": null,
265
- "blockHeight": 14356267,
266
- "extra": {
267
- "celoOperationValue": "50000000000000000",
268
- },
269
- "fee": "33936000000000",
270
- "hasFailed": false,
271
- "hash": "0xd00974d8cb71e48ac9a3085579c9b589a4d67cec348aa61b9b48cc7b3bcd54bf",
272
- "id": "js:2:celo:0xcfD48e0FAf9f19377509cE68a6A6F4D9C85ff8AB:-0xd00974d8cb71e48ac9a3085579c9b589a4d67cec348aa61b9b48cc7b3bcd54bf-LOCK",
273
- "recipients": [
274
- "0x6cc083aed9e3ebe302a6336dbc7c921c9f03349e",
275
- ],
276
- "senders": [
277
- "0xcfd48e0faf9f19377509ce68a6a6f4d9c85ff8ab",
278
- ],
279
- "type": "LOCK",
280
- "value": "33936000000000",
281
- },
282
- ],
283
- [],
284
- ]
285
- `;
@@ -1,45 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`axelar currency bridge scanAccounts axelar seed 1 1`] = `
4
- [
5
- {
6
- "balance": "772139",
7
- "currencyId": "axelar",
8
- "derivationMode": "",
9
- "freshAddress": "axelar1gyauvl44q2apn3u3aujm36q8zrj74vry3kglyg",
10
- "freshAddressPath": "44'/118'/0'/0/0",
11
- "id": "js:2:axelar:axelar1gyauvl44q2apn3u3aujm36q8zrj74vry3kglyg:",
12
- "index": 0,
13
- "pendingOperations": [],
14
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
15
- "spendableBalance": "187390",
16
- "swapHistory": [],
17
- "syncHash": undefined,
18
- "used": true,
19
- "xpub": "axelar1gyauvl44q2apn3u3aujm36q8zrj74vry3kglyg",
20
- },
21
- {
22
- "balance": "0",
23
- "currencyId": "axelar",
24
- "derivationMode": "",
25
- "freshAddress": "axelar1v2mp0m7k96dm9qv60fkspcqlzpkzrwnext9980",
26
- "freshAddressPath": "44'/118'/1'/0/0",
27
- "id": "js:2:axelar:axelar1v2mp0m7k96dm9qv60fkspcqlzpkzrwnext9980:",
28
- "index": 1,
29
- "pendingOperations": [],
30
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
31
- "spendableBalance": "0",
32
- "swapHistory": [],
33
- "syncHash": undefined,
34
- "used": false,
35
- "xpub": "axelar1v2mp0m7k96dm9qv60fkspcqlzpkzrwnext9980",
36
- },
37
- ]
38
- `;
39
-
40
- exports[`axelar currency bridge scanAccounts axelar seed 1 2`] = `
41
- [
42
- [],
43
- [],
44
- ]
45
- `;
@@ -1,45 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`desmos currency bridge scanAccounts desmos seed 1 1`] = `
4
- [
5
- {
6
- "balance": "6798191",
7
- "currencyId": "desmos",
8
- "derivationMode": "",
9
- "freshAddress": "desmos1gyauvl44q2apn3u3aujm36q8zrj74vrypqn8c3",
10
- "freshAddressPath": "44'/118'/0'/0/0",
11
- "id": "js:2:desmos:desmos1gyauvl44q2apn3u3aujm36q8zrj74vrypqn8c3:",
12
- "index": 0,
13
- "pendingOperations": [],
14
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
15
- "spendableBalance": "6748191",
16
- "swapHistory": [],
17
- "syncHash": undefined,
18
- "used": true,
19
- "xpub": "desmos1gyauvl44q2apn3u3aujm36q8zrj74vrypqn8c3",
20
- },
21
- {
22
- "balance": "0",
23
- "currencyId": "desmos",
24
- "derivationMode": "",
25
- "freshAddress": "desmos1v2mp0m7k96dm9qv60fkspcqlzpkzrwneka7amk",
26
- "freshAddressPath": "44'/118'/1'/0/0",
27
- "id": "js:2:desmos:desmos1v2mp0m7k96dm9qv60fkspcqlzpkzrwneka7amk:",
28
- "index": 1,
29
- "pendingOperations": [],
30
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
31
- "spendableBalance": "0",
32
- "swapHistory": [],
33
- "syncHash": undefined,
34
- "used": false,
35
- "xpub": "desmos1v2mp0m7k96dm9qv60fkspcqlzpkzrwneka7amk",
36
- },
37
- ]
38
- `;
39
-
40
- exports[`desmos currency bridge scanAccounts desmos seed 1 2`] = `
41
- [
42
- [],
43
- [],
44
- ]
45
- `;
@@ -1,45 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`onomy currency bridge scanAccounts onomy seed 1 1`] = `
4
- [
5
- {
6
- "balance": "3108838947096625518",
7
- "currencyId": "onomy",
8
- "derivationMode": "",
9
- "freshAddress": "onomy1gyauvl44q2apn3u3aujm36q8zrj74vry0e2p7v",
10
- "freshAddressPath": "44'/118'/0'/0/0",
11
- "id": "js:2:onomy:onomy1gyauvl44q2apn3u3aujm36q8zrj74vry0e2p7v:",
12
- "index": 0,
13
- "pendingOperations": [],
14
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
15
- "spendableBalance": "2056240423338275653",
16
- "swapHistory": [],
17
- "syncHash": undefined,
18
- "used": true,
19
- "xpub": "onomy1gyauvl44q2apn3u3aujm36q8zrj74vry0e2p7v",
20
- },
21
- {
22
- "balance": "0",
23
- "currencyId": "onomy",
24
- "derivationMode": "",
25
- "freshAddress": "onomy1v2mp0m7k96dm9qv60fkspcqlzpkzrwnecy8mat",
26
- "freshAddressPath": "44'/118'/1'/0/0",
27
- "id": "js:2:onomy:onomy1v2mp0m7k96dm9qv60fkspcqlzpkzrwnecy8mat:",
28
- "index": 1,
29
- "pendingOperations": [],
30
- "seedIdentifier": "03d5e0ebb3f1ae2afe87e5d5a24b5029a59cc12f8fd1056840091b2f0b97e54e83",
31
- "spendableBalance": "0",
32
- "swapHistory": [],
33
- "syncHash": undefined,
34
- "used": false,
35
- "xpub": "onomy1v2mp0m7k96dm9qv60fkspcqlzpkzrwnecy8mat",
36
- },
37
- ]
38
- `;
39
-
40
- exports[`onomy currency bridge scanAccounts onomy seed 1 2`] = `
41
- [
42
- [],
43
- [],
44
- ]
45
- `;