@flarenetwork/flare-periphery-contract-artifacts 0.1.14 → 0.1.16

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.
@@ -0,0 +1,263 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRelay",
4
+ "sourceName": "contracts/userInterfaces/IRelay.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint8",
12
+ "name": "protocolId",
13
+ "type": "uint8"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "uint32",
18
+ "name": "votingRoundId",
19
+ "type": "uint32"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "bool",
24
+ "name": "isSecureRandom",
25
+ "type": "bool"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "bytes32",
30
+ "name": "merkleRoot",
31
+ "type": "bytes32"
32
+ }
33
+ ],
34
+ "name": "ProtocolMessageRelayed",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "uint24",
43
+ "name": "rewardEpochId",
44
+ "type": "uint24"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint32",
49
+ "name": "startVotingRoundId",
50
+ "type": "uint32"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint16",
55
+ "name": "threshold",
56
+ "type": "uint16"
57
+ },
58
+ {
59
+ "indexed": false,
60
+ "internalType": "uint256",
61
+ "name": "seed",
62
+ "type": "uint256"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "address[]",
67
+ "name": "voters",
68
+ "type": "address[]"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "uint16[]",
73
+ "name": "weights",
74
+ "type": "uint16[]"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "bytes",
79
+ "name": "signingPolicyBytes",
80
+ "type": "bytes"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "uint64",
85
+ "name": "timestamp",
86
+ "type": "uint64"
87
+ }
88
+ ],
89
+ "name": "SigningPolicyInitialized",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "uint256",
98
+ "name": "rewardEpochId",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "name": "SigningPolicyRelayed",
103
+ "type": "event"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "uint256",
109
+ "name": "_protocolId",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "_votingRoundId",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "getConfirmedMerkleRoot",
119
+ "outputs": [
120
+ {
121
+ "internalType": "bytes32",
122
+ "name": "_merkleRoot",
123
+ "type": "bytes32"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [],
131
+ "name": "getRandomNumber",
132
+ "outputs": [
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "_randomNumber",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "internalType": "bool",
140
+ "name": "_isSecureRandom",
141
+ "type": "bool"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "_randomTimestamp",
146
+ "type": "uint256"
147
+ }
148
+ ],
149
+ "stateMutability": "view",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "_timestamp",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "name": "getVotingRoundId",
161
+ "outputs": [
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "_votingRoundId",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "lastInitializedRewardEpochData",
174
+ "outputs": [
175
+ {
176
+ "internalType": "uint32",
177
+ "name": "_lastInitializedRewardEpoch",
178
+ "type": "uint32"
179
+ },
180
+ {
181
+ "internalType": "uint32",
182
+ "name": "_startingVotingRoundIdForLastInitializedRewardEpoch",
183
+ "type": "uint32"
184
+ }
185
+ ],
186
+ "stateMutability": "view",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "_protocolId",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "_votingRoundId",
199
+ "type": "uint256"
200
+ }
201
+ ],
202
+ "name": "merkleRoots",
203
+ "outputs": [
204
+ {
205
+ "internalType": "bytes32",
206
+ "name": "_merkleRoot",
207
+ "type": "bytes32"
208
+ }
209
+ ],
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "inputs": [],
215
+ "name": "relay",
216
+ "outputs": [],
217
+ "stateMutability": "nonpayable",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "uint256",
224
+ "name": "_rewardEpochId",
225
+ "type": "uint256"
226
+ }
227
+ ],
228
+ "name": "startingVotingRoundIds",
229
+ "outputs": [
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "_startingVotingRoundId",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "_rewardEpochId",
244
+ "type": "uint256"
245
+ }
246
+ ],
247
+ "name": "toSigningPolicyHash",
248
+ "outputs": [
249
+ {
250
+ "internalType": "bytes32",
251
+ "name": "_signingPolicyHash",
252
+ "type": "bytes32"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ }
258
+ ],
259
+ "bytecode": "0x",
260
+ "deployedBytecode": "0x",
261
+ "linkReferences": {},
262
+ "deployedLinkReferences": {}
263
+ }
@@ -129,6 +129,7 @@ const PriceSubmitter_json_1 = __importDefault(require("./artifacts/contracts/gen
129
129
  const StateConnector_json_1 = __importDefault(require("./artifacts/contracts/genesis/implementation/StateConnector.sol/StateConnector.json"));
130
130
  const FlareDaemon_json_1 = __importDefault(require("./artifacts/contracts/genesis/implementation/FlareDaemon.sol/FlareDaemon.json"));
131
131
  const GovernanceSettings_json_1 = __importDefault(require("./artifacts/contracts/genesis/implementation/GovernanceSettings.sol/GovernanceSettings.json"));
132
+ const IRelay_json_1 = __importDefault(require("./artifacts/contracts/utils/interface/IRelay.sol/IRelay.json"));
132
133
  exports.abis = {
133
134
  IIVPToken: IIVPToken_json_1.default.abi,
134
135
  IIVPContract: IIVPContract_json_1.default.abi,
@@ -255,5 +256,6 @@ exports.abis = {
255
256
  StateConnector: StateConnector_json_1.default.abi,
256
257
  FlareDaemon: FlareDaemon_json_1.default.abi,
257
258
  GovernanceSettings: GovernanceSettings_json_1.default.abi,
259
+ IRelay: IRelay_json_1.default.abi,
258
260
  };
259
261
  //# sourceMappingURL=abis.js.map
@@ -42,5 +42,6 @@ exports.contractAddresses = {
42
42
  DelegationAccount: '0xE2Ee339b2608Fe20ca2f721e938a640e0E5ee546',
43
43
  FlareAssetRegistry: '0x92B87cc4205265e9500d570D452A3f7F91926e91',
44
44
  WNatRegistryProvider: '0x9819645ab3E99a0A2c0ECF797Da4B9312b31121F',
45
+ Relay: '0x32D46A1260BB2D8C9d5Ab1C9bBd7FF7D7CfaabCC',
45
46
  };
46
47
  //# sourceMappingURL=addresses.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flarenetwork/flare-periphery-contract-artifacts",
3
3
  "description": "Smart contracts artifacts for all Flare chains",
4
- "version": "0.1.14",
4
+ "version": "0.1.16",
5
5
  "author": "Flare Network",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",
@@ -0,0 +1,239 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IFastUpdateIncentiveManager",
4
+ "sourceName": "contracts/userInterfaces/IFastUpdateIncentiveManager.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint24",
12
+ "name": "rewardEpochId",
13
+ "type": "uint24"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "Range",
18
+ "name": "rangeIncrease",
19
+ "type": "uint256"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "SampleSize",
24
+ "name": "sampleSizeIncrease",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "Fee",
30
+ "name": "offerAmount",
31
+ "type": "uint256"
32
+ }
33
+ ],
34
+ "name": "IncentiveOffered",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "uint24",
43
+ "name": "rewardEpochId",
44
+ "type": "uint24"
45
+ },
46
+ {
47
+ "components": [
48
+ {
49
+ "internalType": "bytes21",
50
+ "name": "feedId",
51
+ "type": "bytes21"
52
+ },
53
+ {
54
+ "internalType": "uint32",
55
+ "name": "rewardBandValue",
56
+ "type": "uint32"
57
+ },
58
+ {
59
+ "internalType": "uint24",
60
+ "name": "inflationShare",
61
+ "type": "uint24"
62
+ }
63
+ ],
64
+ "indexed": false,
65
+ "internalType": "struct IFastUpdatesConfiguration.FeedConfiguration[]",
66
+ "name": "feedConfigurations",
67
+ "type": "tuple[]"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "uint256",
72
+ "name": "amount",
73
+ "type": "uint256"
74
+ }
75
+ ],
76
+ "name": "InflationRewardsOffered",
77
+ "type": "event"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "getBaseScale",
82
+ "outputs": [
83
+ {
84
+ "internalType": "Scale",
85
+ "name": "",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "getCurrentSampleSizeIncreasePrice",
95
+ "outputs": [
96
+ {
97
+ "internalType": "Fee",
98
+ "name": "",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "getExpectedSampleSize",
108
+ "outputs": [
109
+ {
110
+ "internalType": "SampleSize",
111
+ "name": "",
112
+ "type": "uint256"
113
+ }
114
+ ],
115
+ "stateMutability": "view",
116
+ "type": "function"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "getIncentiveDuration",
121
+ "outputs": [
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "getPrecision",
134
+ "outputs": [
135
+ {
136
+ "internalType": "Precision",
137
+ "name": "",
138
+ "type": "uint256"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "getRange",
147
+ "outputs": [
148
+ {
149
+ "internalType": "Range",
150
+ "name": "",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "getScale",
160
+ "outputs": [
161
+ {
162
+ "internalType": "Scale",
163
+ "name": "",
164
+ "type": "uint256"
165
+ }
166
+ ],
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "components": [
174
+ {
175
+ "internalType": "Range",
176
+ "name": "rangeIncrease",
177
+ "type": "uint256"
178
+ },
179
+ {
180
+ "internalType": "Range",
181
+ "name": "rangeLimit",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "internalType": "struct IFastUpdateIncentiveManager.IncentiveOffer",
186
+ "name": "_offer",
187
+ "type": "tuple"
188
+ }
189
+ ],
190
+ "name": "offerIncentive",
191
+ "outputs": [],
192
+ "stateMutability": "payable",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "rangeIncreaseLimit",
198
+ "outputs": [
199
+ {
200
+ "internalType": "Range",
201
+ "name": "",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "rangeIncreasePrice",
211
+ "outputs": [
212
+ {
213
+ "internalType": "Fee",
214
+ "name": "",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [],
223
+ "name": "sampleIncreaseLimit",
224
+ "outputs": [
225
+ {
226
+ "internalType": "SampleSize",
227
+ "name": "",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ }
234
+ ],
235
+ "bytecode": "0x",
236
+ "deployedBytecode": "0x",
237
+ "linkReferences": {},
238
+ "deployedLinkReferences": {}
239
+ }