@ledgerhq/live-common 21.30.0 → 21.30.1
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/families/solana/test-dataset.d.ts.map +1 -1
- package/lib/families/solana/test-dataset.js +211 -209
- package/lib/families/solana/test-dataset.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/all.libcore.ts.snap +3 -200
- package/src/families/solana/test-dataset.ts +340 -337
|
@@ -15158,7 +15158,7 @@ Array [
|
|
|
15158
15158
|
"balance": "0",
|
|
15159
15159
|
"compoundBalance": undefined,
|
|
15160
15160
|
"id": "js:2:ethereum:0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
15161
|
-
"operationsCount":
|
|
15161
|
+
"operationsCount": 16,
|
|
15162
15162
|
"parentId": "js:2:ethereum:0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5:",
|
|
15163
15163
|
"pendingOperations": Array [],
|
|
15164
15164
|
"spendableBalance": "0",
|
|
@@ -16107,7 +16107,7 @@ Array [
|
|
|
16107
16107
|
"balance": "0",
|
|
16108
16108
|
"compoundBalance": undefined,
|
|
16109
16109
|
"id": "js:2:ethereum:0x8ba41105fFA54510cb9D67cb3A72624D4052cA08:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
16110
|
-
"operationsCount":
|
|
16110
|
+
"operationsCount": 4,
|
|
16111
16111
|
"parentId": "js:2:ethereum:0x8ba41105fFA54510cb9D67cb3A72624D4052cA08:",
|
|
16112
16112
|
"pendingOperations": Array [],
|
|
16113
16113
|
"spendableBalance": "0",
|
|
@@ -16259,7 +16259,7 @@ Array [
|
|
|
16259
16259
|
"balance": "0",
|
|
16260
16260
|
"compoundBalance": undefined,
|
|
16261
16261
|
"id": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
16262
|
-
"operationsCount":
|
|
16262
|
+
"operationsCount": 25,
|
|
16263
16263
|
"parentId": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:",
|
|
16264
16264
|
"pendingOperations": Array [],
|
|
16265
16265
|
"spendableBalance": "0",
|
|
@@ -28555,28 +28555,6 @@ Array [
|
|
|
28555
28555
|
"type": "IN",
|
|
28556
28556
|
"value": "100000000000000000",
|
|
28557
28557
|
},
|
|
28558
|
-
Object {
|
|
28559
|
-
"accountId": "js:2:ethereum:0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
28560
|
-
"blockHash": "0x63f7bf8c6dd9914e077c18e417f8e694e462c869f4e1b4811bd7b3810fcedd6a",
|
|
28561
|
-
"blockHeight": 8802643,
|
|
28562
|
-
"contract": undefined,
|
|
28563
|
-
"extra": Object {},
|
|
28564
|
-
"fee": "1033222500000000",
|
|
28565
|
-
"hash": "0xe3317e5ef66ee64a2a94c2619c4e92e8e8578060de10dce2dcc716dfef13ffd3",
|
|
28566
|
-
"id": "js:2:ethereum:0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0-0xe3317e5ef66ee64a2a94c2619c4e92e8e8578060de10dce2dcc716dfef13ffd3-OUT",
|
|
28567
|
-
"operator": undefined,
|
|
28568
|
-
"recipients": Array [
|
|
28569
|
-
"0xF5DCe57282A584D2746FaF1593d3121Fcac444dC",
|
|
28570
|
-
],
|
|
28571
|
-
"senders": Array [
|
|
28572
|
-
"0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5",
|
|
28573
|
-
],
|
|
28574
|
-
"standard": undefined,
|
|
28575
|
-
"tokenId": undefined,
|
|
28576
|
-
"transactionSequenceNumber": 190,
|
|
28577
|
-
"type": "OUT",
|
|
28578
|
-
"value": "3900000000000000000",
|
|
28579
|
-
},
|
|
28580
28558
|
Object {
|
|
28581
28559
|
"accountId": "js:2:ethereum:0x0E3F0bb9516F01f2C34c25E0957518b8aC9414c5:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
28582
28560
|
"blockHash": "0xf210a3a9c62648a226822fd13fca7669a3ac1edd43f668dff0c2d1fa4f0e6d84",
|
|
@@ -43286,28 +43264,6 @@ Array [
|
|
|
43286
43264
|
"type": "IN",
|
|
43287
43265
|
"value": "3002415766102553764",
|
|
43288
43266
|
},
|
|
43289
|
-
Object {
|
|
43290
|
-
"accountId": "js:2:ethereum:0x8ba41105fFA54510cb9D67cb3A72624D4052cA08:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
43291
|
-
"blockHash": "0x4781bd639178264fb3ebe0c1d775d5c7df1b5876ce2008258942915aea3fbb32",
|
|
43292
|
-
"blockHeight": 8802751,
|
|
43293
|
-
"contract": undefined,
|
|
43294
|
-
"extra": Object {},
|
|
43295
|
-
"fee": "1033222500000000",
|
|
43296
|
-
"hash": "0x6c667f79774ab10abe2525a64fb6215b71556d11da2a37a4559b0bad3f48119c",
|
|
43297
|
-
"id": "js:2:ethereum:0x8ba41105fFA54510cb9D67cb3A72624D4052cA08:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0-0x6c667f79774ab10abe2525a64fb6215b71556d11da2a37a4559b0bad3f48119c-OUT",
|
|
43298
|
-
"operator": undefined,
|
|
43299
|
-
"recipients": Array [
|
|
43300
|
-
"0xF5DCe57282A584D2746FaF1593d3121Fcac444dC",
|
|
43301
|
-
],
|
|
43302
|
-
"senders": Array [
|
|
43303
|
-
"0x8ba41105fFA54510cb9D67cb3A72624D4052cA08",
|
|
43304
|
-
],
|
|
43305
|
-
"standard": undefined,
|
|
43306
|
-
"tokenId": undefined,
|
|
43307
|
-
"transactionSequenceNumber": 23,
|
|
43308
|
-
"type": "OUT",
|
|
43309
|
-
"value": "3000000000000000000",
|
|
43310
|
-
},
|
|
43311
43267
|
Object {
|
|
43312
43268
|
"accountId": "js:2:ethereum:0x8ba41105fFA54510cb9D67cb3A72624D4052cA08:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
43313
43269
|
"blockHash": "0x4a86d7d26e639832ca4d4ce1a1d78f969a442b764e4056c42ff545f2979c672f",
|
|
@@ -46623,28 +46579,6 @@ Array [
|
|
|
46623
46579
|
"type": "IN",
|
|
46624
46580
|
"value": "1500000000000000000",
|
|
46625
46581
|
},
|
|
46626
|
-
Object {
|
|
46627
|
-
"accountId": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
46628
|
-
"blockHash": "0xc245c8ea9d2be5c5426784f52666891449ff1254805800459e12416de8895c67",
|
|
46629
|
-
"blockHeight": 8797487,
|
|
46630
|
-
"contract": undefined,
|
|
46631
|
-
"extra": Object {},
|
|
46632
|
-
"fee": "60818000000000",
|
|
46633
|
-
"hash": "0x2531e17af0284780975e7c2d6ca5b69379784dcbc9daa37a5e7fe3c5bce56aa4",
|
|
46634
|
-
"id": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0-0x2531e17af0284780975e7c2d6ca5b69379784dcbc9daa37a5e7fe3c5bce56aa4-OUT",
|
|
46635
|
-
"operator": undefined,
|
|
46636
|
-
"recipients": Array [
|
|
46637
|
-
"0xF5DCe57282A584D2746FaF1593d3121Fcac444dC",
|
|
46638
|
-
],
|
|
46639
|
-
"senders": Array [
|
|
46640
|
-
"0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42",
|
|
46641
|
-
],
|
|
46642
|
-
"standard": undefined,
|
|
46643
|
-
"tokenId": undefined,
|
|
46644
|
-
"transactionSequenceNumber": 13,
|
|
46645
|
-
"type": "OUT",
|
|
46646
|
-
"value": "0",
|
|
46647
|
-
},
|
|
46648
46582
|
Object {
|
|
46649
46583
|
"accountId": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
46650
46584
|
"blockHash": "0x87a67710b7995b3134b29d5d9b7d079a7cd978d6c05630a57b9044064aabd0f9",
|
|
@@ -46711,28 +46645,6 @@ Array [
|
|
|
46711
46645
|
"type": "IN",
|
|
46712
46646
|
"value": "3981479007482754530",
|
|
46713
46647
|
},
|
|
46714
|
-
Object {
|
|
46715
|
-
"accountId": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
46716
|
-
"blockHash": "0xfa5733cd567242ff5634282048fc4ecf40c81571db46d6276317896ae6979d11",
|
|
46717
|
-
"blockHeight": 8796771,
|
|
46718
|
-
"contract": undefined,
|
|
46719
|
-
"extra": Object {},
|
|
46720
|
-
"fee": "1882761000000000",
|
|
46721
|
-
"hash": "0x4ad071f6d38d8e218f2fa02031885efed19f41e855b03d9657a5f52fb0206bae",
|
|
46722
|
-
"id": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0-0x4ad071f6d38d8e218f2fa02031885efed19f41e855b03d9657a5f52fb0206bae-OUT",
|
|
46723
|
-
"operator": undefined,
|
|
46724
|
-
"recipients": Array [
|
|
46725
|
-
"0xF5DCe57282A584D2746FaF1593d3121Fcac444dC",
|
|
46726
|
-
],
|
|
46727
|
-
"senders": Array [
|
|
46728
|
-
"0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42",
|
|
46729
|
-
],
|
|
46730
|
-
"standard": undefined,
|
|
46731
|
-
"tokenId": undefined,
|
|
46732
|
-
"transactionSequenceNumber": 11,
|
|
46733
|
-
"type": "OUT",
|
|
46734
|
-
"value": "1000000000000000000",
|
|
46735
|
-
},
|
|
46736
46648
|
Object {
|
|
46737
46649
|
"accountId": "js:2:ethereum:0x25FEa94454Fd3A7A18D95811F5e4eb573c1cCC42:+ethereum%2Ferc20%2Fdai_stablecoin_v1_0",
|
|
46738
46650
|
"blockHash": "0x02987cb3b0268d9c8db475ec013995ff16e4c7d8f64f583c28309597b0ce5f8d",
|
|
@@ -61845,115 +61757,6 @@ Array [
|
|
|
61845
61757
|
]
|
|
61846
61758
|
`;
|
|
61847
61759
|
|
|
61848
|
-
exports[`solana currency bridge scanAccounts solana seed 1 1`] = `
|
|
61849
|
-
Array [
|
|
61850
|
-
Object {
|
|
61851
|
-
"balance": "83389840",
|
|
61852
|
-
"currencyId": "solana",
|
|
61853
|
-
"derivationMode": "solanaMain",
|
|
61854
|
-
"freshAddress": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61855
|
-
"freshAddressPath": "44'/501'",
|
|
61856
|
-
"freshAddresses": Array [
|
|
61857
|
-
Object {
|
|
61858
|
-
"address": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61859
|
-
"derivationPath": "44'/501'",
|
|
61860
|
-
},
|
|
61861
|
-
],
|
|
61862
|
-
"id": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain",
|
|
61863
|
-
"index": 0,
|
|
61864
|
-
"name": "Solana 1",
|
|
61865
|
-
"nfts": undefined,
|
|
61866
|
-
"operationsCount": 2,
|
|
61867
|
-
"pendingOperations": Array [],
|
|
61868
|
-
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61869
|
-
"spendableBalance": "83389840",
|
|
61870
|
-
"starred": false,
|
|
61871
|
-
"swapHistory": Array [],
|
|
61872
|
-
"syncHash": undefined,
|
|
61873
|
-
"unitMagnitude": 9,
|
|
61874
|
-
"used": true,
|
|
61875
|
-
},
|
|
61876
|
-
Object {
|
|
61877
|
-
"balance": "0",
|
|
61878
|
-
"currencyId": "solana",
|
|
61879
|
-
"derivationMode": "solanaSub",
|
|
61880
|
-
"freshAddress": "6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A",
|
|
61881
|
-
"freshAddressPath": "44'/501'/0'",
|
|
61882
|
-
"freshAddresses": Array [
|
|
61883
|
-
Object {
|
|
61884
|
-
"address": "6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A",
|
|
61885
|
-
"derivationPath": "44'/501'/0'",
|
|
61886
|
-
},
|
|
61887
|
-
],
|
|
61888
|
-
"id": "js:2:solana:6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A:solanaSub",
|
|
61889
|
-
"index": 0,
|
|
61890
|
-
"name": "Solana 1",
|
|
61891
|
-
"nfts": undefined,
|
|
61892
|
-
"operationsCount": 0,
|
|
61893
|
-
"pendingOperations": Array [],
|
|
61894
|
-
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61895
|
-
"spendableBalance": "0",
|
|
61896
|
-
"starred": false,
|
|
61897
|
-
"swapHistory": Array [],
|
|
61898
|
-
"syncHash": undefined,
|
|
61899
|
-
"unitMagnitude": 9,
|
|
61900
|
-
"used": false,
|
|
61901
|
-
},
|
|
61902
|
-
]
|
|
61903
|
-
`;
|
|
61904
|
-
|
|
61905
|
-
exports[`solana currency bridge scanAccounts solana seed 1 2`] = `
|
|
61906
|
-
Array [
|
|
61907
|
-
Array [
|
|
61908
|
-
Object {
|
|
61909
|
-
"accountId": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain",
|
|
61910
|
-
"blockHash": "4NSL4VrfWd2eUccMD95dLQsdy5UGz8yhokpfH1et1R2c",
|
|
61911
|
-
"blockHeight": 108520722,
|
|
61912
|
-
"contract": undefined,
|
|
61913
|
-
"extra": Object {},
|
|
61914
|
-
"fee": "0",
|
|
61915
|
-
"hasFailed": false,
|
|
61916
|
-
"hash": "25KWBvKtVgKR3yoRmozTY6wmiW8atwrnzAnTXdsms8jqg5aR8GnCDxdJzWXtzMZPvbsE6SUuBkGFXudy2mrcTYna",
|
|
61917
|
-
"id": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain-25KWBvKtVgKR3yoRmozTY6wmiW8atwrnzAnTXdsms8jqg5aR8GnCDxdJzWXtzMZPvbsE6SUuBkGFXudy2mrcTYna-IN",
|
|
61918
|
-
"operator": undefined,
|
|
61919
|
-
"recipients": Array [
|
|
61920
|
-
"AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61921
|
-
],
|
|
61922
|
-
"senders": Array [
|
|
61923
|
-
"7CZgkK494jMdoY8xpXY3ViLjpDGMbNikCzMtAT5cAjKk",
|
|
61924
|
-
],
|
|
61925
|
-
"standard": undefined,
|
|
61926
|
-
"tokenId": undefined,
|
|
61927
|
-
"type": "IN",
|
|
61928
|
-
"value": "93394840",
|
|
61929
|
-
},
|
|
61930
|
-
Object {
|
|
61931
|
-
"accountId": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain",
|
|
61932
|
-
"blockHash": "9tPbgLaETEenufCt5SzXMuWijgFJj549W9j5cJLbaogn",
|
|
61933
|
-
"blockHeight": 108521109,
|
|
61934
|
-
"contract": undefined,
|
|
61935
|
-
"extra": Object {},
|
|
61936
|
-
"fee": "5000",
|
|
61937
|
-
"hasFailed": false,
|
|
61938
|
-
"hash": "A29zPnK1jPr2tGziTnaAvSnadYR2kLCv9sPywj9FJsaEFjtpwmUonspN3WJgz4u6XWmjtVpoFsDrygEnvW51cgk",
|
|
61939
|
-
"id": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain-A29zPnK1jPr2tGziTnaAvSnadYR2kLCv9sPywj9FJsaEFjtpwmUonspN3WJgz4u6XWmjtVpoFsDrygEnvW51cgk-OUT",
|
|
61940
|
-
"operator": undefined,
|
|
61941
|
-
"recipients": Array [
|
|
61942
|
-
"8RtwWeqdFz4EFuZU3MAadfYMWSdRMamjFrfq6BXkHuNN",
|
|
61943
|
-
],
|
|
61944
|
-
"senders": Array [
|
|
61945
|
-
"AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
|
|
61946
|
-
],
|
|
61947
|
-
"standard": undefined,
|
|
61948
|
-
"tokenId": undefined,
|
|
61949
|
-
"type": "OUT",
|
|
61950
|
-
"value": "10005000",
|
|
61951
|
-
},
|
|
61952
|
-
],
|
|
61953
|
-
Array [],
|
|
61954
|
-
]
|
|
61955
|
-
`;
|
|
61956
|
-
|
|
61957
61760
|
exports[`stellar currency bridge scanAccounts stellar seed 1 1`] = `
|
|
61958
61761
|
Array [
|
|
61959
61762
|
Object {
|