@bitgo-beta/abstract-substrate 1.0.1-beta.47 → 1.0.1-beta.470

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 (54) hide show
  1. package/CHANGELOG.md +176 -0
  2. package/dist/src/abstractSubstrateCoin.d.ts +57 -23
  3. package/dist/src/abstractSubstrateCoin.d.ts.map +1 -1
  4. package/dist/src/abstractSubstrateCoin.js +335 -62
  5. package/dist/src/lib/constants.d.ts +2 -0
  6. package/dist/src/lib/constants.d.ts.map +1 -0
  7. package/dist/src/lib/constants.js +5 -0
  8. package/dist/src/lib/errors.d.ts +8 -0
  9. package/dist/src/lib/errors.d.ts.map +1 -0
  10. package/dist/src/lib/errors.js +19 -0
  11. package/dist/src/lib/iface.d.ts +107 -205
  12. package/dist/src/lib/iface.d.ts.map +1 -1
  13. package/dist/src/lib/iface.js +33 -82
  14. package/dist/src/lib/index.d.ts +9 -2
  15. package/dist/src/lib/index.d.ts.map +1 -1
  16. package/dist/src/lib/index.js +22 -4
  17. package/dist/src/lib/keyPair.d.ts +6 -13
  18. package/dist/src/lib/keyPair.d.ts.map +1 -1
  19. package/dist/src/lib/keyPair.js +12 -19
  20. package/dist/src/lib/nativeTransferBuilder.d.ts +61 -0
  21. package/dist/src/lib/nativeTransferBuilder.d.ts.map +1 -0
  22. package/dist/src/lib/nativeTransferBuilder.js +150 -0
  23. package/dist/src/lib/singletonRegistry.d.ts +8 -0
  24. package/dist/src/lib/singletonRegistry.d.ts.map +1 -0
  25. package/dist/src/lib/singletonRegistry.js +20 -0
  26. package/dist/src/lib/transaction.d.ts +74 -0
  27. package/dist/src/lib/transaction.d.ts.map +1 -0
  28. package/dist/src/lib/transaction.js +553 -0
  29. package/dist/src/lib/transactionBuilder.d.ts +121 -0
  30. package/dist/src/lib/transactionBuilder.d.ts.map +1 -0
  31. package/dist/src/lib/transactionBuilder.js +334 -0
  32. package/dist/src/lib/transferBuilder.d.ts +6 -0
  33. package/dist/src/lib/transferBuilder.d.ts.map +1 -0
  34. package/dist/src/lib/transferBuilder.js +11 -0
  35. package/dist/src/lib/txnSchema.d.ts +11 -0
  36. package/dist/src/lib/txnSchema.d.ts.map +1 -0
  37. package/dist/src/lib/txnSchema.js +64 -0
  38. package/dist/src/lib/utils.d.ts +14 -143
  39. package/dist/src/lib/utils.d.ts.map +1 -1
  40. package/dist/src/lib/utils.js +26 -243
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +10 -5
  43. package/dist/src/lib/iface_utils.d.ts +0 -59
  44. package/dist/src/lib/iface_utils.d.ts.map +0 -1
  45. package/dist/src/lib/iface_utils.js +0 -92
  46. package/dist/src/resources/index.d.ts +0 -3
  47. package/dist/src/resources/index.d.ts.map +0 -1
  48. package/dist/src/resources/index.js +0 -19
  49. package/dist/src/resources/mainnet.d.ts +0 -2
  50. package/dist/src/resources/mainnet.d.ts.map +0 -1
  51. package/dist/src/resources/mainnet.js +0 -5
  52. package/dist/src/resources/westend.d.ts +0 -2
  53. package/dist/src/resources/westend.d.ts.map +0 -1
  54. package/dist/src/resources/westend.js +0 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,182 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.10...@bitgo/abstract-substrate@1.9.0) (2025-08-14)
7
+
8
+ ### Features
9
+
10
+ - **sdk-coin-polyx:** add token builders ([6860780](https://github.com/BitGo/BitGoJS/commit/68607804efc1191ff396e05f20466526246b7d87))
11
+ - **sdk-coin-tao:** add tokenTransferBuilder ([43fc839](https://github.com/BitGo/BitGoJS/commit/43fc839f87e81d2592bcd249b14d7aef815a0927))
12
+
13
+ ## [1.8.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.9...@bitgo/abstract-substrate@1.8.10) (2025-08-07)
14
+
15
+ **Note:** Version bump only for package @bitgo/abstract-substrate
16
+
17
+ ## [1.8.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.8...@bitgo/abstract-substrate@1.8.9) (2025-07-31)
18
+
19
+ **Note:** Version bump only for package @bitgo/abstract-substrate
20
+
21
+ ## [1.8.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.7...@bitgo/abstract-substrate@1.8.8) (2025-07-30)
22
+
23
+ **Note:** Version bump only for package @bitgo/abstract-substrate
24
+
25
+ ## [1.8.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.5...@bitgo/abstract-substrate@1.8.7) (2025-07-25)
26
+
27
+ **Note:** Version bump only for package @bitgo/abstract-substrate
28
+
29
+ ## [1.8.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.5...@bitgo/abstract-substrate@1.8.6) (2025-07-23)
30
+
31
+ **Note:** Version bump only for package @bitgo/abstract-substrate
32
+
33
+ ## [1.8.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.4...@bitgo/abstract-substrate@1.8.5) (2025-07-15)
34
+
35
+ **Note:** Version bump only for package @bitgo/abstract-substrate
36
+
37
+ ## [1.8.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.3...@bitgo/abstract-substrate@1.8.4) (2025-07-10)
38
+
39
+ **Note:** Version bump only for package @bitgo/abstract-substrate
40
+
41
+ ## [1.8.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.2...@bitgo/abstract-substrate@1.8.3) (2025-07-03)
42
+
43
+ **Note:** Version bump only for package @bitgo/abstract-substrate
44
+
45
+ ## [1.8.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.1...@bitgo/abstract-substrate@1.8.2) (2025-06-25)
46
+
47
+ **Note:** Version bump only for package @bitgo/abstract-substrate
48
+
49
+ ## [1.8.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.8.0...@bitgo/abstract-substrate@1.8.1) (2025-06-24)
50
+
51
+ **Note:** Version bump only for package @bitgo/abstract-substrate
52
+
53
+ # [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.7.1...@bitgo/abstract-substrate@1.8.0) (2025-06-18)
54
+
55
+ ### Features
56
+
57
+ - add decoding support for polyx staking related txns ([f680b01](https://github.com/BitGo/BitGoJS/commit/f680b011c6c89b4c3c04ede21f089e8efc1c0ee8))
58
+
59
+ ## [1.7.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.7.0...@bitgo/abstract-substrate@1.7.1) (2025-06-10)
60
+
61
+ **Note:** Version bump only for package @bitgo/abstract-substrate
62
+
63
+ # [1.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.6.0...@bitgo/abstract-substrate@1.7.0) (2025-06-05)
64
+
65
+ ### Features
66
+
67
+ - **root:** support node 22 ([c4ad6af](https://github.com/BitGo/BitGoJS/commit/c4ad6af2e8896221417c303f0f6b84652b493216))
68
+
69
+ # [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.5.2...@bitgo/abstract-substrate@1.6.0) (2025-06-02)
70
+
71
+ ### Bug Fixes
72
+
73
+ - **sdk-coin-polyx:** fix to toJson method in polyx transaction ([8f8ef0b](https://github.com/BitGo/BitGoJS/commit/8f8ef0b8fa420dadb41989465b2380af73466ae0))
74
+
75
+ ### Features
76
+
77
+ - rename audit function naming and signature ([1a885ab](https://github.com/BitGo/BitGoJS/commit/1a885ab60d30ca8595e284a728f2ab9d3c09994e))
78
+ - **root:** add new audit key baseCoin method ([57c1778](https://github.com/BitGo/BitGoJS/commit/57c17784a72ea364f18e3af9dbd83da877827e69))
79
+
80
+ ## [1.5.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.5.1...@bitgo/abstract-substrate@1.5.2) (2025-05-28)
81
+
82
+ **Note:** Version bump only for package @bitgo/abstract-substrate
83
+
84
+ ## [1.5.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.5.0...@bitgo/abstract-substrate@1.5.1) (2025-05-22)
85
+
86
+ ### Bug Fixes
87
+
88
+ - **sdk-coin-polyx:** all fixed ([f9c23bc](https://github.com/BitGo/BitGoJS/commit/f9c23bc9a8bc609be5f41a4ffd980138ecb63148))
89
+ - **sdk-coin-polyx:** fix cdd builder ([2461fbf](https://github.com/BitGo/BitGoJS/commit/2461fbfcc76f8f6e7f89302f5e3c4b99097cb97a))
90
+
91
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.9...@bitgo/abstract-substrate@1.5.0) (2025-05-20)
92
+
93
+ ### Features
94
+
95
+ - **sdk-coin-polyx:** add transaction builders ([31c96bb](https://github.com/BitGo/BitGoJS/commit/31c96bbbce60b93e13208e3eab06bd144cfe57e4))
96
+
97
+ ## [1.4.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.8...@bitgo/abstract-substrate@1.4.9) (2025-05-07)
98
+
99
+ **Note:** Version bump only for package @bitgo/abstract-substrate
100
+
101
+ ## [1.4.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.7...@bitgo/abstract-substrate@1.4.8) (2025-04-29)
102
+
103
+ **Note:** Version bump only for package @bitgo/abstract-substrate
104
+
105
+ ## [1.4.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.6...@bitgo/abstract-substrate@1.4.7) (2025-04-25)
106
+
107
+ **Note:** Version bump only for package @bitgo/abstract-substrate
108
+
109
+ ## [1.4.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.5...@bitgo/abstract-substrate@1.4.6) (2025-04-15)
110
+
111
+ **Note:** Version bump only for package @bitgo/abstract-substrate
112
+
113
+ ## [1.4.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.4...@bitgo/abstract-substrate@1.4.5) (2025-04-04)
114
+
115
+ **Note:** Version bump only for package @bitgo/abstract-substrate
116
+
117
+ ## [1.4.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.3...@bitgo/abstract-substrate@1.4.4) (2025-04-02)
118
+
119
+ **Note:** Version bump only for package @bitgo/abstract-substrate
120
+
121
+ ## [1.4.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.2...@bitgo/abstract-substrate@1.4.3) (2025-03-28)
122
+
123
+ **Note:** Version bump only for package @bitgo/abstract-substrate
124
+
125
+ ## [1.4.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.1...@bitgo/abstract-substrate@1.4.2) (2025-03-20)
126
+
127
+ **Note:** Version bump only for package @bitgo/abstract-substrate
128
+
129
+ ## [1.4.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.4.0...@bitgo/abstract-substrate@1.4.1) (2025-03-18)
130
+
131
+ ### Bug Fixes
132
+
133
+ - **sdk-core:** set default multisig if empty ([e2727df](https://github.com/BitGo/BitGoJS/commit/e2727dfc89dd314a607b737e761e5eff824606af))
134
+
135
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.3.0...@bitgo/abstract-substrate@1.4.0) (2025-03-06)
136
+
137
+ ### Features
138
+
139
+ - **abstract-substrate:** add wrw for tao ([9f30890](https://github.com/BitGo/BitGoJS/commit/9f3089000330d47696ab057891cd8d1083004a2a))
140
+
141
+ # [1.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.5...@bitgo/abstract-substrate@1.3.0) (2025-03-04)
142
+
143
+ ### Bug Fixes
144
+
145
+ - **sdk-coin-tao:** change amount and netuid type to string ([bbb92aa](https://github.com/BitGo/BitGoJS/commit/bbb92aa3e9def1e6260a074761cdf4a38888ebd6))
146
+
147
+ ### Features
148
+
149
+ - **abstract-substrate:** add common types to abstract-substrate ([6298a42](https://github.com/BitGo/BitGoJS/commit/6298a42c0b476e87b3a5e0a3cd5e57cc5c262f50))
150
+ - **abstract-substrate:** add missing methods for TAO stake/unstake ([635854c](https://github.com/BitGo/BitGoJS/commit/635854cbd04f473c20d20820d03d1b82f8d013e9))
151
+
152
+ # [1.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.5...@bitgo/abstract-substrate@1.2.0) (2025-02-26)
153
+
154
+ ### Features
155
+
156
+ - **abstract-substrate:** add common types to abstract-substrate ([6298a42](https://github.com/BitGo/BitGoJS/commit/6298a42c0b476e87b3a5e0a3cd5e57cc5c262f50))
157
+ - **abstract-substrate:** add missing methods for TAO stake/unstake ([635854c](https://github.com/BitGo/BitGoJS/commit/635854cbd04f473c20d20820d03d1b82f8d013e9))
158
+
159
+ ## [1.1.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.5...@bitgo/abstract-substrate@1.1.6) (2025-02-20)
160
+
161
+ **Note:** Version bump only for package @bitgo/abstract-substrate
162
+
163
+ ## [1.1.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.3...@bitgo/abstract-substrate@1.1.5) (2025-02-19)
164
+
165
+ ### Bug Fixes
166
+
167
+ - **abstract-substrate:** fix abstract-substrate implementation ([1c986da](https://github.com/BitGo/BitGoJS/commit/1c986daa817353ca522c0e8e72e67a6dffa00fac))
168
+ - **abstract-substrate:** fix Material specName type ([2971d82](https://github.com/BitGo/BitGoJS/commit/2971d82879879c04190b45454a21f48473d13181))
169
+ - **abstract-substrate:** use correct error for isWalletAddress ([f50c557](https://github.com/BitGo/BitGoJS/commit/f50c557df66a331b30c1a790884ab1d69b635390))
170
+
171
+ ## [1.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.3...@bitgo/abstract-substrate@1.1.4) (2025-02-11)
172
+
173
+ ### Bug Fixes
174
+
175
+ - **abstract-substrate:** fix abstract-substrate implementation ([1c986da](https://github.com/BitGo/BitGoJS/commit/1c986daa817353ca522c0e8e72e67a6dffa00fac))
176
+ - **abstract-substrate:** fix Material specName type ([2971d82](https://github.com/BitGo/BitGoJS/commit/2971d82879879c04190b45454a21f48473d13181))
177
+
178
+ ## [1.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.2...@bitgo/abstract-substrate@1.1.3) (2025-02-05)
179
+
180
+ **Note:** Version bump only for package @bitgo/abstract-substrate
181
+
6
182
  ## [1.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-substrate@1.1.1...@bitgo/abstract-substrate@1.1.2) (2025-01-28)
7
183
 
8
184
  **Note:** Version bump only for package @bitgo/abstract-substrate
@@ -1,31 +1,13 @@
1
- import { BaseCoin, BitGoBase, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
2
- import { BaseCoin as StaticsBaseCoin, CoinFamily } from '@bitgo-beta/statics';
3
- import { Interface } from './lib';
1
+ import { AuditDecryptedKeyParams, BaseCoin, BitGoBase, KeyPair, MPCAlgorithm, MPCConsolidationRecoveryOptions, MPCRecoveryOptions, MPCSweepRecoveryOptions, MPCSweepTxs, MPCTx, MPCTxs, MultisigType, ParsedTransaction, ParseTransactionOptions, SignedTransaction, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
2
+ import { CoinFamily, BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
3
+ import { SignTransactionOptions, VerifiedTransactionParameters, Material } from './lib/iface';
4
+ import { ApiPromise } from '@polkadot/api';
4
5
  export declare const DEFAULT_SCAN_FACTOR = 20;
5
- export interface SignTransactionOptions extends BaseSignTransactionOptions {
6
- txPrebuild: TransactionPrebuild;
7
- prv: string;
8
- }
9
- export interface TransactionPrebuild {
10
- txHex: string;
11
- transaction: Interface.TxData;
12
- }
13
- export interface ExplainTransactionOptions {
14
- txPrebuild: TransactionPrebuild;
15
- publicKey: string;
16
- feeInfo: {
17
- fee: string;
18
- };
19
- }
20
- export interface VerifiedTransactionParameters {
21
- txHex: string;
22
- prv: string;
23
- }
24
6
  export declare class SubstrateCoin extends BaseCoin {
25
7
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
26
8
  readonly MAX_VALIDITY_DURATION = 2400;
9
+ readonly SWEEP_TXN_DURATION = 64;
27
10
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
28
- static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
29
11
  /**
30
12
  * Creates an instance of TransactionBuilderFactory for the coin specific sdk
31
13
  */
@@ -40,6 +22,8 @@ export declare class SubstrateCoin extends BaseCoin {
40
22
  getFullName(): string;
41
23
  /** @inheritDoc */
42
24
  supportsTss(): boolean;
25
+ /** inherited doc */
26
+ getDefaultMultisigType(): MultisigType;
43
27
  /** @inheritDoc **/
44
28
  getMPCAlgorithm(): MPCAlgorithm;
45
29
  /** @inheritDoc **/
@@ -57,5 +41,55 @@ export declare class SubstrateCoin extends BaseCoin {
57
41
  verifySignTransactionParams(params: SignTransactionOptions): VerifiedTransactionParameters;
58
42
  /** @inheritDoc **/
59
43
  signTransaction(params: SignTransactionOptions): Promise<SignedTransaction>;
44
+ /**
45
+ * Retrieves the address format for the substrate coin.
46
+ *
47
+ * @returns {number} The address format as a number.
48
+ */
49
+ protected getAddressFormat(): number;
50
+ /**
51
+ * Retrieves the maximum validity duration in blocks.
52
+ *
53
+ * This method is intended to be overridden by subclasses to provide the specific
54
+ * maximum validity duration for different types of Substrate-based coins.
55
+ *
56
+ * @returns {number} The maximum validity duration in blocks.
57
+ * @throws {Error} If the method is not implemented by the subclass.
58
+ */
59
+ protected getMaxValidityDurationBlocks(): number;
60
+ protected getAddressFromPublicKey(Pubkey: string): string;
61
+ protected getInitializedNodeAPI(): Promise<ApiPromise>;
62
+ protected getAccountInfo(walletAddr: string): Promise<{
63
+ nonce: number;
64
+ freeBalance: number;
65
+ }>;
66
+ protected getFee(destAddr: string, srcAddr: string, amount: number): Promise<number>;
67
+ protected getHeaderInfo(): Promise<{
68
+ headerNumber: number;
69
+ headerHash: string;
70
+ }>;
71
+ protected getMaterial(): Promise<Material>;
72
+ /**
73
+ * Builds a funds recovery transaction without BitGo
74
+ * @param {MPCRecoveryOptions} params parameters needed to construct and
75
+ * (maybe) sign the transaction
76
+ *
77
+ * @returns {MPCTx} the serialized transaction hex string and index
78
+ * of the address being swept
79
+ */
80
+ recover(params: MPCRecoveryOptions): Promise<MPCTx | MPCSweepTxs>;
81
+ /**
82
+ * Builds native TAO recoveries of receive addresses in batch without BitGo.
83
+ * Funds will be recovered to base address first. You need to initiate another sweep txn after that.
84
+ *
85
+ * @param {MPCConsolidationRecoveryOptions} params - options for consolidation recovery.
86
+ * @param {string} [params.startingScanIndex] - receive address index to start scanning from. default to 1 (inclusive).
87
+ * @param {string} [params.endingScanIndex] - receive address index to end scanning at. default to startingScanIndex + 20 (exclusive).
88
+ */
89
+ recoverConsolidations(params: MPCConsolidationRecoveryOptions): Promise<MPCTxs | MPCSweepTxs>;
90
+ /** inherited doc */
91
+ createBroadcastableSweepTransaction(params: MPCSweepRecoveryOptions): Promise<MPCTxs>;
92
+ /** inherited doc */
93
+ auditDecryptedKey({ publicKey, prv, multiSigType }: AuditDecryptedKeyParams): void;
60
94
  }
61
95
  //# sourceMappingURL=abstractSubstrateCoin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstractSubstrateCoin.d.ts","sourceRoot":"","sources":["../../src/abstractSubstrateCoin.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,IAAI,0BAA0B,EACpD,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,s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