@flarenetwork/flare-periphery-contract-artifacts 0.1.49 → 0.1.51

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 (71) hide show
  1. package/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  2. package/coston/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  3. package/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  4. package/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  5. package/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  6. package/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  7. package/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  8. package/coston2/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  9. package/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  10. package/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  11. package/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  12. package/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  13. package/dist/coston/abis.d.ts.map +1 -1
  14. package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  15. package/dist/coston/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  16. package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  17. package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  18. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  19. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  20. package/dist/coston2/abis.d.ts.map +1 -1
  21. package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  22. package/dist/coston2/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  23. package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  24. package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  25. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  26. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  27. package/dist/flare/abis.d.ts.map +1 -1
  28. package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  29. package/dist/flare/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  30. package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  31. package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  32. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  33. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  34. package/dist/index.js +0 -16
  35. package/dist/index.js.map +1 -1
  36. package/dist/songbird/abis.d.ts.map +1 -1
  37. package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  38. package/dist/songbird/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  39. package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  40. package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  41. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  42. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  43. package/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  44. package/flare/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  45. package/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  46. package/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  47. package/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  48. package/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  49. package/package.json +1 -1
  50. package/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  51. package/songbird/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  52. package/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  53. package/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  54. package/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  55. package/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  56. package/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  57. package/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  58. package/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  59. package/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  60. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  61. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  62. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  63. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  64. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  65. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  66. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  67. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  68. package/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  69. package/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  70. package/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  71. package/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": false,
13
- "internalType": "uint256",
13
+ "internalType": "uint32",
14
14
  "name": "untilRewardEpochId",
15
- "type": "uint256"
15
+ "type": "uint32"
16
16
  }
17
17
  ],
18
18
  "name": "BeneficiaryChilled",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  {
31
31
  "indexed": true,
32
- "internalType": "uint24",
32
+ "internalType": "uint32",
33
33
  "name": "rewardEpochId",
34
- "type": "uint24"
34
+ "type": "uint32"
35
35
  },
36
36
  {
37
37
  "indexed": true,
@@ -52,22 +52,51 @@
52
52
  "type": "address"
53
53
  },
54
54
  {
55
+ "components": [
56
+ {
57
+ "internalType": "bytes32",
58
+ "name": "x",
59
+ "type": "bytes32"
60
+ },
61
+ {
62
+ "internalType": "bytes32",
63
+ "name": "y",
64
+ "type": "bytes32"
65
+ }
66
+ ],
55
67
  "indexed": false,
56
- "internalType": "bytes32",
57
- "name": "publicKeyPart1",
58
- "type": "bytes32"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "bytes32",
63
- "name": "publicKeyPart2",
64
- "type": "bytes32"
68
+ "internalType": "struct PublicKey",
69
+ "name": "publicKey",
70
+ "type": "tuple"
65
71
  },
66
72
  {
67
73
  "indexed": false,
68
74
  "internalType": "uint256",
69
75
  "name": "registrationWeight",
70
76
  "type": "uint256"
77
+ },
78
+ {
79
+ "components": [
80
+ {
81
+ "internalType": "uint8",
82
+ "name": "v",
83
+ "type": "uint8"
84
+ },
85
+ {
86
+ "internalType": "bytes32",
87
+ "name": "r",
88
+ "type": "bytes32"
89
+ },
90
+ {
91
+ "internalType": "bytes32",
92
+ "name": "s",
93
+ "type": "bytes32"
94
+ }
95
+ ],
96
+ "indexed": false,
97
+ "internalType": "struct Signature",
98
+ "name": "signature",
99
+ "type": "tuple"
71
100
  }
72
101
  ],
73
102
  "name": "VoterRegistered",
@@ -84,9 +113,9 @@
84
113
  },
85
114
  {
86
115
  "indexed": true,
87
- "internalType": "uint256",
116
+ "internalType": "uint32",
88
117
  "name": "rewardEpochId",
89
- "type": "uint256"
118
+ "type": "uint32"
90
119
  }
91
120
  ],
92
121
  "name": "VoterRemoved",
@@ -584,7 +613,7 @@
584
613
  "type": "bytes32"
585
614
  }
586
615
  ],
587
- "internalType": "struct IVoterRegistry.Signature",
616
+ "internalType": "struct Signature",
588
617
  "name": "_signature",
589
618
  "type": "tuple"
590
619
  }
@@ -606,18 +635,5 @@
606
635
  "outputs": [],
607
636
  "stateMutability": "nonpayable",
608
637
  "type": "function"
609
- },
610
- {
611
- "inputs": [
612
- {
613
- "internalType": "address",
614
- "name": "_voter",
615
- "type": "address"
616
- }
617
- ],
618
- "name": "systemRegistration",
619
- "outputs": [],
620
- "stateMutability": "nonpayable",
621
- "type": "function"
622
638
  }
623
639
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flarenetwork/flare-periphery-contract-artifacts",
3
3
  "description": "Smart contract artifacts for all Flare chains",
4
- "version": "0.1.49",
4
+ "version": "0.1.51",
5
5
  "author": "Flare Network",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": true,
13
- "internalType": "uint24",
13
+ "internalType": "uint32",
14
14
  "name": "rewardEpochId",
15
- "type": "uint24"
15
+ "type": "uint32"
16
16
  },
17
17
  {
18
18
  "indexed": false,
@@ -431,6 +431,24 @@
431
431
  "stateMutability": "nonpayable",
432
432
  "type": "function"
433
433
  },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "uint256",
438
+ "name": "_mintingTag",
439
+ "type": "uint256"
440
+ },
441
+ {
442
+ "internalType": "address",
443
+ "name": "_executor",
444
+ "type": "address"
445
+ }
446
+ ],
447
+ "name": "setAllowedExecutor",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
434
452
  {
435
453
  "inputs": [
436
454
  {
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": true,
13
- "internalType": "uint256",
13
+ "internalType": "uint32",
14
14
  "name": "rewardEpochId",
15
- "type": "uint256"
15
+ "type": "uint32"
16
16
  }
17
17
  ],
18
18
  "name": "VoterPreRegistered",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  {
31
31
  "indexed": true,
32
- "internalType": "uint256",
32
+ "internalType": "uint32",
33
33
  "name": "rewardEpochId",
34
- "type": "uint256"
34
+ "type": "uint32"
35
35
  }
36
36
  ],
37
37
  "name": "VoterRegistrationFailed",
@@ -40,9 +40,9 @@
40
40
  {
41
41
  "inputs": [
42
42
  {
43
- "internalType": "uint24",
43
+ "internalType": "uint256",
44
44
  "name": "_rewardEpochId",
45
- "type": "uint24"
45
+ "type": "uint256"
46
46
  }
47
47
  ],
48
48
  "name": "getPreRegisteredVoters",
@@ -59,9 +59,50 @@
59
59
  {
60
60
  "inputs": [
61
61
  {
62
- "internalType": "uint24",
62
+ "internalType": "uint256",
63
63
  "name": "_rewardEpochId",
64
- "type": "uint24"
64
+ "type": "uint256"
65
+ },
66
+ {
67
+ "internalType": "address",
68
+ "name": "_voter",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "getVoterSignature",
73
+ "outputs": [
74
+ {
75
+ "components": [
76
+ {
77
+ "internalType": "uint8",
78
+ "name": "v",
79
+ "type": "uint8"
80
+ },
81
+ {
82
+ "internalType": "bytes32",
83
+ "name": "r",
84
+ "type": "bytes32"
85
+ },
86
+ {
87
+ "internalType": "bytes32",
88
+ "name": "s",
89
+ "type": "bytes32"
90
+ }
91
+ ],
92
+ "internalType": "struct Signature",
93
+ "name": "",
94
+ "type": "tuple"
95
+ }
96
+ ],
97
+ "stateMutability": "view",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "uint256",
104
+ "name": "_rewardEpochId",
105
+ "type": "uint256"
65
106
  },
66
107
  {
67
108
  "internalType": "address",
@@ -105,7 +146,7 @@
105
146
  "type": "bytes32"
106
147
  }
107
148
  ],
108
- "internalType": "struct IVoterRegistry.Signature",
149
+ "internalType": "struct Signature",
109
150
  "name": "_signature",
110
151
  "type": "tuple"
111
152
  }
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": false,
13
- "internalType": "uint256",
13
+ "internalType": "uint32",
14
14
  "name": "untilRewardEpochId",
15
- "type": "uint256"
15
+ "type": "uint32"
16
16
  }
17
17
  ],
18
18
  "name": "BeneficiaryChilled",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  {
31
31
  "indexed": true,
32
- "internalType": "uint24",
32
+ "internalType": "uint32",
33
33
  "name": "rewardEpochId",
34
- "type": "uint24"
34
+ "type": "uint32"
35
35
  },
36
36
  {
37
37
  "indexed": true,
@@ -52,22 +52,51 @@
52
52
  "type": "address"
53
53
  },
54
54
  {
55
+ "components": [
56
+ {
57
+ "internalType": "bytes32",
58
+ "name": "x",
59
+ "type": "bytes32"
60
+ },
61
+ {
62
+ "internalType": "bytes32",
63
+ "name": "y",
64
+ "type": "bytes32"
65
+ }
66
+ ],
55
67
  "indexed": false,
56
- "internalType": "bytes32",
57
- "name": "publicKeyPart1",
58
- "type": "bytes32"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "bytes32",
63
- "name": "publicKeyPart2",
64
- "type": "bytes32"
68
+ "internalType": "struct PublicKey",
69
+ "name": "publicKey",
70
+ "type": "tuple"
65
71
  },
66
72
  {
67
73
  "indexed": false,
68
74
  "internalType": "uint256",
69
75
  "name": "registrationWeight",
70
76
  "type": "uint256"
77
+ },
78
+ {
79
+ "components": [
80
+ {
81
+ "internalType": "uint8",
82
+ "name": "v",
83
+ "type": "uint8"
84
+ },
85
+ {
86
+ "internalType": "bytes32",
87
+ "name": "r",
88
+ "type": "bytes32"
89
+ },
90
+ {
91
+ "internalType": "bytes32",
92
+ "name": "s",
93
+ "type": "bytes32"
94
+ }
95
+ ],
96
+ "indexed": false,
97
+ "internalType": "struct Signature",
98
+ "name": "signature",
99
+ "type": "tuple"
71
100
  }
72
101
  ],
73
102
  "name": "VoterRegistered",
@@ -84,9 +113,9 @@
84
113
  },
85
114
  {
86
115
  "indexed": true,
87
- "internalType": "uint256",
116
+ "internalType": "uint32",
88
117
  "name": "rewardEpochId",
89
- "type": "uint256"
118
+ "type": "uint32"
90
119
  }
91
120
  ],
92
121
  "name": "VoterRemoved",
@@ -243,7 +272,7 @@
243
272
  "type": "bytes32"
244
273
  }
245
274
  ],
246
- "internalType": "struct IVoterRegistry.Signature",
275
+ "internalType": "struct Signature",
247
276
  "name": "_signature",
248
277
  "type": "tuple"
249
278
  }
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": true,
13
- "internalType": "uint24",
13
+ "internalType": "uint32",
14
14
  "name": "rewardEpochId",
15
- "type": "uint24"
15
+ "type": "uint32"
16
16
  },
17
17
  {
18
18
  "indexed": false,
@@ -86,9 +86,9 @@
86
86
  "type": "address"
87
87
  },
88
88
  {
89
- "internalType": "uint24",
89
+ "internalType": "uint32",
90
90
  "name": "_rewardEpochId",
91
- "type": "uint24"
91
+ "type": "uint32"
92
92
  },
93
93
  {
94
94
  "internalType": "uint256",
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "indexed": false,
13
- "internalType": "uint256",
13
+ "internalType": "uint32",
14
14
  "name": "untilRewardEpochId",
15
- "type": "uint256"
15
+ "type": "uint32"
16
16
  }
17
17
  ],
18
18
  "name": "BeneficiaryChilled",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  {
31
31
  "indexed": true,
32
- "internalType": "uint24",
32
+ "internalType": "uint32",
33
33
  "name": "rewardEpochId",
34
- "type": "uint24"
34
+ "type": "uint32"
35
35
  },
36
36
  {
37
37
  "indexed": true,
@@ -52,22 +52,51 @@
52
52
  "type": "address"
53
53
  },
54
54
  {
55
+ "components": [
56
+ {
57
+ "internalType": "bytes32",
58
+ "name": "x",
59
+ "type": "bytes32"
60
+ },
61
+ {
62
+ "internalType": "bytes32",
63
+ "name": "y",
64
+ "type": "bytes32"
65
+ }
66
+ ],
55
67
  "indexed": false,
56
- "internalType": "bytes32",
57
- "name": "publicKeyPart1",
58
- "type": "bytes32"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "bytes32",
63
- "name": "publicKeyPart2",
64
- "type": "bytes32"
68
+ "internalType": "struct PublicKey",
69
+ "name": "publicKey",
70
+ "type": "tuple"
65
71
  },
66
72
  {
67
73
  "indexed": false,
68
74
  "internalType": "uint256",
69
75
  "name": "registrationWeight",
70
76
  "type": "uint256"
77
+ },
78
+ {
79
+ "components": [
80
+ {
81
+ "internalType": "uint8",
82
+ "name": "v",
83
+ "type": "uint8"
84
+ },
85
+ {
86
+ "internalType": "bytes32",
87
+ "name": "r",
88
+ "type": "bytes32"
89
+ },
90
+ {
91
+ "internalType": "bytes32",
92
+ "name": "s",
93
+ "type": "bytes32"
94
+ }
95
+ ],
96
+ "indexed": false,
97
+ "internalType": "struct Signature",
98
+ "name": "signature",
99
+ "type": "tuple"
71
100
  }
72
101
  ],
73
102
  "name": "VoterRegistered",
@@ -84,9 +113,9 @@
84
113
  },
85
114
  {
86
115
  "indexed": true,
87
- "internalType": "uint256",
116
+ "internalType": "uint32",
88
117
  "name": "rewardEpochId",
89
- "type": "uint256"
118
+ "type": "uint32"
90
119
  }
91
120
  ],
92
121
  "name": "VoterRemoved",
@@ -584,7 +613,7 @@
584
613
  "type": "bytes32"
585
614
  }
586
615
  ],
587
- "internalType": "struct IVoterRegistry.Signature",
616
+ "internalType": "struct Signature",
588
617
  "name": "_signature",
589
618
  "type": "tuple"
590
619
  }
@@ -606,18 +635,5 @@
606
635
  "outputs": [],
607
636
  "stateMutability": "nonpayable",
608
637
  "type": "function"
609
- },
610
- {
611
- "inputs": [
612
- {
613
- "internalType": "address",
614
- "name": "_voter",
615
- "type": "address"
616
- }
617
- ],
618
- "name": "systemRegistration",
619
- "outputs": [],
620
- "stateMutability": "nonpayable",
621
- "type": "function"
622
638
  }
623
639
  ]