@ledgerhq/live-common 34.49.0-nightly.6 → 34.49.0
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.
- package/lib/apps/config.js +1 -1
- package/lib/bridge/react/BridgeSync.d.ts.map +1 -1
- package/lib/bridge/react/BridgeSync.js +4 -17
- package/lib/bridge/react/BridgeSync.js.map +1 -1
- package/lib/deposit/deposit.integration.test.js +1 -60
- package/lib/deposit/deposit.integration.test.js.map +1 -1
- package/lib/e2e/data/deviceLabelsData.js +2 -2
- package/lib/e2e/data/deviceLabelsData.js.map +1 -1
- package/lib/e2e/enum/Account.d.ts +0 -2
- package/lib/e2e/enum/Account.d.ts.map +1 -1
- package/lib/e2e/enum/Account.js +1 -3
- package/lib/e2e/enum/Account.js.map +1 -1
- package/lib/e2e/enum/DeviceLabels.d.ts +9 -3
- package/lib/e2e/enum/DeviceLabels.d.ts.map +1 -1
- package/lib/e2e/enum/DeviceLabels.js +8 -2
- package/lib/e2e/enum/DeviceLabels.js.map +1 -1
- package/lib/e2e/families/bitcoin.d.ts +0 -1
- package/lib/e2e/families/bitcoin.d.ts.map +1 -1
- package/lib/e2e/families/bitcoin.js +1 -28
- package/lib/e2e/families/bitcoin.js.map +1 -1
- package/lib/e2e/families/tezos.d.ts.map +1 -1
- package/lib/e2e/families/tezos.js +3 -5
- package/lib/e2e/families/tezos.js.map +1 -1
- package/lib/e2e/index.d.ts +0 -4
- package/lib/e2e/index.d.ts.map +1 -1
- package/lib/e2e/models/Swap.d.ts +0 -2
- package/lib/e2e/models/Swap.d.ts.map +1 -1
- package/lib/e2e/models/Swap.js +0 -6
- package/lib/e2e/models/Swap.js.map +1 -1
- package/lib/e2e/speculos.d.ts +0 -8
- package/lib/e2e/speculos.d.ts.map +1 -1
- package/lib/e2e/speculos.js +31 -23
- package/lib/e2e/speculos.js.map +1 -1
- package/lib/exchange/providers/swap.js +2 -2
- package/lib/exchange/providers/swap.js.map +1 -1
- package/lib/families/celo/bridge.integration.test.js +1 -4
- package/lib/families/celo/bridge.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/axelar.integration.test.js +1 -4
- package/lib/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/desmos.integration.test.js +1 -4
- package/lib/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/onomy.integration.test.js +1 -4
- package/lib/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
- package/lib/families/filecoin/bridge.integration.test.js +1 -4
- package/lib/families/filecoin/bridge.integration.test.js.map +1 -1
- package/lib/families/kaspa/bridge.integration.test.js +1 -4
- package/lib/families/kaspa/bridge.integration.test.js.map +1 -1
- package/lib/families/mina/bridge.integration.test.js +1 -4
- package/lib/families/mina/bridge.integration.test.js.map +1 -1
- package/lib/families/multiversx/synchronisation.integration.test.js +1 -4
- package/lib/families/multiversx/synchronisation.integration.test.js.map +1 -1
- package/lib/families/ton/bridge.integration.test.js +1 -4
- package/lib/families/ton/bridge.integration.test.js.map +1 -1
- package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib/featureFlags/defaultFeatures.js +0 -2
- package/lib/featureFlags/defaultFeatures.js.map +1 -1
- package/lib/featureFlags/useFeature.d.ts +1 -1
- package/lib/featureFlags/useFeature.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts +0 -1
- package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +0 -1
- package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +0 -1
- package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts +0 -1
- package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts +0 -1
- package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
- package/lib/notifications/ServiceStatusProvider/index.d.ts +1 -18
- package/lib/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
- package/lib/notifications/ServiceStatusProvider/index.js +9 -47
- package/lib/notifications/ServiceStatusProvider/index.js.map +1 -1
- package/lib/notifications/ServiceStatusProvider/types.d.ts +1 -3
- package/lib/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
- package/lib/wallet-api/react.d.ts +1 -1
- package/lib/wallet-api/react.d.ts.map +1 -1
- package/lib/wallet-api/react.js +1 -1
- package/lib/wallet-api/react.js.map +1 -1
- package/lib-es/apps/config.js +1 -1
- package/lib-es/bridge/react/BridgeSync.d.ts.map +1 -1
- package/lib-es/bridge/react/BridgeSync.js +4 -17
- package/lib-es/bridge/react/BridgeSync.js.map +1 -1
- package/lib-es/deposit/deposit.integration.test.js +1 -37
- package/lib-es/deposit/deposit.integration.test.js.map +1 -1
- package/lib-es/e2e/data/deviceLabelsData.js +2 -2
- package/lib-es/e2e/data/deviceLabelsData.js.map +1 -1
- package/lib-es/e2e/enum/Account.d.ts +0 -2
- package/lib-es/e2e/enum/Account.d.ts.map +1 -1
- package/lib-es/e2e/enum/Account.js +1 -3
- package/lib-es/e2e/enum/Account.js.map +1 -1
- package/lib-es/e2e/enum/DeviceLabels.d.ts +9 -3
- package/lib-es/e2e/enum/DeviceLabels.d.ts.map +1 -1
- package/lib-es/e2e/enum/DeviceLabels.js +8 -2
- package/lib-es/e2e/enum/DeviceLabels.js.map +1 -1
- package/lib-es/e2e/families/bitcoin.d.ts +0 -1
- package/lib-es/e2e/families/bitcoin.d.ts.map +1 -1
- package/lib-es/e2e/families/bitcoin.js +1 -27
- package/lib-es/e2e/families/bitcoin.js.map +1 -1
- package/lib-es/e2e/families/tezos.d.ts.map +1 -1
- package/lib-es/e2e/families/tezos.js +4 -6
- package/lib-es/e2e/families/tezos.js.map +1 -1
- package/lib-es/e2e/index.d.ts +0 -4
- package/lib-es/e2e/index.d.ts.map +1 -1
- package/lib-es/e2e/models/Swap.d.ts +0 -2
- package/lib-es/e2e/models/Swap.d.ts.map +1 -1
- package/lib-es/e2e/models/Swap.js +0 -6
- package/lib-es/e2e/models/Swap.js.map +1 -1
- package/lib-es/e2e/speculos.d.ts +0 -8
- package/lib-es/e2e/speculos.d.ts.map +1 -1
- package/lib-es/e2e/speculos.js +32 -23
- package/lib-es/e2e/speculos.js.map +1 -1
- package/lib-es/exchange/providers/swap.js +2 -2
- package/lib-es/exchange/providers/swap.js.map +1 -1
- package/lib-es/families/celo/bridge.integration.test.js +1 -4
- package/lib-es/families/celo/bridge.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/axelar.integration.test.js +1 -4
- package/lib-es/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/desmos.integration.test.js +1 -4
- package/lib-es/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/onomy.integration.test.js +1 -4
- package/lib-es/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
- package/lib-es/families/filecoin/bridge.integration.test.js +1 -4
- package/lib-es/families/filecoin/bridge.integration.test.js.map +1 -1
- package/lib-es/families/kaspa/bridge.integration.test.js +1 -4
- package/lib-es/families/kaspa/bridge.integration.test.js.map +1 -1
- package/lib-es/families/mina/bridge.integration.test.js +1 -4
- package/lib-es/families/mina/bridge.integration.test.js.map +1 -1
- package/lib-es/families/multiversx/synchronisation.integration.test.js +1 -4
- package/lib-es/families/multiversx/synchronisation.integration.test.js.map +1 -1
- package/lib-es/families/ton/bridge.integration.test.js +1 -4
- package/lib-es/families/ton/bridge.integration.test.js.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.js +0 -2
- package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
- package/lib-es/featureFlags/useFeature.d.ts +1 -1
- package/lib-es/featureFlags/useFeature.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts +0 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +0 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +0 -1
- package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts +0 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts +0 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/index.d.ts +1 -18
- package/lib-es/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/index.js +9 -47
- package/lib-es/notifications/ServiceStatusProvider/index.js.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/types.d.ts +1 -3
- package/lib-es/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
- package/lib-es/wallet-api/react.d.ts +1 -1
- package/lib-es/wallet-api/react.d.ts.map +1 -1
- package/lib-es/wallet-api/react.js +1 -1
- package/lib-es/wallet-api/react.js.map +1 -1
- package/package.json +69 -69
- package/src/apps/config.ts +1 -1
- package/src/bridge/react/BridgeSync.tsx +3 -17
- package/src/deposit/deposit.integration.test.ts +2 -41
- package/src/e2e/data/deviceLabelsData.ts +2 -2
- package/src/e2e/enum/Account.ts +0 -13
- package/src/e2e/enum/DeviceLabels.ts +8 -2
- package/src/e2e/families/bitcoin.ts +1 -33
- package/src/e2e/families/tezos.ts +4 -13
- package/src/e2e/models/Swap.ts +0 -8
- package/src/e2e/speculos.ts +35 -26
- package/src/exchange/providers/swap.ts +2 -2
- package/src/families/celo/__snapshots__/bridge.integration.test.ts.snap +285 -0
- package/src/families/celo/bridge.integration.test.ts +1 -4
- package/src/families/cosmos/datasets/__snapshots__/axelar.integration.test.ts.snap +45 -0
- package/src/families/cosmos/datasets/__snapshots__/babylon.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/cosmos.integration.test.ts.snap +4 -299
- package/src/families/cosmos/datasets/__snapshots__/cryptoOrg.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/desmos.integration.test.ts.snap +45 -0
- package/src/families/cosmos/datasets/__snapshots__/injective.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/mantra.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/onomy.integration.test.ts.snap +45 -0
- package/src/families/cosmos/datasets/__snapshots__/osmosis.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/persistence.integration.test.ts.snap +4 -4
- package/src/families/cosmos/datasets/__snapshots__/stargaze.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/xion.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/axelar.integration.test.ts +1 -4
- package/src/families/cosmos/datasets/desmos.integration.test.ts +1 -4
- package/src/families/cosmos/datasets/onomy.integration.test.ts +1 -4
- package/src/families/filecoin/__snapshots__/bridge.integration.test.ts.snap +242 -0
- package/src/families/filecoin/bridge.integration.test.ts +1 -4
- package/src/families/internet_computer/__snapshots__/bridge.integration.test.ts.snap +3 -60
- package/src/families/kaspa/__snapshots__/bridge.integration.test.ts.snap +66 -0
- package/src/families/kaspa/bridge.integration.test.ts +1 -4
- package/src/families/mina/__snapshots__/bridge.integration.test.ts.snap +169 -0
- package/src/families/mina/bridge.integration.test.ts +1 -4
- package/src/families/multiversx/synchronisation.integration.test.ts +1 -5
- package/src/families/polkadot/__snapshots__/bridge.integration.test.ts.snap +4 -50
- package/src/families/stacks/__snapshots__/bridge.integration.test.ts.snap +3 -23
- package/src/families/stellar/__snapshots__/bridge.integration.test.ts.snap +74 -1504
- package/src/families/ton/__snapshots__/bridge.integration.test.ts.snap +338 -0
- package/src/families/ton/bridge.integration.test.ts +1 -4
- package/src/featureFlags/defaultFeatures.ts +0 -2
- package/src/notifications/ServiceStatusProvider/index.tsx +13 -61
- package/src/notifications/ServiceStatusProvider/types.ts +1 -4
- package/src/wallet-api/react.ts +3 -3
- package/lib/bridge/syncSessionManager/index.d.ts +0 -18
- package/lib/bridge/syncSessionManager/index.d.ts.map +0 -1
- package/lib/bridge/syncSessionManager/index.js +0 -75
- package/lib/bridge/syncSessionManager/index.js.map +0 -1
- package/lib/bridge/syncSessionManager/index.test.d.ts +0 -2
- package/lib/bridge/syncSessionManager/index.test.d.ts.map +0 -1
- package/lib/bridge/syncSessionManager/index.test.js +0 -118
- package/lib/bridge/syncSessionManager/index.test.js.map +0 -1
- package/lib/notifications/ServiceStatusProvider/entry-points.d.ts +0 -3
- package/lib/notifications/ServiceStatusProvider/entry-points.d.ts.map +0 -1
- package/lib/notifications/ServiceStatusProvider/entry-points.js +0 -3
- package/lib/notifications/ServiceStatusProvider/entry-points.js.map +0 -1
- package/lib/notifications/ServiceStatusProvider/index.test.d.ts +0 -2
- package/lib/notifications/ServiceStatusProvider/index.test.d.ts.map +0 -1
- package/lib/notifications/ServiceStatusProvider/index.test.js +0 -88
- package/lib/notifications/ServiceStatusProvider/index.test.js.map +0 -1
- package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts +0 -2
- package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts.map +0 -1
- package/lib/notifications/ServiceStatusProvider/ledger-components.js +0 -17
- package/lib/notifications/ServiceStatusProvider/ledger-components.js.map +0 -1
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +0 -154
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +0 -1
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +0 -1192
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +0 -1
- package/lib-es/bridge/syncSessionManager/index.d.ts +0 -18
- package/lib-es/bridge/syncSessionManager/index.d.ts.map +0 -1
- package/lib-es/bridge/syncSessionManager/index.js +0 -68
- package/lib-es/bridge/syncSessionManager/index.js.map +0 -1
- package/lib-es/bridge/syncSessionManager/index.test.d.ts +0 -2
- package/lib-es/bridge/syncSessionManager/index.test.d.ts.map +0 -1
- package/lib-es/bridge/syncSessionManager/index.test.js +0 -116
- package/lib-es/bridge/syncSessionManager/index.test.js.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts +0 -3
- package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/entry-points.js +0 -2
- package/lib-es/notifications/ServiceStatusProvider/entry-points.js.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts +0 -2
- package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/index.test.js +0 -86
- package/lib-es/notifications/ServiceStatusProvider/index.test.js.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts +0 -2
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.js +0 -14
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.js.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +0 -154
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +0 -1
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +0 -1189
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +0 -1
- package/src/bridge/syncSessionManager/index.test.ts +0 -151
- package/src/bridge/syncSessionManager/index.ts +0 -93
- package/src/notifications/ServiceStatusProvider/entry-points.ts +0 -3
- package/src/notifications/ServiceStatusProvider/index.test.ts +0 -102
- package/src/notifications/ServiceStatusProvider/ledger-components.ts +0 -13
- package/src/notifications/ServiceStatusProvider/mocks/ledgerStatus.ts +0 -1188
@@ -0,0 +1,285 @@
|
|
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
|
+
`;
|
@@ -2,7 +2,4 @@ import "../../__tests__/test-helpers/setup";
|
|
2
2
|
import { testBridge } from "../../__tests__/test-helpers/bridge";
|
3
3
|
import { dataset } from "@ledgerhq/coin-celo/test/bridgeDatasetTest";
|
4
4
|
|
5
|
-
|
6
|
-
describe.skip("celo integration", () => {
|
7
|
-
testBridge(dataset);
|
8
|
-
});
|
5
|
+
testBridge(dataset);
|
@@ -0,0 +1,45 @@
|
|
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
|
+
`;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports[`babylon currency bridge scanAccounts babylon seed 1 1`] = `
|
4
4
|
[
|
5
5
|
{
|
6
|
-
"balance": "
|
6
|
+
"balance": "1000000",
|
7
7
|
"currencyId": "babylon",
|
8
8
|
"derivationMode": "",
|
9
9
|
"freshAddress": "bbn1uwpws077a0a9pclapv3f2fyj5u0mlh6ewmds8n",
|
@@ -12,7 +12,7 @@ exports[`babylon currency bridge scanAccounts babylon seed 1 1`] = `
|
|
12
12
|
"index": 0,
|
13
13
|
"pendingOperations": [],
|
14
14
|
"seedIdentifier": "03cd9e27aa78eddce3fda5f8050db35196b188d80d10bd04aab15e5669defee8b0",
|
15
|
-
"spendableBalance": "
|
15
|
+
"spendableBalance": "1000000",
|
16
16
|
"swapHistory": [],
|
17
17
|
"syncHash": undefined,
|
18
18
|
"used": true,
|