openzeppelin_rs/contracts/
Escrow.rs

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