@metamask-previews/assets-controllers 74.0.0-preview-2c45ce0 → 74.0.0-preview-e53ed971
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/CHANGELOG.md +0 -16
- package/dist/TokenBalancesController.cjs +7 -12
- package/dist/TokenBalancesController.cjs.map +1 -1
- package/dist/TokenBalancesController.d.cts.map +1 -1
- package/dist/TokenBalancesController.d.mts.map +1 -1
- package/dist/TokenBalancesController.mjs +8 -13
- package/dist/TokenBalancesController.mjs.map +1 -1
- package/dist/multicall.cjs +1 -1
- package/dist/multicall.cjs.map +1 -1
- package/dist/multicall.mjs +1 -1
- package/dist/multicall.mjs.map +1 -1
- package/dist/selectors/token-selectors.cjs +9 -24
- package/dist/selectors/token-selectors.cjs.map +1 -1
- package/dist/selectors/token-selectors.d.cts +20 -96
- package/dist/selectors/token-selectors.d.cts.map +1 -1
- package/dist/selectors/token-selectors.d.mts +20 -96
- package/dist/selectors/token-selectors.d.mts.map +1 -1
- package/dist/selectors/token-selectors.mjs +9 -24
- package/dist/selectors/token-selectors.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AccountGroupId } from "@metamask/account-api";
|
|
2
2
|
import type { AccountTreeControllerState } from "@metamask/account-tree-controller";
|
|
3
3
|
import type { AccountsControllerState } from "@metamask/accounts-controller";
|
|
4
|
-
import type { InternalAccount } from "@metamask/keyring-internal-api";
|
|
5
4
|
import type { NetworkState } from "@metamask/network-controller";
|
|
6
5
|
import { type Hex } from "@metamask/utils";
|
|
7
6
|
import type { CurrencyRateState } from "../CurrencyRateController.cjs";
|
|
@@ -17,19 +16,16 @@ type AssetsByAccountGroup = {
|
|
|
17
16
|
export type AccountGroupAssets = {
|
|
18
17
|
[network: string]: Asset[];
|
|
19
18
|
};
|
|
20
|
-
type EvmAccountType = Extract<InternalAccount['type'], `eip155:${string}`>;
|
|
21
|
-
type MultichainAccountType = Exclude<InternalAccount['type'], `eip155:${string}`>;
|
|
22
19
|
export type Asset = ({
|
|
23
|
-
type:
|
|
20
|
+
type: 'evm';
|
|
24
21
|
assetId: Hex;
|
|
25
22
|
address: Hex;
|
|
26
23
|
chainId: Hex;
|
|
27
24
|
} | {
|
|
28
|
-
type:
|
|
25
|
+
type: 'multichain';
|
|
29
26
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
30
27
|
chainId: `${string}:${string}`;
|
|
31
28
|
}) & {
|
|
32
|
-
accountId: string;
|
|
33
29
|
image: string;
|
|
34
30
|
name: string;
|
|
35
31
|
symbol: string;
|
|
@@ -103,11 +99,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
103
99
|
resultsCount: () => number;
|
|
104
100
|
resetResultsCount: () => void;
|
|
105
101
|
} & {
|
|
106
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
107
|
-
accountGroupId: AccountGroupId;
|
|
108
|
-
type: InternalAccount['type'];
|
|
109
|
-
accountId: string;
|
|
110
|
-
}>, resultFuncArgs_1: {
|
|
102
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
111
103
|
[chainId: `0x${string}`]: {
|
|
112
104
|
[key: string]: Token[];
|
|
113
105
|
};
|
|
@@ -120,11 +112,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
120
112
|
conversionRate: number | null;
|
|
121
113
|
usdConversionRate: number | null;
|
|
122
114
|
}>, resultFuncArgs_6: string) => AssetsByAccountGroup;
|
|
123
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
124
|
-
accountGroupId: AccountGroupId;
|
|
125
|
-
type: InternalAccount['type'];
|
|
126
|
-
accountId: string;
|
|
127
|
-
}>, resultFuncArgs_1: {
|
|
115
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
128
116
|
[chainId: `0x${string}`]: {
|
|
129
117
|
[key: string]: Token[];
|
|
130
118
|
};
|
|
@@ -142,11 +130,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
142
130
|
resetResultsCount: () => void;
|
|
143
131
|
};
|
|
144
132
|
lastResult: () => AssetsByAccountGroup;
|
|
145
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
146
|
-
accountGroupId: AccountGroupId;
|
|
147
|
-
type: InternalAccount['type'];
|
|
148
|
-
accountId: string;
|
|
149
|
-
}>) & {
|
|
133
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
150
134
|
clearCache: () => void;
|
|
151
135
|
resultsCount: () => number;
|
|
152
136
|
resetResultsCount: () => void;
|
|
@@ -192,11 +176,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
192
176
|
methods: string[];
|
|
193
177
|
}>;
|
|
194
178
|
selectedAccount: string;
|
|
195
|
-
}) => Record<string, {
|
|
196
|
-
accountGroupId: AccountGroupId;
|
|
197
|
-
type: InternalAccount['type'];
|
|
198
|
-
accountId: string;
|
|
199
|
-
}>;
|
|
179
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
200
180
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
201
181
|
wallets: {
|
|
202
182
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -238,20 +218,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
238
218
|
methods: string[];
|
|
239
219
|
}>;
|
|
240
220
|
selectedAccount: string;
|
|
241
|
-
}) => Record<string, {
|
|
242
|
-
accountGroupId: AccountGroupId;
|
|
243
|
-
type: InternalAccount['type'];
|
|
244
|
-
accountId: string;
|
|
245
|
-
}>) & {
|
|
221
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
246
222
|
clearCache: () => void;
|
|
247
223
|
resultsCount: () => number;
|
|
248
224
|
resetResultsCount: () => void;
|
|
249
225
|
};
|
|
250
|
-
lastResult: () => Record<string, {
|
|
251
|
-
accountGroupId: AccountGroupId;
|
|
252
|
-
type: InternalAccount['type'];
|
|
253
|
-
accountId: string;
|
|
254
|
-
}>;
|
|
226
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
255
227
|
dependencies: [(state: AssetListState) => {
|
|
256
228
|
wallets: {
|
|
257
229
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -326,11 +298,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
326
298
|
resultsCount: () => number;
|
|
327
299
|
resetResultsCount: () => void;
|
|
328
300
|
} & {
|
|
329
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
330
|
-
accountGroupId: AccountGroupId;
|
|
331
|
-
type: InternalAccount['type'];
|
|
332
|
-
accountId: string;
|
|
333
|
-
}>, resultFuncArgs_1: {
|
|
301
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
334
302
|
[account: string]: `${string}:${string}/${string}:${string}`[];
|
|
335
303
|
}, resultFuncArgs_2: {
|
|
336
304
|
[asset: `${string}:${string}/${string}:${string}`]: {
|
|
@@ -354,11 +322,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
354
322
|
}, resultFuncArgs_4: Record<`${string}:${string}/${string}:${string}`, import("@metamask/snaps-sdk").AssetConversion & {
|
|
355
323
|
marketData?: import("@metamask/snaps-sdk").FungibleAssetMarketData | undefined;
|
|
356
324
|
}>, resultFuncArgs_5: string) => AssetsByAccountGroup;
|
|
357
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
358
|
-
accountGroupId: AccountGroupId;
|
|
359
|
-
type: InternalAccount['type'];
|
|
360
|
-
accountId: string;
|
|
361
|
-
}>, resultFuncArgs_1: {
|
|
325
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
362
326
|
[account: string]: `${string}:${string}/${string}:${string}`[];
|
|
363
327
|
}, resultFuncArgs_2: {
|
|
364
328
|
[asset: `${string}:${string}/${string}:${string}`]: {
|
|
@@ -387,11 +351,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
387
351
|
resetResultsCount: () => void;
|
|
388
352
|
};
|
|
389
353
|
lastResult: () => AssetsByAccountGroup;
|
|
390
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
391
|
-
accountGroupId: AccountGroupId;
|
|
392
|
-
type: InternalAccount['type'];
|
|
393
|
-
accountId: string;
|
|
394
|
-
}>) & {
|
|
354
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
395
355
|
clearCache: () => void;
|
|
396
356
|
resultsCount: () => number;
|
|
397
357
|
resetResultsCount: () => void;
|
|
@@ -437,11 +397,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
437
397
|
methods: string[];
|
|
438
398
|
}>;
|
|
439
399
|
selectedAccount: string;
|
|
440
|
-
}) => Record<string, {
|
|
441
|
-
accountGroupId: AccountGroupId;
|
|
442
|
-
type: InternalAccount['type'];
|
|
443
|
-
accountId: string;
|
|
444
|
-
}>;
|
|
400
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
445
401
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
446
402
|
wallets: {
|
|
447
403
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -483,20 +439,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
483
439
|
methods: string[];
|
|
484
440
|
}>;
|
|
485
441
|
selectedAccount: string;
|
|
486
|
-
}) => Record<string, {
|
|
487
|
-
accountGroupId: AccountGroupId;
|
|
488
|
-
type: InternalAccount['type'];
|
|
489
|
-
accountId: string;
|
|
490
|
-
}>) & {
|
|
442
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
491
443
|
clearCache: () => void;
|
|
492
444
|
resultsCount: () => number;
|
|
493
445
|
resetResultsCount: () => void;
|
|
494
446
|
};
|
|
495
|
-
lastResult: () => Record<string, {
|
|
496
|
-
accountGroupId: AccountGroupId;
|
|
497
|
-
type: InternalAccount['type'];
|
|
498
|
-
accountId: string;
|
|
499
|
-
}>;
|
|
447
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
500
448
|
dependencies: [(state: AssetListState) => {
|
|
501
449
|
wallets: {
|
|
502
450
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -582,22 +530,14 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
582
530
|
resultsCount: () => number;
|
|
583
531
|
resetResultsCount: () => void;
|
|
584
532
|
} & {
|
|
585
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
586
|
-
accountGroupId: AccountGroupId;
|
|
587
|
-
type: InternalAccount['type'];
|
|
588
|
-
accountId: string;
|
|
589
|
-
}>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
533
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
590
534
|
balance: Hex | null;
|
|
591
535
|
}>>, resultFuncArgs_2: Record<`0x${string}`, Record<`0x${string}`, import("../TokenRatesController.cjs").MarketDataDetails>>, resultFuncArgs_3: Record<string, {
|
|
592
536
|
conversionDate: number | null;
|
|
593
537
|
conversionRate: number | null;
|
|
594
538
|
usdConversionRate: number | null;
|
|
595
539
|
}>, resultFuncArgs_4: string, resultFuncArgs_5: Record<`0x${string}`, import("@metamask/network-controller").NetworkConfiguration>) => AssetsByAccountGroup;
|
|
596
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
597
|
-
accountGroupId: AccountGroupId;
|
|
598
|
-
type: InternalAccount['type'];
|
|
599
|
-
accountId: string;
|
|
600
|
-
}>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
540
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
601
541
|
balance: Hex | null;
|
|
602
542
|
}>>, resultFuncArgs_2: Record<`0x${string}`, Record<`0x${string}`, import("../TokenRatesController.cjs").MarketDataDetails>>, resultFuncArgs_3: Record<string, {
|
|
603
543
|
conversionDate: number | null;
|
|
@@ -609,11 +549,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
609
549
|
resetResultsCount: () => void;
|
|
610
550
|
};
|
|
611
551
|
lastResult: () => AssetsByAccountGroup;
|
|
612
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
613
|
-
accountGroupId: AccountGroupId;
|
|
614
|
-
type: InternalAccount['type'];
|
|
615
|
-
accountId: string;
|
|
616
|
-
}>) & {
|
|
552
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
617
553
|
clearCache: () => void;
|
|
618
554
|
resultsCount: () => number;
|
|
619
555
|
resetResultsCount: () => void;
|
|
@@ -659,11 +595,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
659
595
|
methods: string[];
|
|
660
596
|
}>;
|
|
661
597
|
selectedAccount: string;
|
|
662
|
-
}) => Record<string, {
|
|
663
|
-
accountGroupId: AccountGroupId;
|
|
664
|
-
type: InternalAccount['type'];
|
|
665
|
-
accountId: string;
|
|
666
|
-
}>;
|
|
598
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
667
599
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
668
600
|
wallets: {
|
|
669
601
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -705,20 +637,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
705
637
|
methods: string[];
|
|
706
638
|
}>;
|
|
707
639
|
selectedAccount: string;
|
|
708
|
-
}) => Record<string, {
|
|
709
|
-
accountGroupId: AccountGroupId;
|
|
710
|
-
type: InternalAccount['type'];
|
|
711
|
-
accountId: string;
|
|
712
|
-
}>) & {
|
|
640
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
713
641
|
clearCache: () => void;
|
|
714
642
|
resultsCount: () => number;
|
|
715
643
|
resetResultsCount: () => void;
|
|
716
644
|
};
|
|
717
|
-
lastResult: () => Record<string, {
|
|
718
|
-
accountGroupId: AccountGroupId;
|
|
719
|
-
type: InternalAccount['type'];
|
|
720
|
-
accountId: string;
|
|
721
|
-
}>;
|
|
645
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
722
646
|
dependencies: [(state: AssetListState) => {
|
|
723
647
|
wallets: {
|
|
724
648
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.cjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.cjs").AccountWalletKeyringObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-selectors.d.cts","sourceRoot":"","sources":["../../src/selectors/token-selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAA8B;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,0CAA0C;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAE7E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"token-selectors.d.cts","sourceRoot":"","sources":["../../src/selectors/token-selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAA8B;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,0CAA0C;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,qCAAqC;AACjE,OAAO,EAAmC,KAAK,GAAG,EAAE,wBAAwB;AAI5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,sCAAkC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAvT9B,GAAG,GAAG,IAAI;;;;;;;yBAAV,GAAG,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAV,GAAG,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgU1B,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AccountGroupId } from "@metamask/account-api";
|
|
2
2
|
import type { AccountTreeControllerState } from "@metamask/account-tree-controller";
|
|
3
3
|
import type { AccountsControllerState } from "@metamask/accounts-controller";
|
|
4
|
-
import type { InternalAccount } from "@metamask/keyring-internal-api";
|
|
5
4
|
import type { NetworkState } from "@metamask/network-controller";
|
|
6
5
|
import { type Hex } from "@metamask/utils";
|
|
7
6
|
import type { CurrencyRateState } from "../CurrencyRateController.mjs";
|
|
@@ -17,19 +16,16 @@ type AssetsByAccountGroup = {
|
|
|
17
16
|
export type AccountGroupAssets = {
|
|
18
17
|
[network: string]: Asset[];
|
|
19
18
|
};
|
|
20
|
-
type EvmAccountType = Extract<InternalAccount['type'], `eip155:${string}`>;
|
|
21
|
-
type MultichainAccountType = Exclude<InternalAccount['type'], `eip155:${string}`>;
|
|
22
19
|
export type Asset = ({
|
|
23
|
-
type:
|
|
20
|
+
type: 'evm';
|
|
24
21
|
assetId: Hex;
|
|
25
22
|
address: Hex;
|
|
26
23
|
chainId: Hex;
|
|
27
24
|
} | {
|
|
28
|
-
type:
|
|
25
|
+
type: 'multichain';
|
|
29
26
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
30
27
|
chainId: `${string}:${string}`;
|
|
31
28
|
}) & {
|
|
32
|
-
accountId: string;
|
|
33
29
|
image: string;
|
|
34
30
|
name: string;
|
|
35
31
|
symbol: string;
|
|
@@ -103,11 +99,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
103
99
|
resultsCount: () => number;
|
|
104
100
|
resetResultsCount: () => void;
|
|
105
101
|
} & {
|
|
106
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
107
|
-
accountGroupId: AccountGroupId;
|
|
108
|
-
type: InternalAccount['type'];
|
|
109
|
-
accountId: string;
|
|
110
|
-
}>, resultFuncArgs_1: {
|
|
102
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
111
103
|
[chainId: `0x${string}`]: {
|
|
112
104
|
[key: string]: Token[];
|
|
113
105
|
};
|
|
@@ -120,11 +112,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
120
112
|
conversionRate: number | null;
|
|
121
113
|
usdConversionRate: number | null;
|
|
122
114
|
}>, resultFuncArgs_6: string) => AssetsByAccountGroup;
|
|
123
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
124
|
-
accountGroupId: AccountGroupId;
|
|
125
|
-
type: InternalAccount['type'];
|
|
126
|
-
accountId: string;
|
|
127
|
-
}>, resultFuncArgs_1: {
|
|
115
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
128
116
|
[chainId: `0x${string}`]: {
|
|
129
117
|
[key: string]: Token[];
|
|
130
118
|
};
|
|
@@ -142,11 +130,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
142
130
|
resetResultsCount: () => void;
|
|
143
131
|
};
|
|
144
132
|
lastResult: () => AssetsByAccountGroup;
|
|
145
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
146
|
-
accountGroupId: AccountGroupId;
|
|
147
|
-
type: InternalAccount['type'];
|
|
148
|
-
accountId: string;
|
|
149
|
-
}>) & {
|
|
133
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
150
134
|
clearCache: () => void;
|
|
151
135
|
resultsCount: () => number;
|
|
152
136
|
resetResultsCount: () => void;
|
|
@@ -192,11 +176,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
192
176
|
methods: string[];
|
|
193
177
|
}>;
|
|
194
178
|
selectedAccount: string;
|
|
195
|
-
}) => Record<string, {
|
|
196
|
-
accountGroupId: AccountGroupId;
|
|
197
|
-
type: InternalAccount['type'];
|
|
198
|
-
accountId: string;
|
|
199
|
-
}>;
|
|
179
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
200
180
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
201
181
|
wallets: {
|
|
202
182
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -238,20 +218,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
238
218
|
methods: string[];
|
|
239
219
|
}>;
|
|
240
220
|
selectedAccount: string;
|
|
241
|
-
}) => Record<string, {
|
|
242
|
-
accountGroupId: AccountGroupId;
|
|
243
|
-
type: InternalAccount['type'];
|
|
244
|
-
accountId: string;
|
|
245
|
-
}>) & {
|
|
221
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
246
222
|
clearCache: () => void;
|
|
247
223
|
resultsCount: () => number;
|
|
248
224
|
resetResultsCount: () => void;
|
|
249
225
|
};
|
|
250
|
-
lastResult: () => Record<string, {
|
|
251
|
-
accountGroupId: AccountGroupId;
|
|
252
|
-
type: InternalAccount['type'];
|
|
253
|
-
accountId: string;
|
|
254
|
-
}>;
|
|
226
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
255
227
|
dependencies: [(state: AssetListState) => {
|
|
256
228
|
wallets: {
|
|
257
229
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -326,11 +298,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
326
298
|
resultsCount: () => number;
|
|
327
299
|
resetResultsCount: () => void;
|
|
328
300
|
} & {
|
|
329
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
330
|
-
accountGroupId: AccountGroupId;
|
|
331
|
-
type: InternalAccount['type'];
|
|
332
|
-
accountId: string;
|
|
333
|
-
}>, resultFuncArgs_1: {
|
|
301
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
334
302
|
[account: string]: `${string}:${string}/${string}:${string}`[];
|
|
335
303
|
}, resultFuncArgs_2: {
|
|
336
304
|
[asset: `${string}:${string}/${string}:${string}`]: {
|
|
@@ -354,11 +322,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
354
322
|
}, resultFuncArgs_4: Record<`${string}:${string}/${string}:${string}`, import("@metamask/snaps-sdk").AssetConversion & {
|
|
355
323
|
marketData?: import("@metamask/snaps-sdk").FungibleAssetMarketData | undefined;
|
|
356
324
|
}>, resultFuncArgs_5: string) => AssetsByAccountGroup;
|
|
357
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
358
|
-
accountGroupId: AccountGroupId;
|
|
359
|
-
type: InternalAccount['type'];
|
|
360
|
-
accountId: string;
|
|
361
|
-
}>, resultFuncArgs_1: {
|
|
325
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: {
|
|
362
326
|
[account: string]: `${string}:${string}/${string}:${string}`[];
|
|
363
327
|
}, resultFuncArgs_2: {
|
|
364
328
|
[asset: `${string}:${string}/${string}:${string}`]: {
|
|
@@ -387,11 +351,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
387
351
|
resetResultsCount: () => void;
|
|
388
352
|
};
|
|
389
353
|
lastResult: () => AssetsByAccountGroup;
|
|
390
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
391
|
-
accountGroupId: AccountGroupId;
|
|
392
|
-
type: InternalAccount['type'];
|
|
393
|
-
accountId: string;
|
|
394
|
-
}>) & {
|
|
354
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
395
355
|
clearCache: () => void;
|
|
396
356
|
resultsCount: () => number;
|
|
397
357
|
resetResultsCount: () => void;
|
|
@@ -437,11 +397,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
437
397
|
methods: string[];
|
|
438
398
|
}>;
|
|
439
399
|
selectedAccount: string;
|
|
440
|
-
}) => Record<string, {
|
|
441
|
-
accountGroupId: AccountGroupId;
|
|
442
|
-
type: InternalAccount['type'];
|
|
443
|
-
accountId: string;
|
|
444
|
-
}>;
|
|
400
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
445
401
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
446
402
|
wallets: {
|
|
447
403
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -483,20 +439,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
483
439
|
methods: string[];
|
|
484
440
|
}>;
|
|
485
441
|
selectedAccount: string;
|
|
486
|
-
}) => Record<string, {
|
|
487
|
-
accountGroupId: AccountGroupId;
|
|
488
|
-
type: InternalAccount['type'];
|
|
489
|
-
accountId: string;
|
|
490
|
-
}>) & {
|
|
442
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
491
443
|
clearCache: () => void;
|
|
492
444
|
resultsCount: () => number;
|
|
493
445
|
resetResultsCount: () => void;
|
|
494
446
|
};
|
|
495
|
-
lastResult: () => Record<string, {
|
|
496
|
-
accountGroupId: AccountGroupId;
|
|
497
|
-
type: InternalAccount['type'];
|
|
498
|
-
accountId: string;
|
|
499
|
-
}>;
|
|
447
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
500
448
|
dependencies: [(state: AssetListState) => {
|
|
501
449
|
wallets: {
|
|
502
450
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -582,22 +530,14 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
582
530
|
resultsCount: () => number;
|
|
583
531
|
resetResultsCount: () => void;
|
|
584
532
|
} & {
|
|
585
|
-
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
586
|
-
accountGroupId: AccountGroupId;
|
|
587
|
-
type: InternalAccount['type'];
|
|
588
|
-
accountId: string;
|
|
589
|
-
}>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
533
|
+
resultFunc: (resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
590
534
|
balance: Hex | null;
|
|
591
535
|
}>>, resultFuncArgs_2: Record<`0x${string}`, Record<`0x${string}`, import("../TokenRatesController.mjs").MarketDataDetails>>, resultFuncArgs_3: Record<string, {
|
|
592
536
|
conversionDate: number | null;
|
|
593
537
|
conversionRate: number | null;
|
|
594
538
|
usdConversionRate: number | null;
|
|
595
539
|
}>, resultFuncArgs_4: string, resultFuncArgs_5: Record<`0x${string}`, import("@metamask/network-controller").NetworkConfiguration>) => AssetsByAccountGroup;
|
|
596
|
-
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
597
|
-
accountGroupId: AccountGroupId;
|
|
598
|
-
type: InternalAccount['type'];
|
|
599
|
-
accountId: string;
|
|
600
|
-
}>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
540
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>, resultFuncArgs_1: Record<`0x${string}`, Record<`0x${string}`, {
|
|
601
541
|
balance: Hex | null;
|
|
602
542
|
}>>, resultFuncArgs_2: Record<`0x${string}`, Record<`0x${string}`, import("../TokenRatesController.mjs").MarketDataDetails>>, resultFuncArgs_3: Record<string, {
|
|
603
543
|
conversionDate: number | null;
|
|
@@ -609,11 +549,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
609
549
|
resetResultsCount: () => void;
|
|
610
550
|
};
|
|
611
551
|
lastResult: () => AssetsByAccountGroup;
|
|
612
|
-
dependencies: [((state: AssetListState) => Record<string, {
|
|
613
|
-
accountGroupId: AccountGroupId;
|
|
614
|
-
type: InternalAccount['type'];
|
|
615
|
-
accountId: string;
|
|
616
|
-
}>) & {
|
|
552
|
+
dependencies: [((state: AssetListState) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
617
553
|
clearCache: () => void;
|
|
618
554
|
resultsCount: () => number;
|
|
619
555
|
resetResultsCount: () => void;
|
|
@@ -659,11 +595,7 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
659
595
|
methods: string[];
|
|
660
596
|
}>;
|
|
661
597
|
selectedAccount: string;
|
|
662
|
-
}) => Record<string, {
|
|
663
|
-
accountGroupId: AccountGroupId;
|
|
664
|
-
type: InternalAccount['type'];
|
|
665
|
-
accountId: string;
|
|
666
|
-
}>;
|
|
598
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
667
599
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
668
600
|
wallets: {
|
|
669
601
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -705,20 +637,12 @@ export declare const selectAssetsBySelectedAccountGroup: ((state: AssetListState
|
|
|
705
637
|
methods: string[];
|
|
706
638
|
}>;
|
|
707
639
|
selectedAccount: string;
|
|
708
|
-
}) => Record<string, {
|
|
709
|
-
accountGroupId: AccountGroupId;
|
|
710
|
-
type: InternalAccount['type'];
|
|
711
|
-
accountId: string;
|
|
712
|
-
}>) & {
|
|
640
|
+
}) => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>) & {
|
|
713
641
|
clearCache: () => void;
|
|
714
642
|
resultsCount: () => number;
|
|
715
643
|
resetResultsCount: () => void;
|
|
716
644
|
};
|
|
717
|
-
lastResult: () => Record<string, {
|
|
718
|
-
accountGroupId: AccountGroupId;
|
|
719
|
-
type: InternalAccount['type'];
|
|
720
|
-
accountId: string;
|
|
721
|
-
}>;
|
|
645
|
+
lastResult: () => Record<string, `entropy:${string}/${string}` | `keyring:${string}/${string}` | `snap:${string}/${string}`>;
|
|
722
646
|
dependencies: [(state: AssetListState) => {
|
|
723
647
|
wallets: {
|
|
724
648
|
[walletId: `entropy:${string}`]: import("../../../account-tree-controller/src/wallet.mjs").AccountWalletEntropyObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletSnapObject | import("../../../account-tree-controller/src/wallet.mjs").AccountWalletKeyringObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-selectors.d.mts","sourceRoot":"","sources":["../../src/selectors/token-selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAA8B;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,0CAA0C;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAE7E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"token-selectors.d.mts","sourceRoot":"","sources":["../../src/selectors/token-selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAA8B;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,0CAA0C;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,qCAAqC;AACjE,OAAO,EAAmC,KAAK,GAAG,EAAE,wBAAwB;AAI5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,sCAAkC;AACnE,OAAO,KAAK,EAAE,+BAA+B,EAAE,gDAAsC;AACrF,OAAO,KAAK,EAAE,oCAAoC,EAAE,qDAA2C;AAC/F,OAAO,KAAK,EAAE,iCAAiC,EAAE,kDAAwC;AAEzF,OAAO,KAAK,EAAE,4BAA4B,EAAE,uCAAmC;AAC/E,OAAO,KAAK,EAAE,KAAK,EAAE,yBAAyB,EAAE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