@bitgo-beta/sdk-coin-atom 1.1.2-alpha.6 → 1.1.2-alpha.61

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 (41) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/dist/src/atom.d.ts +116 -10
  3. package/dist/src/atom.d.ts.map +1 -1
  4. package/dist/src/atom.js +498 -22
  5. package/dist/src/lib/StakingActivateBuilder.d.ts +11 -0
  6. package/dist/src/lib/StakingActivateBuilder.d.ts.map +1 -0
  7. package/dist/src/lib/StakingActivateBuilder.js +31 -0
  8. package/dist/src/lib/StakingDeactivateBuilder.d.ts +11 -0
  9. package/dist/src/lib/StakingDeactivateBuilder.d.ts.map +1 -0
  10. package/dist/src/lib/StakingDeactivateBuilder.js +31 -0
  11. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts +11 -0
  12. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts.map +1 -0
  13. package/dist/src/lib/StakingWithdrawRewardsBuilder.js +31 -0
  14. package/dist/src/lib/constants.d.ts +10 -4
  15. package/dist/src/lib/constants.d.ts.map +1 -1
  16. package/dist/src/lib/constants.js +12 -7
  17. package/dist/src/lib/iface.d.ts +27 -12
  18. package/dist/src/lib/iface.d.ts.map +1 -1
  19. package/dist/src/lib/iface.js +1 -1
  20. package/dist/src/lib/index.d.ts +3 -0
  21. package/dist/src/lib/index.d.ts.map +1 -1
  22. package/dist/src/lib/index.js +8 -2
  23. package/dist/src/lib/keyPair.d.ts +0 -2
  24. package/dist/src/lib/keyPair.d.ts.map +1 -1
  25. package/dist/src/lib/keyPair.js +4 -12
  26. package/dist/src/lib/transaction.d.ts +24 -12
  27. package/dist/src/lib/transaction.d.ts.map +1 -1
  28. package/dist/src/lib/transaction.js +181 -71
  29. package/dist/src/lib/transactionBuilder.d.ts +36 -34
  30. package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
  31. package/dist/src/lib/transactionBuilder.js +97 -129
  32. package/dist/src/lib/transactionBuilderFactory.d.ts +9 -6
  33. package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
  34. package/dist/src/lib/transactionBuilderFactory.js +25 -13
  35. package/dist/src/lib/transferBuilder.d.ts +5 -2
  36. package/dist/src/lib/transferBuilder.d.ts.map +1 -1
  37. package/dist/src/lib/transferBuilder.js +18 -2
  38. package/dist/src/lib/utils.d.ts +117 -40
  39. package/dist/src/lib/utils.d.ts.map +1 -1
  40. package/dist/src/lib/utils.js +421 -97
  41. package/package.json +15 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,156 @@
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
+ ## [3.6.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.11) (2023-09-25)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
11
+
12
+ ## [3.6.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.10) (2023-09-09)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
17
+
18
+ ## [3.6.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.9) (2023-09-09)
19
+
20
+ ### Bug Fixes
21
+
22
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
23
+
24
+ ## [3.6.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.8) (2023-09-07)
25
+
26
+ ### Bug Fixes
27
+
28
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
29
+
30
+ ## [3.6.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.7) (2023-09-05)
31
+
32
+ ### Bug Fixes
33
+
34
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
35
+
36
+ ## [3.6.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.6) (2023-09-01)
37
+
38
+ ### Bug Fixes
39
+
40
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
41
+
42
+ ## [3.6.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.5) (2023-08-29)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
45
+
46
+ ## [3.6.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.4) (2023-08-25)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
49
+
50
+ ## [3.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.3) (2023-08-24)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
53
+
54
+ ## [3.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.2) (2023-08-16)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
57
+
58
+ ## [3.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.1) (2023-08-16)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
61
+
62
+ # [3.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.4.0...@bitgo/sdk-coin-atom@3.6.0) (2023-08-04)
63
+
64
+ ### Features
65
+
66
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
67
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
68
+
69
+ # [3.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.4.0...@bitgo/sdk-coin-atom@3.5.0) (2023-07-28)
70
+
71
+ ### Features
72
+
73
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
74
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
75
+
76
+ # [3.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.4...@bitgo/sdk-coin-atom@3.4.0) (2023-07-18)
77
+
78
+ ### Features
79
+
80
+ - **abstract-cosmos:** add support for contract call transaction ([9b7dd54](https://github.com/BitGo/BitGoJS/commit/9b7dd54c6a3a9e5cf2b47b4a94ef225f111a8baf))
81
+
82
+ ## [3.3.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.3...@bitgo/sdk-coin-atom@3.3.4) (2023-06-21)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
85
+
86
+ ## [3.3.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.2...@bitgo/sdk-coin-atom@3.3.3) (2023-06-14)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
89
+
90
+ ## [3.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.1...@bitgo/sdk-coin-atom@3.3.2) (2023-06-13)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
93
+
94
+ ## [3.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.0...@bitgo/sdk-coin-atom@3.3.1) (2023-06-07)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
97
+
98
+ # [3.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.2.0...@bitgo/sdk-coin-atom@3.3.0) (2023-06-05)
99
+
100
+ ### Features
101
+
102
+ - **sdk-core:** paillier proof user<>backup ([8c0a381](https://github.com/BitGo/BitGoJS/commit/8c0a381318be2088572e06e34c3627323d7bfe38))
103
+ - **sdk-core:** refactor signConvert to steps ([94e2cae](https://github.com/BitGo/BitGoJS/commit/94e2cae6e1292a4e9684c3c2ab7141221137d52e))
104
+ - **sdk-core:** simplify mpc.appendChallenge ([67bee8f](https://github.com/BitGo/BitGoJS/commit/67bee8f1b4f37cd12d6d14ea4d51ddcfde679563))
105
+ - **sdk-lib-mpc:** make rangeProof challenges mandatory for appendChallenge ([1f68b30](https://github.com/BitGo/BitGoJS/commit/1f68b30676966720cb1a42c039e35d3ddeea4974))
106
+
107
+ # [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.4...@bitgo/sdk-coin-atom@3.2.0) (2023-05-25)
108
+
109
+ ### Features
110
+
111
+ - **sdk-coin-atom:** add recover mechanism for ATOM ([0e4cfc7](https://github.com/BitGo/BitGoJS/commit/0e4cfc74201f9a44ec3b4b9c7591a6fbd3f2efb6))
112
+
113
+ ## [3.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.3...@bitgo/sdk-coin-atom@3.1.4) (2023-05-17)
114
+
115
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
116
+
117
+ ## [3.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.2...@bitgo/sdk-coin-atom@3.1.3) (2023-05-10)
118
+
119
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
120
+
121
+ ## [3.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.1...@bitgo/sdk-coin-atom@3.1.2) (2023-05-03)
122
+
123
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
124
+
125
+ ## [3.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.0...@bitgo/sdk-coin-atom@3.1.1) (2023-04-25)
126
+
127
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
128
+
129
+ # [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.0.0...@bitgo/sdk-coin-atom@3.1.0) (2023-04-20)
130
+
131
+ ### Features
132
+
133
+ - **sdk-coin-atom:** add memo support for atom ([0287361](https://github.com/BitGo/BitGoJS/commit/0287361265de70a57c833f0ec1598648a88f1c24))
134
+
135
+ # [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@2.1.0...@bitgo/sdk-coin-atom@3.0.0) (2023-04-13)
136
+
137
+ ### Bug Fixes
138
+
139
+ - **sdk-coin-atom:** allow transaction creation from both Hex and Base64 ([91fae07](https://github.com/BitGo/BitGoJS/commit/91fae072387bcf79d571ce7537b2de42e8ed1166))
140
+ - **sdk-coin-atom:** fix getAddress of KeyPair ([b966658](https://github.com/BitGo/BitGoJS/commit/b9666588cc0f5f6965f57af50e0c0da5dfe0cc2b))
141
+ - **sdk-core:** add new function in BaseCoin to get hash-function ([e028b31](https://github.com/BitGo/BitGoJS/commit/e028b31b3954810ee6c3fd7fdfa6ed4a07aa458e))
142
+
143
+ ### Features
144
+
145
+ - **sdk-coin-atom:** add function to load inputs and outputs of a transaction ([c3e3c1d](https://github.com/BitGo/BitGoJS/commit/c3e3c1d0632f5f7490f1aad6c0d1042533f222ab))
146
+ - **sdk-coin-atom:** add staking transaction builders ([5fe2e35](https://github.com/BitGo/BitGoJS/commit/5fe2e3589b1ac47031d82e1869dff1e676a4f318))
147
+ - **sdk-coin-atom:** add support to serialise unsigned txn ([f46c31b](https://github.com/BitGo/BitGoJS/commit/f46c31b3a22096b193e521d259fdc8f5c030ab02))
148
+ - **sdk-coin-atom:** implement isValidAddress for atom ([2fb8a93](https://github.com/BitGo/BitGoJS/commit/2fb8a93f05f024e12b72c7ee85ec8563a2e65275))
149
+ - **sdk-coin-atom:** implement remaining methods ([7c03501](https://github.com/BitGo/BitGoJS/commit/7c035019c76a1bbf4fbaa3da7e5823823637d2be))
150
+
151
+ ### BREAKING CHANGES
152
+
153
+ - **sdk-coin-atom:** type MessageData is changed
154
+ - **sdk-coin-atom:** Renamed type interface GasFeeLimitData to FeeData and parameter gas to gasLimit
155
+
6
156
  # [2.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@2.0.0...@bitgo/sdk-coin-atom@2.1.0) (2023-02-17)
7
157
 
8
158
  ### Features
@@ -1,28 +1,134 @@
1
1
  /// <reference types="node" />
2
- import { BaseCoin, BitGoBase, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, UnsignedTransaction, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
2
+ import { BaseCoin, BitGoBase, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
3
3
  import { BaseCoin as StaticsBaseCoin, CoinFamily } from '@bitgo-beta/statics';
4
+ import { Hash } from 'crypto';
5
+ import { TransactionBuilderFactory } from './lib';
6
+ import * as request from 'superagent';
7
+ import { Buffer } from 'buffer';
8
+ /**
9
+ * Atom accounts support memo Id based addresses
10
+ */
11
+ interface AddressDetails {
12
+ address: string;
13
+ memoId?: string | undefined;
14
+ }
15
+ interface RecoveryOptions {
16
+ userKey?: string;
17
+ backupKey?: string;
18
+ bitgoKey: string;
19
+ recoveryDestination: string;
20
+ krsProvider?: string;
21
+ walletPassphrase?: string;
22
+ startingScanIndex?: number;
23
+ scan?: number;
24
+ }
25
+ interface AtomTx {
26
+ serializedTx: string;
27
+ scanIndex: number;
28
+ }
4
29
  export declare class Atom extends BaseCoin {
5
30
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
6
31
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
7
32
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
8
- /**
9
- * Factor between the coin's base unit and its smallest subdivison
10
- */
33
+ /** @inheritDoc **/
11
34
  getBaseFactor(): string | number;
35
+ /** @inheritDoc **/
12
36
  getChain(): string;
37
+ /** @inheritDoc **/
13
38
  getFamily(): CoinFamily;
39
+ /** @inheritDoc **/
14
40
  getFullName(): string;
15
41
  /** @inheritDoc */
16
42
  supportsTss(): boolean;
43
+ /** @inheritDoc **/
17
44
  getMPCAlgorithm(): MPCAlgorithm;
18
- verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
19
- isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
20
- parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
21
- generateKeyPair(seed?: Buffer): KeyPair;
45
+ /** @inheritDoc **/
22
46
  isValidPub(pub: string): boolean;
47
+ /** @inheritDoc **/
23
48
  isValidPrv(prv: string): boolean;
49
+ getBuilder(): TransactionBuilderFactory;
50
+ /** @inheritDoc **/
24
51
  isValidAddress(address: string): boolean;
25
- signTransaction(params: SignTransactionOptions): Promise<SignedTransaction>;
26
- explainTransaction(unsignedTransaction: UnsignedTransaction): Promise<ExplanationResult>;
52
+ /** @inheritDoc **/
53
+ verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
54
+ /** @inheritDoc **/
55
+ parseTransaction(params: ParseTransactionOptions & {
56
+ txHex: string;
57
+ }): Promise<ParsedTransaction>;
58
+ /** @inheritDoc **/
59
+ explainTransaction(options: {
60
+ txHex: string;
61
+ }): Promise<ExplanationResult>;
62
+ /** @inheritDoc **/
63
+ generateKeyPair(seed?: Buffer): KeyPair;
64
+ /**
65
+ * Sign a transaction with a single private key
66
+ * @param params parameters in the form of { txPrebuild: {txHex}, prv }
67
+ * @returns signed transaction in the form of { txHex }
68
+ */
69
+ signTransaction(params: SignTransactionOptions & {
70
+ txPrebuild: {
71
+ txHex: string;
72
+ };
73
+ prv: string;
74
+ }): Promise<SignedTransaction>;
75
+ /**
76
+ * Builds a funds recovery transaction without BitGo
77
+ * @param {RecoveryOptions} params parameters needed to construct and
78
+ * (maybe) sign the transaction
79
+ *
80
+ * @returns {AtomTx} the serialized transaction hex string and index
81
+ * of the address being swept
82
+ */
83
+ recover(params: RecoveryOptions): Promise<AtomTx>;
84
+ /**
85
+ * Get balance from public node
86
+ */
87
+ protected getBalanceFromNode(senderAddress: string): Promise<request.Response>;
88
+ /**
89
+ * Helper to fetch chainId
90
+ */
91
+ protected getChainId(): Promise<string>;
92
+ /**
93
+ * Get chain id from public node
94
+ */
95
+ protected getChainIdFromNode(): Promise<request.Response>;
96
+ /**
97
+ * Helper to fetch account number
98
+ */
99
+ protected getAccountDetails(senderAddress: string): Promise<string[]>;
100
+ /**
101
+ * Get account number from public node
102
+ */
103
+ protected getAccountFromNode(senderAddress: string): Promise<request.Response>;
104
+ /**
105
+ * Helper to fetch account balance
106
+ */
107
+ protected getAccountBalance(senderAddress: string): Promise<string>;
108
+ /**
109
+ * Get the public node url from the Environments constant we have defined
110
+ */
111
+ protected getPublicNodeUrl(): string;
112
+ getAddressFromPublicKey(pubKey: string): string;
113
+ /** @inheritDoc **/
114
+ isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
115
+ getHashFunction(): Hash;
116
+ /**
117
+ * Process address into address and memo id
118
+ *
119
+ * @param address the address
120
+ * @returns object containing address and memo id
121
+ */
122
+ getAddressDetails(address: string): AddressDetails;
123
+ /**
124
+ * Return boolean indicating whether a memo id is valid
125
+ *
126
+ * @param memoId memo id
127
+ * @returns true if memo id is valid
128
+ */
129
+ isValidMemoId(memoId: string): boolean;
130
+ private getKeyCombinedFromTssKeyShares;
131
+ private signRecoveryTSS;
27
132
  }
133
+ export {};
28
134
  //# sourceMappingURL=atom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"atom.d.ts","sourceRoot":"","sources":["../../src/atom.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE9E,qBAAa,IAAK,SAAQ,QAAQ;IAChC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC3D,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAU/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F;;OAEG;IACH,aAAa,IAAI,MAAM,GAAG,MAAM;IAIhC,QAAQ,IAAI,MAAM;IAIlB,SAAS,IAAI,UAAU;IAIvB,WAAW,IAAI,MAAM;IAIrB,kBAAkB;IAClB,WAAW,IAAI,OAAO;IAItB,eAAe,IAAI,YAAY;IAI/B,iBAAiB,CAAC,M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