@flarenetwork/flare-wagmi-periphery-package 3.4.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.
Files changed (113) hide show
  1. package/dist/contracts/coston/IFlareSystemsCalculator.d.ts +6 -6
  2. package/dist/contracts/coston/IFlareSystemsCalculator.js +1 -1
  3. package/dist/contracts/coston/IIFlareSystemsCalculator.d.ts +20 -20
  4. package/dist/contracts/coston/IIFlareSystemsCalculator.js +2 -2
  5. package/dist/contracts/coston/IIVoterRegistry.d.ts +185 -125
  6. package/dist/contracts/coston/IIVoterRegistry.d.ts.map +1 -1
  7. package/dist/contracts/coston/IIVoterRegistry.js +25 -13
  8. package/dist/contracts/coston/IIVoterRegistry.js.map +1 -1
  9. package/dist/contracts/coston/IVoterPreRegistry.d.ts +200 -45
  10. package/dist/contracts/coston/IVoterPreRegistry.d.ts.map +1 -1
  11. package/dist/contracts/coston/IVoterPreRegistry.js +26 -5
  12. package/dist/contracts/coston/IVoterPreRegistry.js.map +1 -1
  13. package/dist/contracts/coston/IVoterRegistry.d.ts +185 -75
  14. package/dist/contracts/coston/IVoterRegistry.d.ts.map +1 -1
  15. package/dist/contracts/coston/IVoterRegistry.js +25 -6
  16. package/dist/contracts/coston/IVoterRegistry.js.map +1 -1
  17. package/dist/contracts/coston/index.d.ts +0 -2
  18. package/dist/contracts/coston/index.d.ts.map +1 -1
  19. package/dist/contracts/coston/index.js +0 -2
  20. package/dist/contracts/coston/index.js.map +1 -1
  21. package/dist/contracts/coston2/IFlareSystemsCalculator.d.ts +6 -6
  22. package/dist/contracts/coston2/IFlareSystemsCalculator.js +1 -1
  23. package/dist/contracts/coston2/IIFlareSystemsCalculator.d.ts +20 -20
  24. package/dist/contracts/coston2/IIFlareSystemsCalculator.js +2 -2
  25. package/dist/contracts/coston2/IIVoterRegistry.d.ts +185 -125
  26. package/dist/contracts/coston2/IIVoterRegistry.d.ts.map +1 -1
  27. package/dist/contracts/coston2/IIVoterRegistry.js +25 -13
  28. package/dist/contracts/coston2/IIVoterRegistry.js.map +1 -1
  29. package/dist/contracts/coston2/IVoterPreRegistry.d.ts +200 -45
  30. package/dist/contracts/coston2/IVoterPreRegistry.d.ts.map +1 -1
  31. package/dist/contracts/coston2/IVoterPreRegistry.js +26 -5
  32. package/dist/contracts/coston2/IVoterPreRegistry.js.map +1 -1
  33. package/dist/contracts/coston2/IVoterRegistry.d.ts +185 -75
  34. package/dist/contracts/coston2/IVoterRegistry.d.ts.map +1 -1
  35. package/dist/contracts/coston2/IVoterRegistry.js +25 -6
  36. package/dist/contracts/coston2/IVoterRegistry.js.map +1 -1
  37. package/dist/contracts/coston2/index.d.ts +0 -2
  38. package/dist/contracts/coston2/index.d.ts.map +1 -1
  39. package/dist/contracts/coston2/index.js +0 -2
  40. package/dist/contracts/coston2/index.js.map +1 -1
  41. package/dist/contracts/flare/IFlareSystemsCalculator.d.ts +6 -6
  42. package/dist/contracts/flare/IFlareSystemsCalculator.js +1 -1
  43. package/dist/contracts/flare/IIFlareSystemsCalculator.d.ts +20 -20
  44. package/dist/contracts/flare/IIFlareSystemsCalculator.js +2 -2
  45. package/dist/contracts/flare/IIVoterRegistry.d.ts +185 -125
  46. package/dist/contracts/flare/IIVoterRegistry.d.ts.map +1 -1
  47. package/dist/contracts/flare/IIVoterRegistry.js +25 -13
  48. package/dist/contracts/flare/IIVoterRegistry.js.map +1 -1
  49. package/dist/contracts/flare/IVoterPreRegistry.d.ts +200 -45
  50. package/dist/contracts/flare/IVoterPreRegistry.d.ts.map +1 -1
  51. package/dist/contracts/flare/IVoterPreRegistry.js +26 -5
  52. package/dist/contracts/flare/IVoterPreRegistry.js.map +1 -1
  53. package/dist/contracts/flare/IVoterRegistry.d.ts +185 -75
  54. package/dist/contracts/flare/IVoterRegistry.d.ts.map +1 -1
  55. package/dist/contracts/flare/IVoterRegistry.js +25 -6
  56. package/dist/contracts/flare/IVoterRegistry.js.map +1 -1
  57. package/dist/contracts/flare/index.d.ts +0 -2
  58. package/dist/contracts/flare/index.d.ts.map +1 -1
  59. package/dist/contracts/flare/index.js +0 -2
  60. package/dist/contracts/flare/index.js.map +1 -1
  61. package/dist/contracts/songbird/IFlareSystemsCalculator.d.ts +6 -6
  62. package/dist/contracts/songbird/IFlareSystemsCalculator.js +1 -1
  63. package/dist/contracts/songbird/IIFlareSystemsCalculator.d.ts +20 -20
  64. package/dist/contracts/songbird/IIFlareSystemsCalculator.js +2 -2
  65. package/dist/contracts/songbird/IIVoterRegistry.d.ts +185 -125
  66. package/dist/contracts/songbird/IIVoterRegistry.d.ts.map +1 -1
  67. package/dist/contracts/songbird/IIVoterRegistry.js +25 -13
  68. package/dist/contracts/songbird/IIVoterRegistry.js.map +1 -1
  69. package/dist/contracts/songbird/IVoterPreRegistry.d.ts +200 -45
  70. package/dist/contracts/songbird/IVoterPreRegistry.d.ts.map +1 -1
  71. package/dist/contracts/songbird/IVoterPreRegistry.js +26 -5
  72. package/dist/contracts/songbird/IVoterPreRegistry.js.map +1 -1
  73. package/dist/contracts/songbird/IVoterRegistry.d.ts +185 -75
  74. package/dist/contracts/songbird/IVoterRegistry.d.ts.map +1 -1
  75. package/dist/contracts/songbird/IVoterRegistry.js +25 -6
  76. package/dist/contracts/songbird/IVoterRegistry.js.map +1 -1
  77. package/dist/contracts/songbird/index.d.ts +0 -2
  78. package/dist/contracts/songbird/index.d.ts.map +1 -1
  79. package/dist/contracts/songbird/index.js +0 -2
  80. package/dist/contracts/songbird/index.js.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/contracts/coston/IIRNat.d.ts +0 -4138
  83. package/dist/contracts/coston/IIRNat.d.ts.map +0 -1
  84. package/dist/contracts/coston/IIRNat.js +0 -482
  85. package/dist/contracts/coston/IIRNat.js.map +0 -1
  86. package/dist/contracts/coston/IIRNatAccount.d.ts +0 -1293
  87. package/dist/contracts/coston/IIRNatAccount.d.ts.map +0 -1
  88. package/dist/contracts/coston/IIRNatAccount.js +0 -182
  89. package/dist/contracts/coston/IIRNatAccount.js.map +0 -1
  90. package/dist/contracts/coston2/IIRNat.d.ts +0 -4138
  91. package/dist/contracts/coston2/IIRNat.d.ts.map +0 -1
  92. package/dist/contracts/coston2/IIRNat.js +0 -482
  93. package/dist/contracts/coston2/IIRNat.js.map +0 -1
  94. package/dist/contracts/coston2/IIRNatAccount.d.ts +0 -1293
  95. package/dist/contracts/coston2/IIRNatAccount.d.ts.map +0 -1
  96. package/dist/contracts/coston2/IIRNatAccount.js +0 -182
  97. package/dist/contracts/coston2/IIRNatAccount.js.map +0 -1
  98. package/dist/contracts/flare/IIRNat.d.ts +0 -4138
  99. package/dist/contracts/flare/IIRNat.d.ts.map +0 -1
  100. package/dist/contracts/flare/IIRNat.js +0 -482
  101. package/dist/contracts/flare/IIRNat.js.map +0 -1
  102. package/dist/contracts/flare/IIRNatAccount.d.ts +0 -1293
  103. package/dist/contracts/flare/IIRNatAccount.d.ts.map +0 -1
  104. package/dist/contracts/flare/IIRNatAccount.js +0 -182
  105. package/dist/contracts/flare/IIRNatAccount.js.map +0 -1
  106. package/dist/contracts/songbird/IIRNat.d.ts +0 -4138
  107. package/dist/contracts/songbird/IIRNat.d.ts.map +0 -1
  108. package/dist/contracts/songbird/IIRNat.js +0 -482
  109. package/dist/contracts/songbird/IIRNat.js.map +0 -1
  110. package/dist/contracts/songbird/IIRNatAccount.d.ts +0 -1293
  111. package/dist/contracts/songbird/IIRNatAccount.d.ts.map +0 -1
  112. package/dist/contracts/songbird/IIRNatAccount.js +0 -182
  113. package/dist/contracts/songbird/IIRNatAccount.js.map +0 -1
@@ -8,8 +8,8 @@ export declare const iFlareSystemsCalculatorAbi: readonly [{
8
8
  readonly indexed: true;
9
9
  }, {
10
10
  readonly name: "rewardEpochId";
11
- readonly internalType: "uint24";
12
- readonly type: "uint24";
11
+ readonly internalType: "uint32";
12
+ readonly type: "uint32";
13
13
  readonly indexed: true;
14
14
  }, {
15
15
  readonly name: "delegationAddress";
@@ -97,8 +97,8 @@ export declare const useReadIFlareSystemsCalculator: import("wagmi/codegen").Cre
97
97
  readonly indexed: true;
98
98
  }, {
99
99
  readonly name: "rewardEpochId";
100
- readonly internalType: "uint24";
101
- readonly type: "uint24";
100
+ readonly internalType: "uint32";
101
+ readonly type: "uint32";
102
102
  readonly indexed: true;
103
103
  }, {
104
104
  readonly name: "delegationAddress";
@@ -186,8 +186,8 @@ export declare const useWatchIFlareSystemsCalculatorEvent: import("wagmi/codegen
186
186
  readonly indexed: true;
187
187
  }, {
188
188
  readonly name: "rewardEpochId";
189
- readonly internalType: "uint24";
190
- readonly type: "uint24";
189
+ readonly internalType: "uint32";
190
+ readonly type: "uint32";
191
191
  readonly indexed: true;
192
192
  }, {
193
193
  readonly name: "delegationAddress";
@@ -9,7 +9,7 @@ const iFlareSystemsCalculatorAbi = [
9
9
  anonymous: false,
10
10
  inputs: [
11
11
  { name: "voter", internalType: "address", type: "address", indexed: true },
12
- { name: "rewardEpochId", internalType: "uint24", type: "uint24", indexed: true },
12
+ { name: "rewardEpochId", internalType: "uint32", type: "uint32", indexed: true },
13
13
  { name: "delegationAddress", internalType: "address", type: "address", indexed: false },
14
14
  { name: "delegationFeeBIPS", internalType: "uint16", type: "uint16", indexed: false },
15
15
  { name: "wNatWeight", internalType: "uint256", type: "uint256", indexed: false },
@@ -8,8 +8,8 @@ export declare const iiFlareSystemsCalculatorAbi: readonly [{
8
8
  readonly indexed: true;
9
9
  }, {
10
10
  readonly name: "rewardEpochId";
11
- readonly internalType: "uint24";
12
- readonly type: "uint24";
11
+ readonly internalType: "uint32";
12
+ readonly type: "uint32";
13
13
  readonly indexed: true;
14
14
  }, {
15
15
  readonly name: "delegationAddress";
@@ -69,8 +69,8 @@ export declare const iiFlareSystemsCalculatorAbi: readonly [{
69
69
  readonly type: "address";
70
70
  }, {
71
71
  readonly name: "_rewardEpochId";
72
- readonly internalType: "uint24";
73
- readonly type: "uint24";
72
+ readonly internalType: "uint32";
73
+ readonly type: "uint32";
74
74
  }, {
75
75
  readonly name: "_votePowerBlockNumber";
76
76
  readonly internalType: "uint256";
@@ -137,8 +137,8 @@ export declare const useReadIiFlareSystemsCalculator: import("wagmi/codegen").Cr
137
137
  readonly indexed: true;
138
138
  }, {
139
139
  readonly name: "rewardEpochId";
140
- readonly internalType: "uint24";
141
- readonly type: "uint24";
140
+ readonly internalType: "uint32";
141
+ readonly type: "uint32";
142
142
  readonly indexed: true;
143
143
  }, {
144
144
  readonly name: "delegationAddress";
@@ -198,8 +198,8 @@ export declare const useReadIiFlareSystemsCalculator: import("wagmi/codegen").Cr
198
198
  readonly type: "address";
199
199
  }, {
200
200
  readonly name: "_rewardEpochId";
201
- readonly internalType: "uint24";
202
- readonly type: "uint24";
201
+ readonly internalType: "uint32";
202
+ readonly type: "uint32";
203
203
  }, {
204
204
  readonly name: "_votePowerBlockNumber";
205
205
  readonly internalType: "uint256";
@@ -266,8 +266,8 @@ export declare const useWriteIiFlareSystemsCalculator: import("wagmi/codegen").C
266
266
  readonly indexed: true;
267
267
  }, {
268
268
  readonly name: "rewardEpochId";
269
- readonly internalType: "uint24";
270
- readonly type: "uint24";
269
+ readonly internalType: "uint32";
270
+ readonly type: "uint32";
271
271
  readonly indexed: true;
272
272
  }, {
273
273
  readonly name: "delegationAddress";
@@ -327,8 +327,8 @@ export declare const useWriteIiFlareSystemsCalculator: import("wagmi/codegen").C
327
327
  readonly type: "address";
328
328
  }, {
329
329
  readonly name: "_rewardEpochId";
330
- readonly internalType: "uint24";
331
- readonly type: "uint24";
330
+ readonly internalType: "uint32";
331
+ readonly type: "uint32";
332
332
  }, {
333
333
  readonly name: "_votePowerBlockNumber";
334
334
  readonly internalType: "uint256";
@@ -395,8 +395,8 @@ export declare const useSimulateIiFlareSystemsCalculator: import("wagmi/codegen"
395
395
  readonly indexed: true;
396
396
  }, {
397
397
  readonly name: "rewardEpochId";
398
- readonly internalType: "uint24";
399
- readonly type: "uint24";
398
+ readonly internalType: "uint32";
399
+ readonly type: "uint32";
400
400
  readonly indexed: true;
401
401
  }, {
402
402
  readonly name: "delegationAddress";
@@ -456,8 +456,8 @@ export declare const useSimulateIiFlareSystemsCalculator: import("wagmi/codegen"
456
456
  readonly type: "address";
457
457
  }, {
458
458
  readonly name: "_rewardEpochId";
459
- readonly internalType: "uint24";
460
- readonly type: "uint24";
459
+ readonly internalType: "uint32";
460
+ readonly type: "uint32";
461
461
  }, {
462
462
  readonly name: "_votePowerBlockNumber";
463
463
  readonly internalType: "uint256";
@@ -524,8 +524,8 @@ export declare const useWatchIiFlareSystemsCalculatorEvent: import("wagmi/codege
524
524
  readonly indexed: true;
525
525
  }, {
526
526
  readonly name: "rewardEpochId";
527
- readonly internalType: "uint24";
528
- readonly type: "uint24";
527
+ readonly internalType: "uint32";
528
+ readonly type: "uint32";
529
529
  readonly indexed: true;
530
530
  }, {
531
531
  readonly name: "delegationAddress";
@@ -585,8 +585,8 @@ export declare const useWatchIiFlareSystemsCalculatorEvent: import("wagmi/codege
585
585
  readonly type: "address";
586
586
  }, {
587
587
  readonly name: "_rewardEpochId";
588
- readonly internalType: "uint24";
589
- readonly type: "uint24";
588
+ readonly internalType: "uint32";
589
+ readonly type: "uint32";
590
590
  }, {
591
591
  readonly name: "_votePowerBlockNumber";
592
592
  readonly internalType: "uint256";
@@ -9,7 +9,7 @@ const iiFlareSystemsCalculatorAbi = [
9
9
  anonymous: false,
10
10
  inputs: [
11
11
  { name: "voter", internalType: "address", type: "address", indexed: true },
12
- { name: "rewardEpochId", internalType: "uint24", type: "uint24", indexed: true },
12
+ { name: "rewardEpochId", internalType: "uint32", type: "uint32", indexed: true },
13
13
  { name: "delegationAddress", internalType: "address", type: "address", indexed: false },
14
14
  { name: "delegationFeeBIPS", internalType: "uint16", type: "uint16", indexed: false },
15
15
  { name: "wNatWeight", internalType: "uint256", type: "uint256", indexed: false },
@@ -33,7 +33,7 @@ const iiFlareSystemsCalculatorAbi = [
33
33
  type: "function",
34
34
  inputs: [
35
35
  { name: "_voter", internalType: "address", type: "address" },
36
- { name: "_rewardEpochId", internalType: "uint24", type: "uint24" },
36
+ { name: "_rewardEpochId", internalType: "uint32", type: "uint32" },
37
37
  { name: "_votePowerBlockNumber", internalType: "uint256", type: "uint256" },
38
38
  ],
39
39
  name: "calculateRegistrationWeight",