@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.
- 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/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/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/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/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 iFlareSystemsCalculatorAbi: readonly [{
|
|
|
8
8
|
readonly indexed: true;
|
|
9
9
|
}, {
|
|
10
10
|
readonly name: "rewardEpochId";
|
|
11
|
-
readonly internalType: "
|
|
12
|
-
readonly type: "
|
|
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: "
|
|
101
|
-
readonly type: "
|
|
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: "
|
|
190
|
-
readonly type: "
|
|
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: "
|
|
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: "
|
|
12
|
-
readonly type: "
|
|
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: "
|
|
73
|
-
readonly type: "
|
|
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: "
|
|
141
|
-
readonly type: "
|
|
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: "
|
|
202
|
-
readonly type: "
|
|
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: "
|
|
270
|
-
readonly type: "
|
|
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: "
|
|
331
|
-
readonly type: "
|
|
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: "
|
|
399
|
-
readonly type: "
|
|
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: "
|
|
460
|
-
readonly type: "
|
|
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: "
|
|
528
|
-
readonly type: "
|
|
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: "
|
|
589
|
-
readonly type: "
|
|
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: "
|
|
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: "
|
|
36
|
+
{ name: "_rewardEpochId", internalType: "uint32", type: "uint32" },
|
|
37
37
|
{ name: "_votePowerBlockNumber", internalType: "uint256", type: "uint256" },
|
|
38
38
|
],
|
|
39
39
|
name: "calculateRegistrationWeight",
|