Contract 0x1111111254fb6c44bac0bed2854e76f90643097d 18

Contract Overview

1inch v4: Router
Balance:
1 wei

AVAX Value:
Less Than $0.01 (@ $12.93/AVAX)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1fc9f780a18016bc9fbf18d89c104faf689e188406422ce7e808f8c4547ca6fbSwap230477672022-11-30 20:09:0344 secs ago0xf7626459234e9249808a06aa08dc6b67c8e0a2fc IN 1inch v4: Router10,000 AVAX0.009600275 25.000000001
0x0a8edda2c49d69c54d6ffe982f9389016d913eafadf06aa1d656b178ab2733d2Swap230475432022-11-30 20:01:248 mins ago0xe5d6bbb5788b0123fcc4bfb6a3755993f1f15950 IN 1inch v4: Router5 AVAX0.00451822 28
0x6acddc69d2bb85b8b35e4ff4f8cd9ddb4c13b54ae34ef5f81129f3f7a76a6b9dSwap230466002022-11-30 19:29:4540 mins ago0x34523c7d24be4db75b08fb78e52a50e2452edc9b IN 1inch v4: Router0 AVAX0.0102716927.5
0x9fb869d38aa56845c8f1c26f61cbd10dc4fbfa5f4a289a429c2e94187a7ce868Swap230464572022-11-30 19:24:5744 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.0207616525.000000001
0x97c56b792085c5804f3f834305a768b187a4a9e85ad87c7bbcc2993ff8737052Swap230464012022-11-30 19:23:0246 mins ago0xaadf465695b80d5f8a1079b6646ba0bdbbaa4307 IN 1inch v4: Router0 AVAX0.0062623475 26.5
0x8cd12eb01a4a49aa60c938f654c0a716454d001120430c203c4286d5e46d7c66Swap230463812022-11-30 19:22:2147 mins ago0xaadf465695b80d5f8a1079b6646ba0bdbbaa4307 IN 1inch v4: Router0 AVAX0.0059930545 26.5
0xfecedb97e5e4469b728853aa820580b816d2efc4127b1ffdf5f8d6a909c9f887Swap230463572022-11-30 19:21:3348 mins ago0xaadf465695b80d5f8a1079b6646ba0bdbbaa4307 IN 1inch v4: Router0 AVAX0.0372639555 26.5
0x6f725cd83e25a55b7401b9c1542e8c1a3bb7a5647db02018414dfc237a0c5960Swap230461592022-11-30 19:14:5654 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.01740352525.000000001
0x3c2a6370ab7805c8c8335b09e7eaab74d4bd02f3ea995df06ddc064c1a580d1eSwap230461402022-11-30 19:14:1555 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.02377857525.000000001
0x5d1becb997c86a5295c5103f18b0e39116b46bab078818acec2c9ff8db6e8571Swap230461052022-11-30 19:13:0456 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.052925374896 26.6515
0x77e9a16020a5295c441ce91a151f7ddb59060ef6cddac486e4f13e9c3617e5f5Swap230460592022-11-30 19:11:3158 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.05889713622 34.131
0x96a4ac6b8f254dc753e673e6635333973c3d501aec1349afe14d83edc4244db8Swap230459122022-11-30 19:06:361 hr 3 mins ago0x18615bcf792a9af80bc0000e5d0d66148afa7b30 IN 1inch v4: Router0 AVAX0.005639359 26.5
0x98a0348fba9ba7770d0a1ea1eaf92735954e4b2b33fb4e9874045f90eef18c7cSwap230458802022-11-30 19:05:321 hr 4 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.03335545000125.000000001
0xba54941d800fbac43682231a54223e6b678bca20644899d5e1e0eb885345a179Swap230458672022-11-30 19:05:031 hr 4 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.02388998429 26.101
0x22ec37fc5cdd3dbd773ff7655cc469f1acc0c9313f30d396a9f785b5ff269e5fSwap230458642022-11-30 19:04:551 hr 4 mins ago0x456325f2ac7067234dd71e01bebe032b0255e039 IN 1inch v4: Router0 AVAX0.011729587537.5
0x281aeea4da54721dad66b16683b5c5e276ed5a7fab097bbe54d8c564945a6f0eSwap230458552022-11-30 19:04:381 hr 5 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.058111598057 27.7525
0xe6fcc68c500a9bc3e36e295de50c0f71c8f2043990a819b5ae9c13311ef78d51Swap230458522022-11-30 19:04:341 hr 5 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.03547297500125.000000001
0x9b1576322a143a3a1c76b6d30d9710becbf8e21e394a959cda31d9f4ac3bfd8fSwap230458082022-11-30 19:03:061 hr 6 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.03575402500125.000000001
0x6da3befe2db7e9ab67e69048d0604996eafcf607158fec4e83da009360c7b1b1Swap230455562022-11-30 18:54:421 hr 15 mins ago0x41d78651428dcd28053de79513c7df9fab6225e2 IN 1inch v4: Router0 AVAX0.009004925 25
0x7c5f527db99fe9479ff11dfd8e390c795a6092c83a97a8a2f480467d21ce34f4Swap230455392022-11-30 18:54:071 hr 15 mins ago0x456325f2ac7067234dd71e01bebe032b0255e039 IN 1inch v4: Router0 AVAX0.063975337537.5
0x93d32cd2b7c926a25ad2c13541d129edc4bbfab76c21a81992dee76b5d1f70adSwap230454322022-11-30 18:50:301 hr 19 mins ago0x456325f2ac7067234dd71e01bebe032b0255e039 IN 1inch v4: Router0 AVAX0.014155012537.5
0x114e67c9223b474220c26192110cb0c3cf3c558db0ba79a9353faad50749141eSwap230451142022-11-30 18:39:361 hr 30 mins ago0x0ffeb87106910eefc69c1902f411b431ffc424ff IN 1inch v4: Router0 AVAX0.02923435000125.000000001
0x6576e3389f44f7fe1c019a3114859d3c8adef0b9fdb759237b403871381ac871Swap230451062022-11-30 18:39:181 hr 30 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.017859460827 29.887709903
0x57a9fe2b18660b637912f916d1465a89ec9c1e38db81a4b8725c1ae958181aadSwap230450932022-11-30 18:38:581 hr 30 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.023194139164 41.548984953
0x61b02d1837e9a78fb3076e57dad7aca605bc8a1f49cb8f42cb1aebe15a9e0548Swap230450832022-11-30 18:38:381 hr 31 mins ago0x7b536ee885f49f3754e86e2942bbd01ad13fe56e IN 1inch v4: Router0 AVAX0.057585981152 27.202
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x1fc9f780a18016bc9fbf18d89c104faf689e188406422ce7e808f8c4547ca6fb230477672022-11-30 20:09:0344 secs ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd6410,000 AVAX
0x7a76e97d74c1eaf5a7e16ad7ec445a26a6880c5fed109b897c26b56b04dc7836230477522022-11-30 20:08:331 min ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd6479 AVAX
0x7a76e97d74c1eaf5a7e16ad7ec445a26a6880c5fed109b897c26b56b04dc7836230477522022-11-30 20:08:331 min ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router79 AVAX
0x8c228debeb7744034cdf0594f254e6c97fcffaef658dcf0a0371910786c12d9f230476832022-11-30 20:06:123 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd641.78425 AVAX
0x8c228debeb7744034cdf0594f254e6c97fcffaef658dcf0a0371910786c12d9f230476832022-11-30 20:06:123 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router1.78425 AVAX
0x027a95497e53392a0856e085eb97274bad2cfb24302efdc48212c042d5557066230476392022-11-30 20:04:425 mins ago 1inch v4: Router Socket: Registry1.008346889023357531 AVAX
0x027a95497e53392a0856e085eb97274bad2cfb24302efdc48212c042d5557066230476392022-11-30 20:04:425 mins ago 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd641inch v4: Router1.008346889023357531 AVAX
0x7a6486ec508fc73b6568542cc8b112eb992454e34ee07f2a07a36e1228016d04230476362022-11-30 20:04:375 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd641.9825 AVAX
0x7a6486ec508fc73b6568542cc8b112eb992454e34ee07f2a07a36e1228016d04230476362022-11-30 20:04:375 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router1.9825 AVAX
0x371e40dcfff1ff4fd177cad9640132c7d76003d8b751bede7d7ae01916d2f94b230475952022-11-30 20:03:116 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd640.0495625 AVAX
0x371e40dcfff1ff4fd177cad9640132c7d76003d8b751bede7d7ae01916d2f94b230475952022-11-30 20:03:116 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router0.0495625 AVAX
0x0a8edda2c49d69c54d6ffe982f9389016d913eafadf06aa1d656b178ab2733d2230475432022-11-30 20:01:248 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd645 AVAX
0xdd79865b69d82a131aaae588ac1cdf20d23574e463be6289c20cb8bb0d302ac6230474702022-11-30 19:58:5510 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd640.19825 AVAX
0xdd79865b69d82a131aaae588ac1cdf20d23574e463be6289c20cb8bb0d302ac6230474702022-11-30 19:58:5510 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router0.19825 AVAX
0x235934697a62bbefea78f8a4d4d80c29bc7ff22f68e424a1c7508c64c5145db4230473292022-11-30 19:54:1115 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd640.495625 AVAX
0x235934697a62bbefea78f8a4d4d80c29bc7ff22f68e424a1c7508c64c5145db4230473292022-11-30 19:54:1115 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router0.495625 AVAX
0x03848859e9718e10fb8fd5377a4cb52b6e3d70b1284de5e55832970686a8d915230472132022-11-30 19:50:1919 mins ago 1inch v4: Router 0xc590175e458b83680867afd273527ff58f74c02b2.609641598440684247 AVAX
0x03848859e9718e10fb8fd5377a4cb52b6e3d70b1284de5e55832970686a8d915230472132022-11-30 19:50:1919 mins ago 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd641inch v4: Router2.609641598440684247 AVAX
0xd0a2bbbf0e8b5731659b1ba886f9a4a38ff630c3db1eb2815d8562e0e8066c8a230469862022-11-30 19:42:4027 mins ago 1inch v4: Router 0xc590175e458b83680867afd273527ff58f74c02b1.097223608092423436 AVAX
0xd0a2bbbf0e8b5731659b1ba886f9a4a38ff630c3db1eb2815d8562e0e8066c8a230469862022-11-30 19:42:4027 mins ago 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd641inch v4: Router1.097223608092423436 AVAX
0x832b129e90f94886199c91dcd48092734beccfe1f2a5e3632f43d59a83647147230467952022-11-30 19:36:1233 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd648.92125 AVAX
0x832b129e90f94886199c91dcd48092734beccfe1f2a5e3632f43d59a83647147230467952022-11-30 19:36:1233 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router8.92125 AVAX
0x169e0d4622d607a1f24da1b9683f439162f5adc10a2a082dc4da904c38c35936230466782022-11-30 19:32:2037 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd640.495625 AVAX
0x169e0d4622d607a1f24da1b9683f439162f5adc10a2a082dc4da904c38c35936230466782022-11-30 19:32:2037 mins ago 0xc590175e458b83680867afd273527ff58f74c02b1inch v4: Router0.495625 AVAX
0x627b01b98232b2bd94d970ce086eda6e8b52a23ca60510d820b2ca1c588a15ab230466632022-11-30 19:31:4937 mins ago 1inch v4: Router 0xd41b24bba51fac0e4827b6f94c0d6ddeb183cd64148.6875 AVAX
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AggregationRouterV4

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-12-22
*/

/*
                                                           ,▄▓▓██▌   ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                                                        ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                                                  ▄█   ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                                                 ▓██▌ ▓██╬╣██████╬▓▌  ██████████████████████▌╙╙▀ⁿ
                                                ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                                  └▀▓▓▄╓        ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                                     └▀████▓▄╥  ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                                        └▀██▓▀▀█████▓╬▓██████▀     ▄█████▒╠"      └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                                           └▀██▄,└╙▀▀████▌└╙    ^"▀╙╙╙"╙██      @▄    ╙▀███████╬╬╬╬╬╬╬██µ
                                              └▀██▓▄, ██▌       ╒       ╙█▓     ]▓█▓╔    ▀███████▓╬╬╬╬╬▓█▌
                                                  ▀█████       ▓         ╟█▌    ]╠██▓░▒╓   ▀████████╬╬╬╬╣█▌
                                                  ▐████      ╓█▀█▌      ,██▌    ╚Å███▓▒▒╠╓  ╙█████████╬╬╬╣█▌
                                                  └████     ▓█░░▓█      ▀▀▀    φ▒╫████▒▒▒▒╠╓  █████████▓╬╬▓█µ
                                                   ╘███µ ▌▄█▓▄▓▀`     ,▀    ,╔╠░▓██████▌╠▒▒▒φ  ██████████╬╬██
                                                   ▐████µ╙▓▀`     ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                                                   ╫██ ▓▌         ▌φ▒▒░▓██████████████▌▒░▓╚▒▒▒╠ ▓██╬▓██████╣█▌
                                                   ██▌           ▌╔▒▒▄████████████████▒▒▒░▌╠▒▒▒≥▐██▓╬╬███████▌
                                                   ██▌      ,╓φ╠▓«▒▒▓████▀  ▀█████████▌▒▒▒╟░▒▒▒▒▐███╬╬╣████▓█▌
                                                  ▐██      ╠▒▄▓▓███▓████└     ▀████████▌▒▒░▌╚▒▒▒▐███▓╬╬████ ╙▌
                                                  ███  )  ╠▒░░░▒░╬████▀        └████████░▒▒░╬∩▒▒▓████╬╬╣███
                                                 ▓██    ╠╠▒▒▐█▀▀▌`░╫██           ███████▒▒▒▒░▒▒½█████╬╬╣███
                                                ███ ,█▄ ╠▒▒▒╫▌,▄▀,▒╫██           ╟██████▒▒▒░╣⌠▒▓█████╬╬╣██▌
                                               ╘██µ ██` ╠▒▒░██╬φ╠▄▓██`            ██████░░▌φ╠░▓█████▓╬╬▓██
                                                ╟██  .φ╠▒░▄█▀░░▄██▀└              █████▌▒╣φ▒░▓██████╬╬╣██
                                                 ▀██▄▄▄╓▄███████▀                ▐█████░▓φ▒▄███████▓╬╣██
                                                   ╙▀▀▀██▀└                      ████▓▄▀φ▄▓████████╬▓█▀
                                                                                ▓███╬╩╔╣██████████▓██└
                                                                              ╓████▀▄▓████████▀████▀
                                                                            ,▓███████████████─]██╙
                                                                         ,▄▓██████████████▀└  ╙
                                                                    ,╓▄▓███████████████▀╙
                                                             `"▀▀▀████████▀▀▀▀`▄███▀▀└
                                                                              └└



                    11\   11\                     11\             11\   11\            11\                                       11\
                  1111 |  \__|                    11 |            111\  11 |           11 |                                      11 |
                  \_11 |  11\ 1111111\   1111111\ 1111111\        1111\ 11 | 111111\ 111111\   11\  11\  11\  111111\   111111\  11 |  11\
                    11 |  11 |11  __11\ 11  _____|11  __11\       11 11\11 |11  __11\\_11  _|  11 | 11 | 11 |11  __11\ 11  __11\ 11 | 11  |
                    11 |  11 |11 |  11 |11 /      11 |  11 |      11 \1111 |11111111 | 11 |    11 | 11 | 11 |11 /  11 |11 |  \__|111111  /
                    11 |  11 |11 |  11 |11 |      11 |  11 |      11 |\111 |11   ____| 11 |11\ 11 | 11 | 11 |11 |  11 |11 |      11  _11<
                  111111\ 11 |11 |  11 |\1111111\ 11 |  11 |      11 | \11 |\1111111\  \1111  |\11111\1111  |\111111  |11 |      11 | \11\
                  \______|\__|\__|  \__| \_______|\__|  \__|      \__|  \__| \_______|  \____/  \_____\____/  \______/ \__|      \__|  \__|



                               111111\                                                               11\     11\
                              11  __11\                                                              11 |    \__|
                              11 /  11 | 111111\   111111\   111111\   111111\   111111\   111111\ 111111\   11\  111111\  1111111\
                              11111111 |11  __11\ 11  __11\ 11  __11\ 11  __11\ 11  __11\  \____11\\_11  _|  11 |11  __11\ 11  __11\
                              11  __11 |11 /  11 |11 /  11 |11 |  \__|11111111 |11 /  11 | 1111111 | 11 |    11 |11 /  11 |11 |  11 |
                              11 |  11 |11 |  11 |11 |  11 |11 |      11   ____|11 |  11 |11  __11 | 11 |11\ 11 |11 |  11 |11 |  11 |
                              11 |  11 |\1111111 |\1111111 |11 |      \1111111\ \1111111 |\1111111 | \1111  |11 |\111111  |11 |  11 |
                              \__|  \__| \____11 | \____11 |\__|       \_______| \____11 | \_______|  \____/ \__| \______/ \__|  \__|
                                        11\   11 |11\   11 |                    11\   11 |
                                        \111111  |\111111  |                    \111111  |
                                         \______/  \______/                      \______/
                                                1111111\                        11\
                                                11  __11\                       11 |
                                                11 |  11 | 111111\  11\   11\ 111111\    111111\   111111\
                                                1111111  |11  __11\ 11 |  11 |\_11  _|  11  __11\ 11  __11\
                                                11  __11< 11 /  11 |11 |  11 |  11 |    11111111 |11 |  \__|
                                                11 |  11 |11 |  11 |11 |  11 |  11 |11\ 11   ____|11 |
                                                11 |  11 |\111111  |\111111  |  \1111  |\1111111\ 11 |
                                                \__|  \__| \______/  \______/    \____/  \_______|\__|
*/

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File @openzeppelin/contracts/access/[email protected]

pragma solidity ^0.7.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File @openzeppelin/contracts/math/[email protected]

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity ^0.7.0;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File contracts/helpers/EthReceiver.sol

pragma solidity ^0.7.6;

/// @title Base contract with common payable logics
abstract contract EthReceiver {
    receive() external payable {
        // solhint-disable-next-line avoid-tx-origin
        require(msg.sender != tx.origin, "ETH deposit rejected");
    }
}

// File @openzeppelin/contracts/drafts/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File contracts/helpers/RevertReasonParser.sol

pragma solidity ^0.7.6;

/// @title Library that allows to parse unsuccessful arbitrary calls revert reasons.
/// See https://solidity.readthedocs.io/en/latest/control-structures.html#revert for details.
/// Note that we assume revert reason being abi-encoded as Error(string) so it may fail to parse reason
/// if structured reverts appear in the future.
///
/// All unsuccessful parsings get encoded as Unknown(data) string
library RevertReasonParser {
    bytes4 constant private _PANIC_SELECTOR = bytes4(keccak256("Panic(uint256)"));
    bytes4 constant private _ERROR_SELECTOR = bytes4(keccak256("Error(string)"));

    function parse(bytes memory data, string memory prefix) internal pure returns (string memory) {
        if (data.length >= 4) {
            bytes4 selector;
            assembly {  // solhint-disable-line no-inline-assembly
                selector := mload(add(data, 0x20))
            }

            // 68 = 4-byte selector + 32 bytes offset + 32 bytes length
            if (selector == _ERROR_SELECTOR && data.length >= 68) {
                uint256 offset;
                bytes memory reason;
                // solhint-disable no-inline-assembly
                assembly {
                    // 36 = 32 bytes data length + 4-byte selector
                    offset := mload(add(data, 36))
                    reason := add(data, add(36, offset))
                }
                /*
                    revert reason is padded up to 32 bytes with ABI encoder: Error(string)
                    also sometimes there is extra 32 bytes of zeros padded in the end:
                    https://github.com/ethereum/solidity/issues/10170
                    because of that we can't check for equality and instead check
                    that offset + string length + extra 36 bytes is less than overall data length
                */
                require(data.length >= 36 + offset + reason.length, "Invalid revert reason");
                return string(abi.encodePacked(prefix, "Error(", reason, ")"));
            }
            // 36 = 4-byte selector + 32 bytes integer
            else if (selector == _PANIC_SELECTOR && data.length == 36) {
                uint256 code;
                // solhint-disable no-inline-assembly
                assembly {
                    // 36 = 32 bytes data length + 4-byte selector
                    code := mload(add(data, 36))
                }
                return string(abi.encodePacked(prefix, "Panic(", _toHex(code), ")"));
            }
        }

        return string(abi.encodePacked(prefix, "Unknown(", _toHex(data), ")"));
    }

    function _toHex(uint256 value) private pure returns(string memory) {
        return _toHex(abi.encodePacked(value));
    }

    function _toHex(bytes memory data) private pure returns(string memory) {
        bytes16 alphabet = 0x30313233343536373839616263646566;
        bytes memory str = new bytes(2 + data.length * 2);
        str[0] = "0";
        str[1] = "x";
        for (uint256 i = 0; i < data.length; i++) {
            str[2 * i + 2] = alphabet[uint8(data[i] >> 4)];
            str[2 * i + 3] = alphabet[uint8(data[i] & 0x0f)];
        }
        return string(str);
    }
}

// File contracts/interfaces/IDaiLikePermit.sol

pragma solidity ^0.7.6;

/// @title Interface for DAI-style permits
interface IDaiLikePermit {
    function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) external;
}

// File contracts/helpers/Permitable.sol

pragma solidity ^0.7.6;

/// @title Base contract with common permit handling logics
contract Permitable {
    function _permit(address token, bytes calldata permit) internal {
        if (permit.length > 0) {
            bool success;
            bytes memory result;
            if (permit.length == 32 * 7) {
                // solhint-disable-next-line avoid-low-level-calls
                (success, result) = token.call(abi.encodePacked(IERC20Permit.permit.selector, permit));
            } else if (permit.length == 32 * 8) {
                // solhint-disable-next-line avoid-low-level-calls
                (success, result) = token.call(abi.encodePacked(IDaiLikePermit.permit.selector, permit));
            } else {
                revert("Wrong permit length");
            }
            if (!success) {
                revert(RevertReasonParser.parse(result, "Permit failed: "));
            }
        }
    }
}

// File contracts/helpers/UniERC20.sol

pragma solidity ^0.7.6;

library UniERC20 {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 private constant _ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
    IERC20 private constant _ZERO_ADDRESS = IERC20(0);

    function isETH(IERC20 token) internal pure returns (bool) {
        return (token == _ZERO_ADDRESS || token == _ETH_ADDRESS);
    }

    function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) {
        if (isETH(token)) {
            return account.balance;
        } else {
            return token.balanceOf(account);
        }
    }

    function uniTransfer(IERC20 token, address payable to, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                to.transfer(amount);
            } else {
                token.safeTransfer(to, amount);
            }
        }
    }

    function uniApprove(IERC20 token, address to, uint256 amount) internal {
        require(!isETH(token), "Approve called on ETH");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(abi.encodeWithSelector(token.approve.selector, to, amount));

        if (!success || (returndata.length > 0 && !abi.decode(returndata, (bool)))) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, 0));
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, amount));
        }
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory result) = address(token).call(data);
        if (!success) {
            revert(RevertReasonParser.parse(result, "Low-level call failed: "));
        }

        if (result.length > 0) { // Return data is optional
            require(abi.decode(result, (bool)), "ERC20 operation did not succeed");
        }
    }
}

// File contracts/interfaces/IAggregationExecutor.sol

pragma solidity ^0.7.6;

/// @title Interface for making arbitrary calls during swap
interface IAggregationExecutor {
    /// @notice Make calls on `msgSender` with specified data
    function callBytes(address msgSender, bytes calldata data) external payable;  // 0x2636f7f8
}

// File @openzeppelin/contracts/drafts/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = _getChainId();
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view virtual returns (bytes32) {
        if (_getChainId() == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                _getChainId(),
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash));
    }

    function _getChainId() private view returns (uint256 chainId) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }
}

// File contracts/helpers/ECDSA.sol

pragma solidity ^0.7.6;

/**
 * @dev Simplified copy of OpenZeppelin ECDSA library downgraded to 0.7.6
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/541e82144f691aa171c53ba8c3b32ef7f05b99a5/contracts/utils/cryptography/ECDSA.sol
 *
 * Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {  // solhint-disable-line no-inline-assembly
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {  // solhint-disable-line no-inline-assembly
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return address(0);
        }
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        bytes32 s;
        uint8 v;
        assembly {  // solhint-disable-line no-inline-assembly
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }
        if (v != 27 && v != 28) {
            return address(0);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return address(0);
        }

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

// File contracts/interfaces/IERC1271.sol

pragma solidity ^0.7.6;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 */
interface IERC1271 {
    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param hash      Hash of the data to be signed
     * @param signature Signature byte array associated with _data
     */
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}

// File contracts/interfaces/IWETH.sol

pragma solidity ^0.7.6;

/// @title Interface for WETH tokens
interface IWETH is IERC20 {
    function deposit() external payable;
    function withdraw(uint256 amount) external;
}

// File contracts/LimitOrderProtocolRFQ.sol

pragma solidity ^0.7.6;
pragma abicoder v2;

contract LimitOrderProtocolRFQ is EthReceiver, EIP712("1inch RFQ", "2"), Permitable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    event OrderFilledRFQ(
        bytes32 orderHash,
        uint256 makingAmount
    );

    struct OrderRFQ {
        // lowest 64 bits is the order id, next 64 bits is the expiration timestamp
        // highest bit is unwrap WETH flag which is set on taker's side
        // [unwrap eth(1 bit) | unused (127 bits) | expiration timestamp(64 bits) | orderId (64 bits)]
        uint256 info;
        IERC20 makerAsset;
        IERC20 takerAsset;
        address maker;
        address allowedSender;  // equals to Zero address on public orders
        uint256 makingAmount;
        uint256 takingAmount;
    }

    bytes32 constant public LIMIT_ORDER_RFQ_TYPEHASH = keccak256(
        "OrderRFQ(uint256 info,address makerAsset,address takerAsset,address maker,address allowedSender,uint256 makingAmount,uint256 takingAmount)"
    );
    uint256 private constant _UNWRAP_WETH_MASK = 1 << 255;

    IWETH private immutable _WETH;  // solhint-disable-line var-name-mixedcase
    mapping(address => mapping(uint256 => uint256)) private _invalidator;

    constructor(address weth) {
        _WETH = IWETH(weth);
    }

    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns(bytes32) {
        return _domainSeparatorV4();
    }

    /// @notice Returns bitmask for double-spend invalidators based on lowest byte of order.info and filled quotes
    /// @return Result Each bit represents whenever corresponding quote was filled
    function invalidatorForOrderRFQ(address maker, uint256 slot) external view returns(uint256) {
        return _invalidator[maker][slot];
    }

    /// @notice Cancels order's quote
    function cancelOrderRFQ(uint256 orderInfo) external {
        _invalidateOrder(msg.sender, orderInfo);
    }

    /// @notice Fills order's quote, fully or partially (whichever is possible)
    /// @param order Order quote to fill
    /// @param signature Signature to confirm quote ownership
    /// @param makingAmount Making amount
    /// @param takingAmount Taking amount
    function fillOrderRFQ(
        OrderRFQ memory order,
        bytes calldata signature,
        uint256 makingAmount,
        uint256 takingAmount
    ) external payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) {
        return fillOrderRFQTo(order, signature, makingAmount, takingAmount, payable(msg.sender));
    }

    /// @notice Fills Same as `fillOrderRFQ` but calls permit first,
    /// allowing to approve token spending and make a swap in one transaction.
    /// Also allows to specify funds destination instead of `msg.sender`
    /// @param order Order quote to fill
    /// @param signature Signature to confirm quote ownership
    /// @param makingAmount Making amount
    /// @param takingAmount Taking amount
    /// @param target Address that will receive swap funds
    /// @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call.
    /// See tests for examples
    function fillOrderRFQToWithPermit(
        OrderRFQ memory order,
        bytes calldata signature,
        uint256 makingAmount,
        uint256 takingAmount,
        address payable target,
        bytes calldata permit
    ) external returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) {
        _permit(address(order.takerAsset), permit);
        return fillOrderRFQTo(order, signature, makingAmount, takingAmount, target);
    }

    /// @notice Same as `fillOrderRFQ` but allows to specify funds destination instead of `msg.sender`
    /// @param order Order quote to fill
    /// @param signature Signature to confirm quote ownership
    /// @param makingAmount Making amount
    /// @param takingAmount Taking amount
    /// @param target Address that will receive swap funds
    function fillOrderRFQTo(
        OrderRFQ memory order,
        bytes calldata signature,
        uint256 makingAmount,
        uint256 takingAmount,
        address payable target
    ) public payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) {
        address maker = order.maker;
        bool unwrapWETH = (order.info & _UNWRAP_WETH_MASK) > 0;
        order.info = order.info & (_UNWRAP_WETH_MASK - 1);  // zero-out unwrap weth flag as it is taker-only
        {  // Stack too deep
            uint256 info = order.info;
            // Check time expiration
            uint256 expiration = uint128(info) >> 64;
            require(expiration == 0 || block.timestamp <= expiration, "LOP: order expired");  // solhint-disable-line not-rely-on-time
            _invalidateOrder(maker, info);
        }

        {  // stack too deep
            uint256 orderMakingAmount = order.makingAmount;
            uint256 orderTakingAmount = order.takingAmount;
            // Compute partial fill if needed
            if (takingAmount == 0 && makingAmount == 0) {
                // Two zeros means whole order
                makingAmount = orderMakingAmount;
                takingAmount = orderTakingAmount;
            }
            else if (takingAmount == 0) {
                require(makingAmount <= orderMakingAmount, "LOP: making amount exceeded");
                takingAmount = orderTakingAmount.mul(makingAmount).add(orderMakingAmount - 1).div(orderMakingAmount);
            }
            else if (makingAmount == 0) {
                require(takingAmount <= orderTakingAmount, "LOP: taking amount exceeded");
                makingAmount = orderMakingAmount.mul(takingAmount).div(orderTakingAmount);
            }
            else {
                revert("LOP: one of amounts should be 0");
            }
        }

        require(makingAmount > 0 && takingAmount > 0, "LOP: can't swap 0 amount");

        // Validate order
        require(order.allowedSender == address(0) || order.allowedSender == msg.sender, "LOP: private order");
        bytes32 orderHash = _hashTypedDataV4(keccak256(abi.encode(LIMIT_ORDER_RFQ_TYPEHASH, order)));
        _validate(maker, orderHash, signature);

        // Maker => Taker
        if (order.makerAsset == _WETH && unwrapWETH) {
            order.makerAsset.safeTransferFrom(maker, address(this), makingAmount);
            _WETH.withdraw(makingAmount);
            target.transfer(makingAmount);
        } else {
            order.makerAsset.safeTransferFrom(maker, target, makingAmount);
        }
        // Taker => Maker
        if (order.takerAsset == _WETH && msg.value > 0) {
            require(msg.value == takingAmount, "LOP: wrong msg.value");
            _WETH.deposit{ value: takingAmount }();
            _WETH.transfer(maker, takingAmount);
        } else {
            require(msg.value == 0, "LOP: wrong msg.value");
            order.takerAsset.safeTransferFrom(msg.sender, maker, takingAmount);
        }

        emit OrderFilledRFQ(orderHash, makingAmount);
        return (makingAmount, takingAmount);
    }

    function _validate(address signer, bytes32 orderHash, bytes calldata signature) private view {
        if (ECDSA.tryRecover(orderHash, signature) != signer) {
            (bool success, bytes memory result) = signer.staticcall(
                abi.encodeWithSelector(IERC1271.isValidSignature.selector, orderHash, signature)
            );
            require(success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector, "LOP: bad signature");
        }
    }

    function _invalidateOrder(address maker, uint256 orderInfo) private {
        uint256 invalidatorSlot = uint64(orderInfo) >> 8;
        uint256 invalidatorBit = 1 << uint8(orderInfo);
        mapping(uint256 => uint256) storage invalidatorStorage = _invalidator[maker];
        uint256 invalidator = invalidatorStorage[invalidatorSlot];
        require(invalidator & invalidatorBit == 0, "LOP: invalidated order");
        invalidatorStorage[invalidatorSlot] = invalidator | invalidatorBit;
    }
}

// File contracts/UnoswapRouter.sol

pragma solidity ^0.7.6;

contract UnoswapRouter is EthReceiver, Permitable {
    uint256 private constant _TRANSFER_FROM_CALL_SELECTOR_32 = 0x23b872dd00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_DEPOSIT_CALL_SELECTOR_32 = 0xd0e30db000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_WITHDRAW_CALL_SELECTOR_32 = 0x2e1a7d4d00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _ERC20_TRANSFER_CALL_SELECTOR_32 = 0xa9059cbb00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _ADDRESS_MASK =   0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff;
    uint256 private constant _REVERSE_MASK =   0x8000000000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_MASK =      0x4000000000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _NUMERATOR_MASK = 0x0000000000000000ffffffff0000000000000000000000000000000000000000;
    /// @dev WETH address is network-specific and needs to be changed before deployment.
    /// It can not be moved to immutable as immutables are not supported in assembly
    uint256 private constant _WETH = 0x000000000000000000000000B31f66AA3C1e785363F0875A1B74E27b85FD66c7;
    uint256 private constant _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32 = 0x0902f1ac00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32 = 0x022c0d9f00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _DENOMINATOR = 1000000000;
    uint256 private constant _NUMERATOR_OFFSET = 160;

    /// @notice Same as `unoswap` but calls permit first,
    /// allowing to approve token spending and make a swap in one transaction.
    /// @param srcToken Source token
    /// @param amount Amount of source tokens to swap
    /// @param minReturn Minimal allowed returnAmount to make transaction commit
    /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen
    /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.
    /// See tests for examples
    function unoswapWithPermit(
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        bytes32[] calldata pools,
        bytes calldata permit
    ) external returns(uint256 returnAmount) {
        _permit(address(srcToken), permit);
        return unoswap(srcToken, amount, minReturn, pools);
    }

    /// @notice Performs swap using Uniswap exchange. Wraps and unwraps ETH if required.
    /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited
    /// @param srcToken Source token
    /// @param amount Amount of source tokens to swap
    /// @param minReturn Minimal allowed returnAmount to make transaction commit
    /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen
    function unoswap(
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        // solhint-disable-next-line no-unused-vars
        bytes32[] calldata pools
    ) public payable returns(uint256 returnAmount) {
        assembly {  // solhint-disable-line no-inline-assembly
            function reRevert() {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }

            function revertWithReason(m, len) {
                mstore(0, 0x08c379a000000000000000000000000000000000000000000000000000000000)
                mstore(0x20, 0x0000002000000000000000000000000000000000000000000000000000000000)
                mstore(0x40, m)
                revert(0, len)
            }

            function swap(emptyPtr, swapAmount, pair, reversed, numerator, dst) -> ret {
                mstore(emptyPtr, _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32)
                if iszero(staticcall(gas(), pair, emptyPtr, 0x4, emptyPtr, 0x40)) {
                    reRevert()
                }
                if iszero(eq(returndatasize(), 0x60)) {
                    revertWithReason(0x0000001472657365727665732063616c6c206661696c65640000000000000000, 0x59)  // "reserves call failed"
                }

                let reserve0 := mload(emptyPtr)
                let reserve1 := mload(add(emptyPtr, 0x20))
                if reversed {
                    let tmp := reserve0
                    reserve0 := reserve1
                    reserve1 := tmp
                }
                ret := mul(swapAmount, numerator)
                ret := div(mul(ret, reserve1), add(ret, mul(reserve0, _DENOMINATOR)))

                mstore(emptyPtr, _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32)
                switch reversed
                case 0 {
                    mstore(add(emptyPtr, 0x04), 0)
                    mstore(add(emptyPtr, 0x24), ret)
                }
                default {
                    mstore(add(emptyPtr, 0x04), ret)
                    mstore(add(emptyPtr, 0x24), 0)
                }
                mstore(add(emptyPtr, 0x44), dst)
                mstore(add(emptyPtr, 0x64), 0x80)
                mstore(add(emptyPtr, 0x84), 0)
                if iszero(call(gas(), pair, 0, emptyPtr, 0xa4, 0, 0)) {
                    reRevert()
                }
            }

            let emptyPtr := mload(0x40)
            mstore(0x40, add(emptyPtr, 0xc0))

            let poolsOffset := add(calldataload(0x64), 0x4)
            let poolsEndOffset := calldataload(poolsOffset)
            poolsOffset := add(poolsOffset, 0x20)
            poolsEndOffset := add(poolsOffset, mul(0x20, poolsEndOffset))
            let rawPair := calldataload(poolsOffset)
            switch srcToken
            case 0 {
                if iszero(eq(amount, callvalue())) {
                    revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55)  // "invalid msg.value"
                }

                mstore(emptyPtr, _WETH_DEPOSIT_CALL_SELECTOR_32)
                if iszero(call(gas(), _WETH, amount, emptyPtr, 0x4, 0, 0)) {
                    reRevert()
                }

                mstore(emptyPtr, _ERC20_TRANSFER_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x4), and(rawPair, _ADDRESS_MASK))
                mstore(add(emptyPtr, 0x24), amount)
                if iszero(call(gas(), _WETH, 0, emptyPtr, 0x44, 0, 0)) {
                    reRevert()
                }
            }
            default {
                if callvalue() {
                    revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55)  // "invalid msg.value"
                }

                mstore(emptyPtr, _TRANSFER_FROM_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x4), caller())
                mstore(add(emptyPtr, 0x24), and(rawPair, _ADDRESS_MASK))
                mstore(add(emptyPtr, 0x44), amount)
                if iszero(call(gas(), srcToken, 0, emptyPtr, 0x64, 0, 0)) {
                    reRevert()
                }
            }

            returnAmount := amount

            for {let i := add(poolsOffset, 0x20)} lt(i, poolsEndOffset) {i := add(i, 0x20)} {
                let nextRawPair := calldataload(i)

                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    and(nextRawPair, _ADDRESS_MASK)
                )

                rawPair := nextRawPair
            }

            switch and(rawPair, _WETH_MASK)
            case 0 {
                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    caller()
                )
            }
            default {
                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    address()
                )

                mstore(emptyPtr, _WETH_WITHDRAW_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x04), returnAmount)
                if iszero(call(gas(), _WETH, 0, emptyPtr, 0x24, 0, 0)) {
                    reRevert()
                }

                if iszero(call(gas(), caller(), returnAmount, 0, 0, 0, 0)) {
                    reRevert()
                }
            }

            if lt(returnAmount, minReturn) {
                revertWithReason(0x000000164d696e2072657475726e206e6f742072656163686564000000000000, 0x5a)  // "Min return not reached"
            }
        }
    }
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value < 2**64, "SafeCast: value doesn\'t fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value < 2**32, "SafeCast: value doesn\'t fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value < 2**16, "SafeCast: value doesn\'t fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value < 2**8, "SafeCast: value doesn\'t fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= -2**127 && value < 2**127, "SafeCast: value doesn\'t fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= -2**63 && value < 2**63, "SafeCast: value doesn\'t fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= -2**31 && value < 2**31, "SafeCast: value doesn\'t fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= -2**15 && value < 2**15, "SafeCast: value doesn\'t fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= -2**7 && value < 2**7, "SafeCast: value doesn\'t fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        require(value < 2**255, "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

// File contracts/interfaces/IUniswapV3Pool.sol

pragma solidity ^0.7.6;

interface IUniswapV3Pool {
    /// @notice Swap token0 for token1, or token1 for token0
    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback
    /// @param recipient The address to receive the output of the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @param data Any data to be passed through to the callback
    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive
    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive
    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);
}

// File contracts/interfaces/IUniswapV3SwapCallback.sol

pragma solidity ^0.7.6;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

// File contracts/UnoswapV3Router.sol

pragma solidity ^0.7.6;

contract UnoswapV3Router is EthReceiver, Permitable, IUniswapV3SwapCallback {
    using Address for address payable;
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    uint256 private constant _ONE_FOR_ZERO_MASK = 1 << 255;
    uint256 private constant _WETH_WRAP_MASK = 1 << 254;
    uint256 private constant _WETH_UNWRAP_MASK = 1 << 253;
    bytes32 private constant _POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;
    bytes32 private constant _FF_FACTORY = 0xff1F98431c8aD98523631AE4a59f267346ea31F9840000000000000000000000;
    bytes32 private constant _SELECTORS = 0x0dfe1681d21220a7ddca3f430000000000000000000000000000000000000000;
    uint256 private constant _ADDRESS_MASK =   0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff;
    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 private constant _MIN_SQRT_RATIO = 4295128739 + 1;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 private constant _MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342 - 1;
    IWETH private immutable _WETH;  // solhint-disable-line var-name-mixedcase

    constructor(address weth) {
        _WETH = IWETH(weth);
    }

    /// @notice Same as `uniswapV3SwapTo` but calls permit first,
    /// allowing to approve token spending and make a swap in one transaction.
    /// @param recipient Address that will receive swap funds
    /// @param srcToken Source token
    /// @param amount Amount of source tokens to swap
    /// @param minReturn Minimal allowed returnAmount to make transaction commit
    /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen
    /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.
    /// See tests for examples
    function uniswapV3SwapToWithPermit(
        address payable recipient,
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools,
        bytes calldata permit
    ) external returns(uint256 returnAmount) {
        _permit(address(srcToken), permit);
        return uniswapV3SwapTo(recipient, amount, minReturn, pools);
    }

    /// @notice Same as `uniswapV3SwapTo` but uses `msg.sender` as recipient
    /// @param amount Amount of source tokens to swap
    /// @param minReturn Minimal allowed returnAmount to make transaction commit
    /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen
    function uniswapV3Swap(
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools
    ) external payable returns(uint256 returnAmount) {
        return uniswapV3SwapTo(msg.sender, amount, minReturn, pools);
    }

    /// @notice Performs swap using Uniswap V3 exchange. Wraps and unwraps ETH if required.
    /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited
    /// @param recipient Address that will receive swap funds
    /// @param amount Amount of source tokens to swap
    /// @param minReturn Minimal allowed returnAmount to make transaction commit
    /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen
    function uniswapV3SwapTo(
        address payable recipient,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools
    ) public payable returns(uint256 returnAmount) {
        uint256 len = pools.length;
        require(len > 0, "UNIV3R: empty pools");
        uint256 lastIndex = len - 1;
        returnAmount = amount;
        bool wrapWeth = pools[0] & _WETH_WRAP_MASK > 0;
        bool unwrapWeth = pools[lastIndex] & _WETH_UNWRAP_MASK > 0;
        if (wrapWeth) {
            require(msg.value == amount, "UNIV3R: wrong msg.value");
            _WETH.deposit{value: amount}();
        } else {
            require(msg.value == 0, "UNIV3R: msg.value should be 0");
        }
        if (len > 1) {
            returnAmount = _makeSwap(address(this), wrapWeth ? address(this) : msg.sender, pools[0], returnAmount);

            for (uint256 i = 1; i < lastIndex; i++) {
                returnAmount = _makeSwap(address(this), address(this), pools[i], returnAmount);
            }
            returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, address(this), pools[lastIndex], returnAmount);
        } else {
            returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, wrapWeth ? address(this) : msg.sender, pools[0], returnAmount);
        }

        require(returnAmount >= minReturn, "UNIV3R: min return");

        if (unwrapWeth) {
            _WETH.withdraw(returnAmount);
            recipient.sendValue(returnAmount);
        }
    }

    /// @inheritdoc IUniswapV3SwapCallback
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata /* data */
    ) external override {
        IERC20 token0;
        IERC20 token1;
        bytes32 ffFactoryAddress = _FF_FACTORY;
        bytes32 poolInitCodeHash = _POOL_INIT_CODE_HASH;
        address payer;

        assembly {  // solhint-disable-line no-inline-assembly
            function reRevert() {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }

            function revertWithReason(m, len) {
                mstore(0x00, 0x08c379a000000000000000000000000000000000000000000000000000000000)
                mstore(0x20, 0x0000002000000000000000000000000000000000000000000000000000000000)
                mstore(0x40, m)
                revert(0, len)
            }

            let emptyPtr := mload(0x40)
            let resultPtr := add(emptyPtr, 0x20)
            mstore(emptyPtr, _SELECTORS)

            if iszero(staticcall(gas(), caller(), emptyPtr, 0x4, resultPtr, 0x20)) {
                reRevert()
            }
            token0 := mload(resultPtr)
            if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x4), 0x4, resultPtr, 0x20)) {
                reRevert()
            }
            token1 := mload(resultPtr)
            if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x8), 0x4, resultPtr, 0x20)) {
                reRevert()
            }
            let fee := mload(resultPtr)

            let p := emptyPtr
            mstore(p, ffFactoryAddress)
            p := add(p, 21)
            // Compute the inner hash in-place
            mstore(p, token0)
            mstore(add(p, 32), token1)
            mstore(add(p, 64), fee)
            mstore(p, keccak256(p, 96))
            p := add(p, 32)
            mstore(p, poolInitCodeHash)
            let pool := and(keccak256(emptyPtr, 85), _ADDRESS_MASK)

            if iszero(eq(pool, caller())) {
                revertWithReason(0x00000010554e495633523a2062616420706f6f6c000000000000000000000000, 0x54)  // UNIV3R: bad pool
            }

            calldatacopy(emptyPtr, 0x84, 0x20)
            payer := mload(emptyPtr)
        }

        if (amount0Delta > 0) {
            if (payer == address(this)) {
                token0.safeTransfer(msg.sender, uint256(amount0Delta));
            } else {
                token0.safeTransferFrom(payer, msg.sender, uint256(amount0Delta));
            }
        }
        if (amount1Delta > 0) {
            if (payer == address(this)) {
                token1.safeTransfer(msg.sender, uint256(amount1Delta));
            } else {
                token1.safeTransferFrom(payer, msg.sender, uint256(amount1Delta));
            }
        }
    }

    function _makeSwap(address recipient, address payer, uint256 pool, uint256 amount) private returns (uint256) {
        bool zeroForOne = pool & _ONE_FOR_ZERO_MASK == 0;
        if (zeroForOne) {
            (, int256 amount1) = IUniswapV3Pool(pool).swap(
                recipient,
                zeroForOne,
                SafeCast.toInt256(amount),
                _MIN_SQRT_RATIO,
                abi.encode(payer)
            );
            return SafeCast.toUint256(-amount1);
        } else {
            (int256 amount0,) = IUniswapV3Pool(pool).swap(
                recipient,
                zeroForOne,
                SafeCast.toInt256(amount),
                _MAX_SQRT_RATIO,
                abi.encode(payer)
            );
            return SafeCast.toUint256(-amount0);
        }
    }
}

// File contracts/AggregationRouterV4.sol

pragma solidity ^0.7.6;

contract AggregationRouterV4 is Ownable, EthReceiver, Permitable, UnoswapRouter, UnoswapV3Router, LimitOrderProtocolRFQ {
    using SafeMath for uint256;
    using UniERC20 for IERC20;
    using SafeERC20 for IERC20;

    uint256 private constant _PARTIAL_FILL = 1 << 0;
    uint256 private constant _REQUIRES_EXTRA_ETH = 1 << 1;

    struct SwapDescription {
        IERC20 srcToken;
        IERC20 dstToken;
        address payable srcReceiver;
        address payable dstReceiver;
        uint256 amount;
        uint256 minReturnAmount;
        uint256 flags;
        bytes permit;
    }

    constructor(address weth)
        UnoswapV3Router(weth)
        LimitOrderProtocolRFQ(weth)
    {}  // solhint-disable-line no-empty-blocks

    /// @notice Performs a swap, delegating all calls encoded in `data` to `caller`. See tests for usage examples
    /// @param caller Aggregation executor that executes calls described in `data`
    /// @param desc Swap description
    /// @param data Encoded calls that `caller` should execute in between of swaps
    /// @return returnAmount Resulting token amount
    /// @return spentAmount Source token amount
    /// @return gasLeft Gas left
    function swap(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata data
    )
        external
        payable
        returns (
            uint256 returnAmount,
            uint256 spentAmount,
            uint256 gasLeft
        )
    {
        require(desc.minReturnAmount > 0, "Min return should not be 0");
        require(data.length > 0, "data should not be empty");

        uint256 flags = desc.flags;
        IERC20 srcToken = desc.srcToken;
        IERC20 dstToken = desc.dstToken;

        bool srcETH = srcToken.isETH();
        if (flags & _REQUIRES_EXTRA_ETH != 0) {
            require(msg.value > (srcETH ? desc.amount : 0), "Invalid msg.value");
        } else {
            require(msg.value == (srcETH ? desc.amount : 0), "Invalid msg.value");
        }

        if (!srcETH) {
            _permit(address(srcToken), desc.permit);
            srcToken.safeTransferFrom(msg.sender, desc.srcReceiver, desc.amount);
        }

        {
            bytes memory callData = abi.encodePacked(caller.callBytes.selector, bytes12(0), msg.sender, data);
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, bytes memory result) = address(caller).call{value: msg.value}(callData);
            if (!success) {
                revert(RevertReasonParser.parse(result, "callBytes failed: "));
            }
        }

        spentAmount = desc.amount;
        // we leave 1 wei on the router for gas optimisations reasons
        returnAmount = dstToken.uniBalanceOf(address(this)).sub(1, "Result should not be 0");

        if (flags & _PARTIAL_FILL != 0) {
            uint256 unspentAmount = srcToken.uniBalanceOf(address(this));
            if (unspentAmount > 0) {
                spentAmount = spentAmount.sub(unspentAmount);
                srcToken.uniTransfer(msg.sender, unspentAmount);
            }
            require(returnAmount.mul(desc.amount) >= desc.minReturnAmount.mul(spentAmount), "Return amount is not enough");
        } else {
            require(returnAmount >= desc.minReturnAmount, "Return amount is not enough");
        }

        address payable dstReceiver = (desc.dstReceiver == address(0)) ? msg.sender : desc.dstReceiver;
        dstToken.uniTransfer(dstReceiver, returnAmount);

        gasLeft = gasleft();
    }

    function rescueFunds(IERC20 token, uint256 amount) external onlyOwner {
        token.uniTransfer(msg.sender, amount);
    }

    function destroy() external onlyOwner {
        selfdestruct(msg.sender);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"makingAmount","type":"uint256"}],"name":"OrderFilledRFQ","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIMIT_ORDER_RFQ_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderInfo","type":"uint256"}],"name":"cancelOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"name":"fillOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"address payable","name":"target","type":"address"}],"name":"fillOrderRFQTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"address payable","name":"target","type":"address"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"fillOrderRFQToWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"maker","type":"address"},{"internalType":"uint256","name":"slot","type":"uint256"}],"name":"invalidatorForOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IAggregationExecutor","name":"caller","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"address payable","name":"srcReceiver","type":"address"},{"internalType":"address payable","name":"dstReceiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"},{"internalType":"uint256","name":"flags","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"internalType":"struct AggregationRouterV4.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"gasLeft","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"}],"name":"uniswapV3Swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"}],"name":"uniswapV3SwapTo","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"uniswapV3SwapToWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"pools","type":"bytes32[]"}],"name":"unoswap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"pools","type":"bytes32[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"unoswapWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101606040523480156200001257600080fd5b5060405162004a6f38038062004a6f8339810160408190526200003591620001a4565b80816040518060400160405280600981526020016831696e63682052465160b81b815250604051806040016040528060018152602001601960f91b8152506000620000856200015760201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350815160208084019190912082519183019190912060c082905260e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001186200015b565b60a052620001288184846200015f565b6080526101005250505050606090811b6001600160601b03199081166101205291901b16610140525062000200565b3390565b4690565b60008383836200016e6200015b565b3060405160200162000185959493929190620001d4565b6040516020818303038152906040528051906020012090509392505050565b600060208284031215620001b6578081fd5b81516001600160a01b0381168114620001cd578182fd5b9392505050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b60805160a05160c05160e051610100516101205160601c6101405160601c6147fc62000273600039806113dd52806114a05280611579528061161652806116cf52508061191f5280611b045250806121515250806121935250806121725250806120f852508061212852506147fc6000f3fe6080604052600436106101485760003560e01c8063825caba1116100c0578063bc80f1a811610074578063e449022e11610059578063e449022e1461035f578063f2fde38b14610372578063fa461e331461039257610192565b8063bc80f1a814610339578063d0a3b6651461034c57610192565b80638da5cb5b116100a55780638da5cb5b146102e4578063a1251d7514610306578063baba58551461032657610192565b8063825caba1146102af57806383197ef0146102cf57610192565b80634cc4a27b11610117578063715018a6116100fc578063715018a61461025857806378e3214f1461026d5780637c0252001461028d57610192565b80634cc4a27b1461020a57806356f161241461023857610192565b806306bf53d0146101975780632521b930146101c25780632e95b6c8146101e25780633644e515146101f557610192565b366101925733321415610190576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061411d565b60405180910390fd5b005b600080fd5b3480156101a357600080fd5b506101ac6103b2565b6040516101b99190613cfe565b60405180910390f35b3480156101ce57600080fd5b506101ac6101dd36600461353a565b6103d6565b6101ac6101f0366004613750565b6103fd565b34801561020157600080fd5b506101ac61094e565b34801561021657600080fd5b5061022a610225366004613946565b61095e565b6040516101b9929190613ec9565b34801561024457600080fd5b506101ac610253366004613647565b61098f565b34801561026457600080fd5b506101906109c7565b34801561027957600080fd5b50610190610288366004613647565b610aa9565b6102a061029b3660046136d2565b610b41565b6040516101b9939291906146ff565b3480156102bb57600080fd5b506101906102ca3660046139d0565b61100f565b3480156102db57600080fd5b5061019061101c565b3480156102f057600080fd5b506102f9611092565b6040516101b99190613d07565b34801561031257600080fd5b506101ac610321366004613767565b6110ae565b61022a6103343660046138c9565b6110d4565b6101ac6103473660046135df565b61180a565b61022a61035a366004613862565b611b99565b6101ac61036d366004613a00565b611bb8565b34801561037e57600080fd5b5061019061038d36600461351e565b611bd2565b34801561039e57600080fd5b506101906103ad36600461381d565b611d1f565b7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4581565b60006103e3888484611f3a565b6103f0898888888861180a565b9998505050505050505050565b6000610568565b3d6000803e3d6000fd5b7f08c379a0000000000000000000000000000000000000000000000000000000006000527c200000000000000000000000000000000000000000000000000000000060205280604052816000fd5b60007f0902f1ac000000000000000000000000000000000000000000000000000000008252604082600484875afa61049657610496610404565b60603d146104c6576104c660597c1472657365727665732063616c6c206661696c6564000000000000000061040e565b8151602083015186156104d557905b7f022c0d9f000000000000000000000000000000000000000000000000000000008452878502633b9aca0092909202820191020490508480156105245781600484015260006024840152610532565b600060048401528160248401525b50866044830152608060648301526000608483015260008060a4846000885af161055e5761055e610404565b9695505050505050565b60405160c0810160405260046064350180356020820191508060200282019050813589600081146106285734156105c1576105c160557c11696e76616c6964206d73672e76616c7565000000000000000000000061040e565b7f23b872dd00000000000000000000000000000000000000000000000000000000855233600486015273ffffffffffffffffffffffffffffffffffffffff8216602486015289604486015260008060648760008f5af161062357610623610404565b610714565b348a146106575761065760557c11696e76616c6964206d73672e76616c7565000000000000000000000061040e565b7fd0e30db00000000000000000000000000000000000000000000000000000000085526000806004878d73b31f66aa3c1e785363f0875a1b74e27b85fd66c75af16106a4576106a4610404565b7fa9059cbb00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff82166004860152896024860152600080604487600073b31f66aa3c1e785363f0875a1b74e27b85fd66c75af161071457610714610404565b50889450602083015b828110156107ac5780356107a073ffffffffffffffffffffffffffffffffffffffff821677ffffffff0000000000000000000000000000000000000000851660a01c7f8000000000000000000000000000000000000000000000000000000000000000861673ffffffffffffffffffffffffffffffffffffffff87168b8b61045c565b9650915060200161071d565b507f4000000000000000000000000000000000000000000000000000000000000000811680156108aa576108393077ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a61045c565b95507f2e1a7d4d000000000000000000000000000000000000000000000000000000008552856004860152600080602487600073b31f66aa3c1e785363f0875a1b74e27b85fd66c75af161088f5761088f610404565b60008060008089335af16108a5576108a5610404565b610910565b61090d3377ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a61045c565b95505b50505050508381101561094557610945605a7c164d696e2072657475726e206e6f74207265616368656400000000000061040e565b95945050505050565b60006109586120f4565b90505b90565b6000806109708a604001518585611f3a565b61097e8a8a8a8a8a8a6110d4565b915091509850989650505050505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b6109cf6121be565b73ffffffffffffffffffffffffffffffffffffffff166109ed611092565b73ffffffffffffffffffffffffffffffffffffffff1614610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906143ea565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610ab16121be565b73ffffffffffffffffffffffffffffffffffffffff16610acf611092565b73ffffffffffffffffffffffffffffffffffffffff1614610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906143ea565b610b3d73ffffffffffffffffffffffffffffffffffffffff831633836121c2565b5050565b6000806000808660a0013511610b83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614356565b83610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906146c8565b60c08601356000610bce602089018961351e565b90506000610be260408a0160208b0161351e565b90506000610c058373ffffffffffffffffffffffffffffffffffffffff16612240565b90506002841615610c5f5780610c1c576000610c22565b89608001355b3411610c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614154565b610ca9565b80610c6b576000610c71565b89608001355b3414610ca9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614154565b80610cfb57610cc483610cbf60e08d018d614715565b611f3a565b610cfb33610cd860608d0160408e0161351e565b73ffffffffffffffffffffffffffffffffffffffff8616919060808e0135612296565b604051600090610d37907f2636f7f80000000000000000000000000000000000000000000000000000000090839033908e908e90602001613a8f565b60405160208183030381529060405290506000808d73ffffffffffffffffffffffffffffffffffffffff163484604051610d719190613b5c565b60006040518083038185875af1925050503d8060008114610dae576040519150601f19603f3d011682016040523d82523d6000602084013e610db3565b606091505b509150915081610e2f57610dfc816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a20000000000000000000000000000081525061233f565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879190613ef5565b505060408051808201909152601681527f526573756c742073686f756c64206e6f74206265203000000000000000000000602082015260808c01359750610e9b9150600190610e9473ffffffffffffffffffffffffffffffffffffffff8616306124ea565b91906125c1565b96506001841615610f57576000610ec873ffffffffffffffffffffffffffffffffffffffff8516306124ea565b90508015610efd57610eda878261260c565b9650610efd73ffffffffffffffffffffffffffffffffffffffff851633836121c2565b610f0b60a08c01358861264e565b610f198960808e013561264e565b1015610f51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061431f565b50610f95565b8960a00135871015610f95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061431f565b600080610fa860808d0160608e0161351e565b73ffffffffffffffffffffffffffffffffffffffff1614610fd857610fd360808c0160608d0161351e565b610fda565b335b9050610ffd73ffffffffffffffffffffffffffffffffffffffff8416828a6121c2565b5a955050505050509450945094915050565b61101933826126a2565b50565b6110246121be565b73ffffffffffffffffffffffffffffffffffffffff16611042611092565b73ffffffffffffffffffffffffffffffffffffffff161461108f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906143ea565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60006110bb888484611f3a565b6110c888888888886103fd565b98975050505050505050565b606086015186517f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116808952600092839290917f8000000000000000000000000000000000000000000000000000000000000000821615159160401c67ffffffffffffffff168015806111485750804211155b61117e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061401b565b61118884836126a2565b505060a08a015160c08b0151871580156111a0575088155b156111b0578198508097506112bc565b8761123657818911156111ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613f76565b61122f826112297fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201611223858e61264e565b90612740565b9061277f565b97506112bc565b8861128a5780881115611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613f3f565b61128381611229848b61264e565b98506112bc565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906145c6565b50506000871180156112ce5750600086115b611304576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614532565b60808a015173ffffffffffffffffffffffffffffffffffffffff161580611344575060808a015173ffffffffffffffffffffffffffffffffffffffff1633145b61137a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061448d565b60006113cd7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f458c6040516020016113b2929190613e53565b604051602081830303815290604052805190602001206127cb565b90506113db83828c8c612804565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168b6020015173ffffffffffffffffffffffffffffffffffffffff161480156114375750815b156115505760208b01516114639073ffffffffffffffffffffffffffffffffffffffff1684308b612296565b6040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d906114d5908b90600401613cfe565b600060405180830381600087803b1580156114ef57600080fd5b505af1158015611503573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff891692508a156108fc0291508a906000818181858888f1935050505015801561154a573d6000803e3d6000fd5b50611577565b60208b01516115779073ffffffffffffffffffffffffffffffffffffffff1684888b612296565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168b6040015173ffffffffffffffffffffffffffffffffffffffff161480156115d65750600034115b1561176157863414611614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613fad565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b15801561167c57600080fd5b505af1158015611690573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb9250611709915086908b90600401613da0565b602060405180830381600087803b15801561172357600080fd5b505af1158015611737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175b9190613672565b506117c0565b3415611799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613fad565b60408b01516117c09073ffffffffffffffffffffffffffffffffffffffff1633858a612296565b7fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca7812781896040516117f1929190613ec9565b60405180910390a1509599949850939650505050505050565b60008180611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613f08565b8591507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81016000807f40000000000000000000000000000000000000000000000000000000000000008787838161189857fe5b90506020020135161190506000807f20000000000000000000000000000000000000000000000000000000000000008888868181106118d357fe5b905060200201351611905081156119a35788341461191d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906145fd565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08a6040518263ffffffff1660e01b81526004016000604051808303818588803b15801561198557600080fd5b505af1158015611999573d6000803e3d6000fd5b50505050506119db565b34156119db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790613fe4565b6001841115611a6957611a0f30836119f357336119f5565b305b89896000818110611a0257fe5b9050602002013588612a29565b945060015b83811015611a4457611a3a30308a8a85818110611a2d57fe5b9050602002013589612a29565b9550600101611a14565b50611a6281611a53578a611a55565b305b30898987818110611a0257fe5b9450611a87565b611a8481611a77578a611a79565b305b836119f357336119f5565b94505b87851015611ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614691565b8015611b8c576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d90611b39908890600401613cfe565b600060405180830381600087803b158015611b5357600080fd5b505af1158015611b67573d6000803e3d6000fd5b50611b8c9250505073ffffffffffffffffffffffffffffffffffffffff8b1686612c0b565b5050505095945050505050565b600080611baa8787878787336110d4565b915091509550959350505050565b6000611bc7338686868661180a565b90505b949350505050565b611bda6121be565b73ffffffffffffffffffffffffffffffffffffffff16611bf8611092565b73ffffffffffffffffffffffffffffffffffffffff1614611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906143ea565b73ffffffffffffffffffffffffffffffffffffffff8116611c92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614052565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000807fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000007fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5482604051602081017f0dfe1681d21220a7ddca3f4300000000000000000000000000000000000000008252602081600484335afa611da457611da4610404565b805196506020816004808501335afa611dbf57611dbf610404565b80519550602081600460088501335afa611ddb57611ddb610404565b51848252601582018781526035830187815260558085019390935260608220909152849052812073ffffffffffffffffffffffffffffffffffffffff16338114611e4757611e4760547c10554e495633523a2062616420706f6f6c00000000000000000000000061040e565b506020608482375190506000891315611ec05773ffffffffffffffffffffffffffffffffffffffff8116301415611e9e57611e9973ffffffffffffffffffffffffffffffffffffffff8616338b612ce8565b611ec0565b611ec073ffffffffffffffffffffffffffffffffffffffff861682338c612296565b6000881315611f2f5773ffffffffffffffffffffffffffffffffffffffff8116301415611f0d57611f0873ffffffffffffffffffffffffffffffffffffffff8516338a612ce8565b611f2f565b611f2f73ffffffffffffffffffffffffffffffffffffffff851682338b612296565b505050505050505050565b80156120ef576000606060e083141561201f5760405173ffffffffffffffffffffffffffffffffffffffff861690611f9a907fd505accf000000000000000000000000000000000000000000000000000000009087908790602001613b20565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052611fd291613b5c565b6000604051808303816000865af19150503d806000811461200f576040519150601f19603f3d011682016040523d82523d6000602084013e612014565b606091505b5090925090506120a8565b6101008314156120765760405173ffffffffffffffffffffffffffffffffffffffff861690611f9a907f8fcbaf0c000000000000000000000000000000000000000000000000000000009087908790602001613b20565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061441f565b816120ec57610dfc816040518060400160405280600f81526020017f5065726d6974206661696c65643a20000000000000000000000000000000000081525061233f565b50505b505050565b60007f000000000000000000000000000000000000000000000000000000000000000061211f612d07565b141561214c57507f000000000000000000000000000000000000000000000000000000000000000061095b565b6121b77f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612d0b565b905061095b565b3390565b80156120ef576121d183612240565b1561221f5760405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015612219573d6000803e3d6000fd5b506120ef565b6120ef73ffffffffffffffffffffffffffffffffffffffff84168383612ce8565b600073ffffffffffffffffffffffffffffffffffffffff8216158061228e575073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b90505b919050565b612339846323b872dd60e01b8585856040516024016122b793929190613d28565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612d4c565b50505050565b606060048351106124b85760208301517fffffffff0000000000000000000000000000000000000000000000000000000081167f08c379a0000000000000000000000000000000000000000000000000000000001480156123a257506044845110155b15612427576000606060248601519150816024018601905080518260240101865110156123fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614456565b848160405160200161240e929190613c7c565b60405160208183030381529060405293505050506109c1565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e487b7100000000000000000000000000000000000000000000000000000000148015612479575083516024145b156124b65760248401518361248d82612e02565b60405160200161249e929190613b78565b604051602081830303815290604052925050506109c1565b505b816124c284612e28565b6040516020016124d3929190613bfa565b604051602081830303815290604052905092915050565b60006124f583612240565b15612518575073ffffffffffffffffffffffffffffffffffffffff8116316109c1565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a082319061256a908590600401613d07565b60206040518083038186803b15801561258257600080fd5b505afa158015612596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ba91906139e8565b90506109c1565b600081848411156125ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879190613ef5565b50508183035b9392505050565b600082821115612648576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061418b565b50900390565b60008261265d575060006109c1565b8282028284828161266a57fe5b0414612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061438d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020818152604080842066ffffffffffffff600887901c1680865292819052932054909260ff85169290921b919080831615612728576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906144fb565b60009384526020919091526040909220911790555050565b600082820183811015612605576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906140af565b60008082116127ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906142b3565b8183816127c357fe5b049392505050565b60006127d56120f4565b826040516020016127e7929190613cc8565b604051602081830303815290604052805190602001209050919050565b8373ffffffffffffffffffffffffffffffffffffffff1661285b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061306492505050565b73ffffffffffffffffffffffffffffffffffffffff1614612339576000808573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8686866040516024016128ad93929190613dff565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516129369190613b5c565b600060405180830381855afa9150503d8060008114612971576040519150601f19603f3d011682016040523d82523d6000602084013e612976565b606091505b5091509150818015612989575080516020145b80156129eb575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906129c79083016020908101908401613692565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b612a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906140e6565b505050505050565b60007f80000000000000000000000000000000000000000000000000000000000000008316158015612b2d5760008473ffffffffffffffffffffffffffffffffffffffff1663128acb088884612a7e886130c8565b6401000276a48b604051602001612a959190613d07565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612ac4959493929190613d59565b6040805180830381600087803b158015612add57600080fd5b505af1158015612af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1591906137fa565b915050612b2481600003613127565b92505050611bca565b60008473ffffffffffffffffffffffffffffffffffffffff1663128acb088884612b56886130c8565b73fffd8963efd1fc6a506488495d951d5263988d258b604051602001612b7c9190613d07565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612bab959493929190613d59565b6040805180830381600087803b158015612bc457600080fd5b505af1158015612bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfc91906137fa565b509050612b2481600003613127565b80471015612c45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879061421f565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c6b9061095b565b60006040518083038185875af1925050503d8060008114612ca8576040519150601f19603f3d011682016040523d82523d6000602084013e612cad565b606091505b50509050806120ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906141c2565b6120ef8363a9059cbb60e01b84846040516024016122b7929190613da0565b4690565b6000838383612d18612d07565b30604051602001612d2d959493929190613dc6565b6040516020818303038152906040528051906020012090509392505050565b6000612dae826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131639092919063ffffffff16565b8051909150156120ef5780806020019051810190612dcc9190613672565b6120ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614634565b606061228e82604051602001612e189190613cfe565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff81118015612e6e57600080fd5b506040519080825280601f01601f191660200182016040528015612e99576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612eca57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612f2757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561305c57826004868381518110612f7157fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110612fa757fe5b1a60f81b828260020260020181518110612fbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082858281518110612ff957fe5b60209101015160f81c600f166010811061300f57fe5b1a60f81b82826002026003018151811061302557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101612f59565b509392505050565b60008151604114156130985760208201516040830151606084015160001a61308e86828585613172565b93505050506109c1565b8151604014156130c057602082015160408301516130b7858383613260565b925050506109c1565b5060006109c1565b60007f80000000000000000000000000000000000000000000000000000000000000008210613123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614569565b5090565b600080821215613123576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906142ea565b6060611bca8484600085613299565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156131a457506000611bca565b8360ff16601b141580156131bc57508360ff16601c14155b156131c957506000611bca565b6000600186868686604051600081526020016040526040516131ee9493929190613ed7565b6020604051602081039080840390855afa158015613210573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116611bc7576000915050611bca565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b0161055e86828785613172565b6060824710156132d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018790614256565b6132de8561339a565b613314576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610187906144c4565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161333d9190613b5c565b60006040518083038185875af1925050503d806000811461337a576040519150601f19603f3d011682016040523d82523d6000602084013e61337f565b606091505b509150915061338f8282866133a0565b979650505050505050565b3b151590565b606083156133af575081612605565b8251156133bf5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101879190613ef5565b8035612291816147a4565b60008083601f84011261340f578182fd5b50813567ffffffffffffffff811115613426578182fd5b602083019150836020808302850101111561344057600080fd5b9250929050565b60008083601f840112613458578182fd5b50813567ffffffffffffffff81111561346f578182fd5b60208301915083602082850101111561344057600080fd5b600060e08284031215613498578081fd5b60405160e0810181811067ffffffffffffffff821117156134b557fe5b604052823581529050806134cb602084016133f3565b60208201526134dc604084016133f3565b60408201526134ed606084016133f3565b60608201526134fe608084016133f3565b608082015260a083013560a082015260c083013560c08201525092915050565b60006020828403121561352f578081fd5b8135612605816147a4565b60008060008060008060008060c0898b031215613555578384fd5b8835613560816147a4565b97506020890135613570816147a4565b96506040890135955060608901359450608089013567ffffffffffffffff8082111561359a578586fd5b6135a68c838d016133fe565b909650945060a08b01359150808211156135be578384fd5b506135cb8b828c01613447565b999c989b5096995094979396929594505050565b6000806000806000608086880312156135f6578081fd5b8535613601816147a4565b94506020860135935060408601359250606086013567ffffffffffffffff81111561362a578182fd5b613636888289016133fe565b969995985093965092949392505050565b60008060408385031215613659578182fd5b8235613664816147a4565b946020939093013593505050565b600060208284031215613683578081fd5b81518015158114612605578182fd5b6000602082840312156136a3578081fd5b81517fffffffff0000000000000000000000000000000000000000000000000000000081168114612605578182fd5b600080600080606085870312156136e7578384fd5b84356136f2816147a4565b9350602085013567ffffffffffffffff8082111561370e578485fd5b908601906101008289031215613722578485fd5b90935060408601359080821115613737578384fd5b5061374487828801613447565b95989497509550505050565b6000806000806000608086880312156135f6578283fd5b600080600080600080600060a0888a031215613781578081fd5b873561378c816147a4565b96506020880135955060408801359450606088013567ffffffffffffffff808211156137b6578283fd5b6137c28b838c016133fe565b909650945060808a01359150808211156137da578283fd5b506137e78a828b01613447565b989b979a50959850939692959293505050565b6000806040838503121561380c578182fd5b505080516020909101519092909150565b60008060008060608587031215613832578182fd5b8435935060208501359250604085013567ffffffffffffffff811115613856578283fd5b61374487828801613447565b6000806000806000610140868803121561387a578283fd5b6138848787613487565b945060e086013567ffffffffffffffff81111561389f578384fd5b6138ab88828901613447565b96999098509596610100810135966101209091013595509350505050565b60008060008060008061016087890312156138e2578384fd5b6138ec8888613487565b955060e087013567ffffffffffffffff811115613907578485fd5b61391389828a01613447565b90965094505061010087013592506101208701359150610140870135613938816147a4565b809150509295509295509295565b600080600080600080600080610180898b031215613962578182fd5b61396c8a8a613487565b975060e089013567ffffffffffffffff80821115613988578384fd5b6139948c838d01613447565b90995097506101008b013596506101208b013595506101408b013591506139ba826147a4565b9093506101608a013590808211156135be578384fd5b6000602082840312156139e1578081fd5b5035919050565b6000602082840312156139f9578081fd5b5051919050565b60008060008060608587031215613a15578182fd5b8435935060208501359250604085013567ffffffffffffffff811115613a39578283fd5b613744878288016133fe565b60008151808452613a5d816020860160208601614778565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff00000000000000000000000000000000000000000000000000000000871682527fffffffffffffffffffffffff0000000000000000000000000000000000000000861660048301527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b166010830152828460248401379101602401908152949350505050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b60008251613b6e818460208701614778565b9190910192915050565b60008351613b8a818460208801614778565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351613bc4816006840160208801614778565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b60008351613c0c818460208801614778565b7f556e6b6e6f776e280000000000000000000000000000000000000000000000009083019081528351613c46816008840160208801614778565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b60008351613c8e818460208801614778565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351613bc4816006840160208801614778565b7f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff8088168352861515602084015285604084015280851660608401525060a0608083015261338f60a0830184613a45565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b94855260208501939093526040840191909152606083015273ffffffffffffffffffffffffffffffffffffffff16608082015260a00190565b60008482526040602083015282604083015282846060840137818301606090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016010192915050565b60006101008201905083825282516020830152602083015173ffffffffffffffffffffffffffffffffffffffff80821660408501528060408601511660608501528060608601511660808501528060808601511660a0850152505060a083015160c083015260c083015160e08301529392505050565b918252602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526126056020830184613a45565b60208082526013908201527f554e495633523a20656d70747920706f6f6c7300000000000000000000000000604082015260600190565b6020808252601b908201527f4c4f503a2074616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b6020808252601b908201527f4c4f503a206d616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b60208082526014908201527f4c4f503a2077726f6e67206d73672e76616c7565000000000000000000000000604082015260600190565b6020808252601d908201527f554e495633523a206d73672e76616c75652073686f756c642062652030000000604082015260600190565b60208082526012908201527f4c4f503a206f7264657220657870697265640000000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526012908201527f4c4f503a20626164207369676e61747572650000000000000000000000000000604082015260600190565b60208082526014908201527f455448206465706f7369742072656a6563746564000000000000000000000000604082015260600190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252818101527f53616665436173743a2076616c7565206d75737420626520706f736974697665604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526013908201527f57726f6e67207065726d6974206c656e67746800000000000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b60208082526012908201527f4c4f503a2070726976617465206f726465720000000000000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526016908201527f4c4f503a20696e76616c696461746564206f7264657200000000000000000000604082015260600190565b60208082526018908201527f4c4f503a2063616e27742073776170203020616d6f756e740000000000000000604082015260600190565b60208082526028908201527f53616665436173743a2076616c756520646f65736e27742066697420696e206160408201527f6e20696e74323536000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4c4f503a206f6e65206f6620616d6f756e74732073686f756c64206265203000604082015260600190565b60208082526017908201527f554e495633523a2077726f6e67206d73672e76616c7565000000000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f554e495633523a206d696e2072657475726e0000000000000000000000000000604082015260600190565b60208082526018908201527f646174612073686f756c64206e6f7420626520656d7074790000000000000000604082015260600190565b9283526020830191909152604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112614749578283fd5b83018035915067ffffffffffffffff821115614763578283fd5b60200191503681900382131561344057600080fd5b60005b8381101561479357818101518382015260200161477b565b838111156123395750506000910152565b73ffffffffffffffffffffffffffffffffffffffff8116811461101957600080fdfea264697066735822122080f13dba1550627f0556c7d382305517add984af4f6a19e2e84ef653052bba7864736f6c63430007060033000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7

-----Decoded View---------------
Arg [0] : weth (address): 0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7


Deployed ByteCode Sourcemap

92263:3850:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34783:10;34797:9;34783:23;;34775:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;92263:3850;;;;;56589:218;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85470:386;;;;;;;;;;-1:-1:-1;85470:386:0;;;;;:::i;:::-;;:::i;67207:6186::-;;;;;;:::i;:::-;;:::i;57159:105::-;;;;;;;;;;;;;:::i;59031:467::-;;;;;;;;;;-1:-1:-1;59031:467:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;57472:143::-;;;;;;;;;;-1:-1:-1;57472:143:0;;;;;:::i;:::-;;:::i;11914:148::-;;;;;;;;;;;;;:::i;95895:126::-;;;;;;;;;;-1:-1:-1;95895:126:0;;;;;:::i;:::-;;:::i;93486:2401::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;57662:110::-;;;;;;;;;;-1:-1:-1;57662:110:0;;;;;:::i;:::-;;:::i;96029:81::-;;;;;;;;;;;;;:::i;11263:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;66414:333::-;;;;;;;;;;-1:-1:-1;66414:333:0;;;;;:::i;:::-;;:::i;59861:3179::-;;;;;;:::i;:::-;;:::i;86919:1539::-;;;;;;:::i;:::-;;:::i;58052:358::-;;;;;;:::i;:::-;;:::i;86187:244::-;;;;;;:::i;:::-;;:::i;12217:::-;;;;;;;;;;-1:-1:-1;12217:244:0;;;;;:::i;:::-;;:::i;88510:2841::-;;;;;;;;;;-1:-1:-1;88510:2841:0;;;;;:::i;:::-;;:::i;56589:218::-;56640:167;56589:218;:::o;85470:386::-;85711:20;85744:34;85760:8;85771:6;;85744:7;:34::i;:::-;85796:52;85812:9;85823:6;85831:9;85842:5;;85796:15;:52::i;:::-;85789:59;85470:386;-1:-1:-1;;;;;;;;;85470:386:0:o;67207:6186::-;67421:20;67522:137;;;67582:16;67579:1;67576;67561:38;67627:16;67624:1;67617:27;67675:308;67738:66;67735:1;67728:77;67836:66;67830:4;67823:80;67934:1;67928:4;67921:15;67964:3;67961:1;67954:14;67999:1618;;68110:39;68100:8;68093:57;68227:4;68217:8;68212:3;68202:8;68196:4;68189:5;68178:54;68168:2;;68257:10;;:::i;:::-;68335:4;68317:16;68314:26;68304:2;;68365:90;68450:4;68382:66;68365:90;:::i;:::-;68543:8;68537:15;68606:4;68596:8;68592:19;68586:26;68633:8;68630:2;;;68718:8;68630:2;68957:35;68940:53;;68807:26;;;68905:12;68891:27;;;;68882:37;;68862:18;;68858:62;;-1:-1:-1;69018:8:0;69044:133;;;;69254:3;69247:4;69237:8;69233:19;69226:32;69308:1;69301:4;69291:8;69287:19;69280:30;69011:318;;69044:133;69102:1;69095:4;69085:8;69081:19;69074:30;69154:3;69147:4;69137:8;69133:19;69126:32;69011:318;;69375:3;69368:4;69358:8;69354:19;69347:32;69425:4;69418;69408:8;69404:19;69397:33;69476:1;69469:4;69459:8;69455:19;69448:30;69546:1;69543;69537:4;69527:8;69524:1;69518:4;69511:5;69506:42;69496:2;;69573:10;;:::i;:::-;68074:1543;;;;;;;;:::o;:::-;69655:4;69649:11;69701:4;69691:8;69687:19;69681:4;69674:33;69766:3;69759:4;69746:18;69742:28;69819:11;69806:25;69877:4;69864:11;69860:22;69845:37;;69941:14;69935:4;69931:25;69918:11;69914:43;69896:61;;69999:11;69986:25;70032:8;70059:1;70054:750;;;;70848:11;70845:2;;;70883:90;70968:4;70900:66;70883:90;:::i;:::-;71053:31;71043:8;71036:49;71130:8;71124:3;71114:8;71110:18;71103:36;71198:13;71189:7;71185:27;71178:4;71168:8;71164:19;71157:56;71259:6;71252:4;71242:8;71238:19;71231:35;71338:1;71335;71329:4;71319:8;71316:1;71306:8;71299:5;71294:46;71284:2;;71365:10;;:::i;:::-;70025:1384;;70054:750;70101:11;70093:6;70090:23;70080:2;;70138:90;70223:4;70155:66;70138:90;:::i;:::-;70308:30;70298:8;70291:48;70412:1;70409;70404:3;70394:8;70386:6;70379:5;70372;70367:47;70357:2;;70439:10;;:::i;:::-;70505:32;70495:8;70488:50;70596:13;70587:7;70583:27;70577:3;70567:8;70563:18;70556:55;70657:6;70650:4;70640:8;70636:19;70629:35;70733:1;70730;70724:4;70714:8;70711:1;70704:5;70697;70692:43;70682:2;;70760:10;;:::i;:::-;70025:1384;71441:6;71425:22;;71494:4;71481:11;71477:22;71463:545;71507:14;71504:1;71501:21;71463:545;;;71594:1;71581:15;71632:319;71918:13;71905:11;71901:31;71861:15;71852:7;71848:29;71829:17;71825:53;71788:13;71779:7;71775:27;71738:13;71729:7;71725:27;71690:12;71659:8;71632:319;:::i;:::-;71616:335;-1:-1:-1;71982:11:0;-1:-1:-1;71536:4:0;71529:12;71463:545;;;-1:-1:-1;72044:10:0;72031:24;;72069:353;;;;72479:297;72748:9;72708:15;72699:7;72695:29;72676:17;72672:53;72635:13;72626:7;72622:27;72585:13;72576:7;72572:27;72537:12;72506:8;72479:297;:::i;:::-;72463:313;;72813:31;72803:8;72796:49;72891:12;72884:4;72874:8;72870:19;72863:41;72973:1;72970;72964:4;72954:8;72951:1;72944:5;72937;72932:43;72922:2;;73000:10;;:::i;:::-;73104:1;73101;73098;73095;73081:12;73071:8;73064:5;73059:47;73049:2;;73131:10;;:::i;:::-;72024:1151;;72069:353;72111:296;72380:8;72340:15;72331:7;72327:29;72308:17;72304:53;72267:13;72258:7;72254:27;72217:13;72208:7;72204:27;72169:12;72138:8;72111:296;:::i;:::-;72095:312;;72024:1151;;;;;;73211:9;73197:12;73194:27;73191:2;;;73241:90;73326:4;73258:66;73241:90;:::i;:::-;67463:5923;;;;;;;:::o;57159:105::-;57209:7;57236:20;:18;:20::i;:::-;57229:27;;57159:105;;:::o;59031:467::-;59283:7;59317;59362:42;59378:5;:16;;;59397:6;;59362:7;:42::i;:::-;59422:68;59437:5;59444:9;;59455:12;59469;59483:6;59422:14;:68::i;:::-;59415:75;;;;59031:467;;;;;;;;;;;:::o;57472:143::-;57582:19;;;57555:7;57582:19;;;:12;:19;;;;;;;;:25;;;;;;;;;57472:143;;;;;:::o;11914:148::-;11494:12;:10;:12::i;:::-;11483:23;;:7;:5;:7::i;:::-;:23;;;11475:68;;;;;;;;;;;;:::i;:::-;12021:1:::1;12005:6:::0;;11984:40:::1;::::0;::::1;12005:6:::0;;::::1;::::0;11984:40:::1;::::0;12021:1;;11984:40:::1;12052:1;12035:19:::0;;;::::1;::::0;;11914:148::o;95895:126::-;11494:12;:10;:12::i;:::-;11483:23;;:7;:5;:7::i;:::-;:23;;;11475:68;;;;;;;;;;;;:::i;:::-;95976:37:::1;:17;::::0;::::1;95994:10;96006:6:::0;95976:17:::1;:37::i;:::-;95895:126:::0;;:::o;93486:2401::-;93682:20;93717:19;93751:15;93825:1;93802:4;:20;;;:24;93794:63;;;;;;;;;;;;:::i;:::-;93876:15;93868:52;;;;;;;;;;;;:::i;:::-;93949:10;;;;93933:13;93988;;;;93949:4;93988:13;:::i;:::-;93970:31;-1:-1:-1;94012:15:0;94030:13;;;;;;;;:::i;:::-;94012:31;;94056:11;94070:16;:8;:14;;;:16::i;:::-;94056:30;-1:-1:-1;92591:6:0;94101:27;;:32;94097:235;;94171:6;:24;;94194:1;94171:24;;;94180:4;:11;;;94171:24;94158:9;:38;94150:68;;;;;;;;;;;;:::i;:::-;94097:235;;;94273:6;:24;;94296:1;94273:24;;;94282:4;:11;;;94273:24;94259:9;:39;94251:69;;;;;;;;;;;;:::i;:::-;94349:6;94344:162;;94372:39;94388:8;94399:11;;;;:4;:11;:::i;:::-;94372:7;:39::i;:::-;94426:68;94452:10;94464:16;;;;;;;;:::i;:::-;94426:25;;;;:68;94482:11;;;;94426:25;:68::i;:::-;94557:73;;94533:21;;94557:73;;94574:25;;94533:21;;94613:10;;94625:4;;;;94557:73;;;:::i;:::-;;;;;;;;;;;;;94533:97;;94710:12;94724:19;94755:6;94747:20;;94775:9;94786:8;94747:48;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94709:86;;;;94815:7;94810:111;;94850:54;94875:6;94850:54;;;;;;;;;;;;;;;;;:24;:54::i;:::-;94843:62;;;;;;;;;;;:::i;94810:111::-;-1:-1:-1;;95066:69:0;;;;;;;;;;;;;;;;;94958:11;;;;;-1:-1:-1;95066:69:0;;-1:-1:-1;95107:1:0;;95066:36;:21;;;95096:4;95066:21;:36::i;:::-;:40;:69;:40;:69::i;:::-;95051:84;-1:-1:-1;92531:6:0;95152:21;;:26;95148:535;;95195:21;95219:36;:21;;;95249:4;95219:21;:36::i;:::-;95195:60;-1:-1:-1;95274:17:0;;95270:168;;95326:30;:11;95342:13;95326:15;:30::i;:::-;95312:44;-1:-1:-1;95375:47:0;:20;;;95396:10;95408:13;95375:20;:47::i;:::-;95493:37;:20;;;;95518:11;95493:24;:37::i;:::-;95460:29;:12;95477:11;;;;95460:16;:29::i;:::-;:70;;95452:110;;;;;;;;;;;;:::i;:::-;95148:535;;;;95619:4;:20;;;95603:12;:36;;95595:76;;;;;;;;;;;;:::i;:::-;95695:27;;95726:16;;;;;;;;:::i;:::-;:30;;;95725:64;;95773:16;;;;;;;;:::i;:::-;95725:64;;;95760:10;95725:64;95695:94;-1:-1:-1;95800:47:0;:20;;;95695:94;95834:12;95800:20;:47::i;:::-;95870:9;95860:19;;93486:2401;;;;;;;;;;;;;:::o;57662:110::-;57725:39;57742:10;57754:9;57725:16;:39::i;:::-;57662:110;:::o;96029:81::-;11494:12;:10;:12::i;:::-;11483:23;;:7;:5;:7::i;:::-;:23;;;11475:68;;;;;;;;;;;;:::i;:::-;96091:10:::1;96078:24;11263:87:::0;11309:7;11336:6;;;11263:87;:::o;66414:333::-;66611:20;66644:34;66660:8;66671:6;;66644:7;:34::i;:::-;66696:43;66704:8;66714:6;66722:9;66733:5;;66696:7;:43::i;:::-;66689:50;66414:333;-1:-1:-1;;;;;;;;66414:333:0:o;59861:3179::-;60172:11;;;;60213:10;;60286:21;60272:36;;60259:49;;;-1:-1:-1;;;;60172:11:0;;56859:8;60213:30;;60212:36;;;60519:2;60502:19;;;60544:15;;;:48;;;60582:10;60563:15;:29;;60544:48;60536:79;;;;;;;;;;;;:::i;:::-;60672:29;60689:5;60696:4;60672:16;:29::i;:::-;-1:-1:-1;;60787:18:0;;;;60848;;;;60932:17;;:38;;;;-1:-1:-1;60953:17:0;;60932:38;60928:816;;;61054:17;61039:32;;61105:17;61090:32;;60928:816;;;61161:17;61157:587;;61223:17;61207:12;:33;;61199:73;;;;;;;;;;;;:::i;:::-;61306:85;61373:17;61306:62;61346:21;;;61306:35;:17;61328:12;61306:21;:35::i;:::-;:39;;:62::i;:::-;:66;;:85::i;:::-;61291:100;;61157:587;;;61430:17;61426:318;;61492:17;61476:12;:33;;61468:73;;;;;;;;;;;;:::i;:::-;61575:58;61615:17;61575:35;:17;61597:12;61575:21;:35::i;:58::-;61560:73;;61426:318;;;61687:41;;;;;;;;;;:::i;61426:318::-;59861:3179;;61790:1;61775:12;:16;:36;;;;;61810:1;61795:12;:16;61775:36;61767:73;;;;;;;;;;;;:::i;:::-;61888:19;;;;:33;;;;:70;;-1:-1:-1;61925:19:0;;;;:33;;61948:10;61925:33;61888:70;61880:101;;;;;;;;;;;;:::i;:::-;61992:17;62012:72;56640:167;62076:5;62039:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62029:54;;;;;;62012:16;:72::i;:::-;61992:92;;62095:38;62105:5;62112:9;62123;;62095;:38::i;:::-;62197:5;62177:25;;:5;:16;;;:25;;;:39;;;;;62206:10;62177:39;62173:323;;;62233:16;;;;:69;;:33;;62267:5;62282:4;62289:12;62233:33;:69::i;:::-;62317:28;;;;;:14;:5;:14;;;;:28;;62332:12;;62317:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62360:29:0;;:15;;;;-1:-1:-1;62360:29:0;;;;;-1:-1:-1;62376:12:0;;62360:29;;;;62376:12;62360:15;:29;;;;;;;;;;;;;;;;;;;;;62173:323;;;62422:16;;;;:62;;:33;;62456:5;62463:6;62471:12;62422:33;:62::i;:::-;62557:5;62537:25;;:5;:16;;;:25;;;:42;;;;;62578:1;62566:9;:13;62537:42;62533:397;;;62617:12;62604:9;:25;62596:58;;;;;;;;;;;;:::i;:::-;62669:5;:13;;;62691:12;62669:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62722:35:0;;;;;:14;:5;:14;;-1:-1:-1;62722:14:0;;-1:-1:-1;62722:35:0;;-1:-1:-1;62737:5:0;;62744:12;;62722:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;62533:397;;;62798:9;:14;62790:47;;;;;;;;;;;;:::i;:::-;62852:16;;;;:66;;:33;;62886:10;62898:5;62905:12;62852:33;:66::i;:::-;62947:39;62962:9;62973:12;62947:39;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;63005:12:0;;63019;;-1:-1:-1;59861:3179:0;;-1:-1:-1;;;;;;;59861:3179:0:o;86919:1539::-;87098:20;87145:5;87176:7;87168:39;;;;;;;;;;;;:::i;:::-;87271:6;;-1:-1:-1;87238:7:0;;;87218:17;;83745:8;87304:5;;87218:17;87304:8;;;;;;;;;;;:26;:30;87288:46;;87345:15;87402:1;83805:8;87363:5;;87369:9;87363:16;;;;;;;;;;;;;:36;:40;87345:58;;87418:8;87414:230;;;87464:6;87451:9;:19;87443:55;;;;;;;;;;;;:::i;:::-;87513:5;:13;;;87534:6;87513:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87414:230;;;87584:9;:14;87576:56;;;;;;;;;;;;:::i;:::-;87664:1;87658:3;:7;87654:597;;;87697:87;87715:4;87722:8;:37;;87749:10;87722:37;;;87741:4;87722:37;87761:5;;87767:1;87761:8;;;;;;;;;;;;;87771:12;87697:9;:87::i;:::-;87682:102;-1:-1:-1;87818:1:0;87801:153;87825:9;87821:1;:13;87801:153;;;87875:63;87893:4;87908;87915:5;;87921:1;87915:8;;;;;;;;;;;;;87925:12;87875:9;:63::i;:::-;87860:78;-1:-1:-1;87836:3:0;;87801:153;;;;87983:96;87993:10;:38;;88022:9;87993:38;;;88014:4;87993:38;88041:4;88048:5;;88054:9;88048:16;;;;;;87983:96;87968:111;;87654:597;;;88127:112;88137:10;:38;;88166:9;88137:38;;;88158:4;88137:38;88177:8;:37;;88204:10;88177:37;;88127:112;88112:127;;87654:597;88287:9;88271:12;:25;;88263:56;;;;;;;;;;;;:::i;:::-;88336:10;88332:119;;;88363:28;;;;;:14;:5;:14;;;;:28;;88378:12;;88363:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88406:33:0;;-1:-1:-1;;;88406:19:0;;;88426:12;88406:19;:33::i;:::-;86919:1539;;;;;;;;;;;:::o;58052:358::-;58235:7;58269;58321:81;58336:5;58343:9;;58354:12;58368;58390:10;58321:14;:81::i;:::-;58314:88;;;;58052:358;;;;;;;;:::o;86187:244::-;86330:20;86370:53;86386:10;86398:6;86406:9;86417:5;;86370:15;:53::i;:::-;86363:60;;86187:244;;;;;;;:::o;12217:::-;11494:12;:10;:12::i;:::-;11483:23;;:7;:5;:7::i;:::-;:23;;;11475:68;;;;;;;;;;;;:::i;:::-;12306:22:::1;::::0;::::1;12298:73;;;;;;;;;;;;:::i;:::-;12408:6;::::0;;12387:38:::1;::::0;::::1;::::0;;::::1;::::0;12408:6;::::1;::::0;12387:38:::1;::::0;::::1;12436:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;12217:244::o;88510:2841::-;88673:13;;83980:66;83868;88673:13;89424:4;89418:11;89474:4;89464:8;89460:19;89510:10;89500:8;89493:28;89601:4;89590:9;89585:3;89575:8;89565;89558:5;89547:59;89537:2;;89627:10;;:::i;:::-;89682:9;89676:16;89666:26;;89780:4;89769:9;89764:3;89758;89748:8;89744:18;89734:8;89727:5;89716:69;89706:2;;89806:10;;:::i;:::-;89861:9;89855:16;89845:26;;89959:4;89948:9;89943:3;89937;89927:8;89923:18;89913:8;89906:5;89895:69;89885:2;;89985:10;;:::i;:::-;90035:16;90098:27;;;90151:2;90144:10;;90216:17;;;90254:10;;;90247:26;;;90294:10;;;;90287:23;;;;90347:2;90334:16;;90324:27;;;90394;;;90451:23;;90476:13;90447:43;90525:8;90516:18;;90506:2;;90555:90;90640:4;90572:66;90555:90;:::i;:::-;90506:2;90726:4;90720;90710:8;90697:34;90754:15;;-1:-1:-1;90811:1:0;90796:16;;90792:271;;;90833:22;;;90850:4;90833:22;90829:223;;;90876:54;:19;;;90896:10;90916:12;90876:19;:54::i;:::-;90829:223;;;90971:65;:23;;;90995:5;91002:10;91022:12;90971:23;:65::i;:::-;91092:1;91077:12;:16;91073:271;;;91114:22;;;91131:4;91114:22;91110:223;;;91157:54;:19;;;91177:10;91197:12;91157:19;:54::i;:::-;91110:223;;;91252:65;:23;;;91276:5;91283:10;91303:12;91252:23;:65::i;:::-;88510:2841;;;;;;;;;:::o;40846:828::-;40925:17;;40921:746;;40959:12;40986:19;41041:6;41024:23;;41020:514;;;41167:54;;41156:10;;;;41167:54;;41184:28;;41214:6;;;;41167:54;;;:::i;:::-;;;;;;;;;;;;;;;41156:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41136:86:0;;-1:-1:-1;41136:86:0;-1:-1:-1;41020:514:0;;;41265:6;41248:23;;41244:290;;;41391:56;;41380:10;;;;41391:56;;41408:30;;41440:6;;;;41391:56;;;:::i;41244:290::-;41489:29;;;;;;;;;;:::i;41244:290::-;41553:7;41548:108;;41588:51;41613:6;41588:51;;;;;;;;;;;;;;;;;:24;:51::i;41548:108::-;40921:746;;;40846:828;;;:::o;47193:289::-;47254:7;47295:16;47278:13;:11;:13::i;:::-;:33;47274:201;;;-1:-1:-1;47335:24:0;47328:31;;47274:201;47399:64;47421:10;47433:12;47447:15;47399:21;:64::i;:::-;47392:71;;;;9804:106;9892:10;9804:106;:::o;42379:283::-;42474:10;;42470:185;;42505:12;42511:5;42505;:12::i;:::-;42501:143;;;42538:19;;:11;;;;:19;;;;;42550:6;;42538:19;;;;42550:6;42538:11;:19;;;;;;;;;;;;;;;;;;;;;42501:143;;;42598:30;:18;;;42617:2;42621:6;42598:18;:30::i;41996:133::-;42048:4;42073:22;;;;;:47;;-1:-1:-1;42099:21:0;;;41888:42;42099:21;42073:47;42065:56;;41996:133;;;;:::o;31633:205::-;31734:96;31754:5;31784:27;;;31813:4;31819:2;31823:5;31761:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31734:19;:96::i;:::-;31633:205;;;;:::o;37743:2036::-;37822:13;37867:1;37852:4;:11;:16;37848:1841;;38015:4;38005:15;;37999:22;38129:27;;;;;:48;;;;;38175:2;38160:4;:11;:17;;38129:48;38125:1553;;;38198:14;38231:19;38450:2;38444:4;38440:13;38434:20;38424:30;;38504:6;38500:2;38496:15;38490:4;38486:26;38476:36;;39059:6;:13;39050:6;39045:2;:11;:27;39030:4;:11;:42;;39022:76;;;;;;;;;;;;:::i;:::-;39148:6;39166;39131:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39117:62;;;;;;;38125:1553;39274:27;;;;;:48;;;;;39305:4;:11;39320:2;39305:17;39274:48;39270:408;;;39553:2;39543:13;;39537:20;39625:6;39643:12;39537:20;39643:6;:12::i;:::-;39608:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39594:68;;;;;;39270:408;37848:1841;;39732:6;39752:12;39759:4;39752:6;:12::i;:::-;39715:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39701:70;;37743:2036;;;;:::o;42137:234::-;42213:7;42237:12;42243:5;42237;:12::i;:::-;42233:131;;;-1:-1:-1;42273:15:0;;;;42266:22;;42233:131;42328:24;;;;;:15;;;;;;:24;;42344:7;;42328:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42321:31;;;;20909:166;20995:7;21031:12;21023:6;;;;21015:29;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;21062:5:0;;;20909:166;;;;;;:::o;18544:158::-;18602:7;18635:1;18630;:6;;18622:49;;;;;;;;;;;;:::i;:::-;-1:-1:-1;18689:5:0;;;18544:158::o;18961:220::-;19019:7;19043:6;19039:20;;-1:-1:-1;19058:1:0;19051:8;;19039:20;19082:5;;;19086:1;19082;:5;:1;19106:5;;;;;:10;19098:56;;;;;;;;;;;;:::i;63563:503::-;63815:19;;;63642:23;63815:19;;;63726:1;63815:19;;;;;;;;63668:22;63689:1;63668:22;;;;63867:35;;;;;;;;;;63668:22;;63726:21;;;;;;;;63815:19;63921:28;;;:33;63913:68;;;;;;;;;;;;:::i;:::-;63992:35;;;;;;;;;;;;;64030:28;;63992:66;;-1:-1:-1;;63563:503:0:o;18082:179::-;18140:7;18172:5;;;18196:6;;;;18188:46;;;;;;;;;;;;:::i;19659:153::-;19717:7;19749:1;19745;:5;19737:44;;;;;;;;;;;;:::i;:::-;19803:1;19799;:5;;;;;;;19659:153;-1:-1:-1;;;19659:153:0:o;48469:185::-;48546:7;48612:20;:18;:20::i;:::-;48634:10;48583:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48573:73;;;;;;48566:80;;48469:185;;;:::o;63048:507::-;63198:6;63156:48;;:38;63173:9;63184;;63156:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63156:16:0;;-1:-1:-1;;;63156:38:0:i;:::-;:48;;;63152:396;;63222:12;63236:19;63259:6;:17;;63318:34;;;63354:9;63365;;63295:80;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63259:131;;;;63295:80;63259:131;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63221:169;;;;63413:7;:30;;;;;63424:6;:13;63441:2;63424:19;63413:30;:100;;;;-1:-1:-1;63447:28:0;;63479:34;;63447:28;;;;;;;;;;;;:::i;:::-;:66;;;63413:100;63405:131;;;;;;;;;;;;:::i;:::-;63152:396;;63048:507;;;;:::o;91359:825::-;91459:7;83687:8;91497:25;;:30;91538:639;;;;91572:14;91605:4;91590:25;;;91634:9;91662:10;91691:25;91709:6;91691:17;:25::i;:::-;84445:14;91780:5;91769:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;91590:211;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91569:232;;;91823:28;91843:7;91842:8;;91823:18;:28::i;:::-;91816:35;;;;;;91538:639;91885:14;91919:4;91904:25;;;91948:9;91976:10;92005:25;92023:6;92005:17;:25::i;:::-;84631:53;92094:5;92083:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;91904:211;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91884:231;;;92137:28;92157:7;92156:8;;92137:18;:28::i;24883:397::-;24998:6;24973:21;:31;;24965:73;;;;;;;;;;;;:::i;:::-;25130:12;25148:9;:14;;25171:6;25148:35;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25129:54;;;25202:7;25194:78;;;;;;;;;;;;:::i;31448:177::-;31531:86;31551:5;31581:23;;;31606:2;31610:5;31558:58;;;;;;;;;:::i;48662:326::-;48961:9;;48935:46::o;47490:337::-;47592:7;47672:8;47699:4;47722:7;47748:13;:11;:13::i;:::-;47788:4;47643:165;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47619:200;;;;;;47612:207;;47490:337;;;;;:::o;33753:761::-;34177:23;34203:69;34231:4;34203:69;;;;;;;;;;;;;;;;;34211:5;34203:27;;;;:69;;;;;:::i;:::-;34287:17;;34177:95;;-1:-1:-1;34287:21:0;34283:224;;34429:10;34418:30;;;;;;;;;;;;:::i;:::-;34410:85;;;;;;;;;;;;:::i;39787:124::-;39839:13;39872:31;39896:5;39879:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;39919:466;40098:11;;39975:13;;40001:53;;:16;;40112:1;40098:15;;;40094:19;40084:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40084:30:0;;40065:49;;40125:12;:3;40129:1;40125:6;;;;;;;;;;;:12;;;;;;;;;;;40148;:3;40152:1;40148:6;;;;;;;;;;;:12;;;;;;;;;;;40176:9;40171:178;40195:4;:11;40191:1;:15;40171:178;;;40245:8;40271:1;40260:4;40265:1;40260:7;;;;;;;;;;;;;;:12;;:7;40254:19;40245:29;;;;;;;;;;40228:3;40236:1;40232;:5;40240:1;40232:9;40228:14;;;;;;;;;;;:46;;;;;;;;;;;40306:8;40321:4;40326:1;40321:7;;;;;;;;;;;;;;;40331:4;40315:21;40306:31;;;;;;;;;;40289:3;40297:1;40293;:5;40301:1;40293:9;40289:14;;;;;;;;;;;:48;;;;;;;;;;-1:-1:-1;40208:3:0;;40171:178;;;-1:-1:-1;40373:3:0;39919:466;-1:-1:-1;;;39919:466:0:o;50590:1343::-;50671:7;50891:9;:16;50911:2;50891:22;50887:1039;;;51231:4;51216:20;;51210:27;51281:4;51266:20;;51260:27;51339:4;51324:20;;51318:27;50930:9;51310:36;51382:25;51393:4;51310:36;51210:27;51260;51382:10;:25::i;:::-;51375:32;;;;;;;50887:1039;51429:9;:16;51449:2;51429:22;51425:501;;;51748:4;51733:20;;51727:27;51799:4;51784:20;;51778:27;51841:23;51852:4;51727:27;51778;51841:10;:23::i;:::-;51834:30;;;;;;51425:501;-1:-1:-1;51912:1:0;51897:17;;79993:181;80049:6;80084;80076:5;:14;80068:67;;;;;;;;;;;;:::i;:::-;-1:-1:-1;80160:5:0;79993:181::o;76811:171::-;76867:7;76904:1;76895:5;:10;;76887:55;;;;;;;;;;;;:::i;26444:195::-;26547:12;26579:52;26601:6;26609:4;26615:1;26618:12;26579:21;:52::i;52799:1493::-;52930:7;53850:66;53837:79;;53833:129;;;-1:-1:-1;53948:1:0;53933:17;;53833:129;53976:1;:7;;53981:2;53976:7;;:18;;;;;53987:1;:7;;53992:2;53987:7;;53976:18;53972:68;;;-1:-1:-1;54026:1:0;54011:17;;53972:68;54137:14;54154:24;54164:4;54170:1;54173;54176;54154:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54154:24:0;;;;;;-1:-1:-1;;54193:20:0;;;54189:70;;54245:1;54230:17;;;;;52196:421;52310:7;52449:66;52441:75;;52543:3;52539:12;;;52553:2;52535:21;52584:25;52595:4;52535:21;52604:1;52441:75;52584:10;:25::i;27496:530::-;27623:12;27681:5;27656:21;:30;;27648:81;;;;;;;;;;;;:::i;:::-;27748:18;27759:6;27748:10;:18::i;:::-;27740:60;;;;;;;;;;;;:::i;:::-;27874:12;27888:23;27915:6;:11;;27935:5;27943:4;27915:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27873:75;;;;27966:52;27984:7;27993:10;28005:12;27966:17;:52::i;:::-;27959:59;27496:530;-1:-1:-1;;;;;;;27496:530:0:o;23526:422::-;23893:20;23932:8;;;23526:422::o;30036:742::-;30151:12;30180:7;30176:595;;;-1:-1:-1;30211:10:0;30204:17;;30176:595;30325:17;;:21;30321:439;;30588:10;30582:17;30649:15;30636:10;30632:2;30628:19;30621:44;30536:148;30731:12;30724:20;;;;;;;;;;;:::i;14:138:1:-;84:20;;113:33;84:20;113:33;:::i;157:404::-;;;290:3;283:4;275:6;271:17;267:27;257:2;;315:8;305;298:26;257:2;-1:-1:-1;345:20:1;;388:18;377:30;;374:2;;;427:8;417;410:26;374:2;471:4;463:6;459:17;447:29;;534:3;527:4;519;511:6;507:17;499:6;495:30;491:41;488:50;485:2;;;551:1;548;541:12;485:2;247:314;;;;;:::o;566:377::-;;;683:3;676:4;668:6;664:17;660:27;650:2;;708:8;698;691:26;650:2;-1:-1:-1;738:20:1;;781:18;770:30;;767:2;;;820:8;810;803:26;767:2;864:4;856:6;852:17;840:29;;916:3;909:4;900:6;892;888:19;884:30;881:39;878:2;;;933:1;930;923:12;948:843;;1054:4;1042:9;1037:3;1033:19;1029:30;1026:2;;;1076:5;1069;1062:20;1026:2;1113;1107:9;1155:4;1147:6;1143:17;1226:6;1214:10;1211:22;1190:18;1178:10;1175:34;1172:62;1169:2;;;1237:9;1169:2;1264;1257:22;1327:23;;1312:39;;1297:6;-1:-1:-1;1297:6:1;1384:40;1420:2;1405:18;;1384:40;:::i;:::-;1379:2;1371:6;1367:15;1360:65;1458:40;1494:2;1483:9;1479:18;1458:40;:::i;:::-;1453:2;1445:6;1441:15;1434:65;1532:40;1568:2;1557:9;1553:18;1532:40;:::i;:::-;1527:2;1519:6;1515:15;1508:65;1607:41;1643:3;1632:9;1628:19;1607:41;:::i;:::-;1601:3;1593:6;1589:16;1582:67;1711:3;1700:9;1696:19;1683:33;1677:3;1669:6;1665:16;1658:59;1779:3;1768:9;1764:19;1751:33;1745:3;1737:6;1733:16;1726:59;;1016:775;;;;:::o;1796:259::-;;1908:2;1896:9;1887:7;1883:23;1879:32;1876:2;;;1929:6;1921;1914:22;1876:2;1973:9;1960:23;1992:33;2019:5;1992:33;:::i;2332:1224::-;;;;;;;;;2605:3;2593:9;2584:7;2580:23;2576:33;2573:2;;;2627:6;2619;2612:22;2573:2;2671:9;2658:23;2690:33;2717:5;2690:33;:::i;:::-;2742:5;-1:-1:-1;2799:2:1;2784:18;;2771:32;2812:35;2771:32;2812:35;:::i;:::-;2866:7;-1:-1:-1;2920:2:1;2905:18;;2892:32;;-1:-1:-1;2971:2:1;2956:18;;2943:32;;-1:-1:-1;3026:3:1;3011:19;;2998:33;3050:18;3080:14;;;3077:2;;;3112:6;3104;3097:22;3077:2;3156:76;3224:7;3215:6;3204:9;3200:22;3156:76;:::i;:::-;3251:8;;-1:-1:-1;3130:102:1;-1:-1:-1;3339:3:1;3324:19;;3311:33;;-1:-1:-1;3356:16:1;;;3353:2;;;3390:6;3382;3375:22;3353:2;;3434:62;3488:7;3477:8;3466:9;3462:24;3434:62;:::i;:::-;2563:993;;;;-1:-1:-1;2563:993:1;;-1:-1:-1;2563:993:1;;;;;;3515:8;-1:-1:-1;;;2563:993:1:o;3561:745::-;;;;;;3767:3;3755:9;3746:7;3742:23;3738:33;3735:2;;;3789:6;3781;3774:22;3735:2;3833:9;3820:23;3852:33;3879:5;3852:33;:::i;:::-;3904:5;-1:-1:-1;3956:2:1;3941:18;;3928:32;;-1:-1:-1;4007:2:1;3992:18;;3979:32;;-1:-1:-1;4062:2:1;4047:18;;4034:32;4089:18;4078:30;;4075:2;;;4126:6;4118;4111:22;4075:2;4170:76;4238:7;4229:6;4218:9;4214:22;4170:76;:::i;:::-;3725:581;;;;-1:-1:-1;3725:581:1;;-1:-1:-1;4265:8:1;;4144:102;3725:581;-1:-1:-1;;;3725:581:1:o;4311:327::-;;;4440:2;4428:9;4419:7;4415:23;4411:32;4408:2;;;4461:6;4453;4446:22;4408:2;4505:9;4492:23;4524:33;4551:5;4524:33;:::i;:::-;4576:5;4628:2;4613:18;;;;4600:32;;-1:-1:-1;;;4398:240:1:o;4643:297::-;;4763:2;4751:9;4742:7;4738:23;4734:32;4731:2;;;4784:6;4776;4769:22;4731:2;4821:9;4815:16;4874:5;4867:13;4860:21;4853:5;4850:32;4840:2;;4901:6;4893;4886:22;4945:356;;5067:2;5055:9;5046:7;5042:23;5038:32;5035:2;;;5088:6;5080;5073:22;5035:2;5125:9;5119:16;5175:66;5168:5;5164:78;5157:5;5154:89;5144:2;;5262:6;5254;5247:22;5306:911;;;;;5535:2;5523:9;5514:7;5510:23;5506:32;5503:2;;;5556:6;5548;5541:22;5503:2;5600:9;5587:23;5619:33;5646:5;5619:33;:::i;:::-;5671:5;-1:-1:-1;5727:2:1;5712:18;;5699:32;5750:18;5780:14;;;5777:2;;;5812:6;5804;5797:22;5777:2;5840:22;;;;5896:3;5878:16;;;5874:26;5871:2;;;5918:6;5910;5903:22;5871:2;5946;;-1:-1:-1;6001:2:1;5986:18;;5973:32;;6017:16;;;6014:2;;;6051:6;6043;6036:22;6014:2;;6095:62;6149:7;6138:8;6127:9;6123:24;6095:62;:::i;:::-;5493:724;;;;-1:-1:-1;6176:8:1;-1:-1:-1;;;;5493:724:1:o;6846:751::-;;;;;;7058:3;7046:9;7037:7;7033:23;7029:33;7026:2;;;7080:6;7072;7065:22;7602:1072;;;;;;;;7850:3;7838:9;7829:7;7825:23;7821:33;7818:2;;;7872:6;7864;7857:22;7818:2;7916:9;7903:23;7935:33;7962:5;7935:33;:::i;:::-;7987:5;-1:-1:-1;8039:2:1;8024:18;;8011:32;;-1:-1:-1;8090:2:1;8075:18;;8062:32;;-1:-1:-1;8145:2:1;8130:18;;8117:32;8168:18;8198:14;;;8195:2;;;8230:6;8222;8215:22;8195:2;8274:76;8342:7;8333:6;8322:9;8318:22;8274:76;:::i;:::-;8369:8;;-1:-1:-1;8248:102:1;-1:-1:-1;8457:3:1;8442:19;;8429:33;;-1:-1:-1;8474:16:1;;;8471:2;;;8508:6;8500;8493:22;8471:2;;8552:62;8606:7;8595:8;8584:9;8580:24;8552:62;:::i;:::-;7808:866;;;;-1:-1:-1;7808:866:1;;-1:-1:-1;7808:866:1;;;;8526:88;;-1:-1:-1;;;7808:866:1:o;8679:253::-;;;8817:2;8805:9;8796:7;8792:23;8788:32;8785:2;;;8838:6;8830;8823:22;8785:2;-1:-1:-1;;8866:16:1;;8922:2;8907:18;;;8901:25;8866:16;;8901:25;;-1:-1:-1;8775:157:1:o;8937:565::-;;;;;9100:2;9088:9;9079:7;9075:23;9071:32;9068:2;;;9121:6;9113;9106:22;9068:2;9162:9;9149:23;9139:33;;9219:2;9208:9;9204:18;9191:32;9181:42;;9274:2;9263:9;9259:18;9246:32;9301:18;9293:6;9290:30;9287:2;;;9338:6;9330;9323:22;9287:2;9382:60;9434:7;9425:6;9414:9;9410:22;9382:60;:::i;9507:691::-;;;;;;9715:3;9703:9;9694:7;9690:23;9686:33;9683:2;;;9737:6;9729;9722:22;9683:2;9765:49;9806:7;9795:9;9765:49;:::i;:::-;9755:59;;9865:3;9854:9;9850:19;9837:33;9893:18;9885:6;9882:30;9879:2;;;9930:6;9922;9915:22;9879:2;9974:60;10026:7;10017:6;10006:9;10002:22;9974:60;:::i;:::-;9673:525;;10053:8;;-1:-1:-1;9948:86:1;;10135:3;10120:19;;10107:33;;10187:3;10172:19;;;10159:33;;-1:-1:-1;9673:525:1;-1:-1:-1;;;;9673:525:1:o;10203:837::-;;;;;;;10436:3;10424:9;10415:7;10411:23;10407:33;10404:2;;;10458:6;10450;10443:22;10404:2;10486:49;10527:7;10516:9;10486:49;:::i;:::-;10476:59;;10586:3;10575:9;10571:19;10558:33;10614:18;10606:6;10603:30;10600:2;;;10651:6;10643;10636:22;10600:2;10695:60;10747:7;10738:6;10727:9;10723:22;10695:60;:::i;:::-;10774:8;;-1:-1:-1;10669:86:1;-1:-1:-1;;10856:3:1;10841:19;;10828:33;;-1:-1:-1;10908:3:1;10893:19;;10880:33;;-1:-1:-1;10963:3:1;10948:19;;10935:33;10977;10935;10977;:::i;:::-;11029:5;11019:15;;;10394:646;;;;;;;;:::o;11045:1158::-;;;;;;;;;11314:3;11302:9;11293:7;11289:23;11285:33;11282:2;;;11336:6;11328;11321:22;11282:2;11364:49;11405:7;11394:9;11364:49;:::i;:::-;11354:59;;11464:3;11453:9;11449:19;11436:33;11488:18;11529:2;11521:6;11518:14;11515:2;;;11550:6;11542;11535:22;11515:2;11594:60;11646:7;11637:6;11626:9;11622:22;11594:60;:::i;:::-;11673:8;;-1:-1:-1;11568:86:1;-1:-1:-1;11755:3:1;11740:19;;11727:33;;-1:-1:-1;11807:3:1;11792:19;;11779:33;;-1:-1:-1;11862:3:1;11847:19;;11834:33;;-1:-1:-1;11876:33:1;11834;11876;:::i;:::-;11928:5;;-1:-1:-1;11986:3:1;11971:19;;11958:33;;12003:16;;;12000:2;;;12037:6;12029;12022:22;12208:190;;12320:2;12308:9;12299:7;12295:23;12291:32;12288:2;;;12341:6;12333;12326:22;12288:2;-1:-1:-1;12369:23:1;;12278:120;-1:-1:-1;12278:120:1:o;12403:194::-;;12526:2;12514:9;12505:7;12501:23;12497:32;12494:2;;;12547:6;12539;12532:22;12494:2;-1:-1:-1;12575:16:1;;12484:113;-1:-1:-1;12484:113:1:o;12602:599::-;;;;;12783:2;12771:9;12762:7;12758:23;12754:32;12751:2;;;12804:6;12796;12789:22;12751:2;12845:9;12832:23;12822:33;;12902:2;12891:9;12887:18;12874:32;12864:42;;12957:2;12946:9;12942:18;12929:32;12984:18;12976:6;12973:30;12970:2;;;13021:6;13013;13006:22;12970:2;13065:76;13133:7;13124:6;13113:9;13109:22;13065:76;:::i;13206:318::-;;13287:5;13281:12;13314:6;13309:3;13302:19;13330:63;13386:6;13379:4;13374:3;13370:14;13363:4;13356:5;13352:16;13330:63;:::i;:::-;13438:2;13426:15;13443:66;13422:88;13413:98;;;;13513:4;13409:109;;13257:267;-1:-1:-1;;13257:267:1:o;13529:718::-;;13808:66;13800:6;13796:79;13791:3;13784:92;13917:66;13909:6;13905:79;13901:1;13896:3;13892:11;13885:100;14036:66;14027:6;14023:2;14019:15;14015:88;14010:2;14005:3;14001:12;13994:110;14148:6;14140;14135:2;14130:3;14126:12;14113:42;14178:16;;14196:2;14174:25;14208:15;;;14174:25;13774:473;-1:-1:-1;;;;13774:473:1:o;14252:416::-;;14459:66;14451:6;14447:79;14442:3;14435:92;14570:6;14562;14558:1;14553:3;14549:11;14536:41;14600:16;;14618:1;14596:24;14629:15;;;14596:24;14425:243;-1:-1:-1;;14425:243:1:o;14673:274::-;;14840:6;14834:13;14856:53;14902:6;14897:3;14890:4;14882:6;14878:17;14856:53;:::i;:::-;14925:16;;;;;14810:137;-1:-1:-1;;14810:137:1:o;14952:773::-;;15371:6;15365:13;15387:53;15433:6;15428:3;15421:4;15413:6;15409:17;15387:53;:::i;:::-;15501:8;15462:16;;;15487:23;;;15535:13;;15557:65;15535:13;15609:1;15598:13;;15591:4;15579:17;;15557:65;:::i;:::-;15689:3;15685:1;15641:20;;;;15677:10;;;15670:23;15717:1;15709:10;;15341:384;-1:-1:-1;;;;15341:384:1:o;15730:775::-;;16149:6;16143:13;16165:53;16211:6;16206:3;16199:4;16191:6;16187:17;16165:53;:::i;:::-;16279:10;16240:16;;;16265:25;;;16315:13;;16337:65;16315:13;16389:1;16378:13;;16371:4;16359:17;;16337:65;:::i;:::-;16469:3;16465:1;16421:20;;;;16457:10;;;16450:23;16497:1;16489:10;;16119:386;-1:-1:-1;;;;16119:386:1:o;16510:771::-;;16927:6;16921:13;16943:53;16989:6;16984:3;16977:4;16969:6;16965:17;16943:53;:::i;:::-;17057:8;17018:16;;;17043:23;;;17091:13;;17113:65;17091:13;17165:1;17154:13;;17147:4;17135:17;;17113:65;:::i;17286:444::-;17556:66;17544:79;;17648:1;17639:11;;17632:27;;;;17684:2;17675:12;;17668:28;17721:2;17712:12;;17534:196::o;17945:182::-;18074:19;;;18118:2;18109:12;;18064:63::o;18132:226::-;18308:42;18296:55;;;;18278:74;;18266:2;18251:18;;18233:125::o;18363:398::-;18575:42;18644:15;;;18626:34;;18696:15;;;;18691:2;18676:18;;18669:43;18743:2;18728:18;;18721:34;;;;18553:2;18538:18;;18520:241::o;18766:593::-;;19009:42;19090:2;19082:6;19078:15;19067:9;19060:34;19144:6;19137:14;19130:22;19125:2;19114:9;19110:18;19103:50;19189:6;19184:2;19173:9;19169:18;19162:34;19244:2;19236:6;19232:15;19227:2;19216:9;19212:18;19205:43;;19285:3;19279;19268:9;19264:19;19257:32;19306:47;19348:3;19337:9;19333:19;19325:6;19306:47;:::i;19364:297::-;19568:42;19556:55;;;;19538:74;;19643:2;19628:18;;19621:34;19526:2;19511:18;;19493:168::o;19848:512::-;20107:25;;;20163:2;20148:18;;20141:34;;;;20206:2;20191:18;;20184:34;;;;20249:2;20234:18;;20227:34;20310:42;20298:55;20292:3;20277:19;;20270:84;20094:3;20079:19;;20061:299::o;20365:521::-;;20550:6;20539:9;20532:25;20593:2;20588;20577:9;20573:18;20566:30;20632:6;20627:2;20616:9;20612:18;20605:34;20689:6;20681;20676:2;20665:9;20661:18;20648:48;20716:22;;;20740:2;20712:31;;;20705:45;;;;20802:2;20790:15;;;20807:66;20786:88;20771:104;20767:113;;20522:364;-1:-1:-1;;20522:364:1:o;20891:807::-;;21105:3;21094:9;21090:19;21082:27;;21136:6;21125:9;21118:25;21185:6;21179:13;21174:2;21163:9;21159:18;21152:41;21240:2;21232:6;21228:15;21222:22;21263:42;21359:2;21345:12;21341:21;21336:2;21325:9;21321:18;21314:49;21427:2;21421;21413:6;21409:15;21403:22;21399:31;21394:2;21383:9;21379:18;21372:59;21496:2;21490;21482:6;21478:15;21472:22;21468:31;21462:3;21451:9;21447:19;21440:60;21566:2;21559:3;21551:6;21547:16;21541:23;21537:32;21531:3;21520:9;21516:19;21509:61;;;21625:3;21617:6;21613:16;21607:23;21601:3;21590:9;21586:19;21579:52;21686:3;21678:6;21674:16;21668:23;21662:3;21651:9;21647:19;21640:52;21072:626;;;;;:::o;21703:248::-;21877:25;;;21933:2;21918:18;;21911:34;21865:2;21850:18;;21832:119::o;21956:398::-;22183:25;;;22256:4;22244:17;;;;22239:2;22224:18;;22217:45;22293:2;22278:18;;22271:34;22336:2;22321:18;;22314:34;22170:3;22155:19;;22137:217::o;22359:221::-;;22508:2;22497:9;22490:21;22528:46;22570:2;22559:9;22555:18;22547:6;22528:46;:::i;22585:343::-;22787:2;22769:21;;;22826:2;22806:18;;;22799:30;22865:21;22860:2;22845:18;;22838:49;22919:2;22904:18;;22759:169::o;22933:351::-;23135:2;23117:21;;;23174:2;23154:18;;;23147:30;23213:29;23208:2;23193:18;;23186:57;23275:2;23260:18;;23107:177::o;23289:351::-;23491:2;23473:21;;;23530:2;23510:18;;;23503:30;23569:29;23564:2;23549:18;;23542:57;23631:2;23616:18;;23463:177::o;23645:344::-;23847:2;23829:21;;;23886:2;23866:18;;;23859:30;23925:22;23920:2;23905:18;;23898:50;23980:2;23965:18;;23819:170::o;23994:353::-;24196:2;24178:21;;;24235:2;24215:18;;;24208:30;24274:31;24269:2;24254:18;;24247:59;24338:2;24323:18;;24168:179::o;24352:342::-;24554:2;24536:21;;;24593:2;24573:18;;;24566:30;24632:20;24627:2;24612:18;;24605:48;24685:2;24670:18;;24526:168::o;24699:402::-;24901:2;24883:21;;;24940:2;24920:18;;;24913:30;24979:34;24974:2;24959:18;;24952:62;25050:8;25045:2;25030:18;;25023:36;25091:3;25076:19;;24873:228::o;25106:351::-;25308:2;25290:21;;;25347:2;25327:18;;;25320:30;25386:29;25381:2;25366:18;;25359:57;25448:2;25433:18;;25280:177::o;25462:342::-;25664:2;25646:21;;;25703:2;25683:18;;;25676:30;25742:20;25737:2;25722:18;;25715:48;25795:2;25780:18;;25636:168::o;25809:344::-;26011:2;25993:21;;;26050:2;26030:18;;;26023:30;26089:22;26084:2;26069:18;;26062:50;26144:2;26129:18;;25983:170::o;26158:341::-;26360:2;26342:21;;;26399:2;26379:18;;;26372:30;26438:19;26433:2;26418:18;;26411:47;26490:2;26475:18;;26332:167::o;26504:354::-;26706:2;26688:21;;;26745:2;26725:18;;;26718:30;26784:32;26779:2;26764:18;;26757:60;26849:2;26834:18;;26678:180::o;26863:422::-;27065:2;27047:21;;;27104:2;27084:18;;;27077:30;27143:34;27138:2;27123:18;;27116:62;27214:28;27209:2;27194:18;;27187:56;27275:3;27260:19;;27037:248::o;27290:353::-;27492:2;27474:21;;;27531:2;27511:18;;;27504:30;27570:31;27565:2;27550:18;;27543:59;27634:2;27619:18;;27464:179::o;27648:402::-;27850:2;27832:21;;;27889:2;27869:18;;;27862:30;27928:34;27923:2;27908:18;;27901:62;27999:8;27994:2;27979:18;;27972:36;28040:3;28025:19;;27822:228::o;28055:350::-;28257:2;28239:21;;;28296:2;28276:18;;;28269:30;28335:28;28330:2;28315:18;;28308:56;28396:2;28381:18;;28229:176::o;28410:356::-;28612:2;28594:21;;;28631:18;;;28624:30;28690:34;28685:2;28670:18;;28663:62;28757:2;28742:18;;28584:182::o;28771:351::-;28973:2;28955:21;;;29012:2;28992:18;;;28985:30;29051:29;29046:2;29031:18;;29024:57;29113:2;29098:18;;28945:177::o;29127:350::-;29329:2;29311:21;;;29368:2;29348:18;;;29341:30;29407:28;29402:2;29387:18;;29380:56;29468:2;29453:18;;29301:176::o;29482:397::-;29684:2;29666:21;;;29723:2;29703:18;;;29696:30;29762:34;29757:2;29742:18;;29735:62;29833:3;29828:2;29813:18;;29806:31;29869:3;29854:19;;29656:223::o;29884:356::-;30086:2;30068:21;;;30105:18;;;30098:30;30164:34;30159:2;30144:18;;30137:62;30231:2;30216:18;;30058:182::o;30245:343::-;30447:2;30429:21;;;30486:2;30466:18;;;30459:30;30525:21;30520:2;30505:18;;30498:49;30579:2;30564:18;;30419:169::o;30593:345::-;30795:2;30777:21;;;30834:2;30814:18;;;30807:30;30873:23;30868:2;30853:18;;30846:51;30929:2;30914:18;;30767:171::o;30943:342::-;31145:2;31127:21;;;31184:2;31164:18;;;31157:30;31223:20;31218:2;31203:18;;31196:48;31276:2;31261:18;;31117:168::o;31290:353::-;31492:2;31474:21;;;31531:2;31511:18;;;31504:30;31570:31;31565:2;31550:18;;31543:59;31634:2;31619:18;;31464:179::o;31648:346::-;31850:2;31832:21;;;31889:2;31869:18;;;31862:30;31928:24;31923:2;31908:18;;31901:52;31985:2;31970:18;;31822:172::o;31999:348::-;32201:2;32183:21;;;32240:2;32220:18;;;32213:30;32279:26;32274:2;32259:18;;32252:54;32338:2;32323:18;;32173:174::o;32352:404::-;32554:2;32536:21;;;32593:2;32573:18;;;32566:30;32632:34;32627:2;32612:18;;32605:62;32703:10;32698:2;32683:18;;32676:38;32746:3;32731:19;;32526:230::o;32761:355::-;32963:2;32945:21;;;33002:2;32982:18;;;32975:30;33041:33;33036:2;33021:18;;33014:61;33107:2;33092:18;;32935:181::o;33121:347::-;33323:2;33305:21;;;33362:2;33342:18;;;33335:30;33401:25;33396:2;33381:18;;33374:53;33459:2;33444:18;;33295:173::o;33473:406::-;33675:2;33657:21;;;33714:2;33694:18;;;33687:30;33753:34;33748:2;33733:18;;33726:62;33824:12;33819:2;33804:18;;33797:40;33869:3;33854:19;;33647:232::o;33884:342::-;34086:2;34068:21;;;34125:2;34105:18;;;34098:30;34164:20;34159:2;34144:18;;34137:48;34217:2;34202:18;;34058:168::o;34231:348::-;34433:2;34415:21;;;34472:2;34452:18;;;34445:30;34511:26;34506:2;34491:18;;34484:54;34570:2;34555:18;;34405:174::o;35019:319::-;35221:25;;;35277:2;35262:18;;35255:34;;;;35320:2;35305:18;;35298:34;35209:2;35194:18;;35176:162::o;35343:592::-;;;35486:11;35473:25;35576:66;35565:8;35549:14;35545:29;35541:102;35521:18;35517:127;35507:2;;35661:4;35655;35648:18;35507:2;35691:33;;35743:20;;;-1:-1:-1;35786:18:1;35775:30;;35772:2;;;35821:4;35815;35808:18;35772:2;35857:4;35845:17;;-1:-1:-1;35888:14:1;35884:27;;;35874:38;;35871:2;;;35925:1;35922;35915:12;35940:258;36012:1;36022:113;36036:6;36033:1;36030:13;36022:113;;;36112:11;;;36106:18;36093:11;;;36086:39;36058:2;36051:10;36022:113;;;36153:6;36150:1;36147:13;36144:2;;;-1:-1:-1;;36188:1:1;36170:16;;36163:27;35993:205::o;36203:156::-;36291:42;36284:5;36280:54;36273:5;36270:65;36260:2;;36349:1;36346;36339:12

Swarm Source

ipfs://80f13dba1550627f0556c7d382305517add984af4f6a19e2e84ef653052bba78
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.