@arkade-os/sdk 0.5.11 → 0.5.13
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/dist/adapters/expo.cjs +7 -7
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +4 -4
- package/dist/{asyncStorageTaskQueue-C0irgPwJ.d.ts → asyncStorageTaskQueue-Dhbe00Ya.d.ts} +1 -1
- package/dist/{asyncStorageTaskQueue-B6rFkXzW.d.cts → asyncStorageTaskQueue-Y4BlVm41.d.cts} +1 -1
- package/dist/{chunk-WIZCF5IX.cjs → chunk-6TBTL42M.cjs} +92 -5
- package/dist/chunk-6TBTL42M.cjs.map +1 -0
- package/dist/{chunk-DMYHAUTA.cjs → chunk-6WPP4UGN.cjs} +9962 -8635
- package/dist/chunk-6WPP4UGN.cjs.map +1 -0
- package/dist/{chunk-WZ2UHHQ7.cjs → chunk-6XVTGWQK.cjs} +20 -20
- package/dist/{chunk-WZ2UHHQ7.cjs.map → chunk-6XVTGWQK.cjs.map} +1 -1
- package/dist/{chunk-UPIQZRNJ.cjs → chunk-ACIQZLWL.cjs} +379 -20
- package/dist/chunk-ACIQZLWL.cjs.map +1 -0
- package/dist/{chunk-KRKREYKT.js → chunk-BA36SQY2.js} +4 -4
- package/dist/{chunk-KRKREYKT.js.map → chunk-BA36SQY2.js.map} +1 -1
- package/dist/{chunk-VJQMUKPZ.js → chunk-BP4NA7HK.js} +5 -5
- package/dist/{chunk-VJQMUKPZ.js.map → chunk-BP4NA7HK.js.map} +1 -1
- package/dist/{chunk-LKVVWCIW.js → chunk-D4QH6L54.js} +4 -4
- package/dist/{chunk-LKVVWCIW.js.map → chunk-D4QH6L54.js.map} +1 -1
- package/dist/{chunk-DPFD5KBK.js → chunk-GB67AGXG.js} +86 -6
- package/dist/chunk-GB67AGXG.js.map +1 -0
- package/dist/{chunk-5HCDXBBG.cjs → chunk-HS7TKVOZ.cjs} +30 -21
- package/dist/chunk-HS7TKVOZ.cjs.map +1 -0
- package/dist/{chunk-SS5BPVQL.js → chunk-LHLRG2BE.js} +23 -15
- package/dist/chunk-LHLRG2BE.js.map +1 -0
- package/dist/{chunk-HRFWODLP.js → chunk-QSERJPTT.js} +628 -23
- package/dist/chunk-QSERJPTT.js.map +1 -0
- package/dist/{chunk-VLO3JAP3.cjs → chunk-TD4PKK2I.cjs} +680 -68
- package/dist/chunk-TD4PKK2I.cjs.map +1 -0
- package/dist/{chunk-NC6TEEHZ.cjs → chunk-TYSUFG2K.cjs} +11 -11
- package/dist/{chunk-NC6TEEHZ.cjs.map → chunk-TYSUFG2K.cjs.map} +1 -1
- package/dist/{chunk-GEK6QBSY.cjs → chunk-WFJPLXOE.cjs} +21 -21
- package/dist/{chunk-GEK6QBSY.cjs.map → chunk-WFJPLXOE.cjs.map} +1 -1
- package/dist/{chunk-4DUTRRXF.js → chunk-X57WKONW.js} +369 -10
- package/dist/chunk-X57WKONW.js.map +1 -0
- package/dist/{chunk-W2C3KDQA.js → chunk-Y3AWLHQP.js} +9520 -8196
- package/dist/chunk-Y3AWLHQP.js.map +1 -0
- package/dist/compiler.cjs +3 -4
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.js +2 -3
- package/dist/compiler.js.map +1 -1
- package/dist/contracts/handlers/index.cjs +15 -11
- package/dist/contracts/handlers/index.d.cts +5 -5
- package/dist/contracts/handlers/index.d.ts +5 -5
- package/dist/contracts/handlers/index.js +4 -4
- package/dist/{index-Bq349_ly.d.cts → index-BQwrHcOh.d.cts} +524 -23
- package/dist/{index-D4ahI0W6.d.cts → index-BaTItxPx.d.cts} +1 -1
- package/dist/{index-Yh5y9G4E.d.ts → index-BapVvuoI.d.ts} +1 -1
- package/dist/{index-Mn2POBPj.d.ts → index-DuXylQrN.d.ts} +524 -23
- package/dist/index.cjs +403 -368
- package/dist/index.d.cts +82 -71
- package/dist/index.d.ts +82 -71
- package/dist/index.js +6 -7
- package/dist/repositories/realm/index.cjs +39 -40
- package/dist/repositories/realm/index.cjs.map +1 -1
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +7 -8
- package/dist/repositories/realm/index.js.map +1 -1
- package/dist/repositories/sqlite/index.cjs +37 -38
- package/dist/repositories/sqlite/index.cjs.map +1 -1
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +7 -8
- package/dist/repositories/sqlite/index.js.map +1 -1
- package/dist/{taskRunner-BYxEgwM5.d.ts → taskRunner-BxOmg-O6.d.ts} +1 -1
- package/dist/{taskRunner-Z3LnHfgs.d.cts → taskRunner-D2itCXf6.d.cts} +1 -1
- package/dist/wallet/expo/background.cjs +16 -17
- package/dist/wallet/expo/background.cjs.map +1 -1
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +8 -9
- package/dist/wallet/expo/background.js.map +1 -1
- package/dist/wallet/expo/index.cjs +17 -18
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +2 -2
- package/dist/wallet/expo/index.d.ts +2 -2
- package/dist/wallet/expo/index.js +7 -8
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/worker/expo/index.cjs +11 -12
- package/dist/worker/expo/index.cjs.map +1 -1
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +7 -8
- package/dist/worker/expo/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-4DUTRRXF.js.map +0 -1
- package/dist/chunk-5HCDXBBG.cjs.map +0 -1
- package/dist/chunk-DMYHAUTA.cjs.map +0 -1
- package/dist/chunk-DPFD5KBK.js.map +0 -1
- package/dist/chunk-HRFWODLP.js.map +0 -1
- package/dist/chunk-OMZZQTDM.cjs +0 -376
- package/dist/chunk-OMZZQTDM.cjs.map +0 -1
- package/dist/chunk-PXEFYEKL.js +0 -373
- package/dist/chunk-PXEFYEKL.js.map +0 -1
- package/dist/chunk-SS5BPVQL.js.map +0 -1
- package/dist/chunk-UPIQZRNJ.cjs.map +0 -1
- package/dist/chunk-VLO3JAP3.cjs.map +0 -1
- package/dist/chunk-W2C3KDQA.js.map +0 -1
- package/dist/chunk-WIZCF5IX.cjs.map +0 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
|
|
9
|
-
require('../../chunk-WIZCF5IX.cjs');
|
|
3
|
+
var chunk6WPP4UGN_cjs = require('../../chunk-6WPP4UGN.cjs');
|
|
4
|
+
require('../../chunk-WFJPLXOE.cjs');
|
|
5
|
+
require('../../chunk-TD4PKK2I.cjs');
|
|
6
|
+
require('../../chunk-ACIQZLWL.cjs');
|
|
7
|
+
var chunkHS7TKVOZ_cjs = require('../../chunk-HS7TKVOZ.cjs');
|
|
8
|
+
require('../../chunk-6TBTL42M.cjs');
|
|
10
9
|
|
|
11
10
|
// src/repositories/sqlite/transaction.ts
|
|
12
11
|
var executorQueues = /* @__PURE__ */ new WeakMap();
|
|
@@ -242,7 +241,7 @@ var SQLiteWalletRepository = class {
|
|
|
242
241
|
for (const row of nullRows) {
|
|
243
242
|
await tx.run(
|
|
244
243
|
`UPDATE ${this.tables.vtxos} SET script = ? WHERE txid = ? AND vout = ?`,
|
|
245
|
-
[
|
|
244
|
+
[chunk6WPP4UGN_cjs.scriptFromArkAddress(row.address), row.txid, row.vout]
|
|
246
245
|
);
|
|
247
246
|
}
|
|
248
247
|
const tempName = `${this.tables.vtxos}__migrate_tmp`;
|
|
@@ -283,7 +282,7 @@ var SQLiteWalletRepository = class {
|
|
|
283
282
|
WHERE virtual_status_json IS NOT NULL AND is_swept IS NULL`
|
|
284
283
|
);
|
|
285
284
|
for (const row of rows) {
|
|
286
|
-
const facts =
|
|
285
|
+
const facts = chunk6WPP4UGN_cjs.legacyVtxoFacts(row.virtual_status_json);
|
|
287
286
|
if (!facts) continue;
|
|
288
287
|
await tx.run(
|
|
289
288
|
`UPDATE ${this.tables.vtxos}
|
|
@@ -375,7 +374,7 @@ var SQLiteWalletRepository = class {
|
|
|
375
374
|
expires_at, expires_at_height,
|
|
376
375
|
spent_by, settled_by, ark_tx_id, extra_witness_json, assets_json, script`,
|
|
377
376
|
vtxos.map((vtxo) => {
|
|
378
|
-
const s =
|
|
377
|
+
const s = chunk6WPP4UGN_cjs.serializeVtxo(vtxo);
|
|
379
378
|
return [
|
|
380
379
|
s.txid,
|
|
381
380
|
s.vout,
|
|
@@ -387,7 +386,7 @@ var SQLiteWalletRepository = class {
|
|
|
387
386
|
s.intentTapLeafScript.cb,
|
|
388
387
|
s.intentTapLeafScript.s,
|
|
389
388
|
JSON.stringify(s.status),
|
|
390
|
-
|
|
389
|
+
chunk6WPP4UGN_cjs.createdAtToIso(s.createdAt),
|
|
391
390
|
s.isUnrolled ? 1 : 0,
|
|
392
391
|
s.isSpent === void 0 ? null : s.isSpent ? 1 : 0,
|
|
393
392
|
s.isSwept === void 0 ? null : s.isSwept ? 1 : 0,
|
|
@@ -410,7 +409,7 @@ var SQLiteWalletRepository = class {
|
|
|
410
409
|
await this.db.run(`DELETE FROM ${this.tables.vtxos} WHERE address = ?`, [address]);
|
|
411
410
|
}
|
|
412
411
|
async getVtxosForScriptPage(script, page, options) {
|
|
413
|
-
|
|
412
|
+
chunk6WPP4UGN_cjs.assertPageRequest(page);
|
|
414
413
|
await this.ensureInit();
|
|
415
414
|
const after = page.after;
|
|
416
415
|
const rows = await this.db.all(
|
|
@@ -428,15 +427,15 @@ var SQLiteWalletRepository = class {
|
|
|
428
427
|
page.limit + 1
|
|
429
428
|
] : [script, page.limit + 1]
|
|
430
429
|
);
|
|
431
|
-
const result =
|
|
430
|
+
const result = chunk6WPP4UGN_cjs.pageResult(
|
|
432
431
|
rows.map((row) => ({ address: row.address, vtxo: vtxoRowToDomain(row) })),
|
|
433
432
|
page.limit,
|
|
434
433
|
(row) => ({ address: row.address, txid: row.vtxo.txid, vout: row.vtxo.vout })
|
|
435
434
|
);
|
|
436
|
-
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !
|
|
435
|
+
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !chunkHS7TKVOZ_cjs.isVtxoSpent(row.vtxo)) } : result;
|
|
437
436
|
}
|
|
438
437
|
async saveVtxosForScript(key, vtxos) {
|
|
439
|
-
return this.saveVtxos(
|
|
438
|
+
return this.saveVtxos(chunk6WPP4UGN_cjs.checkSaveVtxosForScript("SQLiteWalletRepository", key, vtxos), vtxos);
|
|
440
439
|
}
|
|
441
440
|
async deleteVtxosForScript(script) {
|
|
442
441
|
await this.ensureInit();
|
|
@@ -447,21 +446,21 @@ var SQLiteWalletRepository = class {
|
|
|
447
446
|
return this.pageByAddress(this.tables.utxos, address, page, utxoRowToDomain);
|
|
448
447
|
}
|
|
449
448
|
async pageByAddress(table, address, page, deserialize) {
|
|
450
|
-
|
|
449
|
+
chunk6WPP4UGN_cjs.assertPageRequest(page);
|
|
451
450
|
await this.ensureInit();
|
|
452
451
|
const rows = await this.db.all(
|
|
453
452
|
`SELECT * FROM ${table} WHERE address = ? AND (txid, vout) > (?, ?)
|
|
454
453
|
ORDER BY txid, vout LIMIT ?`,
|
|
455
454
|
[address, page.after?.txid ?? "", page.after?.vout ?? -1, page.limit + 1]
|
|
456
455
|
);
|
|
457
|
-
const result =
|
|
456
|
+
const result = chunk6WPP4UGN_cjs.pageResult(rows, page.limit, ({ txid, vout }) => ({ txid, vout }));
|
|
458
457
|
return { items: result.items.map(deserialize), nextCursor: result.nextCursor };
|
|
459
458
|
}
|
|
460
459
|
async saveUtxos(addressOrBatch, utxos) {
|
|
461
460
|
await this.ensureInit();
|
|
462
|
-
const rows =
|
|
461
|
+
const rows = chunk6WPP4UGN_cjs.utxoEntries(addressOrBatch, utxos).flatMap(
|
|
463
462
|
([address, list]) => list.map((utxo) => {
|
|
464
|
-
const s =
|
|
463
|
+
const s = chunk6WPP4UGN_cjs.serializeUtxo(utxo);
|
|
465
464
|
return [
|
|
466
465
|
s.txid,
|
|
467
466
|
s.vout,
|
|
@@ -491,8 +490,8 @@ var SQLiteWalletRepository = class {
|
|
|
491
490
|
}
|
|
492
491
|
// ── Transaction history ────────────────────────────────────────────
|
|
493
492
|
async getTransactionHistoryPage(filter, page) {
|
|
494
|
-
|
|
495
|
-
|
|
493
|
+
chunk6WPP4UGN_cjs.assertPageRequest(page);
|
|
494
|
+
chunk6WPP4UGN_cjs.assertHistoryPageFilter(filter);
|
|
496
495
|
await this.ensureInit();
|
|
497
496
|
const conditions = ["address = ?"];
|
|
498
497
|
const params = [filter.address];
|
|
@@ -516,7 +515,7 @@ var SQLiteWalletRepository = class {
|
|
|
516
515
|
ORDER BY created_at, boarding_txid, commitment_txid, ark_txid LIMIT ?`,
|
|
517
516
|
[...params, page.limit + 1]
|
|
518
517
|
);
|
|
519
|
-
return
|
|
518
|
+
return chunk6WPP4UGN_cjs.pageResult(rows.map(txRowToDomain), page.limit, (tx) => ({
|
|
520
519
|
createdAt: tx.createdAt,
|
|
521
520
|
key: tx.key
|
|
522
521
|
}));
|
|
@@ -536,7 +535,7 @@ var SQLiteWalletRepository = class {
|
|
|
536
535
|
tx.amount,
|
|
537
536
|
tx.settled ? 1 : 0,
|
|
538
537
|
tx.createdAt,
|
|
539
|
-
tx.assets ? JSON.stringify(
|
|
538
|
+
tx.assets ? JSON.stringify(chunk6WPP4UGN_cjs.serializeAssets(tx.assets)) : null
|
|
540
539
|
])
|
|
541
540
|
);
|
|
542
541
|
}
|
|
@@ -558,7 +557,7 @@ var SQLiteWalletRepository = class {
|
|
|
558
557
|
settings: row.settings_json ? JSON.parse(row.settings_json) : void 0,
|
|
559
558
|
lastSyncTime: row.last_sync_time ?? void 0
|
|
560
559
|
} : {};
|
|
561
|
-
const state =
|
|
560
|
+
const state = chunk6WPP4UGN_cjs.applyWalletStateUpdate(current, updater);
|
|
562
561
|
await tx.run(
|
|
563
562
|
`INSERT OR REPLACE INTO ${this.tables.walletState}
|
|
564
563
|
(key, settings_json, last_sync_time) VALUES (?, ?, ?)`,
|
|
@@ -631,9 +630,9 @@ function vtxoRowToDomain(row) {
|
|
|
631
630
|
// Post-migration every row has `script`, but the backfill is
|
|
632
631
|
// idempotent: derive from `address` if the legacy column is still
|
|
633
632
|
// null (e.g. the migration hasn't run yet on this handle).
|
|
634
|
-
script: row.script ??
|
|
633
|
+
script: row.script ?? chunk6WPP4UGN_cjs.scriptFromArkAddress(row.address)
|
|
635
634
|
};
|
|
636
|
-
return
|
|
635
|
+
return chunk6WPP4UGN_cjs.deserializeVtxo(serialized);
|
|
637
636
|
}
|
|
638
637
|
function utxoRowToDomain(row) {
|
|
639
638
|
const serialized = {
|
|
@@ -652,7 +651,7 @@ function utxoRowToDomain(row) {
|
|
|
652
651
|
status: JSON.parse(row.status_json),
|
|
653
652
|
extraWitness: row.extra_witness_json ? JSON.parse(row.extra_witness_json) : void 0
|
|
654
653
|
};
|
|
655
|
-
return
|
|
654
|
+
return chunk6WPP4UGN_cjs.deserializeUtxo(serialized);
|
|
656
655
|
}
|
|
657
656
|
function txRowToDomain(row) {
|
|
658
657
|
const tx = {
|
|
@@ -667,7 +666,7 @@ function txRowToDomain(row) {
|
|
|
667
666
|
createdAt: row.created_at
|
|
668
667
|
};
|
|
669
668
|
if (row.assets_json) {
|
|
670
|
-
tx.assets =
|
|
669
|
+
tx.assets = chunk6WPP4UGN_cjs.deserializeAssets(JSON.parse(row.assets_json));
|
|
671
670
|
}
|
|
672
671
|
return tx;
|
|
673
672
|
}
|
|
@@ -737,9 +736,9 @@ var SQLiteContractRepository = class {
|
|
|
737
736
|
}
|
|
738
737
|
// ── Contract management ────────────────────────────────────────────
|
|
739
738
|
async getContractsPage(filter, page) {
|
|
740
|
-
|
|
739
|
+
chunk6WPP4UGN_cjs.assertPageRequest(page);
|
|
741
740
|
await this.ensureInit();
|
|
742
|
-
if (
|
|
741
|
+
if (chunk6WPP4UGN_cjs.contractFilterMatchesNothing(filter)) return { items: [] };
|
|
743
742
|
const conditions = [];
|
|
744
743
|
const params = [];
|
|
745
744
|
if (filter) {
|
|
@@ -758,12 +757,12 @@ var SQLiteContractRepository = class {
|
|
|
758
757
|
[...params, ...after === void 0 ? [] : [after], page.limit + 1]
|
|
759
758
|
);
|
|
760
759
|
for (const contract of rows.map(contractRowToDomain)) {
|
|
761
|
-
if (!wanted || wanted.includes(
|
|
760
|
+
if (!wanted || wanted.includes(chunk6WPP4UGN_cjs.scopeOf(contract))) matches.push(contract);
|
|
762
761
|
}
|
|
763
762
|
if (!wanted || rows.length <= page.limit || matches.length > page.limit) break;
|
|
764
763
|
after = rows[rows.length - 1].script;
|
|
765
764
|
}
|
|
766
|
-
return
|
|
765
|
+
return chunk6WPP4UGN_cjs.pageResult(matches, page.limit, (contract) => contract.script);
|
|
767
766
|
}
|
|
768
767
|
async saveContract(contract) {
|
|
769
768
|
await this.ensureInit();
|
|
@@ -930,7 +929,7 @@ var SQLiteBatchRegistrationRepository = class {
|
|
|
930
929
|
});
|
|
931
930
|
}
|
|
932
931
|
async getBatchRegistrationsPage(filter, page) {
|
|
933
|
-
|
|
932
|
+
chunk6WPP4UGN_cjs.assertPageRequest(page);
|
|
934
933
|
await this.ensureInit();
|
|
935
934
|
if (filter?.states?.length === 0) return { items: [] };
|
|
936
935
|
const stateSql = filter?.states ? ` AND state IN (${filter.states.map(() => "?").join(", ")})` : "";
|
|
@@ -947,19 +946,19 @@ var SQLiteBatchRegistrationRepository = class {
|
|
|
947
946
|
for (const row of batch) {
|
|
948
947
|
after = row.intent_tx_id;
|
|
949
948
|
const intent = rowToIntent(row);
|
|
950
|
-
if (!filter ||
|
|
949
|
+
if (!filter || chunk6WPP4UGN_cjs.intentMatchesFilter(intent, filter)) rows.push(intent);
|
|
951
950
|
if (rows.length > page.limit) break;
|
|
952
951
|
}
|
|
953
952
|
if (batch.length < batchSize) break;
|
|
954
953
|
}
|
|
955
|
-
return
|
|
954
|
+
return chunk6WPP4UGN_cjs.pageResult(rows, page.limit, (intent) => intent.proofTxId);
|
|
956
955
|
}
|
|
957
956
|
async getLockedVtxoOutpoints() {
|
|
958
957
|
await this.ensureInit();
|
|
959
958
|
const rows = await this.db.all(`SELECT * FROM ${this.t}`);
|
|
960
959
|
const out = [];
|
|
961
960
|
for (const r of rows) {
|
|
962
|
-
if (
|
|
961
|
+
if (chunk6WPP4UGN_cjs.isTerminalBatchRegistrationState(r.state)) continue;
|
|
963
962
|
for (const o of JSON.parse(r.intent_vtxos_json)) out.push(o);
|
|
964
963
|
}
|
|
965
964
|
return out;
|
|
@@ -1055,7 +1054,7 @@ var SQLiteVirtualTxRepository = class {
|
|
|
1055
1054
|
const prev = prevByTxid.get(t.txid);
|
|
1056
1055
|
const psbt = t.psbt ?? prev?.psbt ?? null;
|
|
1057
1056
|
const expires = t.expiresAt ?? prev?.expires_at ?? null;
|
|
1058
|
-
const type =
|
|
1057
|
+
const type = chunk6WPP4UGN_cjs.mergeChainedTxType(t.type, prev?.type);
|
|
1059
1058
|
await tx.run(
|
|
1060
1059
|
`INSERT OR REPLACE INTO ${this.tTx} (txid, psbt, expires_at, type) VALUES (?, ?, ?, ?)`,
|
|
1061
1060
|
[t.txid, psbt, expires, type]
|
|
@@ -1141,7 +1140,7 @@ function rowToTx(r) {
|
|
|
1141
1140
|
|
|
1142
1141
|
Object.defineProperty(exports, "ChainedTxType", {
|
|
1143
1142
|
enumerable: true,
|
|
1144
|
-
get: function () { return
|
|
1143
|
+
get: function () { return chunk6WPP4UGN_cjs.ChainedTxType; }
|
|
1145
1144
|
});
|
|
1146
1145
|
exports.SQLiteBatchRegistrationRepository = SQLiteBatchRegistrationRepository;
|
|
1147
1146
|
exports.SQLiteContractRepository = SQLiteContractRepository;
|