@super-protocol/sdk-js 3.16.0-beta.1 → 3.16.0-beta.3
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/cjs/constants.d.ts +0 -1
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/contracts/Campaign.d.ts +116 -92
- package/dist/cjs/contracts/Campaign.js +147 -116
- package/dist/cjs/staticModels/Campaign.d.ts +6 -10
- package/dist/cjs/staticModels/Campaign.js +13 -45
- package/dist/cjs/tee/QuoteValidator.js +1 -1
- package/dist/cjs/types/Campaign.d.ts +9 -1
- package/dist/cjs/utils/helper.d.ts +0 -3
- package/dist/cjs/utils/helper.js +2 -20
- package/dist/cjs/utils/types.d.ts +0 -5
- package/dist/mjs/constants.d.ts +0 -1
- package/dist/mjs/constants.js +1 -2
- package/dist/mjs/contracts/Campaign.d.ts +116 -92
- package/dist/mjs/contracts/Campaign.js +146 -115
- package/dist/mjs/staticModels/Campaign.d.ts +6 -10
- package/dist/mjs/staticModels/Campaign.js +13 -45
- package/dist/mjs/tee/QuoteValidator.js +1 -1
- package/dist/mjs/types/Campaign.d.ts +9 -1
- package/dist/mjs/utils/helper.d.ts +0 -3
- package/dist/mjs/utils/helper.js +2 -17
- package/dist/mjs/utils/types.d.ts +0 -5
- package/package.json +1 -1
- package/dist/cjs/contracts/adminCertificateHelperAbi.d.ts +0 -316
- package/dist/cjs/contracts/adminCertificateHelperAbi.js +0 -410
- package/dist/cjs/staticModels/AdminCertificateHelper.d.ts +0 -24
- package/dist/cjs/staticModels/AdminCertificateHelper.js +0 -99
- package/dist/cjs/utils/admin-service.d.ts +0 -13
- package/dist/cjs/utils/admin-service.js +0 -73
- package/dist/mjs/contracts/adminCertificateHelperAbi.d.ts +0 -316
- package/dist/mjs/contracts/adminCertificateHelperAbi.js +0 -407
- package/dist/mjs/staticModels/AdminCertificateHelper.d.ts +0 -24
- package/dist/mjs/staticModels/AdminCertificateHelper.js +0 -92
- package/dist/mjs/utils/admin-service.d.ts +0 -13
- package/dist/mjs/utils/admin-service.js +0 -66
package/dist/cjs/constants.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare const ONE_HOUR: number;
|
|
|
13
13
|
export declare const FIVE_MINUTES: number;
|
|
14
14
|
export declare const BLOCK_SIZE_TO_FETCH_TRANSACTION = 500;
|
|
15
15
|
export declare const POLYGON_MATIC_EVENT_PATH = "0x0000000000000000000000000000000000001010";
|
|
16
|
-
export declare const ZERO32_HEX: string;
|
|
17
16
|
export declare const BLOCKCHAIN_CALL_RETRY_ATTEMPTS = 20;
|
|
18
17
|
export declare const BLOCKCHAIN_CALL_RETRY_INTERVAL = 3000;
|
|
19
18
|
export declare const TRANSACTION_RETRY_ATTEMPTS = 3;
|
package/dist/cjs/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUPERPROTOCOL_CA = exports.OID_OCSP_NONCE = exports.OID_OCSP_ISSUER_ACCESS_METHOD = exports.OID_OCSP_ACCESS_METHOD = exports.OID_CRL_DISTRIBUTION_POINTS = exports.OID_AUTHORITY_INFORMATION_ACCESS_EXTENSION = exports.OID_CUSTOM_EXTENSION_USER_DATA = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_WORKLOAD_INFO_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_SIGNATURE_KEY_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_HARDWARE_CONTEXT = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT = exports.TEE_LOADER_TRUSTED_CERTIFICATE = exports.OPBNB_MAX_PRIORITY_FEE_PER_GAS = exports.OPBNB_TX_GAS_LIMIT = exports.OPBNB_TEST_CHAIN_ID = exports.OPBNB_MAIN_CHAIN_ID = exports.TRUSTED_PKI_SOLUTION_HASHES = exports.TEE_PKI_TRUSTED_MRSIGNER = exports.TEE_LOADER_TRUSTED_MRSIGNER = exports.ZERO_HASH = exports.HTTPS_PORT = exports.DEFAULT_OFFER_VERSION = exports.AMOY_TX_GAS_LIMIT = exports.AMOY_TX_COST_LIMIT = exports.OCSP_URL = exports.POLYGON_MAIN_GASSTATION_URL = exports.POLYGON_AMOY_GASSTATION_URL = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.MAX_RPC_BATCH_SIZE = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.TRANSACTION_RETRY_ATTEMPTS = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.
|
|
3
|
+
exports.SUPERPROTOCOL_CA = exports.OID_OCSP_NONCE = exports.OID_OCSP_ISSUER_ACCESS_METHOD = exports.OID_OCSP_ACCESS_METHOD = exports.OID_CRL_DISTRIBUTION_POINTS = exports.OID_AUTHORITY_INFORMATION_ACCESS_EXTENSION = exports.OID_CUSTOM_EXTENSION_USER_DATA = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_WORKLOAD_INFO_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_SIGNATURE_KEY_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_HARDWARE_CONTEXT = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT = exports.TEE_LOADER_TRUSTED_CERTIFICATE = exports.OPBNB_MAX_PRIORITY_FEE_PER_GAS = exports.OPBNB_TX_GAS_LIMIT = exports.OPBNB_TEST_CHAIN_ID = exports.OPBNB_MAIN_CHAIN_ID = exports.TRUSTED_PKI_SOLUTION_HASHES = exports.TEE_PKI_TRUSTED_MRSIGNER = exports.TEE_LOADER_TRUSTED_MRSIGNER = exports.ZERO_HASH = exports.HTTPS_PORT = exports.DEFAULT_OFFER_VERSION = exports.AMOY_TX_GAS_LIMIT = exports.AMOY_TX_COST_LIMIT = exports.OCSP_URL = exports.POLYGON_MAIN_GASSTATION_URL = exports.POLYGON_AMOY_GASSTATION_URL = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.MAX_RPC_BATCH_SIZE = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.TRANSACTION_RETRY_ATTEMPTS = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.POLYGON_MATIC_EVENT_PATH = exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = exports.FIVE_MINUTES = exports.ONE_HOUR = exports.ONE_DAY = exports.txIntervalMs = exports.txConcurrency = exports.defaultMaxPriorityFeePerGasMultiplier = exports.defaultMaxFeePerGasMultiplier = exports.defaultGasLimitMultiplier = exports.defaultGasPriceMultiplier = exports.defaultGasPrice = exports.defaultGasLimit = exports.defaultBlockchainUrl = void 0;
|
|
4
4
|
const dto_js_1 = require("@super-protocol/dto-js");
|
|
5
5
|
exports.defaultBlockchainUrl = 'http://127.0.0.1:8545';
|
|
6
6
|
exports.defaultGasLimit = BigInt(7000000);
|
|
@@ -16,7 +16,6 @@ exports.ONE_HOUR = 60 * 60;
|
|
|
16
16
|
exports.FIVE_MINUTES = 5 * 60;
|
|
17
17
|
exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = 500;
|
|
18
18
|
exports.POLYGON_MATIC_EVENT_PATH = '0x0000000000000000000000000000000000001010';
|
|
19
|
-
exports.ZERO32_HEX = '0x' + '00'.repeat(32);
|
|
20
19
|
exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = 20;
|
|
21
20
|
exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = 3000;
|
|
22
21
|
exports.TRANSACTION_RETRY_ATTEMPTS = 3;
|
|
@@ -446,4 +445,4 @@ OVFXeEhSQXZaVUdPZFJRN2N2cVJYYXFJPQotLS0tLUVORCBDRVJUSUZJQ0FURS0t
|
|
|
446
445
|
LS0tCgAwCgYIKoZIzj0EAwIDSAAwRQIgDTaE8oMgfCSqhbOeqnn6FD2ypLS4arzW
|
|
447
446
|
th/G0VQ3e40CIQCEcpjpdAP63KCipYLE1UEmHJOBOvcKNjevt/2O9DkwXA==
|
|
448
447
|
-----END CERTIFICATE-----`;
|
|
449
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
448
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBdUU7QUFFMUQsUUFBQSxvQkFBb0IsR0FBRyx1QkFBdUIsQ0FBQztBQUMvQyxRQUFBLGVBQWUsR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDbEMsUUFBQSxlQUFlLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0FBQ3JDLFFBQUEseUJBQXlCLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLFFBQUEseUJBQXlCLEdBQUcsR0FBRyxDQUFDO0FBQ2hDLFFBQUEsNkJBQTZCLEdBQUcsQ0FBQyxDQUFDO0FBQ2xDLFFBQUEscUNBQXFDLEdBQUcsR0FBRyxDQUFDO0FBQzVDLFFBQUEsYUFBYSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxFQUFFLENBQUM7QUFDbEIsUUFBQSxPQUFPLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLENBQUM7QUFDdkIsUUFBQSxRQUFRLEdBQUcsRUFBRSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQ3RCLFFBQUEsK0JBQStCLEdBQUcsR0FBRyxDQUFDO0FBQ3RDLFFBQUEsd0JBQXdCLEdBQUcsNENBQTRDLENBQU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s7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7MEJBd1dOLENBQUMifQ==
|
|
@@ -5,13 +5,12 @@ export declare const MigrationTransactionsUpdated: "MigrationTransactionsUpdated
|
|
|
5
5
|
export declare const NodeInserted: "NodeInserted";
|
|
6
6
|
export declare const NodeRemoved: "NodeRemoved";
|
|
7
7
|
export declare const NodeUpdated: "NodeUpdated";
|
|
8
|
-
export declare const ParticipantRegistered: "ParticipantRegistered";
|
|
9
8
|
export declare const RewardClaimed: "RewardClaimed";
|
|
10
9
|
export declare const RoleAdminChanged: "RoleAdminChanged";
|
|
11
10
|
export declare const RoleGranted: "RoleGranted";
|
|
12
11
|
export declare const RoleRevoked: "RoleRevoked";
|
|
13
12
|
export declare const ScoreUpdated: "ScoreUpdated";
|
|
14
|
-
export type AbiEvent = typeof CompetitionToggled | typeof MigrationStatusUpdated | typeof MigrationSubmitted | typeof MigrationTransactionsUpdated | typeof NodeInserted | typeof NodeRemoved | typeof NodeUpdated | typeof
|
|
13
|
+
export type AbiEvent = typeof CompetitionToggled | typeof MigrationStatusUpdated | typeof MigrationSubmitted | typeof MigrationTransactionsUpdated | typeof NodeInserted | typeof NodeRemoved | typeof NodeUpdated | typeof RewardClaimed | typeof RoleAdminChanged | typeof RoleGranted | typeof RoleRevoked | typeof ScoreUpdated;
|
|
15
14
|
export declare const abi: readonly [{
|
|
16
15
|
readonly inputs: readonly [{
|
|
17
16
|
readonly internalType: "uint32";
|
|
@@ -148,16 +147,6 @@ export declare const abi: readonly [{
|
|
|
148
147
|
}];
|
|
149
148
|
readonly name: "NodeUpdated";
|
|
150
149
|
readonly type: "event";
|
|
151
|
-
}, {
|
|
152
|
-
readonly anonymous: false;
|
|
153
|
-
readonly inputs: readonly [{
|
|
154
|
-
readonly indexed: true;
|
|
155
|
-
readonly internalType: "address";
|
|
156
|
-
readonly name: "participant";
|
|
157
|
-
readonly type: "address";
|
|
158
|
-
}];
|
|
159
|
-
readonly name: "ParticipantRegistered";
|
|
160
|
-
readonly type: "event";
|
|
161
150
|
}, {
|
|
162
151
|
readonly anonymous: false;
|
|
163
152
|
readonly inputs: readonly [{
|
|
@@ -277,6 +266,29 @@ export declare const abi: readonly [{
|
|
|
277
266
|
}];
|
|
278
267
|
readonly stateMutability: "pure";
|
|
279
268
|
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly components: readonly [{
|
|
272
|
+
readonly internalType: "uint64";
|
|
273
|
+
readonly name: "migrationIndex";
|
|
274
|
+
readonly type: "uint64";
|
|
275
|
+
}, {
|
|
276
|
+
readonly internalType: "uint256";
|
|
277
|
+
readonly name: "transactions";
|
|
278
|
+
readonly type: "uint256";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "calculatedTransactionsBlockNumber";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}];
|
|
284
|
+
readonly internalType: "struct Campaign.UpdateTxsArgs[]";
|
|
285
|
+
readonly name: "args";
|
|
286
|
+
readonly type: "tuple[]";
|
|
287
|
+
}];
|
|
288
|
+
readonly name: "batchUpdateMigrationTransactionsByApp";
|
|
289
|
+
readonly outputs: readonly [];
|
|
290
|
+
readonly stateMutability: "nonpayable";
|
|
291
|
+
readonly type: "function";
|
|
280
292
|
}, {
|
|
281
293
|
readonly inputs: readonly [];
|
|
282
294
|
readonly name: "claimReward";
|
|
@@ -348,6 +360,10 @@ export declare const abi: readonly [{
|
|
|
348
360
|
readonly internalType: "enum Campaign.Status";
|
|
349
361
|
readonly name: "status";
|
|
350
362
|
readonly type: "uint8";
|
|
363
|
+
}, {
|
|
364
|
+
readonly internalType: "uint32";
|
|
365
|
+
readonly name: "submittedTimestamp";
|
|
366
|
+
readonly type: "uint32";
|
|
351
367
|
}, {
|
|
352
368
|
readonly internalType: "address";
|
|
353
369
|
readonly name: "sourceAddress";
|
|
@@ -364,6 +380,14 @@ export declare const abi: readonly [{
|
|
|
364
380
|
readonly internalType: "string";
|
|
365
381
|
readonly name: "destinationUrl";
|
|
366
382
|
readonly type: "string";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "uint256";
|
|
385
|
+
readonly name: "calculatedTransactionsBlockNumber";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "transactions";
|
|
390
|
+
readonly type: "uint256";
|
|
367
391
|
}];
|
|
368
392
|
readonly internalType: "struct Campaign.Migration";
|
|
369
393
|
readonly name: "migration";
|
|
@@ -408,6 +432,10 @@ export declare const abi: readonly [{
|
|
|
408
432
|
readonly internalType: "enum Campaign.Status";
|
|
409
433
|
readonly name: "status";
|
|
410
434
|
readonly type: "uint8";
|
|
435
|
+
}, {
|
|
436
|
+
readonly internalType: "uint32";
|
|
437
|
+
readonly name: "submittedTimestamp";
|
|
438
|
+
readonly type: "uint32";
|
|
411
439
|
}, {
|
|
412
440
|
readonly internalType: "address";
|
|
413
441
|
readonly name: "sourceAddress";
|
|
@@ -424,6 +452,14 @@ export declare const abi: readonly [{
|
|
|
424
452
|
readonly internalType: "string";
|
|
425
453
|
readonly name: "destinationUrl";
|
|
426
454
|
readonly type: "string";
|
|
455
|
+
}, {
|
|
456
|
+
readonly internalType: "uint256";
|
|
457
|
+
readonly name: "calculatedTransactionsBlockNumber";
|
|
458
|
+
readonly type: "uint256";
|
|
459
|
+
}, {
|
|
460
|
+
readonly internalType: "uint256";
|
|
461
|
+
readonly name: "transactions";
|
|
462
|
+
readonly type: "uint256";
|
|
427
463
|
}];
|
|
428
464
|
readonly internalType: "struct Campaign.Migration";
|
|
429
465
|
readonly name: "migration";
|
|
@@ -472,13 +508,13 @@ export declare const abi: readonly [{
|
|
|
472
508
|
readonly outputs: readonly [{
|
|
473
509
|
readonly components: readonly [{
|
|
474
510
|
readonly components: readonly [{
|
|
475
|
-
readonly internalType: "bool";
|
|
476
|
-
readonly name: "isParticipantRegistered";
|
|
477
|
-
readonly type: "bool";
|
|
478
|
-
}, {
|
|
479
511
|
readonly internalType: "bool";
|
|
480
512
|
readonly name: "isRewardClaimed";
|
|
481
513
|
readonly type: "bool";
|
|
514
|
+
}, {
|
|
515
|
+
readonly internalType: "uint256";
|
|
516
|
+
readonly name: "totalTransactions";
|
|
517
|
+
readonly type: "uint256";
|
|
482
518
|
}, {
|
|
483
519
|
readonly internalType: "uint256[]";
|
|
484
520
|
readonly name: "migrationsIndexes";
|
|
@@ -625,13 +661,13 @@ export declare const abi: readonly [{
|
|
|
625
661
|
readonly outputs: readonly [{
|
|
626
662
|
readonly components: readonly [{
|
|
627
663
|
readonly components: readonly [{
|
|
628
|
-
readonly internalType: "bool";
|
|
629
|
-
readonly name: "isParticipantRegistered";
|
|
630
|
-
readonly type: "bool";
|
|
631
|
-
}, {
|
|
632
664
|
readonly internalType: "bool";
|
|
633
665
|
readonly name: "isRewardClaimed";
|
|
634
666
|
readonly type: "bool";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "uint256";
|
|
669
|
+
readonly name: "totalTransactions";
|
|
670
|
+
readonly type: "uint256";
|
|
635
671
|
}, {
|
|
636
672
|
readonly internalType: "uint256[]";
|
|
637
673
|
readonly name: "migrationsIndexes";
|
|
@@ -733,13 +769,13 @@ export declare const abi: readonly [{
|
|
|
733
769
|
readonly outputs: readonly [{
|
|
734
770
|
readonly components: readonly [{
|
|
735
771
|
readonly components: readonly [{
|
|
736
|
-
readonly internalType: "bool";
|
|
737
|
-
readonly name: "isParticipantRegistered";
|
|
738
|
-
readonly type: "bool";
|
|
739
|
-
}, {
|
|
740
772
|
readonly internalType: "bool";
|
|
741
773
|
readonly name: "isRewardClaimed";
|
|
742
774
|
readonly type: "bool";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "uint256";
|
|
777
|
+
readonly name: "totalTransactions";
|
|
778
|
+
readonly type: "uint256";
|
|
743
779
|
}, {
|
|
744
780
|
readonly internalType: "uint256[]";
|
|
745
781
|
readonly name: "migrationsIndexes";
|
|
@@ -828,52 +864,6 @@ export declare const abi: readonly [{
|
|
|
828
864
|
}];
|
|
829
865
|
readonly stateMutability: "view";
|
|
830
866
|
readonly type: "function";
|
|
831
|
-
}, {
|
|
832
|
-
readonly inputs: readonly [{
|
|
833
|
-
readonly internalType: "address";
|
|
834
|
-
readonly name: "";
|
|
835
|
-
readonly type: "address";
|
|
836
|
-
}];
|
|
837
|
-
readonly name: "isUniqueDstAddress";
|
|
838
|
-
readonly outputs: readonly [{
|
|
839
|
-
readonly internalType: "bool";
|
|
840
|
-
readonly name: "";
|
|
841
|
-
readonly type: "bool";
|
|
842
|
-
}];
|
|
843
|
-
readonly stateMutability: "view";
|
|
844
|
-
readonly type: "function";
|
|
845
|
-
}, {
|
|
846
|
-
readonly inputs: readonly [{
|
|
847
|
-
readonly internalType: "address";
|
|
848
|
-
readonly name: "";
|
|
849
|
-
readonly type: "address";
|
|
850
|
-
}];
|
|
851
|
-
readonly name: "isUniqueSrcAddress";
|
|
852
|
-
readonly outputs: readonly [{
|
|
853
|
-
readonly internalType: "bool";
|
|
854
|
-
readonly name: "";
|
|
855
|
-
readonly type: "bool";
|
|
856
|
-
}];
|
|
857
|
-
readonly stateMutability: "view";
|
|
858
|
-
readonly type: "function";
|
|
859
|
-
}, {
|
|
860
|
-
readonly inputs: readonly [{
|
|
861
|
-
readonly internalType: "address";
|
|
862
|
-
readonly name: "";
|
|
863
|
-
readonly type: "address";
|
|
864
|
-
}, {
|
|
865
|
-
readonly internalType: "address";
|
|
866
|
-
readonly name: "";
|
|
867
|
-
readonly type: "address";
|
|
868
|
-
}];
|
|
869
|
-
readonly name: "isUniqueSrcAddressByParticipant";
|
|
870
|
-
readonly outputs: readonly [{
|
|
871
|
-
readonly internalType: "bool";
|
|
872
|
-
readonly name: "";
|
|
873
|
-
readonly type: "bool";
|
|
874
|
-
}];
|
|
875
|
-
readonly stateMutability: "view";
|
|
876
|
-
readonly type: "function";
|
|
877
867
|
}, {
|
|
878
868
|
readonly inputs: readonly [{
|
|
879
869
|
readonly internalType: "uint256";
|
|
@@ -901,6 +891,10 @@ export declare const abi: readonly [{
|
|
|
901
891
|
readonly internalType: "enum Campaign.Status";
|
|
902
892
|
readonly name: "status";
|
|
903
893
|
readonly type: "uint8";
|
|
894
|
+
}, {
|
|
895
|
+
readonly internalType: "uint32";
|
|
896
|
+
readonly name: "submittedTimestamp";
|
|
897
|
+
readonly type: "uint32";
|
|
904
898
|
}, {
|
|
905
899
|
readonly internalType: "address";
|
|
906
900
|
readonly name: "sourceAddress";
|
|
@@ -917,6 +911,14 @@ export declare const abi: readonly [{
|
|
|
917
911
|
readonly internalType: "string";
|
|
918
912
|
readonly name: "destinationUrl";
|
|
919
913
|
readonly type: "string";
|
|
914
|
+
}, {
|
|
915
|
+
readonly internalType: "uint256";
|
|
916
|
+
readonly name: "calculatedTransactionsBlockNumber";
|
|
917
|
+
readonly type: "uint256";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly name: "transactions";
|
|
921
|
+
readonly type: "uint256";
|
|
920
922
|
}];
|
|
921
923
|
readonly stateMutability: "view";
|
|
922
924
|
readonly type: "function";
|
|
@@ -935,10 +937,50 @@ export declare const abi: readonly [{
|
|
|
935
937
|
readonly stateMutability: "view";
|
|
936
938
|
readonly type: "function";
|
|
937
939
|
}, {
|
|
938
|
-
readonly inputs: readonly [
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
940
|
+
readonly inputs: readonly [{
|
|
941
|
+
readonly internalType: "address";
|
|
942
|
+
readonly name: "";
|
|
943
|
+
readonly type: "address";
|
|
944
|
+
}];
|
|
945
|
+
readonly name: "registeredDstAddresses";
|
|
946
|
+
readonly outputs: readonly [{
|
|
947
|
+
readonly internalType: "bool";
|
|
948
|
+
readonly name: "";
|
|
949
|
+
readonly type: "bool";
|
|
950
|
+
}];
|
|
951
|
+
readonly stateMutability: "view";
|
|
952
|
+
readonly type: "function";
|
|
953
|
+
}, {
|
|
954
|
+
readonly inputs: readonly [{
|
|
955
|
+
readonly internalType: "address";
|
|
956
|
+
readonly name: "";
|
|
957
|
+
readonly type: "address";
|
|
958
|
+
}];
|
|
959
|
+
readonly name: "registeredSrcAddresses";
|
|
960
|
+
readonly outputs: readonly [{
|
|
961
|
+
readonly internalType: "bool";
|
|
962
|
+
readonly name: "";
|
|
963
|
+
readonly type: "bool";
|
|
964
|
+
}];
|
|
965
|
+
readonly stateMutability: "view";
|
|
966
|
+
readonly type: "function";
|
|
967
|
+
}, {
|
|
968
|
+
readonly inputs: readonly [{
|
|
969
|
+
readonly internalType: "address";
|
|
970
|
+
readonly name: "";
|
|
971
|
+
readonly type: "address";
|
|
972
|
+
}, {
|
|
973
|
+
readonly internalType: "address";
|
|
974
|
+
readonly name: "";
|
|
975
|
+
readonly type: "address";
|
|
976
|
+
}];
|
|
977
|
+
readonly name: "registeredSrcAddressesByParticipant";
|
|
978
|
+
readonly outputs: readonly [{
|
|
979
|
+
readonly internalType: "bool";
|
|
980
|
+
readonly name: "";
|
|
981
|
+
readonly type: "bool";
|
|
982
|
+
}];
|
|
983
|
+
readonly stateMutability: "view";
|
|
942
984
|
readonly type: "function";
|
|
943
985
|
}, {
|
|
944
986
|
readonly inputs: readonly [{
|
|
@@ -1027,29 +1069,11 @@ export declare const abi: readonly [{
|
|
|
1027
1069
|
readonly internalType: "bool";
|
|
1028
1070
|
readonly name: "isDeployed";
|
|
1029
1071
|
readonly type: "bool";
|
|
1030
|
-
}, {
|
|
1031
|
-
readonly internalType: "uint256";
|
|
1032
|
-
readonly name: "transactions";
|
|
1033
|
-
readonly type: "uint256";
|
|
1034
1072
|
}];
|
|
1035
1073
|
readonly name: "updateMigrationStatusByApp";
|
|
1036
1074
|
readonly outputs: readonly [];
|
|
1037
1075
|
readonly stateMutability: "nonpayable";
|
|
1038
1076
|
readonly type: "function";
|
|
1039
|
-
}, {
|
|
1040
|
-
readonly inputs: readonly [{
|
|
1041
|
-
readonly internalType: "uint64";
|
|
1042
|
-
readonly name: "migrationIndex";
|
|
1043
|
-
readonly type: "uint64";
|
|
1044
|
-
}, {
|
|
1045
|
-
readonly internalType: "uint256";
|
|
1046
|
-
readonly name: "transactions";
|
|
1047
|
-
readonly type: "uint256";
|
|
1048
|
-
}];
|
|
1049
|
-
readonly name: "updateMigrationTransactionsByApp";
|
|
1050
|
-
readonly outputs: readonly [];
|
|
1051
|
-
readonly stateMutability: "nonpayable";
|
|
1052
|
-
readonly type: "function";
|
|
1053
1077
|
}, {
|
|
1054
1078
|
readonly inputs: readonly [];
|
|
1055
1079
|
readonly name: "usdt";
|