@functionland/react-native-fula 1.37.0 → 1.39.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.
@@ -1,397 +1,396 @@
1
1
  import Fula from '../interfaces/fulaNativeModule';
2
- /*
3
- createAccount: This function takes a seed argument, which is used to create an account. The seed must start with "/". The function returns a promise of an object that contains the seed and the account that was created.
2
+ /*
3
+ createAccount: This function takes a seed argument, which is used to create an account. The seed must start with "/". The function returns a promise of an object that contains the seed and the account that was created.
4
4
  */
5
5
  export const createAccount = seed => {
6
6
  console.log('createAccount in react-native started', seed);
7
- let res = Fula.createAccount(seed).then(res => {
7
+ let res1 = Fula.createAccount(seed).then(res => {
8
8
  try {
9
9
  let jsonRes = JSON.parse(res);
10
10
  return jsonRes;
11
11
  } catch (e) {
12
12
  try {
13
13
  return JSON.parse(res);
14
- } catch (e) {
14
+ } catch (e2) {
15
15
  return res;
16
16
  }
17
17
  }
18
18
  }).catch(err => {
19
19
  return err;
20
20
  });
21
- return res;
21
+ return res1;
22
22
  };
23
23
 
24
- /*
25
- checkAccountExists: This function takes an account argument, and returns a promise of an object that contains the account and a boolean exists flag. If exists is true, it means the account exists, otherwise, the account does not exist
24
+ /*
25
+ checkAccountExists: This function takes an account argument, and returns a promise of an object that contains the account and a boolean exists flag. If exists is true, it means the account exists, otherwise, the account does not exist
26
26
  */
27
27
  export const checkAccountExists = account => {
28
28
  console.log('checkAccountExists in react-native started', account);
29
- let res = Fula.checkAccountExists(account).then(res => {
29
+ let res1 = Fula.checkAccountExists(account).then(res => {
30
30
  try {
31
31
  let jsonRes = JSON.parse(res);
32
32
  return jsonRes;
33
33
  } catch (e) {
34
34
  try {
35
35
  return JSON.parse(res);
36
- } catch (e) {
36
+ } catch (e2) {
37
37
  return res;
38
38
  }
39
39
  }
40
40
  }).catch(err => {
41
41
  return err;
42
42
  });
43
- return res;
43
+ return res1;
44
44
  };
45
45
 
46
- /*
47
- createPool: This function takes two arguments: seed and poolName. The seed is used to identify the account that is creating the pool, and the poolName is the name of the pool being created. The function returns a promise of an object that contains the owner of the pool and the poolID of the created pool.
46
+ /*
47
+ createPool: This function takes two arguments: seed and poolName. The seed is used to identify the account that is creating the pool, and the poolName is the name of the pool being created. The function returns a promise of an object that contains the owner of the pool and the poolID of the created pool.
48
48
  */
49
49
  export const createPool = (seed, poolName) => {
50
50
  console.log('createPool in react-native started', seed, poolName);
51
- let res = Fula.createPool(seed, poolName).then(res => {
51
+ let res1 = Fula.createPool(seed, poolName).then(res => {
52
52
  try {
53
53
  let jsonRes = JSON.parse(res);
54
54
  return jsonRes;
55
55
  } catch (e) {
56
56
  try {
57
57
  return JSON.parse(res);
58
- } catch (e) {
58
+ } catch (e2) {
59
59
  return res;
60
60
  }
61
61
  }
62
62
  }).catch(err => {
63
63
  return err;
64
64
  });
65
- return res;
65
+ return res1;
66
66
  };
67
67
 
68
- /*
69
- listPools: This function takes no arguments and returns a promise of an object that contains a list of pools. Each pool in the list contains the poolID, owner, poolName, parent, and participants of the pool
68
+ /*
69
+ listPools: This function takes no arguments and returns a promise of an object that contains a list of pools. Each pool in the list contains the poolID, owner, poolName, parent, and participants of the pool
70
70
  */
71
71
  export const listPools = () => {
72
72
  console.log('listPools in react-native started');
73
- let res = Fula.listPools().then(res => {
73
+ let res1 = Fula.listPools().then(res => {
74
74
  try {
75
75
  let jsonRes = JSON.parse(res);
76
76
  return jsonRes;
77
77
  } catch (e) {
78
78
  try {
79
79
  return JSON.parse(res);
80
- } catch (e) {
80
+ } catch (e2) {
81
81
  return res;
82
82
  }
83
83
  }
84
84
  }).catch(err => {
85
85
  return err;
86
86
  });
87
- return res;
87
+ return res1;
88
88
  };
89
89
 
90
- /*
91
- joinPool: This function takes two arguments: seed and poolID. The seed is used to identify the account that is joining the pool, and the poolID is the ID of the pool the account is joining. The function returns a promise of an object that contains the account joining the pool and the poolID of the joined pool.
90
+ /*
91
+ joinPool: This function takes two arguments: seed and poolID. The seed is used to identify the account that is joining the pool, and the poolID is the ID of the pool the account is joining. The function returns a promise of an object that contains the account joining the pool and the poolID of the joined pool.
92
92
  */
93
93
 
94
94
  export const joinPool = poolID => {
95
95
  console.log('joinPool in react-native started', poolID);
96
- let res = Fula.joinPool(poolID.toString()).then(res => {
96
+ let res1 = Fula.joinPool(poolID.toString()).then(res => {
97
97
  try {
98
98
  let jsonRes = JSON.parse(res);
99
99
  return jsonRes;
100
100
  } catch (e) {
101
101
  try {
102
102
  return JSON.parse(res);
103
- } catch (e) {
103
+ } catch (e2) {
104
104
  console.error('Error parsing res in joining pool:', e);
105
- throw e; // Rethrow the error to maintain the rejection state
105
+ return res; // Rethrow the error to maintain the rejection state
106
106
  }
107
107
  }
108
108
  }).catch(err => {
109
109
  console.error('Error joining pool:', err);
110
110
  throw err; // Rethrow the error to maintain the rejection state
111
111
  });
112
-
113
- return res;
112
+ return res1;
114
113
  };
115
114
 
116
- /*
117
- leavePool: This function takes two arguments: seed and poolID. The seed is used to identify the account that is leaving the pool, and the poolID is the ID of the pool the account is leaving. The function returns a promise of an object that contains the `
115
+ /*
116
+ leavePool: This function takes two arguments: seed and poolID. The seed is used to identify the account that is leaving the pool, and the poolID is the ID of the pool the account is leaving. The function returns a promise of an object that contains the `
118
117
  */
119
118
 
120
119
  export const leavePool = poolID => {
121
120
  console.log('leavePool in react-native started', poolID);
122
- let res = Fula.leavePool(poolID).then(res => {
121
+ let res1 = Fula.leavePool(poolID).then(res => {
123
122
  try {
124
123
  let jsonRes = JSON.parse(res);
125
124
  return jsonRes;
126
125
  } catch (e) {
127
126
  try {
128
127
  return JSON.parse(res);
129
- } catch (e) {
128
+ } catch (e2) {
130
129
  return res;
131
130
  }
132
131
  }
133
132
  }).catch(err => {
134
133
  return err;
135
134
  });
136
- return res;
135
+ return res1;
137
136
  };
138
137
  export const cancelPoolJoin = poolID => {
139
138
  console.log('cancelPoolJoin in react-native started', poolID);
140
- let res = Fula.cancelPoolJoin(poolID).then(res => {
139
+ let res1 = Fula.cancelPoolJoin(poolID).then(res => {
141
140
  try {
142
141
  let jsonRes = JSON.parse(res);
143
142
  return jsonRes;
144
143
  } catch (e) {
145
144
  try {
146
145
  return JSON.parse(res);
147
- } catch (e) {
146
+ } catch (e2) {
148
147
  return res;
149
148
  }
150
149
  }
151
150
  }).catch(err => {
152
151
  return err;
153
152
  });
154
- return res;
153
+ return res1;
155
154
  };
156
155
  export const listPoolJoinRequests = poolID => {
157
156
  console.log('listPoolJoinRequests in react-native started', poolID);
158
- let res = Fula.listPoolJoinRequests(poolID).then(res => {
157
+ let res1 = Fula.listPoolJoinRequests(poolID).then(res => {
159
158
  try {
160
159
  let jsonRes = JSON.parse(res);
161
160
  return jsonRes;
162
161
  } catch (e) {
163
162
  try {
164
163
  return JSON.parse(res);
165
- } catch (e) {
164
+ } catch (e2) {
166
165
  return res;
167
166
  }
168
167
  }
169
168
  }).catch(err => {
170
169
  return err;
171
170
  });
172
- return res;
171
+ return res1;
173
172
  };
174
173
 
175
- /*
176
- seed is used to authorize the request.
177
- poolID is the ID of the pool in which the account is requesting to join.
178
- account is the account that is requesting to join the pool.
179
- accept is a boolean value that indicates whether to accept or reject the join request.
180
- It returns a promise of BType.PoolVoteResponse which includes the account and poolID
174
+ /*
175
+ seed is used to authorize the request.
176
+ poolID is the ID of the pool in which the account is requesting to join.
177
+ account is the account that is requesting to join the pool.
178
+ accept is a boolean value that indicates whether to accept or reject the join request.
179
+ It returns a promise of BType.PoolVoteResponse which includes the account and poolID
181
180
  */
182
181
  export const votePoolJoinRequest = (seed, poolID, account, accept) => {
183
182
  console.log('votePoolJoinRequest in react-native started', seed, poolID, account, accept);
184
- let res = Fula.votePoolJoinRequest(seed, poolID, account, accept).then(res => {
183
+ let res1 = Fula.votePoolJoinRequest(seed, poolID, account, accept).then(res => {
185
184
  try {
186
185
  let jsonRes = JSON.parse(res);
187
186
  return jsonRes;
188
187
  } catch (e) {
189
188
  try {
190
189
  return JSON.parse(res);
191
- } catch (e) {
190
+ } catch (e2) {
192
191
  return res;
193
192
  }
194
193
  }
195
194
  }).catch(err => {
196
195
  return err;
197
196
  });
198
- return res;
197
+ return res1;
199
198
  };
200
199
 
201
- /*
202
- It takes four arguments:
203
-
204
- seed is used to authorize the request.
205
- poolID is the ID of the pool in which the replication request is made.
206
- replicationFactor is the number of copies of the content to be stored.
207
- cid is the content identifier of the content to be replicated.
208
- It returns a promise of BType.ManifestUploadResponse which includes the uploader, storage, ManifestMetadata, and poolID
200
+ /*
201
+ It takes four arguments:
202
+
203
+ seed is used to authorize the request.
204
+ poolID is the ID of the pool in which the replication request is made.
205
+ replicationFactor is the number of copies of the content to be stored.
206
+ cid is the content identifier of the content to be replicated.
207
+ It returns a promise of BType.ManifestUploadResponse which includes the uploader, storage, ManifestMetadata, and poolID
209
208
  */
210
209
  export const newReplicationRequest = (seed, poolID, replicationFactor, cid) => {
211
210
  console.log('newReplicationRequest in react-native started', seed, poolID, replicationFactor, cid);
212
- let res = Fula.newReplicationRequest(seed, poolID, replicationFactor, cid).then(res => {
211
+ let res1 = Fula.newReplicationRequest(seed, poolID, replicationFactor, cid).then(res => {
213
212
  try {
214
213
  let jsonRes = JSON.parse(res);
215
214
  return jsonRes;
216
215
  } catch (e) {
217
216
  try {
218
217
  return JSON.parse(res);
219
- } catch (e) {
218
+ } catch (e2) {
220
219
  return res;
221
220
  }
222
221
  }
223
222
  }).catch(err => {
224
223
  return err;
225
224
  });
226
- return res;
225
+ return res1;
227
226
  };
228
227
 
229
- /*
230
- It takes four arguments:
231
-
232
- seed is used to authorize the request.
233
- poolID is the ID of the pool in which the replication request is made.
234
- uploader is the account of the user making the request
235
- cid is the content identifier of the content to be stored.
236
- It returns a promise of BType.ManifestUploadResponse which includes the uploader, storage, ManifestMetadata, and poolID
228
+ /*
229
+ It takes four arguments:
230
+
231
+ seed is used to authorize the request.
232
+ poolID is the ID of the pool in which the replication request is made.
233
+ uploader is the account of the user making the request
234
+ cid is the content identifier of the content to be stored.
235
+ It returns a promise of BType.ManifestUploadResponse which includes the uploader, storage, ManifestMetadata, and poolID
237
236
  */
238
237
  export const newStoreRequest = (seed, poolID, uploader, cid) => {
239
238
  console.log('newStoreRequest in react-native started', seed, poolID, uploader, cid);
240
- let res = Fula.newStoreRequest(seed, poolID, uploader, cid).then(res => {
239
+ let res1 = Fula.newStoreRequest(seed, poolID, uploader, cid).then(res => {
241
240
  try {
242
241
  let jsonRes = JSON.parse(res);
243
242
  return jsonRes;
244
243
  } catch (e) {
245
244
  try {
246
245
  return JSON.parse(res);
247
- } catch (e) {
246
+ } catch (e2) {
248
247
  return res;
249
248
  }
250
249
  }
251
250
  }).catch(err => {
252
251
  return err;
253
252
  });
254
- return res;
253
+ return res1;
255
254
  };
256
255
 
257
- /*
258
- It takes one argument:
259
-
260
- poolID is the ID of the pool for which the replication requests are listed
261
- It returns a promise of BType.ManifestUploadResponse[] which is an array of the replication requests, including the uploader, storage, ManifestMetadata, and poolID
256
+ /*
257
+ It takes one argument:
258
+
259
+ poolID is the ID of the pool for which the replication requests are listed
260
+ It returns a promise of BType.ManifestUploadResponse[] which is an array of the replication requests, including the uploader, storage, ManifestMetadata, and poolID
262
261
  */
263
262
  export const listAvailableReplicationRequests = poolID => {
264
263
  console.log('listAvailableReplicationRequests in react-native started', poolID);
265
- let res = Fula.listAvailableReplicationRequests(poolID).then(res => {
264
+ let res1 = Fula.listAvailableReplicationRequests(poolID).then(res => {
266
265
  try {
267
266
  let jsonRes = JSON.parse(res);
268
267
  return jsonRes;
269
268
  } catch (e) {
270
269
  try {
271
270
  return JSON.parse(res);
272
- } catch (e) {
271
+ } catch (e2) {
273
272
  return res;
274
273
  }
275
274
  }
276
275
  }).catch(err => {
277
276
  return err;
278
277
  });
279
- return res;
278
+ return res1;
280
279
  };
281
280
 
282
- /*
283
- It takes three arguments:
284
-
285
- seed is the seed of the account that is removing the replication request
286
- poolID is the ID of the pool for which the replication request is being removed
287
- cid is the content ID of the replication request being removed
288
- It returns a promise of BType.ManifestUploadResponse which is the removed replication request, including the uploader, storage, ManifestMetadata, and poolID
281
+ /*
282
+ It takes three arguments:
283
+
284
+ seed is the seed of the account that is removing the replication request
285
+ poolID is the ID of the pool for which the replication request is being removed
286
+ cid is the content ID of the replication request being removed
287
+ It returns a promise of BType.ManifestUploadResponse which is the removed replication request, including the uploader, storage, ManifestMetadata, and poolID
289
288
  */
290
289
  export const removeReplicationRequest = (seed, poolID, cid) => {
291
290
  console.log('removeReplicationRequest in react-native started', seed, poolID, cid);
292
- let res = Fula.removeReplicationRequest(seed, poolID, cid).then(res => {
291
+ let res1 = Fula.removeReplicationRequest(seed, poolID, cid).then(res => {
293
292
  try {
294
293
  let jsonRes = JSON.parse(res);
295
294
  return jsonRes;
296
295
  } catch (e) {
297
296
  try {
298
297
  return JSON.parse(res);
299
- } catch (e) {
298
+ } catch (e2) {
300
299
  return res;
301
300
  }
302
301
  }
303
302
  }).catch(err => {
304
303
  return err;
305
304
  });
306
- return res;
305
+ return res1;
307
306
  };
308
307
 
309
- /*
310
- It takes four arguments:
311
-
312
- seed is the seed of the account that is removing the storer
313
- storer is the address of the storer that is being removed
314
- poolID is the ID of the pool for which the storer is being removed
315
- cid is the content ID of the replication request for which the storer is being removed
316
- It returns a promise of BType.ManifestUploadResponse which is the replication request, including the uploader, storage, ManifestMetadata, and poolID after the storer has been removed.
308
+ /*
309
+ It takes four arguments:
310
+
311
+ seed is the seed of the account that is removing the storer
312
+ storer is the address of the storer that is being removed
313
+ poolID is the ID of the pool for which the storer is being removed
314
+ cid is the content ID of the replication request for which the storer is being removed
315
+ It returns a promise of BType.ManifestUploadResponse which is the replication request, including the uploader, storage, ManifestMetadata, and poolID after the storer has been removed.
317
316
  */
318
317
  export const removeStorer = (seed, storer, poolID, cid) => {
319
318
  console.log('removeStorer in react-native started', seed, storer, poolID, cid);
320
- let res = Fula.removeStorer(seed, storer, poolID, cid).then(res => {
319
+ let res1 = Fula.removeStorer(seed, storer, poolID, cid).then(res => {
321
320
  try {
322
321
  let jsonRes = JSON.parse(res);
323
322
  return jsonRes;
324
323
  } catch (e) {
325
324
  try {
326
325
  return JSON.parse(res);
327
- } catch (e) {
326
+ } catch (e2) {
328
327
  return res;
329
328
  }
330
329
  }
331
330
  }).catch(err => {
332
331
  return err;
333
332
  });
334
- return res;
333
+ return res1;
335
334
  };
336
335
 
337
- /*
338
- It takes four arguments:
339
-
340
- seed is the seed of the account that is removing the stored replication
341
- uploader is the address of the uploader that is being removed
342
- poolID is the ID of the pool for which the stored replication is being removed
343
- cid is the content ID of the replication request for which the stored replication is being removed
344
- It returns a promise of BType.ManifestUploadResponse which is the replication request, including the uploader, storage, ManifestMetadata, and poolID after the stored replication has been removed.
336
+ /*
337
+ It takes four arguments:
338
+
339
+ seed is the seed of the account that is removing the stored replication
340
+ uploader is the address of the uploader that is being removed
341
+ poolID is the ID of the pool for which the stored replication is being removed
342
+ cid is the content ID of the replication request for which the stored replication is being removed
343
+ It returns a promise of BType.ManifestUploadResponse which is the replication request, including the uploader, storage, ManifestMetadata, and poolID after the stored replication has been removed.
345
344
  */
346
345
  export const removeStoredReplication = (seed, uploader, poolID, cid) => {
347
346
  console.log('removeStoredReplication in react-native started', seed, uploader, poolID, cid);
348
- let res = Fula.removeStoredReplication(seed, uploader, poolID, cid).then(res => {
347
+ let res1 = Fula.removeStoredReplication(seed, uploader, poolID, cid).then(res => {
349
348
  try {
350
349
  let jsonRes = JSON.parse(res);
351
350
  return jsonRes;
352
351
  } catch (e) {
353
352
  try {
354
353
  return JSON.parse(res);
355
- } catch (e) {
354
+ } catch (e2) {
356
355
  return res;
357
356
  }
358
357
  }
359
358
  }).catch(err => {
360
359
  return err;
361
360
  });
362
- return res;
361
+ return res1;
363
362
  };
364
363
 
365
- /*
366
- bloxFreeSpace: This function takes no arguments and returns a promise of an object that contains the blox free space information.
364
+ /*
365
+ bloxFreeSpace: This function takes no arguments and returns a promise of an object that contains the blox free space information.
367
366
  */
368
367
  export const bloxFreeSpace = () => {
369
368
  console.log('bloxFreeSpace in react-native started');
370
- let res = Fula.bloxFreeSpace().then(res => {
369
+ let res1 = Fula.bloxFreeSpace().then(res => {
371
370
  try {
372
371
  let jsonRes = JSON.parse(res);
373
372
  return jsonRes;
374
373
  } catch (e) {
375
374
  try {
376
375
  return JSON.parse(res);
377
- } catch (e) {
376
+ } catch (e2) {
378
377
  return res;
379
378
  }
380
379
  }
381
380
  }).catch(err => {
382
381
  return err;
383
382
  });
384
- return res;
383
+ return res1;
385
384
  };
386
385
  export const getAccount = () => {
387
386
  console.log('getAccount in react-native started');
388
- let res = Fula.getAccount().then(res => {
387
+ let res = Fula.getAccount().then(res1 => {
389
388
  try {
390
- let jsonRes = JSON.parse(res);
389
+ let jsonRes = JSON.parse(res1);
391
390
  return jsonRes;
392
391
  } catch (e) {
393
392
  try {
394
- return JSON.parse(res);
393
+ return JSON.parse(res1);
395
394
  } catch (e1) {
396
395
  console.error('Error parsing res in get account:', e1);
397
396
  throw e1; // Rethrow the error to maintain the rejection state
@@ -401,18 +400,17 @@ export const getAccount = () => {
401
400
  console.error('Error getting account:', err);
402
401
  throw err; // Rethrow the error to maintain the rejection state
403
402
  });
404
-
405
403
  return res;
406
404
  };
407
405
  export const assetsBalance = (account, assetId, classId) => {
408
406
  console.log('assetsBalance in react-native started');
409
- let res = Fula.assetsBalance(account, assetId, classId).then(res => {
407
+ let res = Fula.assetsBalance(account, assetId, classId).then(res1 => {
410
408
  try {
411
- let jsonRes = JSON.parse(res);
409
+ let jsonRes = JSON.parse(res1);
412
410
  return jsonRes;
413
411
  } catch (e) {
414
412
  try {
415
- return JSON.parse(res);
413
+ return JSON.parse(res1);
416
414
  } catch (e1) {
417
415
  console.error('Error parsing res in get asset balance:', e1);
418
416
  throw e1; // Rethrow the error to maintain the rejection state
@@ -422,18 +420,17 @@ export const assetsBalance = (account, assetId, classId) => {
422
420
  console.error('Error getting asset balance:', err);
423
421
  throw err; // Rethrow the error to maintain the rejection state
424
422
  });
425
-
426
423
  return res;
427
424
  };
428
425
  export const transferToFula = (amount, wallet, chain) => {
429
426
  console.log('transferToFula in react-native started');
430
- let res = Fula.transferToFula(amount, wallet, chain).then(res => {
427
+ let res = Fula.transferToFula(amount, wallet, chain).then(res1 => {
431
428
  try {
432
- let jsonRes = JSON.parse(res);
429
+ let jsonRes = JSON.parse(res1);
433
430
  return jsonRes;
434
431
  } catch (e) {
435
432
  try {
436
- return JSON.parse(res);
433
+ return JSON.parse(res1);
437
434
  } catch (e1) {
438
435
  console.error('Error parsing res in transferToFula:', e1);
439
436
  throw e1; // Rethrow the error to maintain the rejection state
@@ -443,7 +440,6 @@ export const transferToFula = (amount, wallet, chain) => {
443
440
  console.error('Error getting transferToFula:', err);
444
441
  throw err; // Rethrow the error to maintain the rejection state
445
442
  });
446
-
447
443
  return res;
448
444
  };
449
445
  //# sourceMappingURL=blockchain.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Fula","createAccount","seed","console","log","res","then","jsonRes","JSON","parse","e","catch","err","checkAccountExists","account","createPool","poolName","listPools","joinPool","poolID","toString","error","leavePool","cancelPoolJoin","listPoolJoinRequests","votePoolJoinRequest","accept","newReplicationRequest","replicationFactor","cid","newStoreRequest","uploader","listAvailableReplicationRequests","removeReplicationRequest","removeStorer","storer","removeStoredReplication","bloxFreeSpace","getAccount","e1","assetsBalance","assetId","classId","transferToFula","amount","wallet","chain"],"sourceRoot":"..\\..\\..\\src","sources":["protocols/blockchain.ts"],"mappings":"AAAA,OAAOA,IAAI,MAAM,gCAAgC;AAGjD;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GACxBC,IAAY,IACsB;EAClCC,OAAO,CAACC,GAAG,CAAC,uCAAuC,EAAEF,IAAI,CAAC;EAC1D,IAAIG,GAAG,GAAGL,IAAI,CAACC,aAAa,CAACC,IAAI,CAAC,CAC/BI,IAAI,CAAED,GAAG,IAAK;IACb,IAAI;MACF,IAAIE,OAA6B,GAAGC,IAAI,CAACC,KAAK,CAACJ,GAAG,CAAC;MACnD,OAAOE,OAAO;IAChB,CAAC,CAAC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CAAEC,GAAG,IAAK;IACdT,OAAO,CAACkB,KAAK,CAAC,+BAA+B,EAAET,GAAG,CAAC;IACnD,MAAMA,GAAG,CAAC,CAAC;EACb,CAAC,CAAC;;EACJ,OAAOP,GAAG;AACZ,CAAC"}
1
+ {"version":3,"names":["Fula","createAccount","seed","console","log","res1","then","res","jsonRes","JSON","parse","e","e2","catch","err","checkAccountExists","account","createPool","poolName","listPools","joinPool","poolID","toString","error","leavePool","cancelPoolJoin","listPoolJoinRequests","votePoolJoinRequest","accept","newReplicationRequest","replicationFactor","cid","newStoreRequest","uploader","listAvailableReplicationRequests","removeReplicationRequest","removeStorer","storer","removeStoredReplication","bloxFreeSpace","getAccount","e1","assetsBalance","assetId","classId","transferToFula","amount","wallet","chain"],"sourceRoot":"..\\..\\..\\src","sources":["protocols/blockchain.ts"],"mappings":"AAAA,OAAOA,IAAI,MAAM,gCAAgC;AAGjD;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GACxBC,IAAY,IACsB;EAClCC,OAAO,CAACC,GAAG,CAAC,uCAAuC,EAAEF,IAAI,CAAC;EAC1D,IAAIG,IAAI,GAAGL,IAAI,CAACC,aAAa,CAACC,IAAI,CAAC,CAChCI,IAAI,CAAEC,GAAG,IAAK;IACb,IAAI;MACF,IAAIC,OAA6B,GAAGC,IAAI,CAACC,KAAK,CAACH,GAAG,CAAC;MACnD,OAAOC,OAAO;IAChB,CAAC,CAAC,OAAOG,CAAC,EAAE;MACV,IAAI;QACF,OAAOF,IAAI,CAACC,KAAK,CAACH,GAAG,CAAC;MACxB,CAAC,CAAC,OAAOK,EAAE,EAAE;QACX,OAAOL,GAAG;MACZ;IACF;EACF,CAAC,CAAC,CACDM,KAAK,CAAEC,GAAG,IAAK;IACd,OAAOA,GAAG;EACZ,CAAC,CAAC;EACJ,OAAOT,IAAI;AACb,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMU,kBAAkB,GAC7BC,OAAe,IAC0B;EACzCb,OAAO,CAACC,GAAG,CAA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