@kynesyslabs/demosdk 2.2.53 → 2.2.58
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/build/abstraction/Identities.d.ts +6 -4
- package/build/abstraction/Identities.js +8 -7
- package/build/abstraction/Identities.js.map +1 -1
- package/build/encryption/unifiedCrypto.d.ts +2 -2
- package/build/encryption/unifiedCrypto.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/instant_messaging/index.d.ts +0 -133
- package/build/instant_messaging/index.js +3 -2
- package/build/instant_messaging/index.js.map +1 -1
- package/build/l2ps/index.d.ts +3 -6
- package/build/l2ps/index.js +3 -7
- package/build/l2ps/index.js.map +1 -1
- package/build/l2ps/l2ps.d.ts +201 -0
- package/build/l2ps/l2ps.js +311 -0
- package/build/l2ps/l2ps.js.map +1 -0
- package/build/types/abstraction/index.d.ts +2 -3
- package/build/types/blockchain/GCREdit.d.ts +1 -8
- package/build/types/blockchain/Transaction.d.ts +3 -3
- package/build/types/cryptography.d.ts +2 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.js.map +1 -1
- package/build/websdk/DemosTransactions.js +0 -3
- package/build/websdk/DemosTransactions.js.map +1 -1
- package/build/websdk/GCRGeneration.js +2 -1
- package/build/websdk/GCRGeneration.js.map +1 -1
- package/build/websdk/demosclass.d.ts +0 -2
- package/build/websdk/demosclass.js +13 -6
- package/build/websdk/demosclass.js.map +1 -1
- package/package.json +3 -6
- package/build/encryption/ed25119.d.ts +0 -12
- package/build/encryption/ed25119.js +0 -23
- package/build/encryption/ed25119.js.map +0 -1
- package/build/l2ps/L2PS.d.ts +0 -34
- package/build/l2ps/L2PS.js +0 -181
- package/build/l2ps/L2PS.js.map +0 -1
- package/build/l2ps/L2PSMessagingSystem.d.ts +0 -8
- package/build/l2ps/L2PSMessagingSystem.js +0 -3
- package/build/l2ps/L2PSMessagingSystem.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kynesyslabs/demosdk",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.58",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"author": "Kynesys Labs",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"@multiversx/sdk-extension-provider": "^3.0.0",
|
|
54
54
|
"@multiversx/sdk-network-providers": "^2.4.3",
|
|
55
55
|
"@multiversx/sdk-wallet": "^4.4.0",
|
|
56
|
-
"@noble/
|
|
56
|
+
"@noble/hashes": "^1.8.0",
|
|
57
|
+
"@noble/post-quantum": "^0.4.0",
|
|
57
58
|
"@project-serum/anchor": "^0.26.0",
|
|
58
59
|
"@roamhq/wrtc": "^0.8.0",
|
|
59
60
|
"@simplewebauthn/browser": "^11.0.0",
|
|
@@ -64,7 +65,6 @@
|
|
|
64
65
|
"@ton/core": "^0.56.3",
|
|
65
66
|
"@ton/crypto": "^3.2.0",
|
|
66
67
|
"@ton/ton": "^13.11.2",
|
|
67
|
-
"@types/rijndael-js": "^1.0.2",
|
|
68
68
|
"@types/simple-peer": "^9.11.8",
|
|
69
69
|
"axios": "^1.7.4",
|
|
70
70
|
"big-integer": "^1.6.52",
|
|
@@ -82,7 +82,6 @@
|
|
|
82
82
|
"js-sha3": "^0.9.3",
|
|
83
83
|
"libsodium-wrappers-sumo": "^0.7.15",
|
|
84
84
|
"lodash": "^4.17.21",
|
|
85
|
-
"mceliece-nist": "^4.0.1",
|
|
86
85
|
"mlkem": "^2.3.1",
|
|
87
86
|
"near-api-js": "^4.0.4",
|
|
88
87
|
"node-forge": "^1.3.1",
|
|
@@ -90,7 +89,6 @@
|
|
|
90
89
|
"ntru": "^4.0.4",
|
|
91
90
|
"pqcrypto": "^1.0.1",
|
|
92
91
|
"protobufjs": "^7.4.0",
|
|
93
|
-
"rijndael-js": "^2.0.0",
|
|
94
92
|
"ripple-keypairs": "^2.0.0",
|
|
95
93
|
"rubic-sdk": "^5.52.6",
|
|
96
94
|
"simple-peer": "^9.11.1",
|
|
@@ -101,7 +99,6 @@
|
|
|
101
99
|
"xrpl": "^3.1.0"
|
|
102
100
|
},
|
|
103
101
|
"devDependencies": {
|
|
104
|
-
"@kynesyslabs/demosdk": "^2.2.25",
|
|
105
102
|
"@orbs-network/ton-access": "^2.3.3",
|
|
106
103
|
"@types/cors": "^2.8.17",
|
|
107
104
|
"@types/jest": "^29.5.12",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { signedObject, UnifiedCrypto } from "./unifiedCrypto";
|
|
2
|
-
export declare class Ed25519 {
|
|
3
|
-
crypto: UnifiedCrypto;
|
|
4
|
-
get keypair(): Promise<{
|
|
5
|
-
publicKey: Uint8Array | import("node-forge").pki.rsa.PublicKey | import("node-forge").pki.ed25519.NativeBuffer;
|
|
6
|
-
privateKey: Uint8Array | import("node-forge").pki.rsa.PrivateKey | import("node-forge").pki.ed25519.NativeBuffer;
|
|
7
|
-
genKey?: Uint8Array;
|
|
8
|
-
}>;
|
|
9
|
-
create(masterSeed: string): void;
|
|
10
|
-
sign(data: string): Promise<signedObject>;
|
|
11
|
-
verify(payload: signedObject): Promise<boolean>;
|
|
12
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Ed25519 = void 0;
|
|
4
|
-
class Ed25519 {
|
|
5
|
-
get keypair() {
|
|
6
|
-
// TODO: fix
|
|
7
|
-
return this.crypto.getIdentity("ed25519");
|
|
8
|
-
}
|
|
9
|
-
create(masterSeed) {
|
|
10
|
-
// TODO: convert the master seed into a 128 byte buffer
|
|
11
|
-
const seedBuffer = new TextEncoder().encode(masterSeed);
|
|
12
|
-
this.crypto.generateIdentity("ed25519", seedBuffer);
|
|
13
|
-
}
|
|
14
|
-
sign(data) {
|
|
15
|
-
const dataUint8Array = new TextEncoder().encode(data);
|
|
16
|
-
return this.crypto.sign("ed25519", dataUint8Array);
|
|
17
|
-
}
|
|
18
|
-
verify(payload) {
|
|
19
|
-
return this.crypto.verify(payload);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.Ed25519 = Ed25519;
|
|
23
|
-
//# sourceMappingURL=ed25119.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ed25119.js","sourceRoot":"","sources":["../../../src/encryption/ed25119.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAGhB,IAAI,OAAO;QACP,YAAY;QACZ,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;IAC7C,CAAC;IAED,MAAM,CAAC,UAAkB;QACrB,uDAAuD;QACvD,MAAM,UAAU,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACvD,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;IACvD,CAAC;IAED,IAAI,CAAC,IAAY;QACb,MAAM,cAAc,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;QACrD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAA;IACtD,CAAC;IAED,MAAM,CAAC,OAAqB;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IACtC,CAAC;CACJ;AAtBD,0BAsBC"}
|
package/build/l2ps/L2PS.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as forge from "node-forge";
|
|
2
|
-
import { EncryptedTransaction } from "../types/blockchain/encryptedTransaction";
|
|
3
|
-
import { Transaction } from "../types";
|
|
4
|
-
import { Message, MessageMap } from "./L2PSMessagingSystem";
|
|
5
|
-
import { IKeyPair } from "../websdk/types/KeyPair";
|
|
6
|
-
export interface SubnetPayload {
|
|
7
|
-
type: "subnet";
|
|
8
|
-
uid: string;
|
|
9
|
-
data: EncryptedTransaction;
|
|
10
|
-
}
|
|
11
|
-
export default class L2PS {
|
|
12
|
-
encryptionKey: forge.pki.rsa.PublicKey;
|
|
13
|
-
uid: forge.pki.rsa.PublicKey;
|
|
14
|
-
pam: string;
|
|
15
|
-
decryptionKey: forge.pki.rsa.PrivateKey;
|
|
16
|
-
participatingNodes: Map<string, string>;
|
|
17
|
-
encryptedTransactions: Map<string, EncryptedTransaction>;
|
|
18
|
-
constructor(privateKey?: forge.pki.rsa.PrivateKey);
|
|
19
|
-
getParticipatingNodes(): Promise<Map<string, string>>;
|
|
20
|
-
getEncryptedTransactions(blockNumber: number): Promise<EncryptedTransaction[]>;
|
|
21
|
-
getEncryptedTransaction(eHash: string): Promise<EncryptedTransaction>;
|
|
22
|
-
private encryptTx;
|
|
23
|
-
private decryptTx;
|
|
24
|
-
getTx(eHash: string): Promise<Transaction>;
|
|
25
|
-
registerTx(tx: Transaction): Promise<string>;
|
|
26
|
-
sendMessage(address: string, message: string): Promise<string>;
|
|
27
|
-
retrieveMessages(address: string): Promise<MessageMap>;
|
|
28
|
-
retrieveSingleMessage(address: string, messageId: string): Promise<Message>;
|
|
29
|
-
}
|
|
30
|
-
export declare class l2psCalls {
|
|
31
|
-
static retrieve(eTxHash: string, L2PSId: string): Promise<EncryptedTransaction>;
|
|
32
|
-
static retrieveAll(L2PSId: string, blockNumber: number): Promise<EncryptedTransaction[]>;
|
|
33
|
-
static prepare(tx: Transaction, subnet: L2PS, keypair: IKeyPair): Promise<Transaction>;
|
|
34
|
-
}
|
package/build/l2ps/L2PS.js
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// ! Fix imports and server side stuff
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.l2psCalls = void 0;
|
|
38
|
-
const forge = __importStar(require("node-forge"));
|
|
39
|
-
const Hashing_1 = require("../encryption/Hashing");
|
|
40
|
-
const websdk_1 = require("../websdk");
|
|
41
|
-
const dataManipulation_1 = require("../utils/dataManipulation");
|
|
42
|
-
class L2PS {
|
|
43
|
-
constructor(privateKey) {
|
|
44
|
-
// This will be retrieved from the db (blocks)
|
|
45
|
-
this.participatingNodes = new Map(); // ? Map<publicKey, connectionstring (as in Peer)>
|
|
46
|
-
// Transactions that belong to the L2PS (hash -> transaction)
|
|
47
|
-
this.encryptedTransactions = new Map();
|
|
48
|
-
let keyPair;
|
|
49
|
-
if (!privateKey) {
|
|
50
|
-
keyPair = forge.pki.rsa.generateKeyPair({ bits: 2048, e: 0x10001 });
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
// Obtaining the public key from the private key
|
|
54
|
-
keyPair.privateKey = privateKey;
|
|
55
|
-
// REVIEW Is this the correct way to set the public key?
|
|
56
|
-
keyPair.publicKey = forge.pki.rsa.setPublicKey(privateKey.n, privateKey.e);
|
|
57
|
-
}
|
|
58
|
-
this.encryptionKey = keyPair.publicKey;
|
|
59
|
-
this.uid = keyPair.publicKey;
|
|
60
|
-
this.pam = forge.pki.publicKeyToRSAPublicKeyPem(this.uid);
|
|
61
|
-
this.decryptionKey = keyPair.privateKey;
|
|
62
|
-
}
|
|
63
|
-
// SECTION L2PS methods
|
|
64
|
-
async getParticipatingNodes() {
|
|
65
|
-
var lastBlockResponse = await websdk_1.demos.nodeCall("getLastBlock", {});
|
|
66
|
-
var lastBlock = lastBlockResponse.response;
|
|
67
|
-
// REVIEW Is toString() the correct way to convert the public key to string?
|
|
68
|
-
this.participatingNodes =
|
|
69
|
-
lastBlock.content.l2ps_partecipating_nodes[this.uid.toString()];
|
|
70
|
-
return this.participatingNodes;
|
|
71
|
-
}
|
|
72
|
-
// ! TODO Add a method to set the partecipating nodes
|
|
73
|
-
// The above method should be authorized through an encrypted message: if decryption succeeds, then the node is authorized to enter in the partecipating nodes
|
|
74
|
-
// ? The above method does not take into account the public key of the node, it should be added (bans and so on)
|
|
75
|
-
// ! TODO Add a method to create a new L2PS with a new set of partecipating nodes
|
|
76
|
-
// SECTION Control methods
|
|
77
|
-
// REVIEW See if it works based on the below // ?
|
|
78
|
-
async getEncryptedTransactions(blockNumber) {
|
|
79
|
-
// Map<string, EncryptedTransaction> {
|
|
80
|
-
let encryptedTransactions = await l2psCalls.retrieveAll(this.pam, blockNumber);
|
|
81
|
-
return encryptedTransactions;
|
|
82
|
-
}
|
|
83
|
-
async getEncryptedTransaction(eHash) {
|
|
84
|
-
let encryptedTransaction = await l2psCalls.retrieve(this.pam, eHash);
|
|
85
|
-
return encryptedTransaction;
|
|
86
|
-
}
|
|
87
|
-
// SECTION Encryption methods
|
|
88
|
-
// Encrypt a transaction for partecipants
|
|
89
|
-
encryptTx(tx) {
|
|
90
|
-
// Safety check: we can't have another encrypted transaction within the same tx
|
|
91
|
-
if (tx.content.type === "subnet") {
|
|
92
|
-
throw new Error("Subnet transactions cannot be encrypted (you probably have a circular reference, aka a subnet tx within a subnet tx). Please check your data structure.");
|
|
93
|
-
}
|
|
94
|
-
let eTx = this.encryptionKey.encrypt(JSON.stringify(tx));
|
|
95
|
-
let eHash = Hashing_1.Hashing.sha256(JSON.stringify(eTx));
|
|
96
|
-
let blockNumber = tx.blockNumber;
|
|
97
|
-
let encryptedTx = {
|
|
98
|
-
hash: tx.hash,
|
|
99
|
-
encryptedHash: eHash,
|
|
100
|
-
encryptedTransaction: eTx,
|
|
101
|
-
blockNumber: blockNumber,
|
|
102
|
-
L2PS: this.uid,
|
|
103
|
-
};
|
|
104
|
-
return encryptedTx;
|
|
105
|
-
}
|
|
106
|
-
// Decrypt a transaction from L2PS
|
|
107
|
-
decryptTx(eTx) {
|
|
108
|
-
let tx = this.decryptionKey.decrypt(eTx.encryptedTransaction);
|
|
109
|
-
let dTx = JSON.parse(tx);
|
|
110
|
-
return dTx;
|
|
111
|
-
}
|
|
112
|
-
// SECTION Retrieval methods
|
|
113
|
-
// Retrieve a transaction from the L2PS
|
|
114
|
-
async getTx(eHash) {
|
|
115
|
-
let eTx = await this.encryptedTransactions.get(eHash);
|
|
116
|
-
let tx = this.decryptTx(eTx);
|
|
117
|
-
return tx;
|
|
118
|
-
}
|
|
119
|
-
// SECTION Registration methods
|
|
120
|
-
// Register a transaction in the L2PS
|
|
121
|
-
async registerTx(tx) {
|
|
122
|
-
let eTx = this.encryptTx(tx);
|
|
123
|
-
this.encryptedTransactions.set(eTx.encryptedHash, eTx);
|
|
124
|
-
// TODO Add the transaction to the L2PS remotely
|
|
125
|
-
return eTx.encryptedHash;
|
|
126
|
-
}
|
|
127
|
-
// SECTION Messaging methods
|
|
128
|
-
// Send a message to a specific address
|
|
129
|
-
async sendMessage(address, message) {
|
|
130
|
-
// Returns the messageId
|
|
131
|
-
// TODO Implement the method
|
|
132
|
-
return "";
|
|
133
|
-
}
|
|
134
|
-
// Retrieve all messages sent to a specific address
|
|
135
|
-
async retrieveMessages(address) {
|
|
136
|
-
// TODO Implement the method
|
|
137
|
-
return new Map();
|
|
138
|
-
}
|
|
139
|
-
// Retrieve a single message from a specific address specified by its messageId
|
|
140
|
-
async retrieveSingleMessage(address, messageId) {
|
|
141
|
-
// TODO Implement the method
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.default = L2PS;
|
|
146
|
-
// Exporting the l2ps calls for demos.ts
|
|
147
|
-
// NOTE Those calls are the unencrypted ones, the encrypted ones are registered as Transactions (see SubnetPayload)
|
|
148
|
-
class l2psCalls {
|
|
149
|
-
// Retrieving a transaction from the L2PS
|
|
150
|
-
static async retrieve(eTxHash, L2PSId) {
|
|
151
|
-
let response = await websdk_1.demos.call('l2ps', '', { eTxHash: eTxHash, L2PSId: L2PSId }, // Data
|
|
152
|
-
'retrieve');
|
|
153
|
-
return response;
|
|
154
|
-
}
|
|
155
|
-
// Retrieving all transactions from the L2PS in a specific block
|
|
156
|
-
static async retrieveAll(L2PSId, blockNumber) {
|
|
157
|
-
return await websdk_1.demos.call('l2ps', '', { L2PSId: L2PSId, blockNumber: blockNumber }, // Data
|
|
158
|
-
'retrieveAll');
|
|
159
|
-
}
|
|
160
|
-
// Takes a Transaction and give back a SubnetPayload ready to be sent in a subnet Transaction
|
|
161
|
-
static async prepare(tx, subnet, keypair) {
|
|
162
|
-
let eTxHash = await subnet.registerTx(tx);
|
|
163
|
-
let eTx = await subnet.getEncryptedTransaction(eTxHash);
|
|
164
|
-
// Creating the payload
|
|
165
|
-
let payload = {
|
|
166
|
-
type: "subnet",
|
|
167
|
-
uid: (0, dataManipulation_1.ForgeToHex)(subnet.uid), // REVIEW Is this the correct way to convert the public key to string?
|
|
168
|
-
data: eTx,
|
|
169
|
-
};
|
|
170
|
-
// Creating the subnet transaction
|
|
171
|
-
let subnetTx = websdk_1.DemosTransactions.empty();
|
|
172
|
-
// ? From and To are the same in Subnet transactions (or should we use the subnet's uid somehow?)
|
|
173
|
-
// subnetTx.content.from = keypair.publicKey as Uint8Array
|
|
174
|
-
subnetTx.content.to = subnetTx.content.from;
|
|
175
|
-
subnetTx.content.type = "subnet";
|
|
176
|
-
subnetTx.content.data = ["subnet", payload];
|
|
177
|
-
return subnetTx;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
exports.l2psCalls = l2psCalls;
|
|
181
|
-
//# sourceMappingURL=L2PS.js.map
|
package/build/l2ps/L2PS.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"L2PS.js","sourceRoot":"","sources":["../../../src/l2ps/L2PS.ts"],"names":[],"mappings":";AAAA,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtC,kDAAmC;AAInC,kDAA8C;AAC9C,qCAAmD;AAEnD,+DAAqD;AAgBrD,MAAqB,IAAI;IAYrB,YAAY,UAAqC;QANjD,8CAA8C;QAC9C,uBAAkB,GAAwB,IAAI,GAAG,EAAE,CAAA,CAAC,kDAAkD;QAEtG,6DAA6D;QAC7D,0BAAqB,GAAsC,IAAI,GAAG,EAAE,CAAA;QAGhE,IAAI,OAA8B,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,IAAI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