1
+// ignore_for_file: type=lint
2
+// ignore_for_file: unused_local_variable, unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
3
+// ignore_for_file: no_leading_underscores_for_library_prefixes
4
+import 'package:web3dart/web3dart.dart' as _i1;
5
+import 'dart:typed_data' as _i2;
6
+
7
+final _contractAbi = _i1.ContractAbi.fromJson(
8
+ '[{"inputs":[{"internalType":"contract IDecentralizedEURO","name":"deuro_","type":"address"},{"internalType":"uint24","name":"initialRatePPM","type":"uint24"},{"internalType":"address","name":"gateway_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ChangeNotReady","type":"error"},{"inputs":[],"name":"ModuleDisabled","type":"error"},{"inputs":[],"name":"NoPendingChange","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"interest","type":"uint256"}],"name":"InterestCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint24","name":"newRate","type":"uint24"}],"name":"RateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"who","type":"address"},{"indexed":false,"internalType":"uint24","name":"nextRate","type":"uint24"},{"indexed":false,"internalType":"uint40","name":"nextChange","type":"uint40"}],"name":"RateProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint192","name":"amount","type":"uint192"}],"name":"Saved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint192","name":"amount","type":"uint192"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"GATEWAY","outputs":[{"internalType":"contract IFrontendGateway","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"accountOwner","type":"address"}],"name":"accruedInterest","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"accountOwner","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"accruedInterest","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint192","name":"targetAmount","type":"uint192"},{"internalType":"bytes32","name":"frontendCode","type":"bytes32"}],"name":"adjust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint192","name":"targetAmount","type":"uint192"}],"name":"adjust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"applyChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint192","name":"saved","type":"uint192"},{"internalType":"uint64","name":"ticks","type":"uint64"}],"internalType":"struct Savings.Account","name":"account","type":"tuple"},{"internalType":"uint64","name":"ticks","type":"uint64"}],"name":"calculateInterest","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRatePPM","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTicks","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deuro","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"equity","outputs":[{"internalType":"contract IReserve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextChange","outputs":[{"internalType":"uint40","name":"","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextRatePPM","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"newRatePPM_","type":"uint24"},{"internalType":"address[]","name":"helpers","type":"address[]"}],"name":"proposeChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"refreshBalance","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refreshMyBalance","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint192","name":"amount","type":"uint192"},{"internalType":"bytes32","name":"frontendCode","type":"bytes32"}],"name":"save","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint192","name":"amount","type":"uint192"}],"name":"save","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint192","name":"amount","type":"uint192"},{"internalType":"bytes32","name":"frontendCode","type":"bytes32"}],"name":"save","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint192","name":"amount","type":"uint192"}],"name":"save","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"savings","outputs":[{"internalType":"uint192","name":"saved","type":"uint192"},{"internalType":"uint64","name":"ticks","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ticks","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint192","name":"amount","type":"uint192"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint192","name":"amount","type":"uint192"},{"internalType":"bytes32","name":"frontendCode","type":"bytes32"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]',
9
+ 'SavingsGateway',
10
+);
11
+
12
+class SavingsGateway extends _i1.GeneratedContract {
13
+ SavingsGateway({
14
+ required _i1.EthereumAddress address,
15
+ required _i1.Web3Client client,
16
+ int? chainId,
17
+ }) : super(
18
+ _i1.DeployedContract(
19
+ _contractAbi,
20
+ address,
21
+ ),
22
+ client,
23
+ chainId,
24
+ );
25
+
26
+ /// The optional [atBlock] parameter can be used to view historical data. When
27
+ /// set, the function will be evaluated in the specified block. By default, the
28
+ /// latest on-chain block will be used.
29
+ Future<_i1.EthereumAddress> GATEWAY({_i1.BlockNum? atBlock}) async {
30
+ final function = self.abi.functions[1];
31
+ assert(checkSignature(function, '338c5371'));
32
+ final params = [];
33
+ final response = await read(
34
+ function,
35
+ params,
36
+ atBlock,
37
+ );
38
+ return (response[0] as _i1.EthereumAddress);
39
+ }
40
+
41
+ /// The optional [atBlock] parameter can be used to view historical data. When
42
+ /// set, the function will be evaluated in the specified block. By default, the
43
+ /// latest on-chain block will be used.
44
+ Future<BigInt> accruedInterest({
45
+ required _i1.EthereumAddress accountOwner,
46
+ _i1.BlockNum? atBlock,
47
+ }) async {
48
+ final function = self.abi.functions[2];
49
+ assert(checkSignature(function, '77267ec3'));
50
+ final params = [accountOwner];
51
+ final response = await read(
52
+ function,
53
+ params,
54
+ atBlock,
55
+ );
56
+ return (response[0] as BigInt);
57
+ }
58
+
59
+ /// The optional [atBlock] parameter can be used to view historical data. When
60
+ /// set, the function will be evaluated in the specified block. By default, the
61
+ /// latest on-chain block will be used.
62
+ Future<BigInt> accruedInterest$2(
63
+ ({_i1.EthereumAddress accountOwner, BigInt timestamp}) args, {
64
+ _i1.BlockNum? atBlock,
65
+ }) async {
66
+ final function = self.abi.functions[3];
67
+ assert(checkSignature(function, 'a696399d'));
68
+ final params = [
69
+ args.accountOwner,
70
+ args.timestamp,
71
+ ];
72
+ final response = await read(
73
+ function,
74
+ params,
75
+ atBlock,
76
+ );
77
+ return (response[0] as BigInt);
78
+ }
79
+
80
+ /// The optional [transaction] parameter can be used to override parameters
81
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
82
+ /// set by the contract.
83
+ Future<String> adjust(
84
+ ({BigInt targetAmount, _i2.Uint8List frontendCode}) args, {
85
+ required _i1.Credentials credentials,
86
+ _i1.Transaction? transaction,
87
+ }) async {
88
+ final function = self.abi.functions[4];
89
+ assert(checkSignature(function, '753ef93c'));
90
+ final params = [
91
+ args.targetAmount,
92
+ args.frontendCode,
93
+ ];
94
+ return write(
95
+ credentials,
96
+ transaction,
97
+ function,
98
+ params,
99
+ );
100
+ }
101
+
102
+ /// The optional [atBlock] parameter can be used to view historical data. When
103
+ /// set, the function will be evaluated in the specified block. By default, the
104
+ /// latest on-chain block will be used.
105
+ Future<BigInt> calculateInterest(
106
+ ({dynamic account, BigInt ticks}) args, {
107
+ _i1.BlockNum? atBlock,
108
+ }) async {
109
+ final function = self.abi.functions[7];
110
+ assert(checkSignature(function, '7915ce20'));
111
+ final params = [
112
+ args.account,
113
+ args.ticks,
114
+ ];
115
+ final response = await read(
116
+ function,
117
+ params,
118
+ atBlock,
119
+ );
120
+ return (response[0] as BigInt);
121
+ }
122
+
123
+ /// The optional [atBlock] parameter can be used to view historical data. When
124
+ /// set, the function will be evaluated in the specified block. By default, the
125
+ /// latest on-chain block will be used.
126
+ Future<BigInt> currentRatePPM({_i1.BlockNum? atBlock}) async {
127
+ final function = self.abi.functions[8];
128
+ assert(checkSignature(function, '06a7b376'));
129
+ final params = [];
130
+ final response = await read(
131
+ function,
132
+ params,
133
+ atBlock,
134
+ );
135
+ return (response[0] as BigInt);
136
+ }
137
+
138
+ /// The optional [atBlock] parameter can be used to view historical data. When
139
+ /// set, the function will be evaluated in the specified block. By default, the
140
+ /// latest on-chain block will be used.
141
+ Future<BigInt> currentTicks({_i1.BlockNum? atBlock}) async {
142
+ final function = self.abi.functions[9];
143
+ assert(checkSignature(function, 'b079f163'));
144
+ final params = [];
145
+ final response = await read(
146
+ function,
147
+ params,
148
+ atBlock,
149
+ );
150
+ return (response[0] as BigInt);
151
+ }
152
+
153
+ /// The optional [atBlock] parameter can be used to view historical data. When
154
+ /// set, the function will be evaluated in the specified block. By default, the
155
+ /// latest on-chain block will be used.
156
+ Future<_i1.EthereumAddress> deuro({_i1.BlockNum? atBlock}) async {
157
+ final function = self.abi.functions[10];
158
+ assert(checkSignature(function, '82b8eaf5'));
159
+ final params = [];
160
+ final response = await read(
161
+ function,
162
+ params,
163
+ atBlock,
164
+ );
165
+ return (response[0] as _i1.EthereumAddress);
166
+ }
167
+
168
+ /// The optional [atBlock] parameter can be used to view historical data. When
169
+ /// set, the function will be evaluated in the specified block. By default, the
170
+ /// latest on-chain block will be used.
171
+ Future<_i1.EthereumAddress> equity({_i1.BlockNum? atBlock}) async {
172
+ final function = self.abi.functions[11];
173
+ assert(checkSignature(function, '91a0ac6a'));
174
+ final params = [];
175
+ final response = await read(
176
+ function,
177
+ params,
178
+ atBlock,
179
+ );
180
+ return (response[0] as _i1.EthereumAddress);
181
+ }
182
+
183
+ /// The optional [atBlock] parameter can be used to view historical data. When
184
+ /// set, the function will be evaluated in the specified block. By default, the
185
+ /// latest on-chain block will be used.
186
+ Future<BigInt> nextChange({_i1.BlockNum? atBlock}) async {
187
+ final function = self.abi.functions[12];
188
+ assert(checkSignature(function, 'b6f83c17'));
189
+ final params = [];
190
+ final response = await read(
191
+ function,
192
+ params,
193
+ atBlock,
194
+ );
195
+ return (response[0] as BigInt);
196
+ }
197
+
198
+ /// The optional [atBlock] parameter can be used to view historical data. When
199
+ /// set, the function will be evaluated in the specified block. By default, the
200
+ /// latest on-chain block will be used.
201
+ Future<BigInt> nextRatePPM({_i1.BlockNum? atBlock}) async {
202
+ final function = self.abi.functions[13];
203
+ assert(checkSignature(function, '2e4b20ab'));
204
+ final params = [];
205
+ final response = await read(
206
+ function,
207
+ params,
208
+ atBlock,
209
+ );
210
+ return (response[0] as BigInt);
211
+ }
212
+
213
+ /// The optional [transaction] parameter can be used to override parameters
214
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
215
+ /// set by the contract.
216
+ Future<String> refreshBalance(
217
+ ({_i1.EthereumAddress owner}) args, {
218
+ required _i1.Credentials credentials,
219
+ _i1.Transaction? transaction,
220
+ }) async {
221
+ final function = self.abi.functions[15];
222
+ assert(checkSignature(function, 'b77cd1c7'));
223
+ final params = [args.owner];
224
+ return write(
225
+ credentials,
226
+ transaction,
227
+ function,
228
+ params,
229
+ );
230
+ }
231
+
232
+ /// The optional [transaction] parameter can be used to override parameters
233
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
234
+ /// set by the contract.
235
+ Future<String> refreshMyBalance({
236
+ required _i1.Credentials credentials,
237
+ _i1.Transaction? transaction,
238
+ }) async {
239
+ final function = self.abi.functions[16];
240
+ assert(checkSignature(function, '85bd12d1'));
241
+ final params = [];
242
+ return write(
243
+ credentials,
244
+ transaction,
245
+ function,
246
+ params,
247
+ );
248
+ }
249
+
250
+ /// The optional [transaction] parameter can be used to override parameters
251
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
252
+ /// set by the contract.
253
+ Future<_i2.Uint8List> save(
254
+ ({BigInt amount, _i2.Uint8List frontendCode}) args, {
255
+ required _i1.Credentials credentials,
256
+ _i1.Transaction? transaction,
257
+ }) async {
258
+ final function = self.abi.functions[17];
259
+ assert(checkSignature(function, '9e2363dc'));
260
+ final params = [
261
+ args.amount,
262
+ args.frontendCode,
263
+ ];
264
+ return writeRaw(
265
+ credentials,
266
+ transaction,
267
+ function,
268
+ params,
269
+ );
270
+ }
271
+
272
+ /// The optional [transaction] parameter can be used to override parameters
273
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
274
+ /// set by the contract.
275
+ Future<_i2.Uint8List> saveTo(
276
+ ({
277
+ _i1.EthereumAddress owner,
278
+ BigInt amount,
279
+ _i2.Uint8List frontendCode
280
+ }) args, {
281
+ required _i1.Credentials credentials,
282
+ _i1.Transaction? transaction,
283
+ }) async {
284
+ final function = self.abi.functions[19];
285
+ assert(checkSignature(function, 'cbcf9676'));
286
+ final params = [
287
+ args.owner,
288
+ args.amount,
289
+ args.frontendCode,
290
+ ];
291
+ return writeRaw(
292
+ credentials,
293
+ transaction,
294
+ function,
295
+ params,
296
+ );
297
+ }
298
+
299
+ /// The optional [atBlock] parameter can be used to view historical data. When
300
+ /// set, the function will be evaluated in the specified block. By default, the
301
+ /// latest on-chain block will be used.
302
+ Future<Savings> savings({
303
+ required _i1.EthereumAddress accountOwner,
304
+ _i1.BlockNum? atBlock,
305
+ }) async {
306
+ final function = self.abi.functions[21];
307
+ assert(checkSignature(function, '1f7cdd5f'));
308
+ final params = [accountOwner];
309
+ final response = await read(
310
+ function,
311
+ params,
312
+ atBlock,
313
+ );
314
+ return Savings(response);
315
+ }
316
+
317
+ /// The optional [transaction] parameter can be used to override parameters
318
+ /// like the gas price, nonce and max gas. The `data` and `to` fields will be
319
+ /// set by the contract.
320
+ Future<_i2.Uint8List> withdraw(
321
+ ({
322
+ _i1.EthereumAddress target,
323
+ BigInt amount,
324
+ _i2.Uint8List frontendCode
325
+ }) args, {
326
+ required _i1.Credentials credentials,
327
+ _i1.Transaction? transaction,
328
+ }) async {
329
+ final function = self.abi.functions[24];
330
+ assert(checkSignature(function, '829a0476'));
331
+ final params = [
332
+ args.target,
333
+ args.amount,
334
+ args.frontendCode,
335
+ ];
336
+ return writeRaw(
337
+ credentials,
338
+ transaction,
339
+ function,
340
+ params,
341
+ );
342
+ }
343
+
344
+ /// Returns a live stream of all InterestCollected events emitted by this contract.
345
+ Stream<InterestCollected> interestCollectedEvents({
346
+ _i1.BlockNum? fromBlock,
347
+ _i1.BlockNum? toBlock,
348
+ }) {
349
+ final event = self.event('InterestCollected');
350
+ final filter = _i1.FilterOptions.events(
351
+ contract: self,
352
+ event: event,
353
+ fromBlock: fromBlock,
354
+ toBlock: toBlock,
355
+ );
356
+ return client.events(filter).map((_i1.FilterEvent result) {
357
+ final decoded = event.decodeResults(
358
+ result.topics!,
359
+ result.data!,
360
+ );
361
+ return InterestCollected(
362
+ decoded,
363
+ result,
364
+ );
365
+ });
366
+ }
367
+
368
+ /// Returns a live stream of all RateChanged events emitted by this contract.
369
+ Stream<RateChanged> rateChangedEvents({
370
+ _i1.BlockNum? fromBlock,
371
+ _i1.BlockNum? toBlock,
372
+ }) {
373
+ final event = self.event('RateChanged');
374
+ final filter = _i1.FilterOptions.events(
375
+ contract: self,
376
+ event: event,
377
+ fromBlock: fromBlock,
378
+ toBlock: toBlock,
379
+ );
380
+ return client.events(filter).map((_i1.FilterEvent result) {
381
+ final decoded = event.decodeResults(
382
+ result.topics!,
383
+ result.data!,
384
+ );
385
+ return RateChanged(
386
+ decoded,
387
+ result,
388
+ );
389
+ });
390
+ }
391
+
392
+ /// Returns a live stream of all RateProposed events emitted by this contract.
393
+ Stream<RateProposed> rateProposedEvents({
394
+ _i1.BlockNum? fromBlock,
395
+ _i1.BlockNum? toBlock,
396
+ }) {
397
+ final event = self.event('RateProposed');
398
+ final filter = _i1.FilterOptions.events(
399
+ contract: self,
400
+ event: event,
401
+ fromBlock: fromBlock,
402
+ toBlock: toBlock,
403
+ );
404
+ return client.events(filter).map((_i1.FilterEvent result) {
405
+ final decoded = event.decodeResults(
406
+ result.topics!,
407
+ result.data!,
408
+ );
409
+ return RateProposed(
410
+ decoded,
411
+ result,
412
+ );
413
+ });
414
+ }
415
+
416
+ /// Returns a live stream of all Saved events emitted by this contract.
417
+ Stream<Saved> savedEvents({
418
+ _i1.BlockNum? fromBlock,
419
+ _i1.BlockNum? toBlock,
420
+ }) {
421
+ final event = self.event('Saved');
422
+ final filter = _i1.FilterOptions.events(
423
+ contract: self,
424
+ event: event,
425
+ fromBlock: fromBlock,
426
+ toBlock: toBlock,
427
+ );
428
+ return client.events(filter).map((_i1.FilterEvent result) {
429
+ final decoded = event.decodeResults(
430
+ result.topics!,
431
+ result.data!,
432
+ );
433
+ return Saved(
434
+ decoded,
435
+ result,
436
+ );
437
+ });
438
+ }
439
+
440
+ /// Returns a live stream of all Withdrawn events emitted by this contract.
441
+ Stream<Withdrawn> withdrawnEvents({
442
+ _i1.BlockNum? fromBlock,
443
+ _i1.BlockNum? toBlock,
444
+ }) {
445
+ final event = self.event('Withdrawn');
446
+ final filter = _i1.FilterOptions.events(
447
+ contract: self,
448
+ event: event,
449
+ fromBlock: fromBlock,
450
+ toBlock: toBlock,
451
+ );
452
+ return client.events(filter).map((_i1.FilterEvent result) {
453
+ final decoded = event.decodeResults(
454
+ result.topics!,
455
+ result.data!,
456
+ );
457
+ return Withdrawn(
458
+ decoded,
459
+ result,
460
+ );
461
+ });
462
+ }
463
+}
464
+
465
+class Savings {
466
+ Savings(List<dynamic> response)
467
+ : saved = (response[0] as BigInt),
468
+ ticks = (response[1] as BigInt);
469
+
470
+ final BigInt saved;
471
+
472
+ final BigInt ticks;
473
+}
474
+
475
+class InterestCollected {
476
+ InterestCollected(
477
+ List<dynamic> response,
478
+ this.event,
479
+ ) : account = (response[0] as _i1.EthereumAddress),
480
+ interest = (response[1] as BigInt);
481
+
482
+ final _i1.EthereumAddress account;
483
+
484
+ final BigInt interest;
485
+
486
+ final _i1.FilterEvent event;
487
+}
488
+
489
+class RateChanged {
490
+ RateChanged(
491
+ List<dynamic> response,
492
+ this.event,
493
+ ) : newRate = (response[0] as BigInt);
494
+
495
+ final BigInt newRate;
496
+
497
+ final _i1.FilterEvent event;
498
+}
499
+
500
+class RateProposed {
501
+ RateProposed(
502
+ List<dynamic> response,
503
+ this.event,
504
+ ) : who = (response[0] as _i1.EthereumAddress),
505
+ nextRate = (response[1] as BigInt),
506
+ nextChange = (response[2] as BigInt);
507
+
508
+ final _i1.EthereumAddress who;
509
+
510
+ final BigInt nextRate;
511
+
512
+ final BigInt nextChange;
513
+
514
+ final _i1.FilterEvent event;
515
+}
516
+
517
+class Saved {
518
+ Saved(
519
+ List<dynamic> response,
520
+ this.event,
521
+ ) : account = (response[0] as _i1.EthereumAddress),
522
+ amount = (response[1] as BigInt);
523
+
524
+ final _i1.EthereumAddress account;
525
+
526
+ final BigInt amount;
527
+
528
+ final _i1.FilterEvent event;
529
+}
530
+
531
+class Withdrawn {
532
+ Withdrawn(
533
+ List<dynamic> response,
534
+ this.event,
535
+ ) : account = (response[0] as _i1.EthereumAddress),
536
+ amount = (response[1] as BigInt);
537
+
538
+ final _i1.EthereumAddress account;
539
+
540
+ final BigInt amount;
541
+
542
+ final _i1.FilterEvent event;
543
+}