@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
|
@@ -1,1293 +0,0 @@
|
|
|
1
|
-
export declare const iirNatAccountAbi: readonly [{
|
|
2
|
-
readonly type: "event";
|
|
3
|
-
readonly anonymous: false;
|
|
4
|
-
readonly inputs: readonly [{
|
|
5
|
-
readonly name: "executors";
|
|
6
|
-
readonly internalType: "address[]";
|
|
7
|
-
readonly type: "address[]";
|
|
8
|
-
readonly indexed: false;
|
|
9
|
-
}];
|
|
10
|
-
readonly name: "ClaimExecutorsSet";
|
|
11
|
-
}, {
|
|
12
|
-
readonly type: "event";
|
|
13
|
-
readonly anonymous: false;
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly name: "token";
|
|
16
|
-
readonly internalType: "contract IERC20";
|
|
17
|
-
readonly type: "address";
|
|
18
|
-
readonly indexed: false;
|
|
19
|
-
}, {
|
|
20
|
-
readonly name: "amount";
|
|
21
|
-
readonly internalType: "uint256";
|
|
22
|
-
readonly type: "uint256";
|
|
23
|
-
readonly indexed: false;
|
|
24
|
-
}];
|
|
25
|
-
readonly name: "ExternalTokenTransferred";
|
|
26
|
-
}, {
|
|
27
|
-
readonly type: "event";
|
|
28
|
-
readonly anonymous: false;
|
|
29
|
-
readonly inputs: readonly [{
|
|
30
|
-
readonly name: "amount";
|
|
31
|
-
readonly internalType: "uint256";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
readonly indexed: false;
|
|
34
|
-
}, {
|
|
35
|
-
readonly name: "wrap";
|
|
36
|
-
readonly internalType: "bool";
|
|
37
|
-
readonly type: "bool";
|
|
38
|
-
readonly indexed: false;
|
|
39
|
-
}];
|
|
40
|
-
readonly name: "FundsWithdrawn";
|
|
41
|
-
}, {
|
|
42
|
-
readonly type: "event";
|
|
43
|
-
readonly anonymous: false;
|
|
44
|
-
readonly inputs: readonly [{
|
|
45
|
-
readonly name: "owner";
|
|
46
|
-
readonly internalType: "address";
|
|
47
|
-
readonly type: "address";
|
|
48
|
-
readonly indexed: false;
|
|
49
|
-
}, {
|
|
50
|
-
readonly name: "rNat";
|
|
51
|
-
readonly internalType: "contract IRNat";
|
|
52
|
-
readonly type: "address";
|
|
53
|
-
readonly indexed: false;
|
|
54
|
-
}];
|
|
55
|
-
readonly name: "Initialized";
|
|
56
|
-
}, {
|
|
57
|
-
readonly type: "event";
|
|
58
|
-
readonly anonymous: false;
|
|
59
|
-
readonly inputs: readonly [{
|
|
60
|
-
readonly name: "amount";
|
|
61
|
-
readonly internalType: "uint256";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
readonly indexed: false;
|
|
64
|
-
}];
|
|
65
|
-
readonly name: "LockedAmountBurned";
|
|
66
|
-
}, {
|
|
67
|
-
readonly type: "function";
|
|
68
|
-
readonly inputs: readonly [{
|
|
69
|
-
readonly name: "_owner";
|
|
70
|
-
readonly internalType: "address";
|
|
71
|
-
readonly type: "address";
|
|
72
|
-
}, {
|
|
73
|
-
readonly name: "_rNat";
|
|
74
|
-
readonly internalType: "contract IRNat";
|
|
75
|
-
readonly type: "address";
|
|
76
|
-
}];
|
|
77
|
-
readonly name: "initialize";
|
|
78
|
-
readonly outputs: readonly [];
|
|
79
|
-
readonly stateMutability: "nonpayable";
|
|
80
|
-
}, {
|
|
81
|
-
readonly type: "function";
|
|
82
|
-
readonly inputs: readonly [{
|
|
83
|
-
readonly name: "_firstMonthStartTs";
|
|
84
|
-
readonly internalType: "uint256";
|
|
85
|
-
readonly type: "uint256";
|
|
86
|
-
}];
|
|
87
|
-
readonly name: "lockedBalance";
|
|
88
|
-
readonly outputs: readonly [{
|
|
89
|
-
readonly name: "";
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly type: "uint256";
|
|
92
|
-
}];
|
|
93
|
-
readonly stateMutability: "view";
|
|
94
|
-
}, {
|
|
95
|
-
readonly type: "function";
|
|
96
|
-
readonly inputs: readonly [];
|
|
97
|
-
readonly name: "owner";
|
|
98
|
-
readonly outputs: readonly [{
|
|
99
|
-
readonly name: "";
|
|
100
|
-
readonly internalType: "address";
|
|
101
|
-
readonly type: "address";
|
|
102
|
-
}];
|
|
103
|
-
readonly stateMutability: "view";
|
|
104
|
-
}, {
|
|
105
|
-
readonly type: "function";
|
|
106
|
-
readonly inputs: readonly [];
|
|
107
|
-
readonly name: "rNat";
|
|
108
|
-
readonly outputs: readonly [{
|
|
109
|
-
readonly name: "";
|
|
110
|
-
readonly internalType: "contract IRNat";
|
|
111
|
-
readonly type: "address";
|
|
112
|
-
}];
|
|
113
|
-
readonly stateMutability: "view";
|
|
114
|
-
}, {
|
|
115
|
-
readonly type: "function";
|
|
116
|
-
readonly inputs: readonly [];
|
|
117
|
-
readonly name: "rNatBalance";
|
|
118
|
-
readonly outputs: readonly [{
|
|
119
|
-
readonly name: "";
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly type: "uint256";
|
|
122
|
-
}];
|
|
123
|
-
readonly stateMutability: "view";
|
|
124
|
-
}, {
|
|
125
|
-
readonly type: "function";
|
|
126
|
-
readonly inputs: readonly [{
|
|
127
|
-
readonly name: "_wNat";
|
|
128
|
-
readonly internalType: "contract IWNat";
|
|
129
|
-
readonly type: "address";
|
|
130
|
-
}, {
|
|
131
|
-
readonly name: "_months";
|
|
132
|
-
readonly internalType: "uint256[]";
|
|
133
|
-
readonly type: "uint256[]";
|
|
134
|
-
}, {
|
|
135
|
-
readonly name: "_amounts";
|
|
136
|
-
readonly internalType: "uint256[]";
|
|
137
|
-
readonly type: "uint256[]";
|
|
138
|
-
}];
|
|
139
|
-
readonly name: "receiveRewards";
|
|
140
|
-
readonly outputs: readonly [];
|
|
141
|
-
readonly stateMutability: "payable";
|
|
142
|
-
}, {
|
|
143
|
-
readonly type: "function";
|
|
144
|
-
readonly inputs: readonly [];
|
|
145
|
-
readonly name: "receivedRewards";
|
|
146
|
-
readonly outputs: readonly [{
|
|
147
|
-
readonly name: "";
|
|
148
|
-
readonly internalType: "uint128";
|
|
149
|
-
readonly type: "uint128";
|
|
150
|
-
}];
|
|
151
|
-
readonly stateMutability: "view";
|
|
152
|
-
}, {
|
|
153
|
-
readonly type: "function";
|
|
154
|
-
readonly inputs: readonly [{
|
|
155
|
-
readonly name: "_claimSetupManager";
|
|
156
|
-
readonly internalType: "contract IIClaimSetupManager";
|
|
157
|
-
readonly type: "address";
|
|
158
|
-
}, {
|
|
159
|
-
readonly name: "_executors";
|
|
160
|
-
readonly internalType: "address[]";
|
|
161
|
-
readonly type: "address[]";
|
|
162
|
-
}];
|
|
163
|
-
readonly name: "setClaimExecutors";
|
|
164
|
-
readonly outputs: readonly [];
|
|
165
|
-
readonly stateMutability: "payable";
|
|
166
|
-
}, {
|
|
167
|
-
readonly type: "function";
|
|
168
|
-
readonly inputs: readonly [{
|
|
169
|
-
readonly name: "_wNat";
|
|
170
|
-
readonly internalType: "contract IWNat";
|
|
171
|
-
readonly type: "address";
|
|
172
|
-
}, {
|
|
173
|
-
readonly name: "_token";
|
|
174
|
-
readonly internalType: "contract IERC20";
|
|
175
|
-
readonly type: "address";
|
|
176
|
-
}, {
|
|
177
|
-
readonly name: "_amount";
|
|
178
|
-
readonly internalType: "uint256";
|
|
179
|
-
readonly type: "uint256";
|
|
180
|
-
}];
|
|
181
|
-
readonly name: "transferExternalToken";
|
|
182
|
-
readonly outputs: readonly [];
|
|
183
|
-
readonly stateMutability: "nonpayable";
|
|
184
|
-
}, {
|
|
185
|
-
readonly type: "function";
|
|
186
|
-
readonly inputs: readonly [{
|
|
187
|
-
readonly name: "_wNat";
|
|
188
|
-
readonly internalType: "contract IWNat";
|
|
189
|
-
readonly type: "address";
|
|
190
|
-
}];
|
|
191
|
-
readonly name: "wNatBalance";
|
|
192
|
-
readonly outputs: readonly [{
|
|
193
|
-
readonly name: "";
|
|
194
|
-
readonly internalType: "uint256";
|
|
195
|
-
readonly type: "uint256";
|
|
196
|
-
}];
|
|
197
|
-
readonly stateMutability: "view";
|
|
198
|
-
}, {
|
|
199
|
-
readonly type: "function";
|
|
200
|
-
readonly inputs: readonly [{
|
|
201
|
-
readonly name: "_wNat";
|
|
202
|
-
readonly internalType: "contract IWNat";
|
|
203
|
-
readonly type: "address";
|
|
204
|
-
}, {
|
|
205
|
-
readonly name: "_firstMonthStartTs";
|
|
206
|
-
readonly internalType: "uint256";
|
|
207
|
-
readonly type: "uint256";
|
|
208
|
-
}, {
|
|
209
|
-
readonly name: "_amount";
|
|
210
|
-
readonly internalType: "uint128";
|
|
211
|
-
readonly type: "uint128";
|
|
212
|
-
}, {
|
|
213
|
-
readonly name: "_wrap";
|
|
214
|
-
readonly internalType: "bool";
|
|
215
|
-
readonly type: "bool";
|
|
216
|
-
}];
|
|
217
|
-
readonly name: "withdraw";
|
|
218
|
-
readonly outputs: readonly [{
|
|
219
|
-
readonly name: "";
|
|
220
|
-
readonly internalType: "uint128";
|
|
221
|
-
readonly type: "uint128";
|
|
222
|
-
}];
|
|
223
|
-
readonly stateMutability: "nonpayable";
|
|
224
|
-
}, {
|
|
225
|
-
readonly type: "function";
|
|
226
|
-
readonly inputs: readonly [{
|
|
227
|
-
readonly name: "_wNat";
|
|
228
|
-
readonly internalType: "contract IWNat";
|
|
229
|
-
readonly type: "address";
|
|
230
|
-
}, {
|
|
231
|
-
readonly name: "_firstMonthStartTs";
|
|
232
|
-
readonly internalType: "uint256";
|
|
233
|
-
readonly type: "uint256";
|
|
234
|
-
}, {
|
|
235
|
-
readonly name: "_wrap";
|
|
236
|
-
readonly internalType: "bool";
|
|
237
|
-
readonly type: "bool";
|
|
238
|
-
}];
|
|
239
|
-
readonly name: "withdrawAll";
|
|
240
|
-
readonly outputs: readonly [{
|
|
241
|
-
readonly name: "";
|
|
242
|
-
readonly internalType: "uint128";
|
|
243
|
-
readonly type: "uint128";
|
|
244
|
-
}];
|
|
245
|
-
readonly stateMutability: "nonpayable";
|
|
246
|
-
}, {
|
|
247
|
-
readonly type: "function";
|
|
248
|
-
readonly inputs: readonly [];
|
|
249
|
-
readonly name: "withdrawnRewards";
|
|
250
|
-
readonly outputs: readonly [{
|
|
251
|
-
readonly name: "";
|
|
252
|
-
readonly internalType: "uint128";
|
|
253
|
-
readonly type: "uint128";
|
|
254
|
-
}];
|
|
255
|
-
readonly stateMutability: "view";
|
|
256
|
-
}];
|
|
257
|
-
/**
|
|
258
|
-
* Wraps __{@link useReadContract}__ with `abi` set to __{@link iirNatAccountAbi}__
|
|
259
|
-
*/
|
|
260
|
-
export declare const useReadIirNatAccount: import("wagmi/codegen").CreateUseReadContractReturnType<readonly [{
|
|
261
|
-
readonly type: "event";
|
|
262
|
-
readonly anonymous: false;
|
|
263
|
-
readonly inputs: readonly [{
|
|
264
|
-
readonly name: "executors";
|
|
265
|
-
readonly internalType: "address[]";
|
|
266
|
-
readonly type: "address[]";
|
|
267
|
-
readonly indexed: false;
|
|
268
|
-
}];
|
|
269
|
-
readonly name: "ClaimExecutorsSet";
|
|
270
|
-
}, {
|
|
271
|
-
readonly type: "event";
|
|
272
|
-
readonly anonymous: false;
|
|
273
|
-
readonly inputs: readonly [{
|
|
274
|
-
readonly name: "token";
|
|
275
|
-
readonly internalType: "contract IERC20";
|
|
276
|
-
readonly type: "address";
|
|
277
|
-
readonly indexed: false;
|
|
278
|
-
}, {
|
|
279
|
-
readonly name: "amount";
|
|
280
|
-
readonly internalType: "uint256";
|
|
281
|
-
readonly type: "uint256";
|
|
282
|
-
readonly indexed: false;
|
|
283
|
-
}];
|
|
284
|
-
readonly name: "ExternalTokenTransferred";
|
|
285
|
-
}, {
|
|
286
|
-
readonly type: "event";
|
|
287
|
-
readonly anonymous: false;
|
|
288
|
-
readonly inputs: readonly [{
|
|
289
|
-
readonly name: "amount";
|
|
290
|
-
readonly internalType: "uint256";
|
|
291
|
-
readonly type: "uint256";
|
|
292
|
-
readonly indexed: false;
|
|
293
|
-
}, {
|
|
294
|
-
readonly name: "wrap";
|
|
295
|
-
readonly internalType: "bool";
|
|
296
|
-
readonly type: "bool";
|
|
297
|
-
readonly indexed: false;
|
|
298
|
-
}];
|
|
299
|
-
readonly name: "FundsWithdrawn";
|
|
300
|
-
}, {
|
|
301
|
-
readonly type: "event";
|
|
302
|
-
readonly anonymous: false;
|
|
303
|
-
readonly inputs: readonly [{
|
|
304
|
-
readonly name: "owner";
|
|
305
|
-
readonly internalType: "address";
|
|
306
|
-
readonly type: "address";
|
|
307
|
-
readonly indexed: false;
|
|
308
|
-
}, {
|
|
309
|
-
readonly name: "rNat";
|
|
310
|
-
readonly internalType: "contract IRNat";
|
|
311
|
-
readonly type: "address";
|
|
312
|
-
readonly indexed: false;
|
|
313
|
-
}];
|
|
314
|
-
readonly name: "Initialized";
|
|
315
|
-
}, {
|
|
316
|
-
readonly type: "event";
|
|
317
|
-
readonly anonymous: false;
|
|
318
|
-
readonly inputs: readonly [{
|
|
319
|
-
readonly name: "amount";
|
|
320
|
-
readonly internalType: "uint256";
|
|
321
|
-
readonly type: "uint256";
|
|
322
|
-
readonly indexed: false;
|
|
323
|
-
}];
|
|
324
|
-
readonly name: "LockedAmountBurned";
|
|
325
|
-
}, {
|
|
326
|
-
readonly type: "function";
|
|
327
|
-
readonly inputs: readonly [{
|
|
328
|
-
readonly name: "_owner";
|
|
329
|
-
readonly internalType: "address";
|
|
330
|
-
readonly type: "address";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "_rNat";
|
|
333
|
-
readonly internalType: "contract IRNat";
|
|
334
|
-
readonly type: "address";
|
|
335
|
-
}];
|
|
336
|
-
readonly name: "initialize";
|
|
337
|
-
readonly outputs: readonly [];
|
|
338
|
-
readonly stateMutability: "nonpayable";
|
|
339
|
-
}, {
|
|
340
|
-
readonly type: "function";
|
|
341
|
-
readonly inputs: readonly [{
|
|
342
|
-
readonly name: "_firstMonthStartTs";
|
|
343
|
-
readonly internalType: "uint256";
|
|
344
|
-
readonly type: "uint256";
|
|
345
|
-
}];
|
|
346
|
-
readonly name: "lockedBalance";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly name: "";
|
|
349
|
-
readonly internalType: "uint256";
|
|
350
|
-
readonly type: "uint256";
|
|
351
|
-
}];
|
|
352
|
-
readonly stateMutability: "view";
|
|
353
|
-
}, {
|
|
354
|
-
readonly type: "function";
|
|
355
|
-
readonly inputs: readonly [];
|
|
356
|
-
readonly name: "owner";
|
|
357
|
-
readonly outputs: readonly [{
|
|
358
|
-
readonly name: "";
|
|
359
|
-
readonly internalType: "address";
|
|
360
|
-
readonly type: "address";
|
|
361
|
-
}];
|
|
362
|
-
readonly stateMutability: "view";
|
|
363
|
-
}, {
|
|
364
|
-
readonly type: "function";
|
|
365
|
-
readonly inputs: readonly [];
|
|
366
|
-
readonly name: "rNat";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
|
-
readonly name: "";
|
|
369
|
-
readonly internalType: "contract IRNat";
|
|
370
|
-
readonly type: "address";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "view";
|
|
373
|
-
}, {
|
|
374
|
-
readonly type: "function";
|
|
375
|
-
readonly inputs: readonly [];
|
|
376
|
-
readonly name: "rNatBalance";
|
|
377
|
-
readonly outputs: readonly [{
|
|
378
|
-
readonly name: "";
|
|
379
|
-
readonly internalType: "uint256";
|
|
380
|
-
readonly type: "uint256";
|
|
381
|
-
}];
|
|
382
|
-
readonly stateMutability: "view";
|
|
383
|
-
}, {
|
|
384
|
-
readonly type: "function";
|
|
385
|
-
readonly inputs: readonly [{
|
|
386
|
-
readonly name: "_wNat";
|
|
387
|
-
readonly internalType: "contract IWNat";
|
|
388
|
-
readonly type: "address";
|
|
389
|
-
}, {
|
|
390
|
-
readonly name: "_months";
|
|
391
|
-
readonly internalType: "uint256[]";
|
|
392
|
-
readonly type: "uint256[]";
|
|
393
|
-
}, {
|
|
394
|
-
readonly name: "_amounts";
|
|
395
|
-
readonly internalType: "uint256[]";
|
|
396
|
-
readonly type: "uint256[]";
|
|
397
|
-
}];
|
|
398
|
-
readonly name: "receiveRewards";
|
|
399
|
-
readonly outputs: readonly [];
|
|
400
|
-
readonly stateMutability: "payable";
|
|
401
|
-
}, {
|
|
402
|
-
readonly type: "function";
|
|
403
|
-
readonly inputs: readonly [];
|
|
404
|
-
readonly name: "receivedRewards";
|
|
405
|
-
readonly outputs: readonly [{
|
|
406
|
-
readonly name: "";
|
|
407
|
-
readonly internalType: "uint128";
|
|
408
|
-
readonly type: "uint128";
|
|
409
|
-
}];
|
|
410
|
-
readonly stateMutability: "view";
|
|
411
|
-
}, {
|
|
412
|
-
readonly type: "function";
|
|
413
|
-
readonly inputs: readonly [{
|
|
414
|
-
readonly name: "_claimSetupManager";
|
|
415
|
-
readonly internalType: "contract IIClaimSetupManager";
|
|
416
|
-
readonly type: "address";
|
|
417
|
-
}, {
|
|
418
|
-
readonly name: "_executors";
|
|
419
|
-
readonly internalType: "address[]";
|
|
420
|
-
readonly type: "address[]";
|
|
421
|
-
}];
|
|
422
|
-
readonly name: "setClaimExecutors";
|
|
423
|
-
readonly outputs: readonly [];
|
|
424
|
-
readonly stateMutability: "payable";
|
|
425
|
-
}, {
|
|
426
|
-
readonly type: "function";
|
|
427
|
-
readonly inputs: readonly [{
|
|
428
|
-
readonly name: "_wNat";
|
|
429
|
-
readonly internalType: "contract IWNat";
|
|
430
|
-
readonly type: "address";
|
|
431
|
-
}, {
|
|
432
|
-
readonly name: "_token";
|
|
433
|
-
readonly internalType: "contract IERC20";
|
|
434
|
-
readonly type: "address";
|
|
435
|
-
}, {
|
|
436
|
-
readonly name: "_amount";
|
|
437
|
-
readonly internalType: "uint256";
|
|
438
|
-
readonly type: "uint256";
|
|
439
|
-
}];
|
|
440
|
-
readonly name: "transferExternalToken";
|
|
441
|
-
readonly outputs: readonly [];
|
|
442
|
-
readonly stateMutability: "nonpayable";
|
|
443
|
-
}, {
|
|
444
|
-
readonly type: "function";
|
|
445
|
-
readonly inputs: readonly [{
|
|
446
|
-
readonly name: "_wNat";
|
|
447
|
-
readonly internalType: "contract IWNat";
|
|
448
|
-
readonly type: "address";
|
|
449
|
-
}];
|
|
450
|
-
readonly name: "wNatBalance";
|
|
451
|
-
readonly outputs: readonly [{
|
|
452
|
-
readonly name: "";
|
|
453
|
-
readonly internalType: "uint256";
|
|
454
|
-
readonly type: "uint256";
|
|
455
|
-
}];
|
|
456
|
-
readonly stateMutability: "view";
|
|
457
|
-
}, {
|
|
458
|
-
readonly type: "function";
|
|
459
|
-
readonly inputs: readonly [{
|
|
460
|
-
readonly name: "_wNat";
|
|
461
|
-
readonly internalType: "contract IWNat";
|
|
462
|
-
readonly type: "address";
|
|
463
|
-
}, {
|
|
464
|
-
readonly name: "_firstMonthStartTs";
|
|
465
|
-
readonly internalType: "uint256";
|
|
466
|
-
readonly type: "uint256";
|
|
467
|
-
}, {
|
|
468
|
-
readonly name: "_amount";
|
|
469
|
-
readonly internalType: "uint128";
|
|
470
|
-
readonly type: "uint128";
|
|
471
|
-
}, {
|
|
472
|
-
readonly name: "_wrap";
|
|
473
|
-
readonly internalType: "bool";
|
|
474
|
-
readonly type: "bool";
|
|
475
|
-
}];
|
|
476
|
-
readonly name: "withdraw";
|
|
477
|
-
readonly outputs: readonly [{
|
|
478
|
-
readonly name: "";
|
|
479
|
-
readonly internalType: "uint128";
|
|
480
|
-
readonly type: "uint128";
|
|
481
|
-
}];
|
|
482
|
-
readonly stateMutability: "nonpayable";
|
|
483
|
-
}, {
|
|
484
|
-
readonly type: "function";
|
|
485
|
-
readonly inputs: readonly [{
|
|
486
|
-
readonly name: "_wNat";
|
|
487
|
-
readonly internalType: "contract IWNat";
|
|
488
|
-
readonly type: "address";
|
|
489
|
-
}, {
|
|
490
|
-
readonly name: "_firstMonthStartTs";
|
|
491
|
-
readonly internalType: "uint256";
|
|
492
|
-
readonly type: "uint256";
|
|
493
|
-
}, {
|
|
494
|
-
readonly name: "_wrap";
|
|
495
|
-
readonly internalType: "bool";
|
|
496
|
-
readonly type: "bool";
|
|
497
|
-
}];
|
|
498
|
-
readonly name: "withdrawAll";
|
|
499
|
-
readonly outputs: readonly [{
|
|
500
|
-
readonly name: "";
|
|
501
|
-
readonly internalType: "uint128";
|
|
502
|
-
readonly type: "uint128";
|
|
503
|
-
}];
|
|
504
|
-
readonly stateMutability: "nonpayable";
|
|
505
|
-
}, {
|
|
506
|
-
readonly type: "function";
|
|
507
|
-
readonly inputs: readonly [];
|
|
508
|
-
readonly name: "withdrawnRewards";
|
|
509
|
-
readonly outputs: readonly [{
|
|
510
|
-
readonly name: "";
|
|
511
|
-
readonly internalType: "uint128";
|
|
512
|
-
readonly type: "uint128";
|
|
513
|
-
}];
|
|
514
|
-
readonly stateMutability: "view";
|
|
515
|
-
}], undefined, undefined>;
|
|
516
|
-
/**
|
|
517
|
-
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link iirNatAccountAbi}__
|
|
518
|
-
*/
|
|
519
|
-
export declare const useWriteIirNatAccount: import("wagmi/codegen").CreateUseWriteContractReturnType<readonly [{
|
|
520
|
-
readonly type: "event";
|
|
521
|
-
readonly anonymous: false;
|
|
522
|
-
readonly inputs: readonly [{
|
|
523
|
-
readonly name: "executors";
|
|
524
|
-
readonly internalType: "address[]";
|
|
525
|
-
readonly type: "address[]";
|
|
526
|
-
readonly indexed: false;
|
|
527
|
-
}];
|
|
528
|
-
readonly name: "ClaimExecutorsSet";
|
|
529
|
-
}, {
|
|
530
|
-
readonly type: "event";
|
|
531
|
-
readonly anonymous: false;
|
|
532
|
-
readonly inputs: readonly [{
|
|
533
|
-
readonly name: "token";
|
|
534
|
-
readonly internalType: "contract IERC20";
|
|
535
|
-
readonly type: "address";
|
|
536
|
-
readonly indexed: false;
|
|
537
|
-
}, {
|
|
538
|
-
readonly name: "amount";
|
|
539
|
-
readonly internalType: "uint256";
|
|
540
|
-
readonly type: "uint256";
|
|
541
|
-
readonly indexed: false;
|
|
542
|
-
}];
|
|
543
|
-
readonly name: "ExternalTokenTransferred";
|
|
544
|
-
}, {
|
|
545
|
-
readonly type: "event";
|
|
546
|
-
readonly anonymous: false;
|
|
547
|
-
readonly inputs: readonly [{
|
|
548
|
-
readonly name: "amount";
|
|
549
|
-
readonly internalType: "uint256";
|
|
550
|
-
readonly type: "uint256";
|
|
551
|
-
readonly indexed: false;
|
|
552
|
-
}, {
|
|
553
|
-
readonly name: "wrap";
|
|
554
|
-
readonly internalType: "bool";
|
|
555
|
-
readonly type: "bool";
|
|
556
|
-
readonly indexed: false;
|
|
557
|
-
}];
|
|
558
|
-
readonly name: "FundsWithdrawn";
|
|
559
|
-
}, {
|
|
560
|
-
readonly type: "event";
|
|
561
|
-
readonly anonymous: false;
|
|
562
|
-
readonly inputs: readonly [{
|
|
563
|
-
readonly name: "owner";
|
|
564
|
-
readonly internalType: "address";
|
|
565
|
-
readonly type: "address";
|
|
566
|
-
readonly indexed: false;
|
|
567
|
-
}, {
|
|
568
|
-
readonly name: "rNat";
|
|
569
|
-
readonly internalType: "contract IRNat";
|
|
570
|
-
readonly type: "address";
|
|
571
|
-
readonly indexed: false;
|
|
572
|
-
}];
|
|
573
|
-
readonly name: "Initialized";
|
|
574
|
-
}, {
|
|
575
|
-
readonly type: "event";
|
|
576
|
-
readonly anonymous: false;
|
|
577
|
-
readonly inputs: readonly [{
|
|
578
|
-
readonly name: "amount";
|
|
579
|
-
readonly internalType: "uint256";
|
|
580
|
-
readonly type: "uint256";
|
|
581
|
-
readonly indexed: false;
|
|
582
|
-
}];
|
|
583
|
-
readonly name: "LockedAmountBurned";
|
|
584
|
-
}, {
|
|
585
|
-
readonly type: "function";
|
|
586
|
-
readonly inputs: readonly [{
|
|
587
|
-
readonly name: "_owner";
|
|
588
|
-
readonly internalType: "address";
|
|
589
|
-
readonly type: "address";
|
|
590
|
-
}, {
|
|
591
|
-
readonly name: "_rNat";
|
|
592
|
-
readonly internalType: "contract IRNat";
|
|
593
|
-
readonly type: "address";
|
|
594
|
-
}];
|
|
595
|
-
readonly name: "initialize";
|
|
596
|
-
readonly outputs: readonly [];
|
|
597
|
-
readonly stateMutability: "nonpayable";
|
|
598
|
-
}, {
|
|
599
|
-
readonly type: "function";
|
|
600
|
-
readonly inputs: readonly [{
|
|
601
|
-
readonly name: "_firstMonthStartTs";
|
|
602
|
-
readonly internalType: "uint256";
|
|
603
|
-
readonly type: "uint256";
|
|
604
|
-
}];
|
|
605
|
-
readonly name: "lockedBalance";
|
|
606
|
-
readonly outputs: readonly [{
|
|
607
|
-
readonly name: "";
|
|
608
|
-
readonly internalType: "uint256";
|
|
609
|
-
readonly type: "uint256";
|
|
610
|
-
}];
|
|
611
|
-
readonly stateMutability: "view";
|
|
612
|
-
}, {
|
|
613
|
-
readonly type: "function";
|
|
614
|
-
readonly inputs: readonly [];
|
|
615
|
-
readonly name: "owner";
|
|
616
|
-
readonly outputs: readonly [{
|
|
617
|
-
readonly name: "";
|
|
618
|
-
readonly internalType: "address";
|
|
619
|
-
readonly type: "address";
|
|
620
|
-
}];
|
|
621
|
-
readonly stateMutability: "view";
|
|
622
|
-
}, {
|
|
623
|
-
readonly type: "function";
|
|
624
|
-
readonly inputs: readonly [];
|
|
625
|
-
readonly name: "rNat";
|
|
626
|
-
readonly outputs: readonly [{
|
|
627
|
-
readonly name: "";
|
|
628
|
-
readonly internalType: "contract IRNat";
|
|
629
|
-
readonly type: "address";
|
|
630
|
-
}];
|
|
631
|
-
readonly stateMutability: "view";
|
|
632
|
-
}, {
|
|
633
|
-
readonly type: "function";
|
|
634
|
-
readonly inputs: readonly [];
|
|
635
|
-
readonly name: "rNatBalance";
|
|
636
|
-
readonly outputs: readonly [{
|
|
637
|
-
readonly name: "";
|
|
638
|
-
readonly internalType: "uint256";
|
|
639
|
-
readonly type: "uint256";
|
|
640
|
-
}];
|
|
641
|
-
readonly stateMutability: "view";
|
|
642
|
-
}, {
|
|
643
|
-
readonly type: "function";
|
|
644
|
-
readonly inputs: readonly [{
|
|
645
|
-
readonly name: "_wNat";
|
|
646
|
-
readonly internalType: "contract IWNat";
|
|
647
|
-
readonly type: "address";
|
|
648
|
-
}, {
|
|
649
|
-
readonly name: "_months";
|
|
650
|
-
readonly internalType: "uint256[]";
|
|
651
|
-
readonly type: "uint256[]";
|
|
652
|
-
}, {
|
|
653
|
-
readonly name: "_amounts";
|
|
654
|
-
readonly internalType: "uint256[]";
|
|
655
|
-
readonly type: "uint256[]";
|
|
656
|
-
}];
|
|
657
|
-
readonly name: "receiveRewards";
|
|
658
|
-
readonly outputs: readonly [];
|
|
659
|
-
readonly stateMutability: "payable";
|
|
660
|
-
}, {
|
|
661
|
-
readonly type: "function";
|
|
662
|
-
readonly inputs: readonly [];
|
|
663
|
-
readonly name: "receivedRewards";
|
|
664
|
-
readonly outputs: readonly [{
|
|
665
|
-
readonly name: "";
|
|
666
|
-
readonly internalType: "uint128";
|
|
667
|
-
readonly type: "uint128";
|
|
668
|
-
}];
|
|
669
|
-
readonly stateMutability: "view";
|
|
670
|
-
}, {
|
|
671
|
-
readonly type: "function";
|
|
672
|
-
readonly inputs: readonly [{
|
|
673
|
-
readonly name: "_claimSetupManager";
|
|
674
|
-
readonly internalType: "contract IIClaimSetupManager";
|
|
675
|
-
readonly type: "address";
|
|
676
|
-
}, {
|
|
677
|
-
readonly name: "_executors";
|
|
678
|
-
readonly internalType: "address[]";
|
|
679
|
-
readonly type: "address[]";
|
|
680
|
-
}];
|
|
681
|
-
readonly name: "setClaimExecutors";
|
|
682
|
-
readonly outputs: readonly [];
|
|
683
|
-
readonly stateMutability: "payable";
|
|
684
|
-
}, {
|
|
685
|
-
readonly type: "function";
|
|
686
|
-
readonly inputs: readonly [{
|
|
687
|
-
readonly name: "_wNat";
|
|
688
|
-
readonly internalType: "contract IWNat";
|
|
689
|
-
readonly type: "address";
|
|
690
|
-
}, {
|
|
691
|
-
readonly name: "_token";
|
|
692
|
-
readonly internalType: "contract IERC20";
|
|
693
|
-
readonly type: "address";
|
|
694
|
-
}, {
|
|
695
|
-
readonly name: "_amount";
|
|
696
|
-
readonly internalType: "uint256";
|
|
697
|
-
readonly type: "uint256";
|
|
698
|
-
}];
|
|
699
|
-
readonly name: "transferExternalToken";
|
|
700
|
-
readonly outputs: readonly [];
|
|
701
|
-
readonly stateMutability: "nonpayable";
|
|
702
|
-
}, {
|
|
703
|
-
readonly type: "function";
|
|
704
|
-
readonly inputs: readonly [{
|
|
705
|
-
readonly name: "_wNat";
|
|
706
|
-
readonly internalType: "contract IWNat";
|
|
707
|
-
readonly type: "address";
|
|
708
|
-
}];
|
|
709
|
-
readonly name: "wNatBalance";
|
|
710
|
-
readonly outputs: readonly [{
|
|
711
|
-
readonly name: "";
|
|
712
|
-
readonly internalType: "uint256";
|
|
713
|
-
readonly type: "uint256";
|
|
714
|
-
}];
|
|
715
|
-
readonly stateMutability: "view";
|
|
716
|
-
}, {
|
|
717
|
-
readonly type: "function";
|
|
718
|
-
readonly inputs: readonly [{
|
|
719
|
-
readonly name: "_wNat";
|
|
720
|
-
readonly internalType: "contract IWNat";
|
|
721
|
-
readonly type: "address";
|
|
722
|
-
}, {
|
|
723
|
-
readonly name: "_firstMonthStartTs";
|
|
724
|
-
readonly internalType: "uint256";
|
|
725
|
-
readonly type: "uint256";
|
|
726
|
-
}, {
|
|
727
|
-
readonly name: "_amount";
|
|
728
|
-
readonly internalType: "uint128";
|
|
729
|
-
readonly type: "uint128";
|
|
730
|
-
}, {
|
|
731
|
-
readonly name: "_wrap";
|
|
732
|
-
readonly internalType: "bool";
|
|
733
|
-
readonly type: "bool";
|
|
734
|
-
}];
|
|
735
|
-
readonly name: "withdraw";
|
|
736
|
-
readonly outputs: readonly [{
|
|
737
|
-
readonly name: "";
|
|
738
|
-
readonly internalType: "uint128";
|
|
739
|
-
readonly type: "uint128";
|
|
740
|
-
}];
|
|
741
|
-
readonly stateMutability: "nonpayable";
|
|
742
|
-
}, {
|
|
743
|
-
readonly type: "function";
|
|
744
|
-
readonly inputs: readonly [{
|
|
745
|
-
readonly name: "_wNat";
|
|
746
|
-
readonly internalType: "contract IWNat";
|
|
747
|
-
readonly type: "address";
|
|
748
|
-
}, {
|
|
749
|
-
readonly name: "_firstMonthStartTs";
|
|
750
|
-
readonly internalType: "uint256";
|
|
751
|
-
readonly type: "uint256";
|
|
752
|
-
}, {
|
|
753
|
-
readonly name: "_wrap";
|
|
754
|
-
readonly internalType: "bool";
|
|
755
|
-
readonly type: "bool";
|
|
756
|
-
}];
|
|
757
|
-
readonly name: "withdrawAll";
|
|
758
|
-
readonly outputs: readonly [{
|
|
759
|
-
readonly name: "";
|
|
760
|
-
readonly internalType: "uint128";
|
|
761
|
-
readonly type: "uint128";
|
|
762
|
-
}];
|
|
763
|
-
readonly stateMutability: "nonpayable";
|
|
764
|
-
}, {
|
|
765
|
-
readonly type: "function";
|
|
766
|
-
readonly inputs: readonly [];
|
|
767
|
-
readonly name: "withdrawnRewards";
|
|
768
|
-
readonly outputs: readonly [{
|
|
769
|
-
readonly name: "";
|
|
770
|
-
readonly internalType: "uint128";
|
|
771
|
-
readonly type: "uint128";
|
|
772
|
-
}];
|
|
773
|
-
readonly stateMutability: "view";
|
|
774
|
-
}], undefined, undefined>;
|
|
775
|
-
/**
|
|
776
|
-
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iirNatAccountAbi}__
|
|
777
|
-
*/
|
|
778
|
-
export declare const useSimulateIirNatAccount: import("wagmi/codegen").CreateUseSimulateContractReturnType<readonly [{
|
|
779
|
-
readonly type: "event";
|
|
780
|
-
readonly anonymous: false;
|
|
781
|
-
readonly inputs: readonly [{
|
|
782
|
-
readonly name: "executors";
|
|
783
|
-
readonly internalType: "address[]";
|
|
784
|
-
readonly type: "address[]";
|
|
785
|
-
readonly indexed: false;
|
|
786
|
-
}];
|
|
787
|
-
readonly name: "ClaimExecutorsSet";
|
|
788
|
-
}, {
|
|
789
|
-
readonly type: "event";
|
|
790
|
-
readonly anonymous: false;
|
|
791
|
-
readonly inputs: readonly [{
|
|
792
|
-
readonly name: "token";
|
|
793
|
-
readonly internalType: "contract IERC20";
|
|
794
|
-
readonly type: "address";
|
|
795
|
-
readonly indexed: false;
|
|
796
|
-
}, {
|
|
797
|
-
readonly name: "amount";
|
|
798
|
-
readonly internalType: "uint256";
|
|
799
|
-
readonly type: "uint256";
|
|
800
|
-
readonly indexed: false;
|
|
801
|
-
}];
|
|
802
|
-
readonly name: "ExternalTokenTransferred";
|
|
803
|
-
}, {
|
|
804
|
-
readonly type: "event";
|
|
805
|
-
readonly anonymous: false;
|
|
806
|
-
readonly inputs: readonly [{
|
|
807
|
-
readonly name: "amount";
|
|
808
|
-
readonly internalType: "uint256";
|
|
809
|
-
readonly type: "uint256";
|
|
810
|
-
readonly indexed: false;
|
|
811
|
-
}, {
|
|
812
|
-
readonly name: "wrap";
|
|
813
|
-
readonly internalType: "bool";
|
|
814
|
-
readonly type: "bool";
|
|
815
|
-
readonly indexed: false;
|
|
816
|
-
}];
|
|
817
|
-
readonly name: "FundsWithdrawn";
|
|
818
|
-
}, {
|
|
819
|
-
readonly type: "event";
|
|
820
|
-
readonly anonymous: false;
|
|
821
|
-
readonly inputs: readonly [{
|
|
822
|
-
readonly name: "owner";
|
|
823
|
-
readonly internalType: "address";
|
|
824
|
-
readonly type: "address";
|
|
825
|
-
readonly indexed: false;
|
|
826
|
-
}, {
|
|
827
|
-
readonly name: "rNat";
|
|
828
|
-
readonly internalType: "contract IRNat";
|
|
829
|
-
readonly type: "address";
|
|
830
|
-
readonly indexed: false;
|
|
831
|
-
}];
|
|
832
|
-
readonly name: "Initialized";
|
|
833
|
-
}, {
|
|
834
|
-
readonly type: "event";
|
|
835
|
-
readonly anonymous: false;
|
|
836
|
-
readonly inputs: readonly [{
|
|
837
|
-
readonly name: "amount";
|
|
838
|
-
readonly internalType: "uint256";
|
|
839
|
-
readonly type: "uint256";
|
|
840
|
-
readonly indexed: false;
|
|
841
|
-
}];
|
|
842
|
-
readonly name: "LockedAmountBurned";
|
|
843
|
-
}, {
|
|
844
|
-
readonly type: "function";
|
|
845
|
-
readonly inputs: readonly [{
|
|
846
|
-
readonly name: "_owner";
|
|
847
|
-
readonly internalType: "address";
|
|
848
|
-
readonly type: "address";
|
|
849
|
-
}, {
|
|
850
|
-
readonly name: "_rNat";
|
|
851
|
-
readonly internalType: "contract IRNat";
|
|
852
|
-
readonly type: "address";
|
|
853
|
-
}];
|
|
854
|
-
readonly name: "initialize";
|
|
855
|
-
readonly outputs: readonly [];
|
|
856
|
-
readonly stateMutability: "nonpayable";
|
|
857
|
-
}, {
|
|
858
|
-
readonly type: "function";
|
|
859
|
-
readonly inputs: readonly [{
|
|
860
|
-
readonly name: "_firstMonthStartTs";
|
|
861
|
-
readonly internalType: "uint256";
|
|
862
|
-
readonly type: "uint256";
|
|
863
|
-
}];
|
|
864
|
-
readonly name: "lockedBalance";
|
|
865
|
-
readonly outputs: readonly [{
|
|
866
|
-
readonly name: "";
|
|
867
|
-
readonly internalType: "uint256";
|
|
868
|
-
readonly type: "uint256";
|
|
869
|
-
}];
|
|
870
|
-
readonly stateMutability: "view";
|
|
871
|
-
}, {
|
|
872
|
-
readonly type: "function";
|
|
873
|
-
readonly inputs: readonly [];
|
|
874
|
-
readonly name: "owner";
|
|
875
|
-
readonly outputs: readonly [{
|
|
876
|
-
readonly name: "";
|
|
877
|
-
readonly internalType: "address";
|
|
878
|
-
readonly type: "address";
|
|
879
|
-
}];
|
|
880
|
-
readonly stateMutability: "view";
|
|
881
|
-
}, {
|
|
882
|
-
readonly type: "function";
|
|
883
|
-
readonly inputs: readonly [];
|
|
884
|
-
readonly name: "rNat";
|
|
885
|
-
readonly outputs: readonly [{
|
|
886
|
-
readonly name: "";
|
|
887
|
-
readonly internalType: "contract IRNat";
|
|
888
|
-
readonly type: "address";
|
|
889
|
-
}];
|
|
890
|
-
readonly stateMutability: "view";
|
|
891
|
-
}, {
|
|
892
|
-
readonly type: "function";
|
|
893
|
-
readonly inputs: readonly [];
|
|
894
|
-
readonly name: "rNatBalance";
|
|
895
|
-
readonly outputs: readonly [{
|
|
896
|
-
readonly name: "";
|
|
897
|
-
readonly internalType: "uint256";
|
|
898
|
-
readonly type: "uint256";
|
|
899
|
-
}];
|
|
900
|
-
readonly stateMutability: "view";
|
|
901
|
-
}, {
|
|
902
|
-
readonly type: "function";
|
|
903
|
-
readonly inputs: readonly [{
|
|
904
|
-
readonly name: "_wNat";
|
|
905
|
-
readonly internalType: "contract IWNat";
|
|
906
|
-
readonly type: "address";
|
|
907
|
-
}, {
|
|
908
|
-
readonly name: "_months";
|
|
909
|
-
readonly internalType: "uint256[]";
|
|
910
|
-
readonly type: "uint256[]";
|
|
911
|
-
}, {
|
|
912
|
-
readonly name: "_amounts";
|
|
913
|
-
readonly internalType: "uint256[]";
|
|
914
|
-
readonly type: "uint256[]";
|
|
915
|
-
}];
|
|
916
|
-
readonly name: "receiveRewards";
|
|
917
|
-
readonly outputs: readonly [];
|
|
918
|
-
readonly stateMutability: "payable";
|
|
919
|
-
}, {
|
|
920
|
-
readonly type: "function";
|
|
921
|
-
readonly inputs: readonly [];
|
|
922
|
-
readonly name: "receivedRewards";
|
|
923
|
-
readonly outputs: readonly [{
|
|
924
|
-
readonly name: "";
|
|
925
|
-
readonly internalType: "uint128";
|
|
926
|
-
readonly type: "uint128";
|
|
927
|
-
}];
|
|
928
|
-
readonly stateMutability: "view";
|
|
929
|
-
}, {
|
|
930
|
-
readonly type: "function";
|
|
931
|
-
readonly inputs: readonly [{
|
|
932
|
-
readonly name: "_claimSetupManager";
|
|
933
|
-
readonly internalType: "contract IIClaimSetupManager";
|
|
934
|
-
readonly type: "address";
|
|
935
|
-
}, {
|
|
936
|
-
readonly name: "_executors";
|
|
937
|
-
readonly internalType: "address[]";
|
|
938
|
-
readonly type: "address[]";
|
|
939
|
-
}];
|
|
940
|
-
readonly name: "setClaimExecutors";
|
|
941
|
-
readonly outputs: readonly [];
|
|
942
|
-
readonly stateMutability: "payable";
|
|
943
|
-
}, {
|
|
944
|
-
readonly type: "function";
|
|
945
|
-
readonly inputs: readonly [{
|
|
946
|
-
readonly name: "_wNat";
|
|
947
|
-
readonly internalType: "contract IWNat";
|
|
948
|
-
readonly type: "address";
|
|
949
|
-
}, {
|
|
950
|
-
readonly name: "_token";
|
|
951
|
-
readonly internalType: "contract IERC20";
|
|
952
|
-
readonly type: "address";
|
|
953
|
-
}, {
|
|
954
|
-
readonly name: "_amount";
|
|
955
|
-
readonly internalType: "uint256";
|
|
956
|
-
readonly type: "uint256";
|
|
957
|
-
}];
|
|
958
|
-
readonly name: "transferExternalToken";
|
|
959
|
-
readonly outputs: readonly [];
|
|
960
|
-
readonly stateMutability: "nonpayable";
|
|
961
|
-
}, {
|
|
962
|
-
readonly type: "function";
|
|
963
|
-
readonly inputs: readonly [{
|
|
964
|
-
readonly name: "_wNat";
|
|
965
|
-
readonly internalType: "contract IWNat";
|
|
966
|
-
readonly type: "address";
|
|
967
|
-
}];
|
|
968
|
-
readonly name: "wNatBalance";
|
|
969
|
-
readonly outputs: readonly [{
|
|
970
|
-
readonly name: "";
|
|
971
|
-
readonly internalType: "uint256";
|
|
972
|
-
readonly type: "uint256";
|
|
973
|
-
}];
|
|
974
|
-
readonly stateMutability: "view";
|
|
975
|
-
}, {
|
|
976
|
-
readonly type: "function";
|
|
977
|
-
readonly inputs: readonly [{
|
|
978
|
-
readonly name: "_wNat";
|
|
979
|
-
readonly internalType: "contract IWNat";
|
|
980
|
-
readonly type: "address";
|
|
981
|
-
}, {
|
|
982
|
-
readonly name: "_firstMonthStartTs";
|
|
983
|
-
readonly internalType: "uint256";
|
|
984
|
-
readonly type: "uint256";
|
|
985
|
-
}, {
|
|
986
|
-
readonly name: "_amount";
|
|
987
|
-
readonly internalType: "uint128";
|
|
988
|
-
readonly type: "uint128";
|
|
989
|
-
}, {
|
|
990
|
-
readonly name: "_wrap";
|
|
991
|
-
readonly internalType: "bool";
|
|
992
|
-
readonly type: "bool";
|
|
993
|
-
}];
|
|
994
|
-
readonly name: "withdraw";
|
|
995
|
-
readonly outputs: readonly [{
|
|
996
|
-
readonly name: "";
|
|
997
|
-
readonly internalType: "uint128";
|
|
998
|
-
readonly type: "uint128";
|
|
999
|
-
}];
|
|
1000
|
-
readonly stateMutability: "nonpayable";
|
|
1001
|
-
}, {
|
|
1002
|
-
readonly type: "function";
|
|
1003
|
-
readonly inputs: readonly [{
|
|
1004
|
-
readonly name: "_wNat";
|
|
1005
|
-
readonly internalType: "contract IWNat";
|
|
1006
|
-
readonly type: "address";
|
|
1007
|
-
}, {
|
|
1008
|
-
readonly name: "_firstMonthStartTs";
|
|
1009
|
-
readonly internalType: "uint256";
|
|
1010
|
-
readonly type: "uint256";
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly name: "_wrap";
|
|
1013
|
-
readonly internalType: "bool";
|
|
1014
|
-
readonly type: "bool";
|
|
1015
|
-
}];
|
|
1016
|
-
readonly name: "withdrawAll";
|
|
1017
|
-
readonly outputs: readonly [{
|
|
1018
|
-
readonly name: "";
|
|
1019
|
-
readonly internalType: "uint128";
|
|
1020
|
-
readonly type: "uint128";
|
|
1021
|
-
}];
|
|
1022
|
-
readonly stateMutability: "nonpayable";
|
|
1023
|
-
}, {
|
|
1024
|
-
readonly type: "function";
|
|
1025
|
-
readonly inputs: readonly [];
|
|
1026
|
-
readonly name: "withdrawnRewards";
|
|
1027
|
-
readonly outputs: readonly [{
|
|
1028
|
-
readonly name: "";
|
|
1029
|
-
readonly internalType: "uint128";
|
|
1030
|
-
readonly type: "uint128";
|
|
1031
|
-
}];
|
|
1032
|
-
readonly stateMutability: "view";
|
|
1033
|
-
}], undefined, undefined>;
|
|
1034
|
-
/**
|
|
1035
|
-
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link iirNatAccountAbi}__
|
|
1036
|
-
*/
|
|
1037
|
-
export declare const useWatchIirNatAccountEvent: import("wagmi/codegen").CreateUseWatchContractEventReturnType<readonly [{
|
|
1038
|
-
readonly type: "event";
|
|
1039
|
-
readonly anonymous: false;
|
|
1040
|
-
readonly inputs: readonly [{
|
|
1041
|
-
readonly name: "executors";
|
|
1042
|
-
readonly internalType: "address[]";
|
|
1043
|
-
readonly type: "address[]";
|
|
1044
|
-
readonly indexed: false;
|
|
1045
|
-
}];
|
|
1046
|
-
readonly name: "ClaimExecutorsSet";
|
|
1047
|
-
}, {
|
|
1048
|
-
readonly type: "event";
|
|
1049
|
-
readonly anonymous: false;
|
|
1050
|
-
readonly inputs: readonly [{
|
|
1051
|
-
readonly name: "token";
|
|
1052
|
-
readonly internalType: "contract IERC20";
|
|
1053
|
-
readonly type: "address";
|
|
1054
|
-
readonly indexed: false;
|
|
1055
|
-
}, {
|
|
1056
|
-
readonly name: "amount";
|
|
1057
|
-
readonly internalType: "uint256";
|
|
1058
|
-
readonly type: "uint256";
|
|
1059
|
-
readonly indexed: false;
|
|
1060
|
-
}];
|
|
1061
|
-
readonly name: "ExternalTokenTransferred";
|
|
1062
|
-
}, {
|
|
1063
|
-
readonly type: "event";
|
|
1064
|
-
readonly anonymous: false;
|
|
1065
|
-
readonly inputs: readonly [{
|
|
1066
|
-
readonly name: "amount";
|
|
1067
|
-
readonly internalType: "uint256";
|
|
1068
|
-
readonly type: "uint256";
|
|
1069
|
-
readonly indexed: false;
|
|
1070
|
-
}, {
|
|
1071
|
-
readonly name: "wrap";
|
|
1072
|
-
readonly internalType: "bool";
|
|
1073
|
-
readonly type: "bool";
|
|
1074
|
-
readonly indexed: false;
|
|
1075
|
-
}];
|
|
1076
|
-
readonly name: "FundsWithdrawn";
|
|
1077
|
-
}, {
|
|
1078
|
-
readonly type: "event";
|
|
1079
|
-
readonly anonymous: false;
|
|
1080
|
-
readonly inputs: readonly [{
|
|
1081
|
-
readonly name: "owner";
|
|
1082
|
-
readonly internalType: "address";
|
|
1083
|
-
readonly type: "address";
|
|
1084
|
-
readonly indexed: false;
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly name: "rNat";
|
|
1087
|
-
readonly internalType: "contract IRNat";
|
|
1088
|
-
readonly type: "address";
|
|
1089
|
-
readonly indexed: false;
|
|
1090
|
-
}];
|
|
1091
|
-
readonly name: "Initialized";
|
|
1092
|
-
}, {
|
|
1093
|
-
readonly type: "event";
|
|
1094
|
-
readonly anonymous: false;
|
|
1095
|
-
readonly inputs: readonly [{
|
|
1096
|
-
readonly name: "amount";
|
|
1097
|
-
readonly internalType: "uint256";
|
|
1098
|
-
readonly type: "uint256";
|
|
1099
|
-
readonly indexed: false;
|
|
1100
|
-
}];
|
|
1101
|
-
readonly name: "LockedAmountBurned";
|
|
1102
|
-
}, {
|
|
1103
|
-
readonly type: "function";
|
|
1104
|
-
readonly inputs: readonly [{
|
|
1105
|
-
readonly name: "_owner";
|
|
1106
|
-
readonly internalType: "address";
|
|
1107
|
-
readonly type: "address";
|
|
1108
|
-
}, {
|
|
1109
|
-
readonly name: "_rNat";
|
|
1110
|
-
readonly internalType: "contract IRNat";
|
|
1111
|
-
readonly type: "address";
|
|
1112
|
-
}];
|
|
1113
|
-
readonly name: "initialize";
|
|
1114
|
-
readonly outputs: readonly [];
|
|
1115
|
-
readonly stateMutability: "nonpayable";
|
|
1116
|
-
}, {
|
|
1117
|
-
readonly type: "function";
|
|
1118
|
-
readonly inputs: readonly [{
|
|
1119
|
-
readonly name: "_firstMonthStartTs";
|
|
1120
|
-
readonly internalType: "uint256";
|
|
1121
|
-
readonly type: "uint256";
|
|
1122
|
-
}];
|
|
1123
|
-
readonly name: "lockedBalance";
|
|
1124
|
-
readonly outputs: readonly [{
|
|
1125
|
-
readonly name: "";
|
|
1126
|
-
readonly internalType: "uint256";
|
|
1127
|
-
readonly type: "uint256";
|
|
1128
|
-
}];
|
|
1129
|
-
readonly stateMutability: "view";
|
|
1130
|
-
}, {
|
|
1131
|
-
readonly type: "function";
|
|
1132
|
-
readonly inputs: readonly [];
|
|
1133
|
-
readonly name: "owner";
|
|
1134
|
-
readonly outputs: readonly [{
|
|
1135
|
-
readonly name: "";
|
|
1136
|
-
readonly internalType: "address";
|
|
1137
|
-
readonly type: "address";
|
|
1138
|
-
}];
|
|
1139
|
-
readonly stateMutability: "view";
|
|
1140
|
-
}, {
|
|
1141
|
-
readonly type: "function";
|
|
1142
|
-
readonly inputs: readonly [];
|
|
1143
|
-
readonly name: "rNat";
|
|
1144
|
-
readonly outputs: readonly [{
|
|
1145
|
-
readonly name: "";
|
|
1146
|
-
readonly internalType: "contract IRNat";
|
|
1147
|
-
readonly type: "address";
|
|
1148
|
-
}];
|
|
1149
|
-
readonly stateMutability: "view";
|
|
1150
|
-
}, {
|
|
1151
|
-
readonly type: "function";
|
|
1152
|
-
readonly inputs: readonly [];
|
|
1153
|
-
readonly name: "rNatBalance";
|
|
1154
|
-
readonly outputs: readonly [{
|
|
1155
|
-
readonly name: "";
|
|
1156
|
-
readonly internalType: "uint256";
|
|
1157
|
-
readonly type: "uint256";
|
|
1158
|
-
}];
|
|
1159
|
-
readonly stateMutability: "view";
|
|
1160
|
-
}, {
|
|
1161
|
-
readonly type: "function";
|
|
1162
|
-
readonly inputs: readonly [{
|
|
1163
|
-
readonly name: "_wNat";
|
|
1164
|
-
readonly internalType: "contract IWNat";
|
|
1165
|
-
readonly type: "address";
|
|
1166
|
-
}, {
|
|
1167
|
-
readonly name: "_months";
|
|
1168
|
-
readonly internalType: "uint256[]";
|
|
1169
|
-
readonly type: "uint256[]";
|
|
1170
|
-
}, {
|
|
1171
|
-
readonly name: "_amounts";
|
|
1172
|
-
readonly internalType: "uint256[]";
|
|
1173
|
-
readonly type: "uint256[]";
|
|
1174
|
-
}];
|
|
1175
|
-
readonly name: "receiveRewards";
|
|
1176
|
-
readonly outputs: readonly [];
|
|
1177
|
-
readonly stateMutability: "payable";
|
|
1178
|
-
}, {
|
|
1179
|
-
readonly type: "function";
|
|
1180
|
-
readonly inputs: readonly [];
|
|
1181
|
-
readonly name: "receivedRewards";
|
|
1182
|
-
readonly outputs: readonly [{
|
|
1183
|
-
readonly name: "";
|
|
1184
|
-
readonly internalType: "uint128";
|
|
1185
|
-
readonly type: "uint128";
|
|
1186
|
-
}];
|
|
1187
|
-
readonly stateMutability: "view";
|
|
1188
|
-
}, {
|
|
1189
|
-
readonly type: "function";
|
|
1190
|
-
readonly inputs: readonly [{
|
|
1191
|
-
readonly name: "_claimSetupManager";
|
|
1192
|
-
readonly internalType: "contract IIClaimSetupManager";
|
|
1193
|
-
readonly type: "address";
|
|
1194
|
-
}, {
|
|
1195
|
-
readonly name: "_executors";
|
|
1196
|
-
readonly internalType: "address[]";
|
|
1197
|
-
readonly type: "address[]";
|
|
1198
|
-
}];
|
|
1199
|
-
readonly name: "setClaimExecutors";
|
|
1200
|
-
readonly outputs: readonly [];
|
|
1201
|
-
readonly stateMutability: "payable";
|
|
1202
|
-
}, {
|
|
1203
|
-
readonly type: "function";
|
|
1204
|
-
readonly inputs: readonly [{
|
|
1205
|
-
readonly name: "_wNat";
|
|
1206
|
-
readonly internalType: "contract IWNat";
|
|
1207
|
-
readonly type: "address";
|
|
1208
|
-
}, {
|
|
1209
|
-
readonly name: "_token";
|
|
1210
|
-
readonly internalType: "contract IERC20";
|
|
1211
|
-
readonly type: "address";
|
|
1212
|
-
}, {
|
|
1213
|
-
readonly name: "_amount";
|
|
1214
|
-
readonly internalType: "uint256";
|
|
1215
|
-
readonly type: "uint256";
|
|
1216
|
-
}];
|
|
1217
|
-
readonly name: "transferExternalToken";
|
|
1218
|
-
readonly outputs: readonly [];
|
|
1219
|
-
readonly stateMutability: "nonpayable";
|
|
1220
|
-
}, {
|
|
1221
|
-
readonly type: "function";
|
|
1222
|
-
readonly inputs: readonly [{
|
|
1223
|
-
readonly name: "_wNat";
|
|
1224
|
-
readonly internalType: "contract IWNat";
|
|
1225
|
-
readonly type: "address";
|
|
1226
|
-
}];
|
|
1227
|
-
readonly name: "wNatBalance";
|
|
1228
|
-
readonly outputs: readonly [{
|
|
1229
|
-
readonly name: "";
|
|
1230
|
-
readonly internalType: "uint256";
|
|
1231
|
-
readonly type: "uint256";
|
|
1232
|
-
}];
|
|
1233
|
-
readonly stateMutability: "view";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly type: "function";
|
|
1236
|
-
readonly inputs: readonly [{
|
|
1237
|
-
readonly name: "_wNat";
|
|
1238
|
-
readonly internalType: "contract IWNat";
|
|
1239
|
-
readonly type: "address";
|
|
1240
|
-
}, {
|
|
1241
|
-
readonly name: "_firstMonthStartTs";
|
|
1242
|
-
readonly internalType: "uint256";
|
|
1243
|
-
readonly type: "uint256";
|
|
1244
|
-
}, {
|
|
1245
|
-
readonly name: "_amount";
|
|
1246
|
-
readonly internalType: "uint128";
|
|
1247
|
-
readonly type: "uint128";
|
|
1248
|
-
}, {
|
|
1249
|
-
readonly name: "_wrap";
|
|
1250
|
-
readonly internalType: "bool";
|
|
1251
|
-
readonly type: "bool";
|
|
1252
|
-
}];
|
|
1253
|
-
readonly name: "withdraw";
|
|
1254
|
-
readonly outputs: readonly [{
|
|
1255
|
-
readonly name: "";
|
|
1256
|
-
readonly internalType: "uint128";
|
|
1257
|
-
readonly type: "uint128";
|
|
1258
|
-
}];
|
|
1259
|
-
readonly stateMutability: "nonpayable";
|
|
1260
|
-
}, {
|
|
1261
|
-
readonly type: "function";
|
|
1262
|
-
readonly inputs: readonly [{
|
|
1263
|
-
readonly name: "_wNat";
|
|
1264
|
-
readonly internalType: "contract IWNat";
|
|
1265
|
-
readonly type: "address";
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly name: "_firstMonthStartTs";
|
|
1268
|
-
readonly internalType: "uint256";
|
|
1269
|
-
readonly type: "uint256";
|
|
1270
|
-
}, {
|
|
1271
|
-
readonly name: "_wrap";
|
|
1272
|
-
readonly internalType: "bool";
|
|
1273
|
-
readonly type: "bool";
|
|
1274
|
-
}];
|
|
1275
|
-
readonly name: "withdrawAll";
|
|
1276
|
-
readonly outputs: readonly [{
|
|
1277
|
-
readonly name: "";
|
|
1278
|
-
readonly internalType: "uint128";
|
|
1279
|
-
readonly type: "uint128";
|
|
1280
|
-
}];
|
|
1281
|
-
readonly stateMutability: "nonpayable";
|
|
1282
|
-
}, {
|
|
1283
|
-
readonly type: "function";
|
|
1284
|
-
readonly inputs: readonly [];
|
|
1285
|
-
readonly name: "withdrawnRewards";
|
|
1286
|
-
readonly outputs: readonly [{
|
|
1287
|
-
readonly name: "";
|
|
1288
|
-
readonly internalType: "uint128";
|
|
1289
|
-
readonly type: "uint128";
|
|
1290
|
-
}];
|
|
1291
|
-
readonly stateMutability: "view";
|
|
1292
|
-
}], undefined, undefined, "abi">;
|
|
1293
|
-
//# sourceMappingURL=IIRNatAccount.d.ts.map
|