@super-protocol/sdk-js 3.16.0-beta.2 → 3.16.0-beta.4

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.
@@ -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 ParticipantRegistered | typeof RewardClaimed | typeof RoleAdminChanged | typeof RoleGranted | typeof RoleRevoked | typeof ScoreUpdated;
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
- readonly name: "registry";
940
- readonly outputs: readonly [];
941
- readonly stateMutability: "nonpayable";
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";