@flarenetwork/flare-wagmi-periphery-package 3.3.0 → 3.5.0
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/contracts/coston/IFlareSystemsCalculator.d.ts +6 -6
- package/dist/contracts/coston/IFlareSystemsCalculator.js +1 -1
- package/dist/contracts/coston/IIFlareSystemsCalculator.d.ts +20 -20
- package/dist/contracts/coston/IIFlareSystemsCalculator.js +2 -2
- package/dist/contracts/coston/IIVoterRegistry.d.ts +185 -125
- package/dist/contracts/coston/IIVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/coston/IIVoterRegistry.js +25 -13
- package/dist/contracts/coston/IIVoterRegistry.js.map +1 -1
- package/dist/contracts/coston/IMintingTagManager.d.ts +70 -0
- package/dist/contracts/coston/IMintingTagManager.d.ts.map +1 -1
- package/dist/contracts/coston/IMintingTagManager.js +10 -0
- package/dist/contracts/coston/IMintingTagManager.js.map +1 -1
- package/dist/contracts/coston/IVoterPreRegistry.d.ts +200 -45
- package/dist/contracts/coston/IVoterPreRegistry.d.ts.map +1 -1
- package/dist/contracts/coston/IVoterPreRegistry.js +26 -5
- package/dist/contracts/coston/IVoterPreRegistry.js.map +1 -1
- package/dist/contracts/coston/IVoterRegistry.d.ts +185 -75
- package/dist/contracts/coston/IVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/coston/IVoterRegistry.js +25 -6
- package/dist/contracts/coston/IVoterRegistry.js.map +1 -1
- package/dist/contracts/coston/index.d.ts +0 -2
- package/dist/contracts/coston/index.d.ts.map +1 -1
- package/dist/contracts/coston/index.js +0 -2
- package/dist/contracts/coston/index.js.map +1 -1
- package/dist/contracts/coston2/IFlareSystemsCalculator.d.ts +6 -6
- package/dist/contracts/coston2/IFlareSystemsCalculator.js +1 -1
- package/dist/contracts/coston2/IIFlareSystemsCalculator.d.ts +20 -20
- package/dist/contracts/coston2/IIFlareSystemsCalculator.js +2 -2
- package/dist/contracts/coston2/IIVoterRegistry.d.ts +185 -125
- package/dist/contracts/coston2/IIVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/coston2/IIVoterRegistry.js +25 -13
- package/dist/contracts/coston2/IIVoterRegistry.js.map +1 -1
- package/dist/contracts/coston2/IMintingTagManager.d.ts +70 -0
- package/dist/contracts/coston2/IMintingTagManager.d.ts.map +1 -1
- package/dist/contracts/coston2/IMintingTagManager.js +10 -0
- package/dist/contracts/coston2/IMintingTagManager.js.map +1 -1
- package/dist/contracts/coston2/IVoterPreRegistry.d.ts +200 -45
- package/dist/contracts/coston2/IVoterPreRegistry.d.ts.map +1 -1
- package/dist/contracts/coston2/IVoterPreRegistry.js +26 -5
- package/dist/contracts/coston2/IVoterPreRegistry.js.map +1 -1
- package/dist/contracts/coston2/IVoterRegistry.d.ts +185 -75
- package/dist/contracts/coston2/IVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/coston2/IVoterRegistry.js +25 -6
- package/dist/contracts/coston2/IVoterRegistry.js.map +1 -1
- package/dist/contracts/coston2/index.d.ts +0 -2
- package/dist/contracts/coston2/index.d.ts.map +1 -1
- package/dist/contracts/coston2/index.js +0 -2
- package/dist/contracts/coston2/index.js.map +1 -1
- package/dist/contracts/flare/IFlareSystemsCalculator.d.ts +6 -6
- package/dist/contracts/flare/IFlareSystemsCalculator.js +1 -1
- package/dist/contracts/flare/IIFlareSystemsCalculator.d.ts +20 -20
- package/dist/contracts/flare/IIFlareSystemsCalculator.js +2 -2
- package/dist/contracts/flare/IIVoterRegistry.d.ts +185 -125
- package/dist/contracts/flare/IIVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/flare/IIVoterRegistry.js +25 -13
- package/dist/contracts/flare/IIVoterRegistry.js.map +1 -1
- package/dist/contracts/flare/IMintingTagManager.d.ts +70 -0
- package/dist/contracts/flare/IMintingTagManager.d.ts.map +1 -1
- package/dist/contracts/flare/IMintingTagManager.js +10 -0
- package/dist/contracts/flare/IMintingTagManager.js.map +1 -1
- package/dist/contracts/flare/IVoterPreRegistry.d.ts +200 -45
- package/dist/contracts/flare/IVoterPreRegistry.d.ts.map +1 -1
- package/dist/contracts/flare/IVoterPreRegistry.js +26 -5
- package/dist/contracts/flare/IVoterPreRegistry.js.map +1 -1
- package/dist/contracts/flare/IVoterRegistry.d.ts +185 -75
- package/dist/contracts/flare/IVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/flare/IVoterRegistry.js +25 -6
- package/dist/contracts/flare/IVoterRegistry.js.map +1 -1
- package/dist/contracts/flare/index.d.ts +0 -2
- package/dist/contracts/flare/index.d.ts.map +1 -1
- package/dist/contracts/flare/index.js +0 -2
- package/dist/contracts/flare/index.js.map +1 -1
- package/dist/contracts/songbird/IFlareSystemsCalculator.d.ts +6 -6
- package/dist/contracts/songbird/IFlareSystemsCalculator.js +1 -1
- package/dist/contracts/songbird/IIFlareSystemsCalculator.d.ts +20 -20
- package/dist/contracts/songbird/IIFlareSystemsCalculator.js +2 -2
- package/dist/contracts/songbird/IIVoterRegistry.d.ts +185 -125
- package/dist/contracts/songbird/IIVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/songbird/IIVoterRegistry.js +25 -13
- package/dist/contracts/songbird/IIVoterRegistry.js.map +1 -1
- package/dist/contracts/songbird/IMintingTagManager.d.ts +70 -0
- package/dist/contracts/songbird/IMintingTagManager.d.ts.map +1 -1
- package/dist/contracts/songbird/IMintingTagManager.js +10 -0
- package/dist/contracts/songbird/IMintingTagManager.js.map +1 -1
- package/dist/contracts/songbird/IVoterPreRegistry.d.ts +200 -45
- package/dist/contracts/songbird/IVoterPreRegistry.d.ts.map +1 -1
- package/dist/contracts/songbird/IVoterPreRegistry.js +26 -5
- package/dist/contracts/songbird/IVoterPreRegistry.js.map +1 -1
- package/dist/contracts/songbird/IVoterRegistry.d.ts +185 -75
- package/dist/contracts/songbird/IVoterRegistry.d.ts.map +1 -1
- package/dist/contracts/songbird/IVoterRegistry.js +25 -6
- package/dist/contracts/songbird/IVoterRegistry.js.map +1 -1
- package/dist/contracts/songbird/index.d.ts +0 -2
- package/dist/contracts/songbird/index.d.ts.map +1 -1
- package/dist/contracts/songbird/index.js +0 -2
- package/dist/contracts/songbird/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/contracts/coston/IIRNat.d.ts +0 -4138
- package/dist/contracts/coston/IIRNat.d.ts.map +0 -1
- package/dist/contracts/coston/IIRNat.js +0 -482
- package/dist/contracts/coston/IIRNat.js.map +0 -1
- package/dist/contracts/coston/IIRNatAccount.d.ts +0 -1293
- package/dist/contracts/coston/IIRNatAccount.d.ts.map +0 -1
- package/dist/contracts/coston/IIRNatAccount.js +0 -182
- package/dist/contracts/coston/IIRNatAccount.js.map +0 -1
- package/dist/contracts/coston2/IIRNat.d.ts +0 -4138
- package/dist/contracts/coston2/IIRNat.d.ts.map +0 -1
- package/dist/contracts/coston2/IIRNat.js +0 -482
- package/dist/contracts/coston2/IIRNat.js.map +0 -1
- package/dist/contracts/coston2/IIRNatAccount.d.ts +0 -1293
- package/dist/contracts/coston2/IIRNatAccount.d.ts.map +0 -1
- package/dist/contracts/coston2/IIRNatAccount.js +0 -182
- package/dist/contracts/coston2/IIRNatAccount.js.map +0 -1
- package/dist/contracts/flare/IIRNat.d.ts +0 -4138
- package/dist/contracts/flare/IIRNat.d.ts.map +0 -1
- package/dist/contracts/flare/IIRNat.js +0 -482
- package/dist/contracts/flare/IIRNat.js.map +0 -1
- package/dist/contracts/flare/IIRNatAccount.d.ts +0 -1293
- package/dist/contracts/flare/IIRNatAccount.d.ts.map +0 -1
- package/dist/contracts/flare/IIRNatAccount.js +0 -182
- package/dist/contracts/flare/IIRNatAccount.js.map +0 -1
- package/dist/contracts/songbird/IIRNat.d.ts +0 -4138
- package/dist/contracts/songbird/IIRNat.d.ts.map +0 -1
- package/dist/contracts/songbird/IIRNat.js +0 -482
- package/dist/contracts/songbird/IIRNat.js.map +0 -1
- package/dist/contracts/songbird/IIRNatAccount.d.ts +0 -1293
- package/dist/contracts/songbird/IIRNatAccount.d.ts.map +0 -1
- package/dist/contracts/songbird/IIRNatAccount.js +0 -182
- package/dist/contracts/songbird/IIRNatAccount.js.map +0 -1
|
@@ -8,8 +8,8 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
8
8
|
readonly indexed: true;
|
|
9
9
|
}, {
|
|
10
10
|
readonly name: "untilRewardEpochId";
|
|
11
|
-
readonly internalType: "
|
|
12
|
-
readonly type: "
|
|
11
|
+
readonly internalType: "uint32";
|
|
12
|
+
readonly type: "uint32";
|
|
13
13
|
readonly indexed: false;
|
|
14
14
|
}];
|
|
15
15
|
readonly name: "BeneficiaryChilled";
|
|
@@ -23,8 +23,8 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
23
23
|
readonly indexed: true;
|
|
24
24
|
}, {
|
|
25
25
|
readonly name: "rewardEpochId";
|
|
26
|
-
readonly internalType: "
|
|
27
|
-
readonly type: "
|
|
26
|
+
readonly internalType: "uint32";
|
|
27
|
+
readonly type: "uint32";
|
|
28
28
|
readonly indexed: true;
|
|
29
29
|
}, {
|
|
30
30
|
readonly name: "signingPolicyAddress";
|
|
@@ -42,20 +42,42 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
42
42
|
readonly type: "address";
|
|
43
43
|
readonly indexed: false;
|
|
44
44
|
}, {
|
|
45
|
-
readonly name: "
|
|
46
|
-
readonly internalType: "
|
|
47
|
-
readonly type: "
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
readonly name: "publicKey";
|
|
46
|
+
readonly internalType: "struct PublicKey";
|
|
47
|
+
readonly type: "tuple";
|
|
48
|
+
readonly components: readonly [{
|
|
49
|
+
readonly name: "x";
|
|
50
|
+
readonly internalType: "bytes32";
|
|
51
|
+
readonly type: "bytes32";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "y";
|
|
54
|
+
readonly internalType: "bytes32";
|
|
55
|
+
readonly type: "bytes32";
|
|
56
|
+
}];
|
|
53
57
|
readonly indexed: false;
|
|
54
58
|
}, {
|
|
55
59
|
readonly name: "registrationWeight";
|
|
56
60
|
readonly internalType: "uint256";
|
|
57
61
|
readonly type: "uint256";
|
|
58
62
|
readonly indexed: false;
|
|
63
|
+
}, {
|
|
64
|
+
readonly name: "signature";
|
|
65
|
+
readonly internalType: "struct Signature";
|
|
66
|
+
readonly type: "tuple";
|
|
67
|
+
readonly components: readonly [{
|
|
68
|
+
readonly name: "v";
|
|
69
|
+
readonly internalType: "uint8";
|
|
70
|
+
readonly type: "uint8";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "r";
|
|
73
|
+
readonly internalType: "bytes32";
|
|
74
|
+
readonly type: "bytes32";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "s";
|
|
77
|
+
readonly internalType: "bytes32";
|
|
78
|
+
readonly type: "bytes32";
|
|
79
|
+
}];
|
|
80
|
+
readonly indexed: false;
|
|
59
81
|
}];
|
|
60
82
|
readonly name: "VoterRegistered";
|
|
61
83
|
}, {
|
|
@@ -68,8 +90,8 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
68
90
|
readonly indexed: true;
|
|
69
91
|
}, {
|
|
70
92
|
readonly name: "rewardEpochId";
|
|
71
|
-
readonly internalType: "
|
|
72
|
-
readonly type: "
|
|
93
|
+
readonly internalType: "uint32";
|
|
94
|
+
readonly type: "uint32";
|
|
73
95
|
readonly indexed: true;
|
|
74
96
|
}];
|
|
75
97
|
readonly name: "VoterRemoved";
|
|
@@ -431,7 +453,7 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
431
453
|
readonly type: "address";
|
|
432
454
|
}, {
|
|
433
455
|
readonly name: "_signature";
|
|
434
|
-
readonly internalType: "struct
|
|
456
|
+
readonly internalType: "struct Signature";
|
|
435
457
|
readonly type: "tuple";
|
|
436
458
|
readonly components: readonly [{
|
|
437
459
|
readonly name: "v";
|
|
@@ -460,16 +482,6 @@ export declare const iiVoterRegistryAbi: readonly [{
|
|
|
460
482
|
readonly name: "setNewSigningPolicyInitializationStartBlockNumber";
|
|
461
483
|
readonly outputs: readonly [];
|
|
462
484
|
readonly stateMutability: "nonpayable";
|
|
463
|
-
}, {
|
|
464
|
-
readonly type: "function";
|
|
465
|
-
readonly inputs: readonly [{
|
|
466
|
-
readonly name: "_voter";
|
|
467
|
-
readonly internalType: "address";
|
|
468
|
-
readonly type: "address";
|
|
469
|
-
}];
|
|
470
|
-
readonly name: "systemRegistration";
|
|
471
|
-
readonly outputs: readonly [];
|
|
472
|
-
readonly stateMutability: "nonpayable";
|
|
473
485
|
}];
|
|
474
486
|
/**
|
|
475
487
|
* Wraps __{@link useReadContract}__ with `abi` set to __{@link iiVoterRegistryAbi}__
|
|
@@ -484,8 +496,8 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
484
496
|
readonly indexed: true;
|
|
485
497
|
}, {
|
|
486
498
|
readonly name: "untilRewardEpochId";
|
|
487
|
-
readonly internalType: "
|
|
488
|
-
readonly type: "
|
|
499
|
+
readonly internalType: "uint32";
|
|
500
|
+
readonly type: "uint32";
|
|
489
501
|
readonly indexed: false;
|
|
490
502
|
}];
|
|
491
503
|
readonly name: "BeneficiaryChilled";
|
|
@@ -499,8 +511,8 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
499
511
|
readonly indexed: true;
|
|
500
512
|
}, {
|
|
501
513
|
readonly name: "rewardEpochId";
|
|
502
|
-
readonly internalType: "
|
|
503
|
-
readonly type: "
|
|
514
|
+
readonly internalType: "uint32";
|
|
515
|
+
readonly type: "uint32";
|
|
504
516
|
readonly indexed: true;
|
|
505
517
|
}, {
|
|
506
518
|
readonly name: "signingPolicyAddress";
|
|
@@ -518,20 +530,42 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
518
530
|
readonly type: "address";
|
|
519
531
|
readonly indexed: false;
|
|
520
532
|
}, {
|
|
521
|
-
readonly name: "
|
|
522
|
-
readonly internalType: "
|
|
523
|
-
readonly type: "
|
|
524
|
-
readonly
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
533
|
+
readonly name: "publicKey";
|
|
534
|
+
readonly internalType: "struct PublicKey";
|
|
535
|
+
readonly type: "tuple";
|
|
536
|
+
readonly components: readonly [{
|
|
537
|
+
readonly name: "x";
|
|
538
|
+
readonly internalType: "bytes32";
|
|
539
|
+
readonly type: "bytes32";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "y";
|
|
542
|
+
readonly internalType: "bytes32";
|
|
543
|
+
readonly type: "bytes32";
|
|
544
|
+
}];
|
|
529
545
|
readonly indexed: false;
|
|
530
546
|
}, {
|
|
531
547
|
readonly name: "registrationWeight";
|
|
532
548
|
readonly internalType: "uint256";
|
|
533
549
|
readonly type: "uint256";
|
|
534
550
|
readonly indexed: false;
|
|
551
|
+
}, {
|
|
552
|
+
readonly name: "signature";
|
|
553
|
+
readonly internalType: "struct Signature";
|
|
554
|
+
readonly type: "tuple";
|
|
555
|
+
readonly components: readonly [{
|
|
556
|
+
readonly name: "v";
|
|
557
|
+
readonly internalType: "uint8";
|
|
558
|
+
readonly type: "uint8";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "r";
|
|
561
|
+
readonly internalType: "bytes32";
|
|
562
|
+
readonly type: "bytes32";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "s";
|
|
565
|
+
readonly internalType: "bytes32";
|
|
566
|
+
readonly type: "bytes32";
|
|
567
|
+
}];
|
|
568
|
+
readonly indexed: false;
|
|
535
569
|
}];
|
|
536
570
|
readonly name: "VoterRegistered";
|
|
537
571
|
}, {
|
|
@@ -544,8 +578,8 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
544
578
|
readonly indexed: true;
|
|
545
579
|
}, {
|
|
546
580
|
readonly name: "rewardEpochId";
|
|
547
|
-
readonly internalType: "
|
|
548
|
-
readonly type: "
|
|
581
|
+
readonly internalType: "uint32";
|
|
582
|
+
readonly type: "uint32";
|
|
549
583
|
readonly indexed: true;
|
|
550
584
|
}];
|
|
551
585
|
readonly name: "VoterRemoved";
|
|
@@ -907,7 +941,7 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
907
941
|
readonly type: "address";
|
|
908
942
|
}, {
|
|
909
943
|
readonly name: "_signature";
|
|
910
|
-
readonly internalType: "struct
|
|
944
|
+
readonly internalType: "struct Signature";
|
|
911
945
|
readonly type: "tuple";
|
|
912
946
|
readonly components: readonly [{
|
|
913
947
|
readonly name: "v";
|
|
@@ -936,16 +970,6 @@ export declare const useReadIiVoterRegistry: import("wagmi/codegen").CreateUseRe
|
|
|
936
970
|
readonly name: "setNewSigningPolicyInitializationStartBlockNumber";
|
|
937
971
|
readonly outputs: readonly [];
|
|
938
972
|
readonly stateMutability: "nonpayable";
|
|
939
|
-
}, {
|
|
940
|
-
readonly type: "function";
|
|
941
|
-
readonly inputs: readonly [{
|
|
942
|
-
readonly name: "_voter";
|
|
943
|
-
readonly internalType: "address";
|
|
944
|
-
readonly type: "address";
|
|
945
|
-
}];
|
|
946
|
-
readonly name: "systemRegistration";
|
|
947
|
-
readonly outputs: readonly [];
|
|
948
|
-
readonly stateMutability: "nonpayable";
|
|
949
973
|
}], undefined, undefined>;
|
|
950
974
|
/**
|
|
951
975
|
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link iiVoterRegistryAbi}__
|
|
@@ -960,8 +984,8 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
960
984
|
readonly indexed: true;
|
|
961
985
|
}, {
|
|
962
986
|
readonly name: "untilRewardEpochId";
|
|
963
|
-
readonly internalType: "
|
|
964
|
-
readonly type: "
|
|
987
|
+
readonly internalType: "uint32";
|
|
988
|
+
readonly type: "uint32";
|
|
965
989
|
readonly indexed: false;
|
|
966
990
|
}];
|
|
967
991
|
readonly name: "BeneficiaryChilled";
|
|
@@ -975,8 +999,8 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
975
999
|
readonly indexed: true;
|
|
976
1000
|
}, {
|
|
977
1001
|
readonly name: "rewardEpochId";
|
|
978
|
-
readonly internalType: "
|
|
979
|
-
readonly type: "
|
|
1002
|
+
readonly internalType: "uint32";
|
|
1003
|
+
readonly type: "uint32";
|
|
980
1004
|
readonly indexed: true;
|
|
981
1005
|
}, {
|
|
982
1006
|
readonly name: "signingPolicyAddress";
|
|
@@ -994,20 +1018,42 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
994
1018
|
readonly type: "address";
|
|
995
1019
|
readonly indexed: false;
|
|
996
1020
|
}, {
|
|
997
|
-
readonly name: "
|
|
998
|
-
readonly internalType: "
|
|
999
|
-
readonly type: "
|
|
1000
|
-
readonly
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1021
|
+
readonly name: "publicKey";
|
|
1022
|
+
readonly internalType: "struct PublicKey";
|
|
1023
|
+
readonly type: "tuple";
|
|
1024
|
+
readonly components: readonly [{
|
|
1025
|
+
readonly name: "x";
|
|
1026
|
+
readonly internalType: "bytes32";
|
|
1027
|
+
readonly type: "bytes32";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly name: "y";
|
|
1030
|
+
readonly internalType: "bytes32";
|
|
1031
|
+
readonly type: "bytes32";
|
|
1032
|
+
}];
|
|
1005
1033
|
readonly indexed: false;
|
|
1006
1034
|
}, {
|
|
1007
1035
|
readonly name: "registrationWeight";
|
|
1008
1036
|
readonly internalType: "uint256";
|
|
1009
1037
|
readonly type: "uint256";
|
|
1010
1038
|
readonly indexed: false;
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly name: "signature";
|
|
1041
|
+
readonly internalType: "struct Signature";
|
|
1042
|
+
readonly type: "tuple";
|
|
1043
|
+
readonly components: readonly [{
|
|
1044
|
+
readonly name: "v";
|
|
1045
|
+
readonly internalType: "uint8";
|
|
1046
|
+
readonly type: "uint8";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly name: "r";
|
|
1049
|
+
readonly internalType: "bytes32";
|
|
1050
|
+
readonly type: "bytes32";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "s";
|
|
1053
|
+
readonly internalType: "bytes32";
|
|
1054
|
+
readonly type: "bytes32";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly indexed: false;
|
|
1011
1057
|
}];
|
|
1012
1058
|
readonly name: "VoterRegistered";
|
|
1013
1059
|
}, {
|
|
@@ -1020,8 +1066,8 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
1020
1066
|
readonly indexed: true;
|
|
1021
1067
|
}, {
|
|
1022
1068
|
readonly name: "rewardEpochId";
|
|
1023
|
-
readonly internalType: "
|
|
1024
|
-
readonly type: "
|
|
1069
|
+
readonly internalType: "uint32";
|
|
1070
|
+
readonly type: "uint32";
|
|
1025
1071
|
readonly indexed: true;
|
|
1026
1072
|
}];
|
|
1027
1073
|
readonly name: "VoterRemoved";
|
|
@@ -1383,7 +1429,7 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
1383
1429
|
readonly type: "address";
|
|
1384
1430
|
}, {
|
|
1385
1431
|
readonly name: "_signature";
|
|
1386
|
-
readonly internalType: "struct
|
|
1432
|
+
readonly internalType: "struct Signature";
|
|
1387
1433
|
readonly type: "tuple";
|
|
1388
1434
|
readonly components: readonly [{
|
|
1389
1435
|
readonly name: "v";
|
|
@@ -1412,16 +1458,6 @@ export declare const useWriteIiVoterRegistry: import("wagmi/codegen").CreateUseW
|
|
|
1412
1458
|
readonly name: "setNewSigningPolicyInitializationStartBlockNumber";
|
|
1413
1459
|
readonly outputs: readonly [];
|
|
1414
1460
|
readonly stateMutability: "nonpayable";
|
|
1415
|
-
}, {
|
|
1416
|
-
readonly type: "function";
|
|
1417
|
-
readonly inputs: readonly [{
|
|
1418
|
-
readonly name: "_voter";
|
|
1419
|
-
readonly internalType: "address";
|
|
1420
|
-
readonly type: "address";
|
|
1421
|
-
}];
|
|
1422
|
-
readonly name: "systemRegistration";
|
|
1423
|
-
readonly outputs: readonly [];
|
|
1424
|
-
readonly stateMutability: "nonpayable";
|
|
1425
1461
|
}], undefined, undefined>;
|
|
1426
1462
|
/**
|
|
1427
1463
|
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iiVoterRegistryAbi}__
|
|
@@ -1436,8 +1472,8 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1436
1472
|
readonly indexed: true;
|
|
1437
1473
|
}, {
|
|
1438
1474
|
readonly name: "untilRewardEpochId";
|
|
1439
|
-
readonly internalType: "
|
|
1440
|
-
readonly type: "
|
|
1475
|
+
readonly internalType: "uint32";
|
|
1476
|
+
readonly type: "uint32";
|
|
1441
1477
|
readonly indexed: false;
|
|
1442
1478
|
}];
|
|
1443
1479
|
readonly name: "BeneficiaryChilled";
|
|
@@ -1451,8 +1487,8 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1451
1487
|
readonly indexed: true;
|
|
1452
1488
|
}, {
|
|
1453
1489
|
readonly name: "rewardEpochId";
|
|
1454
|
-
readonly internalType: "
|
|
1455
|
-
readonly type: "
|
|
1490
|
+
readonly internalType: "uint32";
|
|
1491
|
+
readonly type: "uint32";
|
|
1456
1492
|
readonly indexed: true;
|
|
1457
1493
|
}, {
|
|
1458
1494
|
readonly name: "signingPolicyAddress";
|
|
@@ -1470,20 +1506,42 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1470
1506
|
readonly type: "address";
|
|
1471
1507
|
readonly indexed: false;
|
|
1472
1508
|
}, {
|
|
1473
|
-
readonly name: "
|
|
1474
|
-
readonly internalType: "
|
|
1475
|
-
readonly type: "
|
|
1476
|
-
readonly
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1509
|
+
readonly name: "publicKey";
|
|
1510
|
+
readonly internalType: "struct PublicKey";
|
|
1511
|
+
readonly type: "tuple";
|
|
1512
|
+
readonly components: readonly [{
|
|
1513
|
+
readonly name: "x";
|
|
1514
|
+
readonly internalType: "bytes32";
|
|
1515
|
+
readonly type: "bytes32";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly name: "y";
|
|
1518
|
+
readonly internalType: "bytes32";
|
|
1519
|
+
readonly type: "bytes32";
|
|
1520
|
+
}];
|
|
1481
1521
|
readonly indexed: false;
|
|
1482
1522
|
}, {
|
|
1483
1523
|
readonly name: "registrationWeight";
|
|
1484
1524
|
readonly internalType: "uint256";
|
|
1485
1525
|
readonly type: "uint256";
|
|
1486
1526
|
readonly indexed: false;
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly name: "signature";
|
|
1529
|
+
readonly internalType: "struct Signature";
|
|
1530
|
+
readonly type: "tuple";
|
|
1531
|
+
readonly components: readonly [{
|
|
1532
|
+
readonly name: "v";
|
|
1533
|
+
readonly internalType: "uint8";
|
|
1534
|
+
readonly type: "uint8";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly name: "r";
|
|
1537
|
+
readonly internalType: "bytes32";
|
|
1538
|
+
readonly type: "bytes32";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly name: "s";
|
|
1541
|
+
readonly internalType: "bytes32";
|
|
1542
|
+
readonly type: "bytes32";
|
|
1543
|
+
}];
|
|
1544
|
+
readonly indexed: false;
|
|
1487
1545
|
}];
|
|
1488
1546
|
readonly name: "VoterRegistered";
|
|
1489
1547
|
}, {
|
|
@@ -1496,8 +1554,8 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1496
1554
|
readonly indexed: true;
|
|
1497
1555
|
}, {
|
|
1498
1556
|
readonly name: "rewardEpochId";
|
|
1499
|
-
readonly internalType: "
|
|
1500
|
-
readonly type: "
|
|
1557
|
+
readonly internalType: "uint32";
|
|
1558
|
+
readonly type: "uint32";
|
|
1501
1559
|
readonly indexed: true;
|
|
1502
1560
|
}];
|
|
1503
1561
|
readonly name: "VoterRemoved";
|
|
@@ -1859,7 +1917,7 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1859
1917
|
readonly type: "address";
|
|
1860
1918
|
}, {
|
|
1861
1919
|
readonly name: "_signature";
|
|
1862
|
-
readonly internalType: "struct
|
|
1920
|
+
readonly internalType: "struct Signature";
|
|
1863
1921
|
readonly type: "tuple";
|
|
1864
1922
|
readonly components: readonly [{
|
|
1865
1923
|
readonly name: "v";
|
|
@@ -1888,16 +1946,6 @@ export declare const useSimulateIiVoterRegistry: import("wagmi/codegen").CreateU
|
|
|
1888
1946
|
readonly name: "setNewSigningPolicyInitializationStartBlockNumber";
|
|
1889
1947
|
readonly outputs: readonly [];
|
|
1890
1948
|
readonly stateMutability: "nonpayable";
|
|
1891
|
-
}, {
|
|
1892
|
-
readonly type: "function";
|
|
1893
|
-
readonly inputs: readonly [{
|
|
1894
|
-
readonly name: "_voter";
|
|
1895
|
-
readonly internalType: "address";
|
|
1896
|
-
readonly type: "address";
|
|
1897
|
-
}];
|
|
1898
|
-
readonly name: "systemRegistration";
|
|
1899
|
-
readonly outputs: readonly [];
|
|
1900
|
-
readonly stateMutability: "nonpayable";
|
|
1901
1949
|
}], undefined, undefined>;
|
|
1902
1950
|
/**
|
|
1903
1951
|
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link iiVoterRegistryAbi}__
|
|
@@ -1912,8 +1960,8 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
1912
1960
|
readonly indexed: true;
|
|
1913
1961
|
}, {
|
|
1914
1962
|
readonly name: "untilRewardEpochId";
|
|
1915
|
-
readonly internalType: "
|
|
1916
|
-
readonly type: "
|
|
1963
|
+
readonly internalType: "uint32";
|
|
1964
|
+
readonly type: "uint32";
|
|
1917
1965
|
readonly indexed: false;
|
|
1918
1966
|
}];
|
|
1919
1967
|
readonly name: "BeneficiaryChilled";
|
|
@@ -1927,8 +1975,8 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
1927
1975
|
readonly indexed: true;
|
|
1928
1976
|
}, {
|
|
1929
1977
|
readonly name: "rewardEpochId";
|
|
1930
|
-
readonly internalType: "
|
|
1931
|
-
readonly type: "
|
|
1978
|
+
readonly internalType: "uint32";
|
|
1979
|
+
readonly type: "uint32";
|
|
1932
1980
|
readonly indexed: true;
|
|
1933
1981
|
}, {
|
|
1934
1982
|
readonly name: "signingPolicyAddress";
|
|
@@ -1946,20 +1994,42 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
1946
1994
|
readonly type: "address";
|
|
1947
1995
|
readonly indexed: false;
|
|
1948
1996
|
}, {
|
|
1949
|
-
readonly name: "
|
|
1950
|
-
readonly internalType: "
|
|
1951
|
-
readonly type: "
|
|
1952
|
-
readonly
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1997
|
+
readonly name: "publicKey";
|
|
1998
|
+
readonly internalType: "struct PublicKey";
|
|
1999
|
+
readonly type: "tuple";
|
|
2000
|
+
readonly components: readonly [{
|
|
2001
|
+
readonly name: "x";
|
|
2002
|
+
readonly internalType: "bytes32";
|
|
2003
|
+
readonly type: "bytes32";
|
|
2004
|
+
}, {
|
|
2005
|
+
readonly name: "y";
|
|
2006
|
+
readonly internalType: "bytes32";
|
|
2007
|
+
readonly type: "bytes32";
|
|
2008
|
+
}];
|
|
1957
2009
|
readonly indexed: false;
|
|
1958
2010
|
}, {
|
|
1959
2011
|
readonly name: "registrationWeight";
|
|
1960
2012
|
readonly internalType: "uint256";
|
|
1961
2013
|
readonly type: "uint256";
|
|
1962
2014
|
readonly indexed: false;
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly name: "signature";
|
|
2017
|
+
readonly internalType: "struct Signature";
|
|
2018
|
+
readonly type: "tuple";
|
|
2019
|
+
readonly components: readonly [{
|
|
2020
|
+
readonly name: "v";
|
|
2021
|
+
readonly internalType: "uint8";
|
|
2022
|
+
readonly type: "uint8";
|
|
2023
|
+
}, {
|
|
2024
|
+
readonly name: "r";
|
|
2025
|
+
readonly internalType: "bytes32";
|
|
2026
|
+
readonly type: "bytes32";
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly name: "s";
|
|
2029
|
+
readonly internalType: "bytes32";
|
|
2030
|
+
readonly type: "bytes32";
|
|
2031
|
+
}];
|
|
2032
|
+
readonly indexed: false;
|
|
1963
2033
|
}];
|
|
1964
2034
|
readonly name: "VoterRegistered";
|
|
1965
2035
|
}, {
|
|
@@ -1972,8 +2042,8 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
1972
2042
|
readonly indexed: true;
|
|
1973
2043
|
}, {
|
|
1974
2044
|
readonly name: "rewardEpochId";
|
|
1975
|
-
readonly internalType: "
|
|
1976
|
-
readonly type: "
|
|
2045
|
+
readonly internalType: "uint32";
|
|
2046
|
+
readonly type: "uint32";
|
|
1977
2047
|
readonly indexed: true;
|
|
1978
2048
|
}];
|
|
1979
2049
|
readonly name: "VoterRemoved";
|
|
@@ -2335,7 +2405,7 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
2335
2405
|
readonly type: "address";
|
|
2336
2406
|
}, {
|
|
2337
2407
|
readonly name: "_signature";
|
|
2338
|
-
readonly internalType: "struct
|
|
2408
|
+
readonly internalType: "struct Signature";
|
|
2339
2409
|
readonly type: "tuple";
|
|
2340
2410
|
readonly components: readonly [{
|
|
2341
2411
|
readonly name: "v";
|
|
@@ -2364,15 +2434,5 @@ export declare const useWatchIiVoterRegistryEvent: import("wagmi/codegen").Creat
|
|
|
2364
2434
|
readonly name: "setNewSigningPolicyInitializationStartBlockNumber";
|
|
2365
2435
|
readonly outputs: readonly [];
|
|
2366
2436
|
readonly stateMutability: "nonpayable";
|
|
2367
|
-
}, {
|
|
2368
|
-
readonly type: "function";
|
|
2369
|
-
readonly inputs: readonly [{
|
|
2370
|
-
readonly name: "_voter";
|
|
2371
|
-
readonly internalType: "address";
|
|
2372
|
-
readonly type: "address";
|
|
2373
|
-
}];
|
|
2374
|
-
readonly name: "systemRegistration";
|
|
2375
|
-
readonly outputs: readonly [];
|
|
2376
|
-
readonly stateMutability: "nonpayable";
|
|
2377
2437
|
}], undefined, undefined, "abi">;
|
|
2378
2438
|
//# sourceMappingURL=IIVoterRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIVoterRegistry.d.ts","sourceRoot":"","sources":["../../../contracts/coston2/IIVoterRegistry.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"IIVoterRegistry.d.ts","sourceRoot":"","sources":["../../../contracts/coston2/IIVoterRegistry.ts"],"names":[],"mappings":"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"}
|
|
@@ -9,7 +9,7 @@ const iiVoterRegistryAbi = [
|
|
|
9
9
|
anonymous: false,
|
|
10
10
|
inputs: [
|
|
11
11
|
{ name: "beneficiary", internalType: "bytes20", type: "bytes20", indexed: true },
|
|
12
|
-
{ name: "untilRewardEpochId", internalType: "
|
|
12
|
+
{ name: "untilRewardEpochId", internalType: "uint32", type: "uint32", indexed: false },
|
|
13
13
|
],
|
|
14
14
|
name: "BeneficiaryChilled",
|
|
15
15
|
},
|
|
@@ -18,13 +18,32 @@ const iiVoterRegistryAbi = [
|
|
|
18
18
|
anonymous: false,
|
|
19
19
|
inputs: [
|
|
20
20
|
{ name: "voter", internalType: "address", type: "address", indexed: true },
|
|
21
|
-
{ name: "rewardEpochId", internalType: "
|
|
21
|
+
{ name: "rewardEpochId", internalType: "uint32", type: "uint32", indexed: true },
|
|
22
22
|
{ name: "signingPolicyAddress", internalType: "address", type: "address", indexed: true },
|
|
23
23
|
{ name: "submitAddress", internalType: "address", type: "address", indexed: false },
|
|
24
24
|
{ name: "submitSignaturesAddress", internalType: "address", type: "address", indexed: false },
|
|
25
|
-
{
|
|
26
|
-
|
|
25
|
+
{
|
|
26
|
+
name: "publicKey",
|
|
27
|
+
internalType: "struct PublicKey",
|
|
28
|
+
type: "tuple",
|
|
29
|
+
components: [
|
|
30
|
+
{ name: "x", internalType: "bytes32", type: "bytes32" },
|
|
31
|
+
{ name: "y", internalType: "bytes32", type: "bytes32" },
|
|
32
|
+
],
|
|
33
|
+
indexed: false,
|
|
34
|
+
},
|
|
27
35
|
{ name: "registrationWeight", internalType: "uint256", type: "uint256", indexed: false },
|
|
36
|
+
{
|
|
37
|
+
name: "signature",
|
|
38
|
+
internalType: "struct Signature",
|
|
39
|
+
type: "tuple",
|
|
40
|
+
components: [
|
|
41
|
+
{ name: "v", internalType: "uint8", type: "uint8" },
|
|
42
|
+
{ name: "r", internalType: "bytes32", type: "bytes32" },
|
|
43
|
+
{ name: "s", internalType: "bytes32", type: "bytes32" },
|
|
44
|
+
],
|
|
45
|
+
indexed: false,
|
|
46
|
+
},
|
|
28
47
|
],
|
|
29
48
|
name: "VoterRegistered",
|
|
30
49
|
},
|
|
@@ -33,7 +52,7 @@ const iiVoterRegistryAbi = [
|
|
|
33
52
|
anonymous: false,
|
|
34
53
|
inputs: [
|
|
35
54
|
{ name: "voter", internalType: "address", type: "address", indexed: true },
|
|
36
|
-
{ name: "rewardEpochId", internalType: "
|
|
55
|
+
{ name: "rewardEpochId", internalType: "uint32", type: "uint32", indexed: true },
|
|
37
56
|
],
|
|
38
57
|
name: "VoterRemoved",
|
|
39
58
|
},
|
|
@@ -230,7 +249,7 @@ const iiVoterRegistryAbi = [
|
|
|
230
249
|
{ name: "_voter", internalType: "address", type: "address" },
|
|
231
250
|
{
|
|
232
251
|
name: "_signature",
|
|
233
|
-
internalType: "struct
|
|
252
|
+
internalType: "struct Signature",
|
|
234
253
|
type: "tuple",
|
|
235
254
|
components: [
|
|
236
255
|
{ name: "v", internalType: "uint8", type: "uint8" },
|
|
@@ -250,13 +269,6 @@ const iiVoterRegistryAbi = [
|
|
|
250
269
|
outputs: [],
|
|
251
270
|
stateMutability: "nonpayable",
|
|
252
271
|
},
|
|
253
|
-
{
|
|
254
|
-
type: "function",
|
|
255
|
-
inputs: [{ name: "_voter", internalType: "address", type: "address" }],
|
|
256
|
-
name: "systemRegistration",
|
|
257
|
-
outputs: [],
|
|
258
|
-
stateMutability: "nonpayable",
|
|
259
|
-
},
|
|
260
272
|
];
|
|
261
273
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
262
274
|
// React
|