openzeppelin_rs/contracts/
BeaconProxy.rs

1pub use beacon_proxy::*;
2/// This module was auto-generated with ethers-rs Abigen.
3/// More information at: <https://github.com/gakonst/ethers-rs>
4#[allow(
5    clippy::enum_variant_names,
6    clippy::too_many_arguments,
7    clippy::upper_case_acronyms,
8    clippy::type_complexity,
9    dead_code,
10    non_camel_case_types,
11)]
12pub mod beacon_proxy {
13    #[rustfmt::skip]
14    const __ABI: &str = "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\",\"components\":[]},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\",\"components\":[]}],\"stateMutability\":\"payable\",\"type\":\"constructor\",\"outputs\":[]},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\",\"components\":[],\"indexed\":false},{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\",\"components\":[],\"indexed\":false}],\"type\":\"event\",\"name\":\"AdminChanged\",\"outputs\":[],\"anonymous\":false},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\",\"components\":[],\"indexed\":true}],\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"outputs\":[],\"anonymous\":false},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\",\"components\":[],\"indexed\":true}],\"type\":\"event\",\"name\":\"Upgraded\",\"outputs\":[],\"anonymous\":false},{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"fallback\",\"outputs\":[]},{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"receive\",\"outputs\":[]}]";
15    ///The parsed JSON ABI of the contract.
16    pub static BEACONPROXY_ABI: ::ethers_contract::Lazy<::ethers_core::abi::Abi> = ::ethers_contract::Lazy::new(||
17    ::ethers_core::utils::__serde_json::from_str(__ABI).expect("ABI is always valid"));
18    #[rustfmt::skip]
19    const __BYTECODE: &[u8] = &[
20        96,
21        128,
22        96,
23        64,
24        82,
25        96,
26        64,
27        81,
28        97,
29        9,
30        20,
31        56,
32        3,
33        128,
34        97,
35        9,
36        20,
37        131,
38        57,
39        129,
40        1,
41        96,
42        64,
43        129,
44        144,
45        82,
46        97,
47        0,
48        34,
49        145,
50        97,
51        4,
52        99,
53        86,
54        91,
55        97,
56        0,
57        46,
58        130,
59        130,
60        96,
61        0,
62        97,
63        0,
64        53,
65        86,
66        91,
67        80,
68        80,
69        97,
70        5,
71        141,
72        86,
73        91,
74        97,
75        0,
76        62,
77        131,
78        97,
79        1,
80        0,
81        86,
82        91,
83        96,
84        64,
85        81,
86        96,
87        1,
88        96,
89        1,
90        96,
91        160,
92        27,
93        3,
94        132,
95        22,
96        144,
97        127,
98        28,
99        243,
100        176,
101        58,
102        108,
103        241,
104        159,
105        162,
106        186,
107        186,
108        77,
109        241,
110        72,
111        233,
112        220,
113        171,
114        237,
115        234,
116        127,
117        138,
118        92,
119        7,
120        132,
121        14,
122        32,
123        126,
124        92,
125        8,
126        155,
127        233,
128        93,
129        62,
130        144,
131        96,
132        0,
133        144,
134        162,
135        96,
136        0,
137        130,
138        81,
139        17,
140        128,
141        97,
142        0,
143        127,
144        87,
145        80,
146        128,
147        91,
148        21,
149        97,
150        0,
151        251,
152        87,
153        97,
154        0,
155        249,
156        131,
157        96,
158        1,
159        96,
160        1,
161        96,
162        160,
163        27,
164        3,
165        22,
166        99,
167        92,
168        96,
169        218,
170        27,
171        96,
172        64,
173        81,
174        129,
175        99,
176        255,
177        255,
178        255,
179        255,
180        22,
181        96,
182        224,
183        27,
184        129,
185        82,
186        96,
187        4,
188        1,
189        96,
190        32,
191        96,
192        64,
193        81,
194        128,
195        131,
196        3,
197        129,
198        134,
199        90,
200        250,
201        21,
202        128,
203        21,
204        97,
205        0,
206        197,
207        87,
208        61,
209        96,
210        0,
211        128,
212        62,
213        61,
214        96,
215        0,
216        253,
217        91,
218        80,
219        80,
220        80,
221        80,
222        96,
223        64,
224        81,
225        61,
226        96,
227        31,
228        25,
229        96,
230        31,
231        130,
232        1,
233        22,
234        130,
235        1,
236        128,
237        96,
238        64,
239        82,
240        80,
241        129,
242        1,
243        144,
244        97,
245        0,
246        233,
247        145,
248        144,
249        97,
250        5,
251        35,
252        86,
253        91,
254        131,
255        97,
256        2,
257        163,
258        96,
259        32,
260        27,
261        97,
262        0,
263        41,
264        23,
265        96,
266        32,
267        28,
268        86,
269        91,
270        80,
271        91,
272        80,
273        80,
274        80,
275        86,
276        91,
277        97,
278        1,
279        19,
280        129,
281        97,
282        2,
283        207,
284        96,
285        32,
286        27,
287        97,
288        0,
289        85,
290        23,
291        96,
292        32,
293        28,
294        86,
295        91,
296        97,
297        1,
298        114,
299        87,
300        96,
301        64,
302        81,
303        98,
304        70,
305        27,
306        205,
307        96,
308        229,
309        27,
310        129,
311        82,
312        96,
313        32,
314        96,
315        4,
316        130,
317        1,
318        82,
319        96,
320        37,
321        96,
322        36,
323        130,
324        1,
325        82,
326        127,
327        69,
328        82,
329        67,
330        49,
331        57,
332        54,
333        55,
334        58,
335        32,
336        110,
337        101,
338        119,
339        32,
340        98,
341        101,
342        97,
343        99,
344        111,
345        110,
346        32,
347        105,
348        115,
349        32,
350        110,
351        111,
352        116,
353        32,
354        97,
355        32,
356        99,
357        111,
358        110,
359        96,
360        68,
361        130,
362        1,
363        82,
364        100,
365        29,
366        28,
367        152,
368        88,
369        221,
370        96,
371        218,
372        27,
373        96,
374        100,
375        130,
376        1,
377        82,
378        96,
379        132,
380        1,
381        91,
382        96,
383        64,
384        81,
385        128,
386        145,
387        3,
388        144,
389        253,
390        91,
391        97,
392        1,
393        230,
394        129,
395        96,
396        1,
397        96,
398        1,
399        96,
400        160,
401        27,
402        3,
403        22,
404        99,
405        92,
406        96,
407        218,
408        27,
409        96,
410        64,
411        81,
412        129,
413        99,
414        255,
415        255,
416        255,
417        255,
418        22,
419        96,
420        224,
421        27,
422        129,
423        82,
424        96,
425        4,
426        1,
427        96,
428        32,
429        96,
430        64,
431        81,
432        128,
433        131,
434        3,
435        129,
436        134,
437        90,
438        250,
439        21,
440        128,
441        21,
442        97,
443        1,
444        179,
445        87,
446        61,
447        96,
448        0,
449        128,
450        62,
451        61,
452        96,
453        0,
454        253,
455        91,
456        80,
457        80,
458        80,
459        80,
460        96,
461        64,
462        81,
463        61,
464        96,
465        31,
466        25,
467        96,
468        31,
469        130,
470        1,
471        22,
472        130,
473        1,
474        128,
475        96,
476        64,
477        82,
478        80,
479        129,
480        1,
481        144,
482        97,
483        1,
484        215,
485        145,
486        144,
487        97,
488        5,
489        35,
490        86,
491        91,
492        97,
493        2,
494        207,
495        96,
496        32,
497        27,
498        97,
499        0,
500        85,
501        23,
502        96,
503        32,
504        28,
505        86,
506        91,
507        97,
508        2,
509        75,
510        87,
511        96,
512        64,
513        81,
514        98,
515        70,
516        27,
517        205,
518        96,
519        229,
520        27,
521        129,
522        82,
523        96,
524        32,
525        96,
526        4,
527        130,
528        1,
529        82,
530        96,
531        48,
532        96,
533        36,
534        130,
535        1,
536        82,
537        127,
538        69,
539        82,
540        67,
541        49,
542        57,
543        54,
544        55,
545        58,
546        32,
547        98,
548        101,
549        97,
550        99,
551        111,
552        110,
553        32,
554        105,
555        109,
556        112,
557        108,
558        101,
559        109,
560        101,
561        110,
562        116,
563        97,
564        116,
565        105,
566        111,
567        110,
568        32,
569        105,
570        96,
571        68,
572        130,
573        1,
574        82,
575        111,
576        28,
577        200,
578        27,
579        155,
580        221,
581        8,
582        24,
583        72,
584        24,
585        219,
586        219,
587        157,
588        28,
589        152,
590        88,
591        221,
592        96,
593        130,
594        27,
595        96,
596        100,
597        130,
598        1,
599        82,
600        96,
601        132,
602        1,
603        97,
604        1,
605        105,
606        86,
607        91,
608        128,
609        97,
610        2,
611        130,
612        127,
613        163,
614        240,
615        173,
616        116,
617        229,
618        66,
619        58,
620        235,
621        253,
622        128,
623        211,
624        239,
625        67,
626        70,
627        87,
628        131,
629        53,
630        169,
631        167,
632        42,
633        234,
634        238,
635        89,
636        255,
637        108,
638        179,
639        88,
640        43,
641        53,
642        19,
643        61,
644        80,
645        96,
646        0,
647        27,
648        97,
649        2,
650        222,
651        96,
652        32,
653        27,
654        97,
655        0,
656        100,
657        23,
658        96,
659        32,
660        28,
661        86,
662        91,
663        128,
664        84,
665        96,
666        1,
667        96,
668        1,
669        96,
670        160,
671        27,
672        3,
673        25,
674        22,
675        96,
676        1,
677        96,
678        1,
679        96,
680        160,
681        27,
682        3,
683        146,
684        144,
685        146,
686        22,
687        145,
688        144,
689        145,
690        23,
691        144,
692        85,
693        80,
694        86,
695        91,
696        96,
697        96,
698        97,
699        2,
700        200,
701        131,
702        131,
703        96,
704        64,
705        81,
706        128,
707        96,
708        96,
709        1,
710        96,
711        64,
712        82,
713        128,
714        96,
715        39,
716        129,
717        82,
718        96,
719        32,
720        1,
721        97,
722        8,
723        237,
724        96,
725        39,
726        145,
727        57,
728        97,
729        2,
730        225,
731        86,
732        91,
733        147,
734        146,
735        80,
736        80,
737        80,
738        86,
739        91,
740        96,
741        1,
742        96,
743        1,
744        96,
745        160,
746        27,
747        3,
748        22,
749        59,
750        21,
751        21,
752        144,
753        86,
754        91,
755        144,
756        86,
757        91,
758        96,
759        96,
760        96,
761        0,
762        128,
763        133,
764        96,
765        1,
766        96,
767        1,
768        96,
769        160,
770        27,
771        3,
772        22,
773        133,
774        96,
775        64,
776        81,
777        97,
778        2,
779        254,
780        145,
781        144,
782        97,
783        5,
784        62,
785        86,
786        91,
787        96,
788        0,
789        96,
790        64,
791        81,
792        128,
793        131,
794        3,
795        129,
796        133,
797        90,
798        244,
799        145,
800        80,
801        80,
802        61,
803        128,
804        96,
805        0,
806        129,
807        20,
808        97,
809        3,
810        57,
811        87,
812        96,
813        64,
814        81,
815        145,
816        80,
817        96,
818        31,
819        25,
820        96,
821        63,
822        61,
823        1,
824        22,
825        130,
826        1,
827        96,
828        64,
829        82,
830        61,
831        130,
832        82,
833        61,
834        96,
835        0,
836        96,
837        32,
838        132,
839        1,
840        62,
841        97,
842        3,
843        62,
844        86,
845        91,
846        96,
847        96,
848        145,
849        80,
850        91,
851        80,
852        144,
853        146,
854        80,
855        144,
856        80,
857        97,
858        3,
859        80,
860        134,
861        131,
862        131,
863        135,
864        97,
865        3,
866        90,
867        86,
868        91,
869        150,
870        149,
871        80,
872        80,
873        80,
874        80,
875        80,
876        80,
877        86,
878        91,
879        96,
880        96,
881        131,
882        21,
883        97,
884        3,
885        201,
886        87,
887        130,
888        81,
889        96,
890        0,
891        3,
892        97,
893        3,
894        194,
895        87,
896        96,
897        1,
898        96,
899        1,
900        96,
901        160,
902        27,
903        3,
904        133,
905        22,
906        59,
907        97,
908        3,
909        194,
910        87,
911        96,
912        64,
913        81,
914        98,
915        70,
916        27,
917        205,
918        96,
919        229,
920        27,
921        129,
922        82,
923        96,
924        32,
925        96,
926        4,
927        130,
928        1,
929        82,
930        96,
931        29,
932        96,
933        36,
934        130,
935        1,
936        82,
937        127,
938        65,
939        100,
940        100,
941        114,
942        101,
943        115,
944        115,
945        58,
946        32,
947        99,
948        97,
949        108,
950        108,
951        32,
952        116,
953        111,
954        32,
955        110,
956        111,
957        110,
958        45,
959        99,
960        111,
961        110,
962        116,
963        114,
964        97,
965        99,
966        116,
967        0,
968        0,
969        0,
970        96,
971        68,
972        130,
973        1,
974        82,
975        96,
976        100,
977        1,
978        97,
979        1,
980        105,
981        86,
982        91,
983        80,
984        129,
985        97,
986        3,
987        211,
988        86,
989        91,
990        97,
991        3,
992        211,
993        131,
994        131,
995        97,
996        3,
997        219,
998        86,
999        91,
1000        148,
1001        147,
1002        80,
1003        80,
1004        80,
1005        80,
1006        86,
1007        91,
1008        129,
1009        81,
1010        21,
1011        97,
1012        3,
1013        235,
1014        87,
1015        129,
1016        81,
1017        128,
1018        131,
1019        96,
1020        32,
1021        1,
1022        253,
1023        91,
1024        128,
1025        96,
1026        64,
1027        81,
1028        98,
1029        70,
1030        27,
1031        205,
1032        96,
1033        229,
1034        27,
1035        129,
1036        82,
1037        96,
1038        4,
1039        1,
1040        97,
1041        1,
1042        105,
1043        145,
1044        144,
1045        97,
1046        5,
1047        90,
1048        86,
1049        91,
1050        128,
1051        81,
1052        96,
1053        1,
1054        96,
1055        1,
1056        96,
1057        160,
1058        27,
1059        3,
1060        129,
1061        22,
1062        129,
1063        20,
1064        97,
1065        4,
1066        28,
1067        87,
1068        96,
1069        0,
1070        128,
1071        253,
1072        91,
1073        145,
1074        144,
1075        80,
1076        86,
1077        91,
1078        99,
1079        78,
1080        72,
1081        123,
1082        113,
1083        96,
1084        224,
1085        27,
1086        96,
1087        0,
1088        82,
1089        96,
1090        65,
1091        96,
1092        4,
1093        82,
1094        96,
1095        36,
1096        96,
1097        0,
1098        253,
1099        91,
1100        96,
1101        0,
1102        91,
1103        131,
1104        129,
1105        16,
1106        21,
1107        97,
1108        4,
1109        82,
1110        87,
1111        129,
1112        129,
1113        1,
1114        81,
1115        131,
1116        130,
1117        1,
1118        82,
1119        96,
1120        32,
1121        1,
1122        97,
1123        4,
1124        58,
1125        86,
1126        91,
1127        131,
1128        129,
1129        17,
1130        21,
1131        97,
1132        0,
1133        249,
1134        87,
1135        80,
1136        80,
1137        96,
1138        0,
1139        145,
1140        1,
1141        82,
1142        86,
1143        91,
1144        96,
1145        0,
1146        128,
1147        96,
1148        64,
1149        131,
1150        133,
1151        3,
1152        18,
1153        21,
1154        97,
1155        4,
1156        118,
1157        87,
1158        96,
1159        0,
1160        128,
1161        253,
1162        91,
1163        97,
1164        4,
1165        127,
1166        131,
1167        97,
1168        4,
1169        5,
1170        86,
1171        91,
1172        96,
1173        32,
1174        132,
1175        1,
1176        81,
1177        144,
1178        146,
1179        80,
1180        96,
1181        1,
1182        96,
1183        1,
1184        96,
1185        64,
1186        27,
1187        3,
1188        128,
1189        130,
1190        17,
1191        21,
1192        97,
1193        4,
1194        156,
1195        87,
1196        96,
1197        0,
1198        128,
1199        253,
1200        91,
1201        129,
1202        133,
1203        1,
1204        145,
1205        80,
1206        133,
1207        96,
1208        31,
1209        131,
1210        1,
1211        18,
1212        97,
1213        4,
1214        176,
1215        87,
1216        96,
1217        0,
1218        128,
1219        253,
1220        91,
1221        129,
1222        81,
1223        129,
1224        129,
1225        17,
1226        21,
1227        97,
1228        4,
1229        194,
1230        87,
1231        97,
1232        4,
1233        194,
1234        97,
1235        4,
1236        33,
1237        86,
1238        91,
1239        96,
1240        64,
1241        81,
1242        96,
1243        31,
1244        130,
1245        1,
1246        96,
1247        31,
1248        25,
1249        144,
1250        129,
1251        22,
1252        96,
1253        63,
1254        1,
1255        22,
1256        129,
1257        1,
1258        144,
1259        131,
1260        130,
1261        17,
1262        129,
1263        131,
1264        16,
1265        23,
1266        21,
1267        97,
1268        4,
1269        234,
1270        87,
1271        97,
1272        4,
1273        234,
1274        97,
1275        4,
1276        33,
1277        86,
1278        91,
1279        129,
1280        96,
1281        64,
1282        82,
1283        130,
1284        129,
1285        82,
1286        136,
1287        96,
1288        32,
1289        132,
1290        135,
1291        1,
1292        1,
1293        17,
1294        21,
1295        97,
1296        5,
1297        3,
1298        87,
1299        96,
1300        0,
1301        128,
1302        253,
1303        91,
1304        97,
1305        5,
1306        20,
1307        131,
1308        96,
1309        32,
1310        131,
1311        1,
1312        96,
1313        32,
1314        136,
1315        1,
1316        97,
1317        4,
1318        55,
1319        86,
1320        91,
1321        128,
1322        149,
1323        80,
1324        80,
1325        80,
1326        80,
1327        80,
1328        80,
1329        146,
1330        80,
1331        146,
1332        144,
1333        80,
1334        86,
1335        91,
1336        96,
1337        0,
1338        96,
1339        32,
1340        130,
1341        132,
1342        3,
1343        18,
1344        21,
1345        97,
1346        5,
1347        53,
1348        87,
1349        96,
1350        0,
1351        128,
1352        253,
1353        91,
1354        97,
1355        2,
1356        200,
1357        130,
1358        97,
1359        4,
1360        5,
1361        86,
1362        91,
1363        96,
1364        0,
1365        130,
1366        81,
1367        97,
1368        5,
1369        80,
1370        129,
1371        132,
1372        96,
1373        32,
1374        135,
1375        1,
1376        97,
1377        4,
1378        55,
1379        86,
1380        91,
1381        145,
1382        144,
1383        145,
1384        1,
1385        146,
1386        145,
1387        80,
1388        80,
1389        86,
1390        91,
1391        96,
1392        32,
1393        129,
1394        82,
1395        96,
1396        0,
1397        130,
1398        81,
1399        128,
1400        96,
1401        32,
1402        132,
1403        1,
1404        82,
1405        97,
1406        5,
1407        121,
1408        129,
1409        96,
1410        64,
1411        133,
1412        1,
1413        96,
1414        32,
1415        135,
1416        1,
1417        97,
1418        4,
1419        55,
1420        86,
1421        91,
1422        96,
1423        31,
1424        1,
1425        96,
1426        31,
1427        25,
1428        22,
1429        145,
1430        144,
1431        145,
1432        1,
1433        96,
1434        64,
1435        1,
1436        146,
1437        145,
1438        80,
1439        80,
1440        86,
1441        91,
1442        97,
1443        3,
1444        81,
1445        128,
1446        97,
1447        5,
1448        156,
1449        96,
1450        0,
1451        57,
1452        96,
1453        0,
1454        243,
1455        254,
1456        96,
1457        128,
1458        96,
1459        64,
1460        82,
1461        54,
1462        97,
1463        0,
1464        19,
1465        87,
1466        97,
1467        0,
1468        17,
1469        97,
1470        0,
1471        23,
1472        86,
1473        91,
1474        0,
1475        91,
1476        97,
1477        0,
1478        17,
1479        91,
1480        97,
1481        0,
1482        39,
1483        97,
1484        0,
1485        34,
1486        97,
1487        0,
1488        103,
1489        86,
1490        91,
1491        97,
1492        1,
1493        0,
1494        86,
1495        91,
1496        86,
1497        91,
1498        96,
1499        96,
1500        97,
1501        0,
1502        78,
1503        131,
1504        131,
1505        96,
1506        64,
1507        81,
1508        128,
1509        96,
1510        96,
1511        1,
1512        96,
1513        64,
1514        82,
1515        128,
1516        96,
1517        39,
1518        129,
1519        82,
1520        96,
1521        32,
1522        1,
1523        97,
1524        2,
1525        245,
1526        96,
1527        39,
1528        145,
1529        57,
1530        97,
1531        1,
1532        36,
1533        86,
1534        91,
1535        147,
1536        146,
1537        80,
1538        80,
1539        80,
1540        86,
1541        91,
1542        96,
1543        1,
1544        96,
1545        1,
1546        96,
1547        160,
1548        27,
1549        3,
1550        22,
1551        59,
1552        21,
1553        21,
1554        144,
1555        86,
1556        91,
1557        144,
1558        86,
1559        91,
1560        96,
1561        0,
1562        97,
1563        0,
1564        154,
1565        127,
1566        163,
1567        240,
1568        173,
1569        116,
1570        229,
1571        66,
1572        58,
1573        235,
1574        253,
1575        128,
1576        211,
1577        239,
1578        67,
1579        70,
1580        87,
1581        131,
1582        53,
1583        169,
1584        167,
1585        42,
1586        234,
1587        238,
1588        89,
1589        255,
1590        108,
1591        179,
1592        88,
1593        43,
1594        53,
1595        19,
1596        61,
1597        80,
1598        84,
1599        96,
1600        1,
1601        96,
1602        1,
1603        96,
1604        160,
1605        27,
1606        3,
1607        22,
1608        144,
1609        86,
1610        91,
1611        96,
1612        1,
1613        96,
1614        1,
1615        96,
1616        160,
1617        27,
1618        3,
1619        22,
1620        99,
1621        92,
1622        96,
1623        218,
1624        27,
1625        96,
1626        64,
1627        81,
1628        129,
1629        99,
1630        255,
1631        255,
1632        255,
1633        255,
1634        22,
1635        96,
1636        224,
1637        27,
1638        129,
1639        82,
1640        96,
1641        4,
1642        1,
1643        96,
1644        32,
1645        96,
1646        64,
1647        81,
1648        128,
1649        131,
1650        3,
1651        129,
1652        134,
1653        90,
1654        250,
1655        21,
1656        128,
1657        21,
1658        97,
1659        0,
1660        215,
1661        87,
1662        61,
1663        96,
1664        0,
1665        128,
1666        62,
1667        61,
1668        96,
1669        0,
1670        253,
1671        91,
1672        80,
1673        80,
1674        80,
1675        80,
1676        96,
1677        64,
1678        81,
1679        61,
1680        96,
1681        31,
1682        25,
1683        96,
1684        31,
1685        130,
1686        1,
1687        22,
1688        130,
1689        1,
1690        128,
1691        96,
1692        64,
1693        82,
1694        80,
1695        129,
1696        1,
1697        144,
1698        97,
1699        0,
1700        251,
1701        145,
1702        144,
1703        97,
1704        2,
1705        76,
1706        86,
1707        91,
1708        144,
1709        80,
1710        144,
1711        86,
1712        91,
1713        54,
1714        96,
1715        0,
1716        128,
1717        55,
1718        96,
1719        0,
1720        128,
1721        54,
1722        96,
1723        0,
1724        132,
1725        90,
1726        244,
1727        61,
1728        96,
1729        0,
1730        128,
1731        62,
1732        128,
1733        128,
1734        21,
1735        97,
1736        1,
1737        31,
1738        87,
1739        61,
1740        96,
1741        0,
1742        243,
1743        91,
1744        61,
1745        96,
1746        0,
1747        253,
1748        91,
1749        96,
1750        96,
1751        96,
1752        0,
1753        128,
1754        133,
1755        96,
1756        1,
1757        96,
1758        1,
1759        96,
1760        160,
1761        27,
1762        3,
1763        22,
1764        133,
1765        96,
1766        64,
1767        81,
1768        97,
1769        1,
1770        65,
1771        145,
1772        144,
1773        97,
1774        2,
1775        165,
1776        86,
1777        91,
1778        96,
1779        0,
1780        96,
1781        64,
1782        81,
1783        128,
1784        131,
1785        3,
1786        129,
1787        133,
1788        90,
1789        244,
1790        145,
1791        80,
1792        80,
1793        61,
1794        128,
1795        96,
1796        0,
1797        129,
1798        20,
1799        97,
1800        1,
1801        124,
1802        87,
1803        96,
1804        64,
1805        81,
1806        145,
1807        80,
1808        96,
1809        31,
1810        25,
1811        96,
1812        63,
1813        61,
1814        1,
1815        22,
1816        130,
1817        1,
1818        96,
1819        64,
1820        82,
1821        61,
1822        130,
1823        82,
1824        61,
1825        96,
1826        0,
1827        96,
1828        32,
1829        132,
1830        1,
1831        62,
1832        97,
1833        1,
1834        129,
1835        86,
1836        91,
1837        96,
1838        96,
1839        145,
1840        80,
1841        91,
1842        80,
1843        145,
1844        80,
1845        145,
1846        80,
1847        97,
1848        1,
1849        146,
1850        134,
1851        131,
1852        131,
1853        135,
1854        97,
1855        1,
1856        156,
1857        86,
1858        91,
1859        150,
1860        149,
1861        80,
1862        80,
1863        80,
1864        80,
1865        80,
1866        80,
1867        86,
1868        91,
1869        96,
1870        96,
1871        131,
1872        21,
1873        97,
1874        2,
1875        16,
1876        87,
1877        130,
1878        81,
1879        96,
1880        0,
1881        3,
1882        97,
1883        2,
1884        9,
1885        87,
1886        96,
1887        1,
1888        96,
1889        1,
1890        96,
1891        160,
1892        27,
1893        3,
1894        133,
1895        22,
1896        59,
1897        97,
1898        2,
1899        9,
1900        87,
1901        96,
1902        64,
1903        81,
1904        98,
1905        70,
1906        27,
1907        205,
1908        96,
1909        229,
1910        27,
1911        129,
1912        82,
1913        96,
1914        32,
1915        96,
1916        4,
1917        130,
1918        1,
1919        82,
1920        96,
1921        29,
1922        96,
1923        36,
1924        130,
1925        1,
1926        82,
1927        127,
1928        65,
1929        100,
1930        100,
1931        114,
1932        101,
1933        115,
1934        115,
1935        58,
1936        32,
1937        99,
1938        97,
1939        108,
1940        108,
1941        32,
1942        116,
1943        111,
1944        32,
1945        110,
1946        111,
1947        110,
1948        45,
1949        99,
1950        111,
1951        110,
1952        116,
1953        114,
1954        97,
1955        99,
1956        116,
1957        0,
1958        0,
1959        0,
1960        96,
1961        68,
1962        130,
1963        1,
1964        82,
1965        96,
1966        100,
1967        1,
1968        91,
1969        96,
1970        64,
1971        81,
1972        128,
1973        145,
1974        3,
1975        144,
1976        253,
1977        91,
1978        80,
1979        129,
1980        97,
1981        2,
1982        26,
1983        86,
1984        91,
1985        97,
1986        2,
1987        26,
1988        131,
1989        131,
1990        97,
1991        2,
1992        34,
1993        86,
1994        91,
1995        148,
1996        147,
1997        80,
1998        80,
1999        80,
2000        80,
2001        86,
2002        91,
2003        129,
2004        81,
2005        21,
2006        97,
2007        2,
2008        50,
2009        87,
2010        129,
2011        81,
2012        128,
2013        131,
2014        96,
2015        32,
2016        1,
2017        253,
2018        91,
2019        128,
2020        96,
2021        64,
2022        81,
2023        98,
2024        70,
2025        27,
2026        205,
2027        96,
2028        229,
2029        27,
2030        129,
2031        82,
2032        96,
2033        4,
2034        1,
2035        97,
2036        2,
2037        0,
2038        145,
2039        144,
2040        97,
2041        2,
2042        193,
2043        86,
2044        91,
2045        96,
2046        0,
2047        96,
2048        32,
2049        130,
2050        132,
2051        3,
2052        18,
2053        21,
2054        97,
2055        2,
2056        94,
2057        87,
2058        96,
2059        0,
2060        128,
2061        253,
2062        91,
2063        129,
2064        81,
2065        96,
2066        1,
2067        96,
2068        1,
2069        96,
2070        160,
2071        27,
2072        3,
2073        129,
2074        22,
2075        129,
2076        20,
2077        97,
2078        0,
2079        78,
2080        87,
2081        96,
2082        0,
2083        128,
2084        253,
2085        91,
2086        96,
2087        0,
2088        91,
2089        131,
2090        129,
2091        16,
2092        21,
2093        97,
2094        2,
2095        144,
2096        87,
2097        129,
2098        129,
2099        1,
2100        81,
2101        131,
2102        130,
2103        1,
2104        82,
2105        96,
2106        32,
2107        1,
2108        97,
2109        2,
2110        120,
2111        86,
2112        91,
2113        131,
2114        129,
2115        17,
2116        21,
2117        97,
2118        2,
2119        159,
2120        87,
2121        96,
2122        0,
2123        132,
2124        132,
2125        1,
2126        82,
2127        91,
2128        80,
2129        80,
2130        80,
2131        80,
2132        86,
2133        91,
2134        96,
2135        0,
2136        130,
2137        81,
2138        97,
2139        2,
2140        183,
2141        129,
2142        132,
2143        96,
2144        32,
2145        135,
2146        1,
2147        97,
2148        2,
2149        117,
2150        86,
2151        91,
2152        145,
2153        144,
2154        145,
2155        1,
2156        146,
2157        145,
2158        80,
2159        80,
2160        86,
2161        91,
2162        96,
2163        32,
2164        129,
2165        82,
2166        96,
2167        0,
2168        130,
2169        81,
2170        128,
2171        96,
2172        32,
2173        132,
2174        1,
2175        82,
2176        97,
2177        2,
2178        224,
2179        129,
2180        96,
2181        64,
2182        133,
2183        1,
2184        96,
2185        32,
2186        135,
2187        1,
2188        97,
2189        2,
2190        117,
2191        86,
2192        91,
2193        96,
2194        31,
2195        1,
2196        96,
2197        31,
2198        25,
2199        22,
2200        145,
2201        144,
2202        145,
2203        1,
2204        96,
2205        64,
2206        1,
2207        146,
2208        145,
2209        80,
2210        80,
2211        86,
2212        254,
2213        65,
2214        100,
2215        100,
2216        114,
2217        101,
2218        115,
2219        115,
2220        58,
2221        32,
2222        108,
2223        111,
2224        119,
2225        45,
2226        108,
2227        101,
2228        118,
2229        101,
2230        108,
2231        32,
2232        100,
2233        101,
2234        108,
2235        101,
2236        103,
2237        97,
2238        116,
2239        101,
2240        32,
2241        99,
2242        97,
2243        108,
2244        108,
2245        32,
2246        102,
2247        97,
2248        105,
2249        108,
2250        101,
2251        100,
2252        162,
2253        100,
2254        105,
2255        112,
2256        102,
2257        115,
2258        88,
2259        34,
2260        18,
2261        32,
2262        225,
2263        131,
2264        126,
2265        226,
2266        165,
2267        227,
2268        228,
2269        109,
2270        170,
2271        226,
2272        57,
2273        216,
2274        227,
2275        55,
2276        37,
2277        189,
2278        178,
2279        172,
2280        146,
2281        179,
2282        61,
2283        82,
2284        68,
2285        245,
2286        174,
2287        117,
2288        68,
2289        249,
2290        233,
2291        101,
2292        139,
2293        224,
2294        100,
2295        115,
2296        111,
2297        108,
2298        99,
2299        67,
2300        0,
2301        8,
2302        13,
2303        0,
2304        51,
2305        65,
2306        100,
2307        100,
2308        114,
2309        101,
2310        115,
2311        115,
2312        58,
2313        32,
2314        108,
2315        111,
2316        119,
2317        45,
2318        108,
2319        101,
2320        118,
2321        101,
2322        108,
2323        32,
2324        100,
2325        101,
2326        108,
2327        101,
2328        103,
2329        97,
2330        116,
2331        101,
2332        32,
2333        99,
2334        97,
2335        108,
2336        108,
2337        32,
2338        102,
2339        97,
2340        105,
2341        108,
2342        101,
2343        100,
2344    ];
2345    ///The bytecode of the contract.
2346    pub static BEACONPROXY_BYTECODE: ::ethers_core::types::Bytes = ::ethers_core::types::Bytes::from_static(
2347        __BYTECODE,
2348    );
2349    #[rustfmt::skip]
2350    const __DEPLOYED_BYTECODE: &[u8] = &[
2351        96,
2352        128,
2353        96,
2354        64,
2355        82,
2356        54,
2357        97,
2358        0,
2359        19,
2360        87,
2361        97,
2362        0,
2363        17,
2364        97,
2365        0,
2366        23,
2367        86,
2368        91,
2369        0,
2370        91,
2371        97,
2372        0,
2373        17,
2374        91,
2375        97,
2376        0,
2377        39,
2378        97,
2379        0,
2380        34,
2381        97,
2382        0,
2383        103,
2384        86,
2385        91,
2386        97,
2387        1,
2388        0,
2389        86,
2390        91,
2391        86,
2392        91,
2393        96,
2394        96,
2395        97,
2396        0,
2397        78,
2398        131,
2399        131,
2400        96,
2401        64,
2402        81,
2403        128,
2404        96,
2405        96,
2406        1,
2407        96,
2408        64,
2409        82,
2410        128,
2411        96,
2412        39,
2413        129,
2414        82,
2415        96,
2416        32,
2417        1,
2418        97,
2419        2,
2420        245,
2421        96,
2422        39,
2423        145,
2424        57,
2425        97,
2426        1,
2427        36,
2428        86,
2429        91,
2430        147,
2431        146,
2432        80,
2433        80,
2434        80,
2435        86,
2436        91,
2437        96,
2438        1,
2439        96,
2440        1,
2441        96,
2442        160,
2443        27,
2444        3,
2445        22,
2446        59,
2447        21,
2448        21,
2449        144,
2450        86,
2451        91,
2452        144,
2453        86,
2454        91,
2455        96,
2456        0,
2457        97,
2458        0,
2459        154,
2460        127,
2461        163,
2462        240,
2463        173,
2464        116,
2465        229,
2466        66,
2467        58,
2468        235,
2469        253,
2470        128,
2471        211,
2472        239,
2473        67,
2474        70,
2475        87,
2476        131,
2477        53,
2478        169,
2479        167,
2480        42,
2481        234,
2482        238,
2483        89,
2484        255,
2485        108,
2486        179,
2487        88,
2488        43,
2489        53,
2490        19,
2491        61,
2492        80,
2493        84,
2494        96,
2495        1,
2496        96,
2497        1,
2498        96,
2499        160,
2500        27,
2501        3,
2502        22,
2503        144,
2504        86,
2505        91,
2506        96,
2507        1,
2508        96,
2509        1,
2510        96,
2511        160,
2512        27,
2513        3,
2514        22,
2515        99,
2516        92,
2517        96,
2518        218,
2519        27,
2520        96,
2521        64,
2522        81,
2523        129,
2524        99,
2525        255,
2526        255,
2527        255,
2528        255,
2529        22,
2530        96,
2531        224,
2532        27,
2533        129,
2534        82,
2535        96,
2536        4,
2537        1,
2538        96,
2539        32,
2540        96,
2541        64,
2542        81,
2543        128,
2544        131,
2545        3,
2546        129,
2547        134,
2548        90,
2549        250,
2550        21,
2551        128,
2552        21,
2553        97,
2554        0,
2555        215,
2556        87,
2557        61,
2558        96,
2559        0,
2560        128,
2561        62,
2562        61,
2563        96,
2564        0,
2565        253,
2566        91,
2567        80,
2568        80,
2569        80,
2570        80,
2571        96,
2572        64,
2573        81,
2574        61,
2575        96,
2576        31,
2577        25,
2578        96,
2579        31,
2580        130,
2581        1,
2582        22,
2583        130,
2584        1,
2585        128,
2586        96,
2587        64,
2588        82,
2589        80,
2590        129,
2591        1,
2592        144,
2593        97,
2594        0,
2595        251,
2596        145,
2597        144,
2598        97,
2599        2,
2600        76,
2601        86,
2602        91,
2603        144,
2604        80,
2605        144,
2606        86,
2607        91,
2608        54,
2609        96,
2610        0,
2611        128,
2612        55,
2613        96,
2614        0,
2615        128,
2616        54,
2617        96,
2618        0,
2619        132,
2620        90,
2621        244,
2622        61,
2623        96,
2624        0,
2625        128,
2626        62,
2627        128,
2628        128,
2629        21,
2630        97,
2631        1,
2632        31,
2633        87,
2634        61,
2635        96,
2636        0,
2637        243,
2638        91,
2639        61,
2640        96,
2641        0,
2642        253,
2643        91,
2644        96,
2645        96,
2646        96,
2647        0,
2648        128,
2649        133,
2650        96,
2651        1,
2652        96,
2653        1,
2654        96,
2655        160,
2656        27,
2657        3,
2658        22,
2659        133,
2660        96,
2661        64,
2662        81,
2663        97,
2664        1,
2665        65,
2666        145,
2667        144,
2668        97,
2669        2,
2670        165,
2671        86,
2672        91,
2673        96,
2674        0,
2675        96,
2676        64,
2677        81,
2678        128,
2679        131,
2680        3,
2681        129,
2682        133,
2683        90,
2684        244,
2685        145,
2686        80,
2687        80,
2688        61,
2689        128,
2690        96,
2691        0,
2692        129,
2693        20,
2694        97,
2695        1,
2696        124,
2697        87,
2698        96,
2699        64,
2700        81,
2701        145,
2702        80,
2703        96,
2704        31,
2705        25,
2706        96,
2707        63,
2708        61,
2709        1,
2710        22,
2711        130,
2712        1,
2713        96,
2714        64,
2715        82,
2716        61,
2717        130,
2718        82,
2719        61,
2720        96,
2721        0,
2722        96,
2723        32,
2724        132,
2725        1,
2726        62,
2727        97,
2728        1,
2729        129,
2730        86,
2731        91,
2732        96,
2733        96,
2734        145,
2735        80,
2736        91,
2737        80,
2738        145,
2739        80,
2740        145,
2741        80,
2742        97,
2743        1,
2744        146,
2745        134,
2746        131,
2747        131,
2748        135,
2749        97,
2750        1,
2751        156,
2752        86,
2753        91,
2754        150,
2755        149,
2756        80,
2757        80,
2758        80,
2759        80,
2760        80,
2761        80,
2762        86,
2763        91,
2764        96,
2765        96,
2766        131,
2767        21,
2768        97,
2769        2,
2770        16,
2771        87,
2772        130,
2773        81,
2774        96,
2775        0,
2776        3,
2777        97,
2778        2,
2779        9,
2780        87,
2781        96,
2782        1,
2783        96,
2784        1,
2785        96,
2786        160,
2787        27,
2788        3,
2789        133,
2790        22,
2791        59,
2792        97,
2793        2,
2794        9,
2795        87,
2796        96,
2797        64,
2798        81,
2799        98,
2800        70,
2801        27,
2802        205,
2803        96,
2804        229,
2805        27,
2806        129,
2807        82,
2808        96,
2809        32,
2810        96,
2811        4,
2812        130,
2813        1,
2814        82,
2815        96,
2816        29,
2817        96,
2818        36,
2819        130,
2820        1,
2821        82,
2822        127,
2823        65,
2824        100,
2825        100,
2826        114,
2827        101,
2828        115,
2829        115,
2830        58,
2831        32,
2832        99,
2833        97,
2834        108,
2835        108,
2836        32,
2837        116,
2838        111,
2839        32,
2840        110,
2841        111,
2842        110,
2843        45,
2844        99,
2845        111,
2846        110,
2847        116,
2848        114,
2849        97,
2850        99,
2851        116,
2852        0,
2853        0,
2854        0,
2855        96,
2856        68,
2857        130,
2858        1,
2859        82,
2860        96,
2861        100,
2862        1,
2863        91,
2864        96,
2865        64,
2866        81,
2867        128,
2868        145,
2869        3,
2870        144,
2871        253,
2872        91,
2873        80,
2874        129,
2875        97,
2876        2,
2877        26,
2878        86,
2879        91,
2880        97,
2881        2,
2882        26,
2883        131,
2884        131,
2885        97,
2886        2,
2887        34,
2888        86,
2889        91,
2890        148,
2891        147,
2892        80,
2893        80,
2894        80,
2895        80,
2896        86,
2897        91,
2898        129,
2899        81,
2900        21,
2901        97,
2902        2,
2903        50,
2904        87,
2905        129,
2906        81,
2907        128,
2908        131,
2909        96,
2910        32,
2911        1,
2912        253,
2913        91,
2914        128,
2915        96,
2916        64,
2917        81,
2918        98,
2919        70,
2920        27,
2921        205,
2922        96,
2923        229,
2924        27,
2925        129,
2926        82,
2927        96,
2928        4,
2929        1,
2930        97,
2931        2,
2932        0,
2933        145,
2934        144,
2935        97,
2936        2,
2937        193,
2938        86,
2939        91,
2940        96,
2941        0,
2942        96,
2943        32,
2944        130,
2945        132,
2946        3,
2947        18,
2948        21,
2949        97,
2950        2,
2951        94,
2952        87,
2953        96,
2954        0,
2955        128,
2956        253,
2957        91,
2958        129,
2959        81,
2960        96,
2961        1,
2962        96,
2963        1,
2964        96,
2965        160,
2966        27,
2967        3,
2968        129,
2969        22,
2970        129,
2971        20,
2972        97,
2973        0,
2974        78,
2975        87,
2976        96,
2977        0,
2978        128,
2979        253,
2980        91,
2981        96,
2982        0,
2983        91,
2984        131,
2985        129,
2986        16,
2987        21,
2988        97,
2989        2,
2990        144,
2991        87,
2992        129,
2993        129,
2994        1,
2995        81,
2996        131,
2997        130,
2998        1,
2999        82,
3000        96,
3001        32,
3002        1,
3003        97,
3004        2,
3005        120,
3006        86,
3007        91,
3008        131,
3009        129,
3010        17,
3011        21,
3012        97,
3013        2,
3014        159,
3015        87,
3016        96,
3017        0,
3018        132,
3019        132,
3020        1,
3021        82,
3022        91,
3023        80,
3024        80,
3025        80,
3026        80,
3027        86,
3028        91,
3029        96,
3030        0,
3031        130,
3032        81,
3033        97,
3034        2,
3035        183,
3036        129,
3037        132,
3038        96,
3039        32,
3040        135,
3041        1,
3042        97,
3043        2,
3044        117,
3045        86,
3046        91,
3047        145,
3048        144,
3049        145,
3050        1,
3051        146,
3052        145,
3053        80,
3054        80,
3055        86,
3056        91,
3057        96,
3058        32,
3059        129,
3060        82,
3061        96,
3062        0,
3063        130,
3064        81,
3065        128,
3066        96,
3067        32,
3068        132,
3069        1,
3070        82,
3071        97,
3072        2,
3073        224,
3074        129,
3075        96,
3076        64,
3077        133,
3078        1,
3079        96,
3080        32,
3081        135,
3082        1,
3083        97,
3084        2,
3085        117,
3086        86,
3087        91,
3088        96,
3089        31,
3090        1,
3091        96,
3092        31,
3093        25,
3094        22,
3095        145,
3096        144,
3097        145,
3098        1,
3099        96,
3100        64,
3101        1,
3102        146,
3103        145,
3104        80,
3105        80,
3106        86,
3107        254,
3108        65,
3109        100,
3110        100,
3111        114,
3112        101,
3113        115,
3114        115,
3115        58,
3116        32,
3117        108,
3118        111,
3119        119,
3120        45,
3121        108,
3122        101,
3123        118,
3124        101,
3125        108,
3126        32,
3127        100,
3128        101,
3129        108,
3130        101,
3131        103,
3132        97,
3133        116,
3134        101,
3135        32,
3136        99,
3137        97,
3138        108,
3139        108,
3140        32,
3141        102,
3142        97,
3143        105,
3144        108,
3145        101,
3146        100,
3147        162,
3148        100,
3149        105,
3150        112,
3151        102,
3152        115,
3153        88,
3154        34,
3155        18,
3156        32,
3157        225,
3158        131,
3159        126,
3160        226,
3161        165,
3162        227,
3163        228,
3164        109,
3165        170,
3166        226,
3167        57,
3168        216,
3169        227,
3170        55,
3171        37,
3172        189,
3173        178,
3174        172,
3175        146,
3176        179,
3177        61,
3178        82,
3179        68,
3180        245,
3181        174,
3182        117,
3183        68,
3184        249,
3185        233,
3186        101,
3187        139,
3188        224,
3189        100,
3190        115,
3191        111,
3192        108,
3193        99,
3194        67,
3195        0,
3196        8,
3197        13,
3198        0,
3199        51,
3200    ];
3201    ///The deployed bytecode of the contract.
3202    pub static BEACONPROXY_DEPLOYED_BYTECODE: ::ethers_core::types::Bytes = ::ethers_core::types::Bytes::from_static(
3203        __DEPLOYED_BYTECODE,
3204    );
3205    pub struct BeaconProxy<M>(::ethers_contract::Contract<M>);
3206    impl<M> ::core::clone::Clone for BeaconProxy<M> {
3207        fn clone(&self) -> Self {
3208            Self(::core::clone::Clone::clone(&self.0))
3209        }
3210    }
3211    impl<M> ::core::ops::Deref for BeaconProxy<M> {
3212        type Target = ::ethers_contract::Contract<M>;
3213        fn deref(&self) -> &Self::Target {
3214            &self.0
3215        }
3216    }
3217    impl<M> ::core::ops::DerefMut for BeaconProxy<M> {
3218        fn deref_mut(&mut self) -> &mut Self::Target {
3219            &mut self.0
3220        }
3221    }
3222    impl<M> ::core::fmt::Debug for BeaconProxy<M> {
3223        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3224            f.debug_tuple(stringify!(BeaconProxy)).field(&self.address()).finish()
3225        }
3226    }
3227    impl<M: ::ethers_providers::Middleware> BeaconProxy<M> {
3228        /// Creates a new contract instance with the specified `ethers` client at
3229        /// `address`. The contract derefs to a `ethers::Contract` object.
3230        pub fn new<T: Into<::ethers_core::types::Address>>(
3231            address: T,
3232            client: ::std::sync::Arc<M>,
3233        ) -> Self {
3234            Self(
3235                ::ethers_contract::Contract::new(
3236                    address.into(),
3237                    BEACONPROXY_ABI.clone(),
3238                    client,
3239                ),
3240            )
3241        }
3242        /// Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it.
3243        /// Returns a new instance of a deployer that returns an instance of this contract after sending the transaction
3244        ///
3245        /// Notes:
3246        /// - If there are no constructor arguments, you should pass `()` as the argument.
3247        /// - The default poll duration is 7 seconds.
3248        /// - The default number of confirmations is 1 block.
3249        ///
3250        ///
3251        /// # Example
3252        ///
3253        /// Generate contract bindings with `abigen!` and deploy a new contract instance.
3254        ///
3255        /// *Note*: this requires a `bytecode` and `abi` object in the `greeter.json` artifact.
3256        ///
3257        /// ```ignore
3258        /// # async fn deploy<M: ethers::providers::Middleware>(client: ::std::sync::Arc<M>) {
3259        ///     abigen!(Greeter, "../greeter.json");
3260        ///
3261        ///    let greeter_contract = Greeter::deploy(client, "Hello world!".to_string()).unwrap().send().await.unwrap();
3262        ///    let msg = greeter_contract.greet().call().await.unwrap();
3263        /// # }
3264        /// ```
3265        pub fn deploy<T: ::ethers_core::abi::Tokenize>(
3266            client: ::std::sync::Arc<M>,
3267            constructor_args: T,
3268        ) -> ::core::result::Result<
3269            ::ethers_contract::builders::ContractDeployer<M, Self>,
3270            ::ethers_contract::ContractError<M>,
3271        > {
3272            let factory = ::ethers_contract::ContractFactory::new(
3273                BEACONPROXY_ABI.clone(),
3274                BEACONPROXY_BYTECODE.clone().into(),
3275                client,
3276            );
3277            let deployer = factory.deploy(constructor_args)?;
3278            let deployer = ::ethers_contract::ContractDeployer::new(deployer);
3279            Ok(deployer)
3280        }
3281        ///Gets the contract's `AdminChanged` event
3282        pub fn admin_changed_filter(
3283            &self,
3284        ) -> ::ethers_contract::builders::Event<
3285            ::std::sync::Arc<M>,
3286            M,
3287            AdminChangedFilter,
3288        > {
3289            self.0.event()
3290        }
3291        ///Gets the contract's `BeaconUpgraded` event
3292        pub fn beacon_upgraded_filter(
3293            &self,
3294        ) -> ::ethers_contract::builders::Event<
3295            ::std::sync::Arc<M>,
3296            M,
3297            BeaconUpgradedFilter,
3298        > {
3299            self.0.event()
3300        }
3301        ///Gets the contract's `Upgraded` event
3302        pub fn upgraded_filter(
3303            &self,
3304        ) -> ::ethers_contract::builders::Event<::std::sync::Arc<M>, M, UpgradedFilter> {
3305            self.0.event()
3306        }
3307        /// Returns an `Event` builder for all the events of this contract.
3308        pub fn events(
3309            &self,
3310        ) -> ::ethers_contract::builders::Event<
3311            ::std::sync::Arc<M>,
3312            M,
3313            BeaconProxyEvents,
3314        > {
3315            self.0.event_with_filter(::core::default::Default::default())
3316        }
3317    }
3318    impl<M: ::ethers_providers::Middleware> From<::ethers_contract::Contract<M>>
3319    for BeaconProxy<M> {
3320        fn from(contract: ::ethers_contract::Contract<M>) -> Self {
3321            Self::new(contract.address(), contract.client())
3322        }
3323    }
3324    #[derive(
3325        Clone,
3326        ::ethers_contract::EthEvent,
3327        ::ethers_contract::EthDisplay,
3328        Default,
3329        Debug,
3330        PartialEq,
3331        Eq,
3332        Hash
3333    )]
3334    #[ethevent(name = "AdminChanged", abi = "AdminChanged(address,address)")]
3335    pub struct AdminChangedFilter {
3336        pub previous_admin: ::ethers_core::types::Address,
3337        pub new_admin: ::ethers_core::types::Address,
3338    }
3339    #[derive(
3340        Clone,
3341        ::ethers_contract::EthEvent,
3342        ::ethers_contract::EthDisplay,
3343        Default,
3344        Debug,
3345        PartialEq,
3346        Eq,
3347        Hash
3348    )]
3349    #[ethevent(name = "BeaconUpgraded", abi = "BeaconUpgraded(address)")]
3350    pub struct BeaconUpgradedFilter {
3351        #[ethevent(indexed)]
3352        pub beacon: ::ethers_core::types::Address,
3353    }
3354    #[derive(
3355        Clone,
3356        ::ethers_contract::EthEvent,
3357        ::ethers_contract::EthDisplay,
3358        Default,
3359        Debug,
3360        PartialEq,
3361        Eq,
3362        Hash
3363    )]
3364    #[ethevent(name = "Upgraded", abi = "Upgraded(address)")]
3365    pub struct UpgradedFilter {
3366        #[ethevent(indexed)]
3367        pub implementation: ::ethers_core::types::Address,
3368    }
3369    ///Container type for all of the contract's events
3370    #[derive(Clone, ::ethers_contract::EthAbiType, Debug, PartialEq, Eq, Hash)]
3371    pub enum BeaconProxyEvents {
3372        AdminChangedFilter(AdminChangedFilter),
3373        BeaconUpgradedFilter(BeaconUpgradedFilter),
3374        UpgradedFilter(UpgradedFilter),
3375    }
3376    impl ::ethers_contract::EthLogDecode for BeaconProxyEvents {
3377        fn decode_log(
3378            log: &::ethers_core::abi::RawLog,
3379        ) -> ::core::result::Result<Self, ::ethers_core::abi::Error> {
3380            if let Ok(decoded) = AdminChangedFilter::decode_log(log) {
3381                return Ok(BeaconProxyEvents::AdminChangedFilter(decoded));
3382            }
3383            if let Ok(decoded) = BeaconUpgradedFilter::decode_log(log) {
3384                return Ok(BeaconProxyEvents::BeaconUpgradedFilter(decoded));
3385            }
3386            if let Ok(decoded) = UpgradedFilter::decode_log(log) {
3387                return Ok(BeaconProxyEvents::UpgradedFilter(decoded));
3388            }
3389            Err(::ethers_core::abi::Error::InvalidData)
3390        }
3391    }
3392    impl ::core::fmt::Display for BeaconProxyEvents {
3393        fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3394            match self {
3395                Self::AdminChangedFilter(element) => {
3396                    ::core::fmt::Display::fmt(element, f)
3397                }
3398                Self::BeaconUpgradedFilter(element) => {
3399                    ::core::fmt::Display::fmt(element, f)
3400                }
3401                Self::UpgradedFilter(element) => ::core::fmt::Display::fmt(element, f),
3402            }
3403        }
3404    }
3405    impl ::core::convert::From<AdminChangedFilter> for BeaconProxyEvents {
3406        fn from(value: AdminChangedFilter) -> Self {
3407            Self::AdminChangedFilter(value)
3408        }
3409    }
3410    impl ::core::convert::From<BeaconUpgradedFilter> for BeaconProxyEvents {
3411        fn from(value: BeaconUpgradedFilter) -> Self {
3412            Self::BeaconUpgradedFilter(value)
3413        }
3414    }
3415    impl ::core::convert::From<UpgradedFilter> for BeaconProxyEvents {
3416        fn from(value: UpgradedFilter) -> Self {
3417            Self::UpgradedFilter(value)
3418        }
3419    }
3420}