Contract 0x1111111254eeb25477b68fb85ed929f73a960582 8

 

Contract Overview

Balance:
1 wei

ETH Value:
Less Than $0.01 (@ $1,214.95/ETH)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x87adda336e2bc42938b3045a4f55f4ae95f17643a3faa7b5a0d06069eeac18b1Swap416407622022-11-27 14:24:4440 secs ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000003 ETH0.00004963
0x78af0f9970b9516cceffeaf7eb0cccc2d8344abd2c658883a80135f390acd225Swap416407532022-11-27 14:24:4143 secs ago0xb6c3e778fbfc698f5b3fc941fa4727525141e0ca IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00006717
0x35e91d3072838f6dbe12e977d40d38f0b4c292add7b440cd81b70ad93343ee65Swap416406622022-11-27 14:24:181 min ago0xbfe1efa782028779a9559e9ef6af483822b0fed4 IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.0000635
0x67376f9af95e0462eed6048accf837240e78a27b4cf4e0a30273a61012111a36Swap416405782022-11-27 14:23:561 min ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000015 ETH0.00007703
0xbdaa41b870fb4875ef1200609ebe1930b78c506578a78d8f7766fc43fc326187Swap416403902022-11-27 14:23:022 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000001 ETH0.00007131
0xae8442bd9a6dca62a018cf04de896be5e6a8d92618655a5d51c3ef633eca7586Swap416403872022-11-27 14:23:012 mins ago0x94a0321182f95b4b54537a6dd78df5750df3513c IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00006462
0xc9c3c0fc83ef5ff59bd522acbc6df0a508bde5aa5db1ddc11062316d56c56a5dSwap416403422022-11-27 14:22:492 mins ago0x8a843023f1eea0c96ee1c76585effdeee4cd0d63 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.3 ETH0.00006139
0x205747bcc4c52979c58f3bd79ef5311ceb16dfa215e6a17db43b83f03cc38e3dUniswap V3Swap416402312022-11-27 14:22:203 mins ago0x56620deea13701541a5f5f26786bad5f01a5925d IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00003202
0x350687e2b6577ce33d930830fe6aea3b97ae802b45d2f9d4026bf419ff744eb4Swap416401992022-11-27 14:22:123 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000005 ETH0.00004935
0x31c99159182cb81c05954c48877e387e9e0d9ab657537688b363284f6ee73034Swap416401942022-11-27 14:22:113 mins ago0xe03b9f799059fcb6ae962296b9bd4522393f12c0 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.075917549817828 ETH0.00007058
0xd790b6c4fde58ec6dd4f69d0b6248470132bc9c2950138691eb75f0e3265af3eUniswap V3Swap416399902022-11-27 14:21:224 mins ago0x881886ac09720414892062ad60b547cbe92a693a IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00003199
0x6c6f34a6ed9928e2b9eaea86e3fcef8d285b132f4d389760947821b9d018ac14Swap416399502022-11-27 14:21:124 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000001 ETH0.00005345
0x2cd24ed13e25072a6913775ff7db9eaf3f2f5b279382afc3d52629ef6a568a54Uniswap V3Swap416398612022-11-27 14:20:474 mins ago0x881886ac09720414892062ad60b547cbe92a693a IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00003491
0x4fc216899dffd1379e0b862c7e62187d06fdb7fd24c07e2751a372d619243adeSwap416397972022-11-27 14:20:284 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.00001 ETH0.00005357
0xcfc85e53481bdf51ab16b7b279780d4b2c8ee93d6118ecfe2089c1a06d7e5ea7Swap416397912022-11-27 14:20:274 mins ago0x56620deea13701541a5f5f26786bad5f01a5925d IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00006563
0x7da4ea7655835e2d70c20061a903cd33ac846ee98767ba57460988ab14b7c3d3Swap416397112022-11-27 14:20:055 mins ago0x4b27cde5da6c7c265d4da0d3a349cfd40ad092e9 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000002 ETH0.00005267
0x255dffdc685060ddee094c852ddd292d52d2c38827059990f0a50b5eab8199cfSwap416396322022-11-27 14:19:425 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.00004 ETH0.00008221
0x4913968123e1b5078fe8b4865eb7fda8706df6f430ae6edc9d8d214082c0c855Swap416396072022-11-27 14:19:355 mins ago0xa21cd02f08240327cc5b96829e322142da8b26bf IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00005258
0x47b1667c61bffcdc698bd31efc7197156c452841181d6b1c8c8d99c9e7d17e8cSwap416395882022-11-27 14:19:305 mins ago0x9c3d6833b9f01b13d9956ffacfd421eec6f82e65 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000002 ETH0.00005397
0x20ff3f17ae40723911ed983aefec50fce3ea9fba40deee84ddfae0ccee5ecec8Swap416395702022-11-27 14:19:265 mins ago0x56620deea13701541a5f5f26786bad5f01a5925d IN  0x1111111254eeb25477b68fb85ed929f73a9605820.07 ETH0.00008219
0x58335ec7d10598f23ece6a32fc6a2ef24946abb6c9352d2b9d4dbbaf1fdc029dSwap416394262022-11-27 14:18:466 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000022 ETH0.00005328
0xdc4f813f9e84548a6a8770a7e5ac4ed51910feaed22cdc0506d52a13a8205d46Swap416392202022-11-27 14:17:507 mins ago0x9c3d6833b9f01b13d9956ffacfd421eec6f82e65 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000006 ETH0.00005385
0xac0ae68ab5bb2263dbbe0d5f82465c259f23489a4cc756ddeccd3fc19e547b69Swap416391882022-11-27 14:17:427 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000009 ETH0.00008042
0xff65e6730f01398920d1eefd21c65327bdb956892ecaee03bde9dc6819d1b844Swap416389632022-11-27 14:16:458 mins ago0xa21cd02f08240327cc5b96829e322142da8b26bf IN  0x1111111254eeb25477b68fb85ed929f73a9605820 ETH0.00006338
0xb2aef9dc59e33397f6cb6a367220351bb3f92d16e567fc726076c70e13f5504cSwap416389082022-11-27 14:16:308 mins ago0x5d2b9bf95c5af2c45e7e8dce7656c66999a07a13 IN  0x1111111254eeb25477b68fb85ed929f73a9605820.000002 ETH0.00005365
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x87adda336e2bc42938b3045a4f55f4ae95f17643a3faa7b5a0d06069eeac18b1416407622022-11-27 14:24:4440 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 Elk Finance: ELK Token0 ETH
0x87adda336e2bc42938b3045a4f55f4ae95f17643a3faa7b5a0d06069eeac18b1416407622022-11-27 14:24:4440 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 Elk Finance: ELK Token0 ETH
0x87adda336e2bc42938b3045a4f55f4ae95f17643a3faa7b5a0d06069eeac18b1416407622022-11-27 14:24:4440 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30.000003 ETH
0x78af0f9970b9516cceffeaf7eb0cccc2d8344abd2c658883a80135f390acd225416407532022-11-27 14:24:4143 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 Sperax: USDs Token0 ETH
0x78af0f9970b9516cceffeaf7eb0cccc2d8344abd2c658883a80135f390acd225416407532022-11-27 14:24:4143 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 Sperax: USDs Token0 ETH
0x78af0f9970b9516cceffeaf7eb0cccc2d8344abd2c658883a80135f390acd225416407532022-11-27 14:24:4143 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30 ETH
0x78af0f9970b9516cceffeaf7eb0cccc2d8344abd2c658883a80135f390acd225416407532022-11-27 14:24:4143 secs ago 0x1111111254eeb25477b68fb85ed929f73a960582 0xda10009cbd5d07dd0cecc66161fc93d7c9000da10 ETH
0x35e91d3072838f6dbe12e977d40d38f0b4c292add7b440cd81b70ad93343ee65416406622022-11-27 14:24:181 min ago 0x1111111254eeb25477b68fb85ed929f73a9605820x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f0 ETH
0x35e91d3072838f6dbe12e977d40d38f0b4c292add7b440cd81b70ad93343ee65416406622022-11-27 14:24:181 min ago 0x1111111254eeb25477b68fb85ed929f73a9605820x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f0 ETH
0x35e91d3072838f6dbe12e977d40d38f0b4c292add7b440cd81b70ad93343ee65416406622022-11-27 14:24:181 min ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30 ETH
0x35e91d3072838f6dbe12e977d40d38f0b4c292add7b440cd81b70ad93343ee65416406622022-11-27 14:24:181 min ago 0x1111111254eeb25477b68fb85ed929f73a960582 0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb90 ETH
0x67376f9af95e0462eed6048accf837240e78a27b4cf4e0a30273a61012111a36416405782022-11-27 14:23:561 min ago 0x1111111254eeb25477b68fb85ed929f73a960582Galleon: DBL Token0 ETH
0x67376f9af95e0462eed6048accf837240e78a27b4cf4e0a30273a61012111a36416405782022-11-27 14:23:561 min ago 0x1111111254eeb25477b68fb85ed929f73a960582Galleon: DBL Token0 ETH
0x67376f9af95e0462eed6048accf837240e78a27b4cf4e0a30273a61012111a36416405782022-11-27 14:23:561 min ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30.000015 ETH
0xbdaa41b870fb4875ef1200609ebe1930b78c506578a78d8f7766fc43fc326187416403902022-11-27 14:23:022 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 Sperax: SPA Token0 ETH
0xbdaa41b870fb4875ef1200609ebe1930b78c506578a78d8f7766fc43fc326187416403902022-11-27 14:23:022 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 Sperax: SPA Token0 ETH
0xbdaa41b870fb4875ef1200609ebe1930b78c506578a78d8f7766fc43fc326187416403902022-11-27 14:23:022 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30.000001 ETH
0xae8442bd9a6dca62a018cf04de896be5e6a8d92618655a5d51c3ef633eca7586416403872022-11-27 14:23:012 mins ago 0x1111111254eeb25477b68fb85ed929f73a9605820x94a0321182f95b4b54537a6dd78df5750df3513c0.411833675158750728 ETH
0xae8442bd9a6dca62a018cf04de896be5e6a8d92618655a5d51c3ef633eca7586416403872022-11-27 14:23:012 mins ago 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc3 0x1111111254eeb25477b68fb85ed929f73a9605820.411833675158750728 ETH
0xae8442bd9a6dca62a018cf04de896be5e6a8d92618655a5d51c3ef633eca7586416403872022-11-27 14:23:012 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30 ETH
0xae8442bd9a6dca62a018cf04de896be5e6a8d92618655a5d51c3ef633eca7586416403872022-11-27 14:23:012 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc9c3c0fc83ef5ff59bd522acbc6df0a508bde5aa5db1ddc11062316d56c56a5d416403422022-11-27 14:22:492 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc9c3c0fc83ef5ff59bd522acbc6df0a508bde5aa5db1ddc11062316d56c56a5d416403422022-11-27 14:22:492 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc9c3c0fc83ef5ff59bd522acbc6df0a508bde5aa5db1ddc11062316d56c56a5d416403422022-11-27 14:22:492 mins ago 0x1111111254eeb25477b68fb85ed929f73a960582 0x521709b3cd7f07e29722be0ba28a8ce0e806dbc30.3 ETH
0x205747bcc4c52979c58f3bd79ef5311ceb16dfa215e6a17db43b83f03cc38e3d416402312022-11-27 14:22:203 mins ago 0x1111111254eeb25477b68fb85ed929f73a9605820x56620deea13701541a5f5f26786bad5f01a5925d0.069532541211265803 ETH
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
AggregationRouterV5

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan on 2022-11-04
*/

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



                    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 |
                                                \__|  \__| \______/  \______/    \____/  \_______|\__|
*/


// SPDX-License-Identifier: MIT

// File contracts/helpers/RouterErrors.sol


pragma solidity 0.8.17;

library RouterErrors {
    error ReturnAmountIsNotEnough();
    error InvalidMsgValue();
    error ERC20TransferFailed();
}


// File contracts/interfaces/IClipperExchangeInterface.sol


pragma solidity 0.8.17;

/// @title Clipper interface subset used in swaps
interface IClipperExchangeInterface {
    struct Signature {
        uint8 v;
        bytes32 r;
        bytes32 s;
    }

    function sellEthForToken(address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external payable;
    function sellTokenForEth(address inputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external;
    function swap(address inputToken, address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external;
}


// File @1inch/solidity-utils/contracts/[email protected]


pragma solidity ^0.8.0;

abstract contract EthReceiver {
    error EthDepositRejected();

    receive() external payable {
        _receive();
    }

    function _receive() internal virtual {
        // solhint-disable-next-line avoid-tx-origin
        if (msg.sender == tx.origin) revert EthDepositRejected();
    }
}


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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}


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

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^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 @1inch/solidity-utils/contracts/interfaces/[email protected]


pragma solidity ^0.8.0;


interface IDaiLikePermit {
    function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) external;
}


// File @1inch/solidity-utils/contracts/libraries/RevertReasonForwarder.s[email protected]


pragma solidity ^0.8.0;

library RevertReasonForwarder {
    function reRevert() internal pure {
        // bubble up revert reason from latest external call
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)
            returndatacopy(ptr, 0, returndatasize())
            revert(ptr, returndatasize())
        }
    }
}


// File @1inch/solidity-utils/contracts/libraries/[email protected]


pragma solidity ^0.8.0;




library SafeERC20 {
    error SafeTransferFailed();
    error SafeTransferFromFailed();
    error ForceApproveFailed();
    error SafeIncreaseAllowanceFailed();
    error SafeDecreaseAllowanceFailed();
    error SafePermitBadLength();

    // Ensures method do not revert or return boolean `true`, admits call to non-smart-contract
    function safeTransferFrom(IERC20 token, address from, address to, uint256 amount) internal {
        bytes4 selector = token.transferFrom.selector;
        bool success;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let data := mload(0x40)

            mstore(data, selector)
            mstore(add(data, 0x04), from)
            mstore(add(data, 0x24), to)
            mstore(add(data, 0x44), amount)
            success := call(gas(), token, 0, data, 100, 0x0, 0x20)
            if success {
                switch returndatasize()
                case 0 { success := gt(extcodesize(token), 0) }
                default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }
            }
        }
        if (!success) revert SafeTransferFromFailed();
    }

    // Ensures method do not revert or return boolean `true`, admits call to non-smart-contract
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        if (!_makeCall(token, token.transfer.selector, to, value)) {
            revert SafeTransferFailed();
        }
    }

    // If `approve(from, to, amount)` fails, try to `approve(from, to, 0)` before retry
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        if (!_makeCall(token, token.approve.selector, spender, value)) {
            if (!_makeCall(token, token.approve.selector, spender, 0) ||
                !_makeCall(token, token.approve.selector, spender, value))
            {
                revert ForceApproveFailed();
            }
        }
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 allowance = token.allowance(address(this), spender);
        if (value > type(uint256).max - allowance) revert SafeIncreaseAllowanceFailed();
        forceApprove(token, spender, allowance + value);
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 allowance = token.allowance(address(this), spender);
        if (value > allowance) revert SafeDecreaseAllowanceFailed();
        forceApprove(token, spender, allowance - value);
    }

    function safePermit(IERC20 token, bytes calldata permit) internal {
        bool success;
        if (permit.length == 32 * 7) {
            success = _makeCalldataCall(token, IERC20Permit.permit.selector, permit);
        } else if (permit.length == 32 * 8) {
            success = _makeCalldataCall(token, IDaiLikePermit.permit.selector, permit);
        } else {
            revert SafePermitBadLength();
        }
        if (!success) RevertReasonForwarder.reRevert();
    }

    function _makeCall(IERC20 token, bytes4 selector, address to, uint256 amount) private returns(bool success) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let data := mload(0x40)

            mstore(data, selector)
            mstore(add(data, 0x04), to)
            mstore(add(data, 0x24), amount)
            success := call(gas(), token, 0, data, 0x44, 0x0, 0x20)
            if success {
                switch returndatasize()
                case 0 { success := gt(extcodesize(token), 0) }
                default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }
            }
        }
    }

    function _makeCalldataCall(IERC20 token, bytes4 selector, bytes calldata args) private returns(bool success) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let len := add(4, args.length)
            let data := mload(0x40)

            mstore(data, selector)
            calldatacopy(add(data, 0x04), args.offset, args.length)
            success := call(gas(), token, 0, data, len, 0x0, 0x20)
            if success {
                switch returndatasize()
                case 0 { success := gt(extcodesize(token), 0) }
                default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }
            }
        }
    }
}


// File @1inch/solidity-utils/contracts/interfaces/[email protected]


pragma solidity ^0.8.0;

interface IWETH is IERC20 {
    function deposit() external payable;
    function withdraw(uint256 amount) external;
}


// File contracts/routers/ClipperRouter.sol


pragma solidity 0.8.17;






/// @title Clipper router that allows to use `ClipperExchangeInterface` for swaps
contract ClipperRouter is EthReceiver {
    using SafeERC20 for IERC20;

    uint256 private constant _SIGNATURE_S_MASK = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    uint256 private constant _SIGNATURE_V_SHIFT = 255;
    bytes6 private constant _INCH_TAG_WITH_LENGTH_PREFIX = "\x051INCH";
    IERC20 private constant _ETH = IERC20(address(0));
    IWETH private immutable _WETH;  // solhint-disable-line var-name-mixedcase

    constructor(IWETH weth) {
        _WETH = weth;
    }

    /// @notice Same as `clipperSwapTo` but calls permit first,
    /// allowing to approve token spending and make a swap in one transaction.
    /// @dev See tests for examples
    /// @param recipient Address that will receive swap funds
    /// @param srcToken Source token
    /// @param dstToken Destination token
    /// @param inputAmount Amount of source tokens to swap
    /// @param outputAmount Amount of destination tokens to receive
    /// @param goodUntil Timestamp until the swap will be valid
    /// @param r Clipper order signature (r part)
    /// @param vs Clipper order signature (vs part)
    /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.
    /// @return returnAmount Amount of destination tokens received
    function clipperSwapToWithPermit(
        IClipperExchangeInterface clipperExchange,
        address payable recipient,
        IERC20 srcToken,
        IERC20 dstToken,
        uint256 inputAmount,
        uint256 outputAmount,
        uint256 goodUntil,
        bytes32 r,
        bytes32 vs,
        bytes calldata permit
    ) external returns(uint256 returnAmount) {
        srcToken.safePermit(permit);
        return clipperSwapTo(clipperExchange, recipient, srcToken, dstToken, inputAmount, outputAmount, goodUntil, r, vs);
    }

    /// @notice Same as `clipperSwapTo` but uses `msg.sender` as recipient
    /// @param srcToken Source token
    /// @param dstToken Destination token
    /// @param inputAmount Amount of source tokens to swap
    /// @param outputAmount Amount of destination tokens to receive
    /// @param goodUntil Timestamp until the swap will be valid
    /// @param r Clipper order signature (r part)
    /// @param vs Clipper order signature (vs part)
    /// @return returnAmount Amount of destination tokens received
    function clipperSwap(
        IClipperExchangeInterface clipperExchange,
        IERC20 srcToken,
        IERC20 dstToken,
        uint256 inputAmount,
        uint256 outputAmount,
        uint256 goodUntil,
        bytes32 r,
        bytes32 vs
    ) external payable returns(uint256 returnAmount) {
        return clipperSwapTo(clipperExchange, payable(msg.sender), srcToken, dstToken, inputAmount, outputAmount, goodUntil, r, vs);
    }

    /// @notice Performs swap using Clipper 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 srcToken Source token
    /// @param dstToken Destination token
    /// @param inputAmount Amount of source tokens to swap
    /// @param outputAmount Amount of destination tokens to receive
    /// @param goodUntil Timestamp until the swap will be valid
    /// @param r Clipper order signature (r part)
    /// @param vs Clipper order signature (vs part)
    /// @return returnAmount Amount of destination tokens received
    function clipperSwapTo(
        IClipperExchangeInterface clipperExchange,
        address payable recipient,
        IERC20 srcToken,
        IERC20 dstToken,
        uint256 inputAmount,
        uint256 outputAmount,
        uint256 goodUntil,
        bytes32 r,
        bytes32 vs
    ) public payable returns(uint256 returnAmount) {
        bool srcETH = srcToken == _ETH;
        if (srcETH) {
            if (msg.value != inputAmount) revert RouterErrors.InvalidMsgValue();
        } else if (srcToken == _WETH) {
            srcETH = true;
            if (msg.value != 0) revert RouterErrors.InvalidMsgValue();
            // _WETH.transferFrom(msg.sender, address(this), inputAmount);
            // _WETH.withdraw(inputAmount);
            address weth = address(_WETH);
            bytes4 transferFromSelector = _WETH.transferFrom.selector;
            bytes4 withdrawSelector = _WETH.withdraw.selector;
            /// @solidity memory-safe-assembly
            assembly { // solhint-disable-line no-inline-assembly
                let ptr := mload(0x40)

                mstore(ptr, transferFromSelector)
                mstore(add(ptr, 0x04), caller())
                mstore(add(ptr, 0x24), address())
                mstore(add(ptr, 0x44), inputAmount)
                if iszero(call(gas(), weth, 0, ptr, 0x64, 0, 0)) {
                    returndatacopy(ptr, 0, returndatasize())
                    revert(ptr, returndatasize())
                }

                mstore(ptr, withdrawSelector)
                mstore(add(ptr, 0x04), inputAmount)
                if iszero(call(gas(), weth, 0, ptr, 0x24, 0, 0)) {
                    returndatacopy(ptr, 0, returndatasize())
                    revert(ptr, returndatasize())
                }
            }
        } else {
            if (msg.value != 0) revert RouterErrors.InvalidMsgValue();
            srcToken.safeTransferFrom(msg.sender, address(clipperExchange), inputAmount);
        }

        if (srcETH) {
            // clipperExchange.sellEthForToken{value: inputAmount}(address(dstToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);
            address clipper = address(clipperExchange);
            bytes4 selector = clipperExchange.sellEthForToken.selector;
            /// @solidity memory-safe-assembly
            assembly { // solhint-disable-line no-inline-assembly
                let ptr := mload(0x40)

                mstore(ptr, selector)
                mstore(add(ptr, 0x04), dstToken)
                mstore(add(ptr, 0x24), inputAmount)
                mstore(add(ptr, 0x44), outputAmount)
                mstore(add(ptr, 0x64), goodUntil)
                mstore(add(ptr, 0x84), recipient)
                mstore(add(ptr, 0xa4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))
                mstore(add(ptr, 0xc4), r)
                mstore(add(ptr, 0xe4), and(vs, _SIGNATURE_S_MASK))
                mstore(add(ptr, 0x104), 0x120)
                mstore(add(ptr, 0x143), _INCH_TAG_WITH_LENGTH_PREFIX)
                if iszero(call(gas(), clipper, inputAmount, ptr, 0x149, 0, 0)) {
                    returndatacopy(ptr, 0, returndatasize())
                    revert(ptr, returndatasize())
                }
            }
        } else if (dstToken == _ETH || dstToken == _WETH) {
            // clipperExchange.sellTokenForEth(address(srcToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);
            address clipper = address(clipperExchange);
            bytes4 selector = clipperExchange.sellTokenForEth.selector;
            /// @solidity memory-safe-assembly
            assembly { // solhint-disable-line no-inline-assembly
                let ptr := mload(0x40)

                mstore(ptr, selector)
                mstore(add(ptr, 0x04), srcToken)
                mstore(add(ptr, 0x24), inputAmount)
                mstore(add(ptr, 0x44), outputAmount)
                mstore(add(ptr, 0x64), goodUntil)
                switch iszero(dstToken)
                case 1 {
                    mstore(add(ptr, 0x84), recipient)
                }
                default {
                    mstore(add(ptr, 0x84), address())
                }
                mstore(add(ptr, 0xa4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))
                mstore(add(ptr, 0xc4), r)
                mstore(add(ptr, 0xe4), and(vs, _SIGNATURE_S_MASK))
                mstore(add(ptr, 0x104), 0x120)
                mstore(add(ptr, 0x143), _INCH_TAG_WITH_LENGTH_PREFIX)
                if iszero(call(gas(), clipper, 0, ptr, 0x149, 0, 0)) {
                    returndatacopy(ptr, 0, returndatasize())
                    revert(ptr, returndatasize())
                }
            }

            if (dstToken == _WETH) {
                // _WETH.deposit{value: outputAmount}();
                // _WETH.transfer(recipient, outputAmount);
                address weth = address(_WETH);
                bytes4 depositSelector = _WETH.deposit.selector;
                bytes4 transferSelector = _WETH.transfer.selector;
                /// @solidity memory-safe-assembly
                assembly { // solhint-disable-line no-inline-assembly
                    let ptr := mload(0x40)

                    mstore(ptr, depositSelector)
                    if iszero(call(gas(), weth, outputAmount, ptr, 0x04, 0, 0)) {
                        returndatacopy(ptr, 0, returndatasize())
                        revert(ptr, returndatasize())
                    }

                    mstore(ptr, transferSelector)
                    mstore(add(ptr, 0x04), recipient)
                    mstore(add(ptr, 0x24), outputAmount)
                    if iszero(call(gas(), weth, 0, ptr, 0x44, 0, 0)) {
                        returndatacopy(ptr, 0, returndatasize())
                        revert(ptr, returndatasize())
                    }
                }
            }
        } else {
            // clipperExchange.swap(address(srcToken), address(dstToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);
            address clipper = address(clipperExchange);
            bytes4 selector = clipperExchange.swap.selector;
            /// @solidity memory-safe-assembly
            assembly { // solhint-disable-line no-inline-assembly
                let ptr := mload(0x40)

                mstore(ptr, selector)
                mstore(add(ptr, 0x04), srcToken)
                mstore(add(ptr, 0x24), dstToken)
                mstore(add(ptr, 0x44), inputAmount)
                mstore(add(ptr, 0x64), outputAmount)
                mstore(add(ptr, 0x84), goodUntil)
                mstore(add(ptr, 0xa4), recipient)
                mstore(add(ptr, 0xc4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))
                mstore(add(ptr, 0xe4), r)
                mstore(add(ptr, 0x104), and(vs, _SIGNATURE_S_MASK))
                mstore(add(ptr, 0x124), 0x140)
                mstore(add(ptr, 0x163), _INCH_TAG_WITH_LENGTH_PREFIX)
                if iszero(call(gas(), clipper, 0, ptr, 0x169, 0, 0)) {
                    returndatacopy(ptr, 0, returndatasize())
                    revert(ptr, returndatasize())
                }
            }
        }

        return outputAmount;
    }
}


// File contracts/interfaces/IUniswapV3SwapCallback.sol

pragma solidity 0.8.17;

/// @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/interfaces/IUniswapV3Pool.sol

pragma solidity 0.8.17;

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 @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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

// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/SafeCast.sol)

pragma solidity ^0.8.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 uint248 from uint256, reverting on
     * overflow (when the input is greater than largest uint248).
     *
     * Counterpart to Solidity's `uint248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     *
     * _Available since v4.7._
     */
    function toUint248(uint256 value) internal pure returns (uint248) {
        require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
        return uint248(value);
    }

    /**
     * @dev Returns the downcasted uint240 from uint256, reverting on
     * overflow (when the input is greater than largest uint240).
     *
     * Counterpart to Solidity's `uint240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     *
     * _Available since v4.7._
     */
    function toUint240(uint256 value) internal pure returns (uint240) {
        require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
        return uint240(value);
    }

    /**
     * @dev Returns the downcasted uint232 from uint256, reverting on
     * overflow (when the input is greater than largest uint232).
     *
     * Counterpart to Solidity's `uint232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     *
     * _Available since v4.7._
     */
    function toUint232(uint256 value) internal pure returns (uint232) {
        require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
        return uint232(value);
    }

    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     *
     * _Available since v4.2._
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint216 from uint256, reverting on
     * overflow (when the input is greater than largest uint216).
     *
     * Counterpart to Solidity's `uint216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     *
     * _Available since v4.7._
     */
    function toUint216(uint256 value) internal pure returns (uint216) {
        require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
        return uint216(value);
    }

    /**
     * @dev Returns the downcasted uint208 from uint256, reverting on
     * overflow (when the input is greater than largest uint208).
     *
     * Counterpart to Solidity's `uint208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     *
     * _Available since v4.7._
     */
    function toUint208(uint256 value) internal pure returns (uint208) {
        require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
        return uint208(value);
    }

    /**
     * @dev Returns the downcasted uint200 from uint256, reverting on
     * overflow (when the input is greater than largest uint200).
     *
     * Counterpart to Solidity's `uint200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     *
     * _Available since v4.7._
     */
    function toUint200(uint256 value) internal pure returns (uint200) {
        require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
        return uint200(value);
    }

    /**
     * @dev Returns the downcasted uint192 from uint256, reverting on
     * overflow (when the input is greater than largest uint192).
     *
     * Counterpart to Solidity's `uint192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     *
     * _Available since v4.7._
     */
    function toUint192(uint256 value) internal pure returns (uint192) {
        require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
        return uint192(value);
    }

    /**
     * @dev Returns the downcasted uint184 from uint256, reverting on
     * overflow (when the input is greater than largest uint184).
     *
     * Counterpart to Solidity's `uint184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     *
     * _Available since v4.7._
     */
    function toUint184(uint256 value) internal pure returns (uint184) {
        require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
        return uint184(value);
    }

    /**
     * @dev Returns the downcasted uint176 from uint256, reverting on
     * overflow (when the input is greater than largest uint176).
     *
     * Counterpart to Solidity's `uint176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     *
     * _Available since v4.7._
     */
    function toUint176(uint256 value) internal pure returns (uint176) {
        require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
        return uint176(value);
    }

    /**
     * @dev Returns the downcasted uint168 from uint256, reverting on
     * overflow (when the input is greater than largest uint168).
     *
     * Counterpart to Solidity's `uint168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     *
     * _Available since v4.7._
     */
    function toUint168(uint256 value) internal pure returns (uint168) {
        require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
        return uint168(value);
    }

    /**
     * @dev Returns the downcasted uint160 from uint256, reverting on
     * overflow (when the input is greater than largest uint160).
     *
     * Counterpart to Solidity's `uint160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     *
     * _Available since v4.7._
     */
    function toUint160(uint256 value) internal pure returns (uint160) {
        require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
        return uint160(value);
    }

    /**
     * @dev Returns the downcasted uint152 from uint256, reverting on
     * overflow (when the input is greater than largest uint152).
     *
     * Counterpart to Solidity's `uint152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     *
     * _Available since v4.7._
     */
    function toUint152(uint256 value) internal pure returns (uint152) {
        require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
        return uint152(value);
    }

    /**
     * @dev Returns the downcasted uint144 from uint256, reverting on
     * overflow (when the input is greater than largest uint144).
     *
     * Counterpart to Solidity's `uint144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     *
     * _Available since v4.7._
     */
    function toUint144(uint256 value) internal pure returns (uint144) {
        require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
        return uint144(value);
    }

    /**
     * @dev Returns the downcasted uint136 from uint256, reverting on
     * overflow (when the input is greater than largest uint136).
     *
     * Counterpart to Solidity's `uint136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toUint136(uint256 value) internal pure returns (uint136) {
        require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
        return uint136(value);
    }

    /**
     * @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
     *
     * _Available since v2.5._
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint120 from uint256, reverting on
     * overflow (when the input is greater than largest uint120).
     *
     * Counterpart to Solidity's `uint120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     *
     * _Available since v4.7._
     */
    function toUint120(uint256 value) internal pure returns (uint120) {
        require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
        return uint120(value);
    }

    /**
     * @dev Returns the downcasted uint112 from uint256, reverting on
     * overflow (when the input is greater than largest uint112).
     *
     * Counterpart to Solidity's `uint112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     *
     * _Available since v4.7._
     */
    function toUint112(uint256 value) internal pure returns (uint112) {
        require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
        return uint112(value);
    }

    /**
     * @dev Returns the downcasted uint104 from uint256, reverting on
     * overflow (when the input is greater than largest uint104).
     *
     * Counterpart to Solidity's `uint104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     *
     * _Available since v4.7._
     */
    function toUint104(uint256 value) internal pure returns (uint104) {
        require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
        return uint104(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     *
     * _Available since v4.2._
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint88 from uint256, reverting on
     * overflow (when the input is greater than largest uint88).
     *
     * Counterpart to Solidity's `uint88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     *
     * _Available since v4.7._
     */
    function toUint88(uint256 value) internal pure returns (uint88) {
        require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
        return uint88(value);
    }

    /**
     * @dev Returns the downcasted uint80 from uint256, reverting on
     * overflow (when the input is greater than largest uint80).
     *
     * Counterpart to Solidity's `uint80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     *
     * _Available since v4.7._
     */
    function toUint80(uint256 value) internal pure returns (uint80) {
        require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
        return uint80(value);
    }

    /**
     * @dev Returns the downcasted uint72 from uint256, reverting on
     * overflow (when the input is greater than largest uint72).
     *
     * Counterpart to Solidity's `uint72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toUint72(uint256 value) internal pure returns (uint72) {
        require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
        return uint72(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
     *
     * _Available since v2.5._
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint56 from uint256, reverting on
     * overflow (when the input is greater than largest uint56).
     *
     * Counterpart to Solidity's `uint56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     *
     * _Available since v4.7._
     */
    function toUint56(uint256 value) internal pure returns (uint56) {
        require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
        return uint56(value);
    }

    /**
     * @dev Returns the downcasted uint48 from uint256, reverting on
     * overflow (when the input is greater than largest uint48).
     *
     * Counterpart to Solidity's `uint48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     *
     * _Available since v4.7._
     */
    function toUint48(uint256 value) internal pure returns (uint48) {
        require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
        return uint48(value);
    }

    /**
     * @dev Returns the downcasted uint40 from uint256, reverting on
     * overflow (when the input is greater than largest uint40).
     *
     * Counterpart to Solidity's `uint40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toUint40(uint256 value) internal pure returns (uint40) {
        require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
        return uint40(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
     *
     * _Available since v2.5._
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint24 from uint256, reverting on
     * overflow (when the input is greater than largest uint24).
     *
     * Counterpart to Solidity's `uint24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toUint24(uint256 value) internal pure returns (uint24) {
        require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
        return uint24(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
     *
     * _Available since v2.5._
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "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
     *
     * _Available since v2.5._
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "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.
     *
     * _Available since v3.0._
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the downcasted int136 from int256, reverting on
     * overflow (when the input is less than smallest int136 or
     * greater than largest int136).
     *
     * Counterpart to Solidity's `int136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toInt136(int256 value) internal pure returns (int136) {
        require(value >= type(int136).min && value <= type(int136).max, "SafeCast: value doesn't fit in 136 bits");
        return int136(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 >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
        return int128(value);
    }

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

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

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

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

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

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

    /**
     * @dev Returns the downcasted int72 from int256, reverting on
     * overflow (when the input is less than smallest int72 or
     * greater than largest int72).
     *
     * Counterpart to Solidity's `int72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toInt72(int256 value) internal pure returns (int72) {
        require(value >= type(int72).min && value <= type(int72).max, "SafeCast: value doesn't fit in 72 bits");
        return int72(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 >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
        return int64(value);
    }

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

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

    /**
     * @dev Returns the downcasted int40 from int256, reverting on
     * overflow (when the input is less than smallest int40 or
     * greater than largest int40).
     *
     * Counterpart to Solidity's `int40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toInt40(int256 value) internal pure returns (int40) {
        require(value >= type(int40).min && value <= type(int40).max, "SafeCast: value doesn't fit in 40 bits");
        return int40(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 >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int24 from int256, reverting on
     * overflow (when the input is less than smallest int24 or
     * greater than largest int24).
     *
     * Counterpart to Solidity's `int24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toInt24(int256 value) internal pure returns (int24) {
        require(value >= type(int24).min && value <= type(int24).max, "SafeCast: value doesn't fit in 24 bits");
        return int24(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 >= type(int16).min && value <= type(int16).max, "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 >= type(int8).min && value <= type(int8).max, "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.
     *
     * _Available since v3.0._
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}


// File contracts/routers/UnoswapV3Router.sol


pragma solidity 0.8.17;









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

    error EmptyPools();
    error BadPool();

    uint256 private constant _ONE_FOR_ZERO_MASK = 1 << 255;
    uint256 private constant _WETH_UNWRAP_MASK = 1 << 253;
    bytes32 private constant _POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;
    bytes32 private constant _FF_FACTORY = 0xff1F98431c8aD98523631AE4a59f267346ea31F9840000000000000000000000;
    // concatenation of token0(), token1() fee(), transfer() and transferFrom() selectors
    bytes32 private constant _SELECTORS = 0x0dfe1681d21220a7ddca3f43a9059cbb23b872dd000000000000000000000000;
    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(IWETH weth) {
        _WETH = 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) {
        srcToken.safePermit(permit);
        return _uniswapV3Swap(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 _uniswapV3Swap(payable(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
    ) external payable returns(uint256 returnAmount) {
        return _uniswapV3Swap(recipient, amount, minReturn, pools);
    }

    function _uniswapV3Swap(
        address payable recipient,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools
    ) private returns(uint256 returnAmount) {
        unchecked {
            uint256 len = pools.length;
            if (len == 0) revert EmptyPools();
            uint256 lastIndex = len - 1;
            returnAmount = amount;
            bool wrapWeth = msg.value > 0;
            bool unwrapWeth = pools[lastIndex] & _WETH_UNWRAP_MASK > 0;
            if (wrapWeth) {
                if (msg.value != amount) revert RouterErrors.InvalidMsgValue();
                _WETH.deposit{value: amount}();
            }
            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);
            }

            if (returnAmount < minReturn) revert RouterErrors.ReturnAmountIsNotEnough();

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

    /// @inheritdoc IUniswapV3SwapCallback
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata /* data */
    ) external override {
        assembly {  // solhint-disable-line no-inline-assembly
            function reRevert() {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }

            function validateERC20Transfer(status) {
                if iszero(status) {
                    reRevert()
                }
                let success := or(
                    iszero(returndatasize()),                       // empty return data
                    and(gt(returndatasize(), 31), eq(mload(0), 1))  // true in return data
                )
                if iszero(success) {
                    mstore(0, 0xf27f64e400000000000000000000000000000000000000000000000000000000)  // ERC20TransferFailed()
                    revert(0, 4)
                }
            }

            let emptyPtr := mload(0x40)
            let resultPtr := add(emptyPtr, 0x15)  // 0x15 = _FF_FACTORY size

            mstore(emptyPtr, _SELECTORS)
            if iszero(staticcall(gas(), caller(), emptyPtr, 0x4, resultPtr, 0x20)) {
                reRevert()
            }
            if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x4), 0x4, add(resultPtr, 0x20), 0x20)) {
                reRevert()
            }
            if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x8), 0x4, add(resultPtr, 0x40), 0x20)) {
                reRevert()
            }

            let token
            let amount
            switch sgt(amount0Delta, 0)
            case 1 {
                token := mload(resultPtr)
                amount := amount0Delta
            }
            default {
                token := mload(add(resultPtr, 0x20))
                amount := amount1Delta
            }

            mstore(emptyPtr, _FF_FACTORY)
            mstore(resultPtr, keccak256(resultPtr, 0x60)) // Compute the inner hash in-place
            mstore(add(resultPtr, 0x20), _POOL_INIT_CODE_HASH)
            let pool := and(keccak256(emptyPtr, 0x55), _ADDRESS_MASK)
            if xor(pool, caller()) {
                mstore(0, 0xb2c0272200000000000000000000000000000000000000000000000000000000)  // BadPool()
                revert(0, 4)
            }

            let payer := calldataload(0x84)
            mstore(emptyPtr, _SELECTORS)
            switch eq(payer, address())
            case 1 {
                // token.safeTransfer(msg.sender,amount)
                mstore(add(emptyPtr, 0x10), caller())
                mstore(add(emptyPtr, 0x30), amount)
                validateERC20Transfer(
                    call(gas(), token, 0, add(emptyPtr, 0x0c), 0x44, 0, 0x20)
                )
            }
            default {
                // token.safeTransferFrom(payer, msg.sender, amount);
                mstore(add(emptyPtr, 0x14), payer)
                mstore(add(emptyPtr, 0x34), caller())
                mstore(add(emptyPtr, 0x54), amount)
                validateERC20Transfer(
                    call(gas(), token, 0, add(emptyPtr, 0x10), 0x64, 0, 0x20)
                )
            }
        }
    }

    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(address(uint160(pool))).swap(
                recipient,
                zeroForOne,
                SafeCast.toInt256(amount),
                _MIN_SQRT_RATIO,
                abi.encode(payer)
            );
            return SafeCast.toUint256(-amount1);
        } else {
            (int256 amount0,) = IUniswapV3Pool(address(uint160(pool))).swap(
                recipient,
                zeroForOne,
                SafeCast.toInt256(amount),
                _MAX_SQRT_RATIO,
                abi.encode(payer)
            );
            return SafeCast.toUint256(-amount0);
        }
    }
}


// File contracts/interfaces/IAggregationExecutor.sol


pragma solidity 0.8.17;

/// @title Interface for making arbitrary calls during swap
interface IAggregationExecutor {
    /// @notice propagates information about original msg.sender and executes arbitrary data
    function execute(address msgSender) external payable;  // 0x4b64e492
}


// File @1inch/solidity-utils/contracts/interfaces/[email protected]


pragma solidity ^0.8.0;


interface IERC20MetadataUppercase {
    function NAME() external view returns (string memory);  // solhint-disable-line func-name-mixedcase
    function SYMBOL() external view returns (string memory);  // solhint-disable-line func-name-mixedcase
}


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

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


// File @1inch/solidity-utils/contracts/libraries/[email protected]


pragma solidity ^0.8.0;

/// @title Library with gas-efficient string operations
library StringUtil {
    function toHex(uint256 value) internal pure returns (string memory) {
        return toHex(abi.encodePacked(value));
    }

    function toHex(address value) internal pure returns (string memory) {
        return toHex(abi.encodePacked(value));
    }

    function toHex(bytes memory data) internal pure returns (string memory result) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            function _toHex16(input) -> output {
                output := or(
                    and(input, 0xFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000),
                    shr(64, and(input, 0x0000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000))
                )
                output := or(
                    and(output, 0xFFFFFFFF000000000000000000000000FFFFFFFF000000000000000000000000),
                    shr(32, and(output, 0x00000000FFFFFFFF000000000000000000000000FFFFFFFF0000000000000000))
                )
                output := or(
                    and(output, 0xFFFF000000000000FFFF000000000000FFFF000000000000FFFF000000000000),
                    shr(16, and(output, 0x0000FFFF000000000000FFFF000000000000FFFF000000000000FFFF00000000))
                )
                output := or(
                    and(output, 0xFF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000),
                    shr(8, and(output, 0x00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000))
                )
                output := or(
                    shr(4, and(output, 0xF000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000)),
                    shr(8, and(output, 0x0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F00))
                )
                output := add(
                    add(0x3030303030303030303030303030303030303030303030303030303030303030, output),
                    mul(
                        and(
                            shr(4, add(output, 0x0606060606060606060606060606060606060606060606060606060606060606)),
                            0x0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
                        ),
                        7   // Change 7 to 39 for lower case output
                    )
                )
            }

            result := mload(0x40)
            let length := mload(data)
            let resultLength := shl(1, length)
            let toPtr := add(result, 0x22)          // 32 bytes for length + 2 bytes for '0x'
            mstore(0x40, add(toPtr, resultLength))  // move free memory pointer
            mstore(add(result, 2), 0x3078)          // 0x3078 is right aligned so we write to `result + 2`
                                                    // to store the last 2 bytes in the beginning of the string
            mstore(result, add(resultLength, 2))    // extra 2 bytes for '0x'

            for {
                let fromPtr := add(data, 0x20)
                let endPtr := add(fromPtr, length)
            } lt(fromPtr, endPtr) {
                fromPtr := add(fromPtr, 0x20)
            } {
                let rawData := mload(fromPtr)
                let hexData := _toHex16(rawData)
                mstore(toPtr, hexData)
                toPtr := add(toPtr, 0x20)
                hexData := _toHex16(shl(128, rawData))
                mstore(toPtr, hexData)
                toPtr := add(toPtr, 0x20)
            }
        }
    }
}


// File @1inch/solidity-utils/contracts/libraries/[email protected]


pragma solidity ^0.8.0;





library UniERC20 {
    using SafeERC20 for IERC20;

    error InsufficientBalance();
    error ApproveCalledOnETH();
    error NotEnoughValue();
    error FromIsNotSender();
    error ToIsNotThis();
    error ETHTransferFailed();

    uint256 private constant _RAW_CALL_GAS_LIMIT = 5000;
    IERC20 private constant _ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
    IERC20 private constant _ZERO_ADDRESS = IERC20(address(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);
        }
    }

    /// @dev note that this function does nothing in case of zero amount
    function uniTransfer(IERC20 token, address payable to, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                if (address(this).balance < amount) revert InsufficientBalance();
                // solhint-disable-next-line avoid-low-level-calls
                (bool success, ) = to.call{value: amount, gas: _RAW_CALL_GAS_LIMIT}("");
                if (!success) revert ETHTransferFailed();
            } else {
                token.safeTransfer(to, amount);
            }
        }
    }

    /// @dev note that this function does nothing in case of zero amount
    function uniTransferFrom(IERC20 token, address payable from, address to, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                if (msg.value < amount) revert NotEnoughValue();
                if (from != msg.sender) revert FromIsNotSender();
                if (to != address(this)) revert ToIsNotThis();
                if (msg.value > amount) {
                    // Return remainder if exist
                    unchecked {
                        // solhint-disable-next-line avoid-low-level-calls
                        (bool success, ) = from.call{value: msg.value - amount, gas: _RAW_CALL_GAS_LIMIT}("");
                        if (!success) revert ETHTransferFailed();
                    }
                }
            } else {
                token.safeTransferFrom(from, to, amount);
            }
        }
    }

    function uniSymbol(IERC20 token) internal view returns(string memory) {
        return _uniDecode(token, IERC20Metadata.symbol.selector, IERC20MetadataUppercase.SYMBOL.selector);
    }

    function uniName(IERC20 token) internal view returns(string memory) {
        return _uniDecode(token, IERC20Metadata.name.selector, IERC20MetadataUppercase.NAME.selector);
    }

    function uniApprove(IERC20 token, address to, uint256 amount) internal {
        if (isETH(token)) revert ApproveCalledOnETH();

        token.forceApprove(to, amount);
    }

    /// 20K gas is provided to account for possible implementations of name/symbol
    /// (token implementation might be behind proxy or store the value in storage)
    function _uniDecode(IERC20 token, bytes4 lowerCaseSelector, bytes4 upperCaseSelector) private view returns(string memory result) {
        if (isETH(token)) {
            return "ETH";
        }

        (bool success, bytes memory data) = address(token).staticcall{ gas: 20000 }(
            abi.encodeWithSelector(lowerCaseSelector)
        );
        if (!success) {
            (success, data) = address(token).staticcall{ gas: 20000 }(
                abi.encodeWithSelector(upperCaseSelector)
            );
        }

        if (success && data.length >= 0x40) {
            (uint256 offset, uint256 len) = abi.decode(data, (uint256, uint256));
            if (offset == 0x20 && len > 0 && data.length == 0x40 + len) {
                /// @solidity memory-safe-assembly
                assembly { // solhint-disable-line no-inline-assembly
                    result := add(data, 0x20)
                }
                return result;
            }
        }

        if (success && data.length == 32) {
            uint256 len = 0;
            while (len < data.length && data[len] >= 0x20 && data[len] <= 0x7E) {
                unchecked {
                    len++;
                }
            }

            if (len > 0) {
                /// @solidity memory-safe-assembly
                assembly { // solhint-disable-line no-inline-assembly
                    mstore(data, len)
                }
                return string(data);
            }
        }

        return StringUtil.toHex(address(token));
    }
}


// File contracts/routers/GenericRouter.sol


pragma solidity 0.8.17;





contract GenericRouter is EthReceiver {
    using UniERC20 for IERC20;
    using SafeERC20 for IERC20;

    error ZeroMinReturn();
    error ZeroReturnAmount();

    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;
    }

    /// @notice Performs a swap, delegating all calls encoded in `data` to `executor`. See tests for usage examples
    /// @dev router keeps 1 wei of every token on the contract balance for gas optimisations reasons. This affects first swap of every token by leaving 1 wei on the contract.
    /// @param executor Aggregation executor that executes calls described in `data`
    /// @param desc Swap description
    /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.
    /// @param data Encoded calls that `caller` should execute in between of swaps
    /// @return returnAmount Resulting token amount
    /// @return spentAmount Source token amount
    function swap(
        IAggregationExecutor executor,
        SwapDescription calldata desc,
        bytes calldata permit,
        bytes calldata data
    )
        external
        payable
        returns (
            uint256 returnAmount,
            uint256 spentAmount
        )
    {
        if (desc.minReturnAmount == 0) revert ZeroMinReturn();

        IERC20 srcToken = desc.srcToken;
        IERC20 dstToken = desc.dstToken;

        bool srcETH = srcToken.isETH();
        if (desc.flags & _REQUIRES_EXTRA_ETH != 0) {
            if (msg.value <= (srcETH ? desc.amount : 0)) revert RouterErrors.InvalidMsgValue();
        } else {
            if (msg.value != (srcETH ? desc.amount : 0)) revert RouterErrors.InvalidMsgValue();
        }

        if (!srcETH) {
            if (permit.length > 0) {
                srcToken.safePermit(permit);
            }
            srcToken.safeTransferFrom(msg.sender, desc.srcReceiver, desc.amount);
        }

        _execute(executor, msg.sender, desc.amount, data);

        spentAmount = desc.amount;
        // we leave 1 wei on the router for gas optimisations reasons
        returnAmount = dstToken.uniBalanceOf(address(this));
        if (returnAmount == 0) revert ZeroReturnAmount();
        unchecked { returnAmount--; }

        if (desc.flags & _PARTIAL_FILL != 0) {
            uint256 unspentAmount = srcToken.uniBalanceOf(address(this));
            if (unspentAmount > 1) {
                // we leave 1 wei on the router for gas optimisations reasons
                unchecked { unspentAmount--; }
                spentAmount -= unspentAmount;
                srcToken.uniTransfer(payable(msg.sender), unspentAmount);
            }
            if (returnAmount * desc.amount < desc.minReturnAmount * spentAmount) revert RouterErrors.ReturnAmountIsNotEnough();
        } else {
            if (returnAmount < desc.minReturnAmount) revert RouterErrors.ReturnAmountIsNotEnough();
        }

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

    function _execute(
        IAggregationExecutor executor,
        address srcTokenOwner,
        uint256 inputAmount,
        bytes calldata data
    ) private {
        bytes4 executeSelector = executor.execute.selector;
        /// @solidity memory-safe-assembly
        assembly {  // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            mstore(ptr, executeSelector)
            mstore(add(ptr, 0x04), srcTokenOwner)
            calldatacopy(add(ptr, 0x24), data.offset, data.length)
            mstore(add(add(ptr, 0x24), data.length), inputAmount)

            if iszero(call(gas(), executor, callvalue(), ptr, add(0x44, data.length), 0, 0)) {
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
        }
    }
}


// File contracts/routers/UnoswapRouter.sol


pragma solidity 0.8.17;




contract UnoswapRouter is EthReceiver {
    using SafeERC20 for IERC20;

    error ReservesCallFailed();
    error SwapAmountTooLarge();

    bytes4 private constant _TRANSFER_FROM_CALL_SELECTOR = 0x23b872dd;
    bytes4 private constant _WETH_DEPOSIT_CALL_SELECTOR = 0xd0e30db0;
    bytes4 private constant _WETH_WITHDRAW_CALL_SELECTOR = 0x2e1a7d4d;
    bytes4 private constant _ERC20_TRANSFER_CALL_SELECTOR = 0xa9059cbb;
    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
    address private constant _WETH = 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1;
    bytes4 private constant _UNISWAP_PAIR_RESERVES_CALL_SELECTOR = 0x0902f1ac;
    bytes4 private constant _UNISWAP_PAIR_SWAP_CALL_SELECTOR = 0x022c0d9f;
    uint256 private constant _DENOMINATOR = 1e9;
    uint256 private constant _NUMERATOR_OFFSET = 160;
    uint256 private constant _MAX_SWAP_AMOUNT = (1 << 112) - 1;  // type(uint112).max;

    /// @notice Same as `unoswapTo` but calls permit first,
    /// allowing to approve token spending and make a swap in one transaction.
    /// @param recipient Address that will receive swapped 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 unoswapToWithPermit(
        address payable recipient,
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools,
        bytes calldata permit
    ) external returns(uint256 returnAmount) {
        srcToken.safePermit(permit);
        return _unoswap(recipient, 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 recipient Address that will receive swapped 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
    function unoswapTo(
        address payable recipient,
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools
    ) external payable returns(uint256 returnAmount) {
        return _unoswap(recipient, 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,
        uint256[] calldata pools
    ) external payable returns(uint256 returnAmount) {
        return _unoswap(payable(msg.sender), srcToken, amount, minReturn, pools);
    }

    function _unoswap(
        address payable recipient,
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata pools
    ) private returns(uint256 returnAmount) {
        assembly {  // solhint-disable-line no-inline-assembly
            function reRevert() {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }

            function validateERC20Transfer(status) {
                if iszero(status) {
                    reRevert()
                }
                let success := or(
                    iszero(returndatasize()),                       // empty return data
                    and(gt(returndatasize(), 31), eq(mload(0), 1))  // true in return data
                )
                if iszero(success) {
                    mstore(0, 0xf27f64e400000000000000000000000000000000000000000000000000000000)  // ERC20TransferFailed()
                    revert(0, 4)
                }
            }

            function swap(emptyPtr, swapAmount, pair, reversed, numerator, to) -> ret {
                mstore(emptyPtr, _UNISWAP_PAIR_RESERVES_CALL_SELECTOR)
                if iszero(staticcall(gas(), pair, emptyPtr, 0x4, emptyPtr, 0x40)) {
                    reRevert()
                }
                if iszero(eq(returndatasize(), 0x60)) {
                    mstore(0, 0x85cd58dc00000000000000000000000000000000000000000000000000000000)  // ReservesCallFailed()
                    revert(0, 4)
                }

                let reserve0 := mload(emptyPtr)
                let reserve1 := mload(add(emptyPtr, 0x20))
                if reversed {
                    let tmp := reserve0
                    reserve0 := reserve1
                    reserve1 := tmp
                }
                // this will not overflow as reserve0, reserve1 and ret fit to 112 bit and numerator and _DENOMINATOR fit to 32 bit
                ret := mul(swapAmount, numerator)
                ret := div(mul(ret, reserve1), add(ret, mul(reserve0, _DENOMINATOR)))

                mstore(emptyPtr, _UNISWAP_PAIR_SWAP_CALL_SELECTOR)
                reversed := iszero(reversed)
                mstore(add(emptyPtr, 0x04), mul(ret, iszero(reversed)))
                mstore(add(emptyPtr, 0x24), mul(ret, reversed))
                mstore(add(emptyPtr, 0x44), to)
                mstore(add(emptyPtr, 0x64), 0x80)
                mstore(add(emptyPtr, 0x84), 0)
                if iszero(call(gas(), pair, 0, emptyPtr, 0xa4, 0, 0)) {
                    reRevert()
                }
            }

            // make sure that input amount fits in 112 bit
            if gt(amount, _MAX_SWAP_AMOUNT) {
                mstore(0, 0xcf0b4d3a00000000000000000000000000000000000000000000000000000000)  // SwapAmountTooLarge()
                revert(0, 4)
            }

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

            let poolsEndOffset := add(pools.offset, shl(5, pools.length))
            let rawPair := calldataload(pools.offset)
            switch srcToken
            case 0 {
                if iszero(eq(amount, callvalue())) {
                    mstore(0, 0x1841b4e100000000000000000000000000000000000000000000000000000000)  // InvalidMsgValue()
                    revert(0, 4)
                }

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

                mstore(emptyPtr, _ERC20_TRANSFER_CALL_SELECTOR)
                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() {
                    mstore(0, 0x1841b4e100000000000000000000000000000000000000000000000000000000)  // InvalidMsgValue()
                    revert(0, 4)
                }

                mstore(emptyPtr, _TRANSFER_FROM_CALL_SELECTOR)
                mstore(add(emptyPtr, 0x4), caller())
                mstore(add(emptyPtr, 0x24), and(rawPair, _ADDRESS_MASK))
                mstore(add(emptyPtr, 0x44), amount)
                validateERC20Transfer(
                    call(gas(), srcToken, 0, emptyPtr, 0x64, 0, 0x20)
                )
            }

            returnAmount := amount

            for {let i := add(pools.offset, 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)),
                    recipient
                )
            }
            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)
                mstore(add(emptyPtr, 0x04), returnAmount)
                if iszero(call(gas(), _WETH, 0, emptyPtr, 0x24, 0, 0)) {
                    reRevert()
                }

                if iszero(call(gas(), recipient, returnAmount, 0, 0, 0, 0)) {
                    reRevert()
                }
            }
        }
        if (returnAmount < minReturn) revert RouterErrors.ReturnAmountIsNotEnough();
    }
}


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

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^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;
    address private immutable _CACHED_THIS;

    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 = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

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

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, 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 ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}


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

// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
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 @1inch/solidity-utils/contracts/libraries/[email protected]


pragma solidity ^0.8.0;

library ECDSA {
    // 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.
    uint256 private constant _S_BOUNDARY = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 + 1;
    uint256 private constant _COMPACT_S_MASK = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    uint256 private constant _COMPACT_V_SHIFT = 255;

    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(address signer) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            if lt(s, _S_BOUNDARY) {
                let ptr := mload(0x40)

                mstore(ptr, hash)
                mstore(add(ptr, 0x20), v)
                mstore(add(ptr, 0x40), r)
                mstore(add(ptr, 0x60), s)
                mstore(0, 0)
                pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))
                signer := mload(0)
            }
        }
    }

    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns(address signer) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let s := and(vs, _COMPACT_S_MASK)
            if lt(s, _S_BOUNDARY) {
                let ptr := mload(0x40)

                mstore(ptr, hash)
                mstore(add(ptr, 0x20), add(27, shr(_COMPACT_V_SHIFT, vs)))
                mstore(add(ptr, 0x40), r)
                mstore(add(ptr, 0x60), s)
                mstore(0, 0)
                pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))
                signer := mload(0)
            }
        }
    }

    /// WARNING!!!
    /// There is a known signature malleability issue with two representations of signatures!
    /// Even though this function is able to verify both standard 65-byte and compact 64-byte EIP-2098 signatures
    /// one should never use raw signatures for any kind of invalidation logic in their code.
    /// As the standard and compact representations are interchangeable any invalidation logic that relies on
    /// signature uniqueness will get rekt.
    /// More info: https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-4h98-2769-gh6h
    function recover(bytes32 hash, bytes calldata signature) internal view returns(address signer) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            // memory[ptr:ptr+0x80] = (hash, v, r, s)
            switch signature.length
            case 65 {
                // memory[ptr+0x20:ptr+0x80] = (v, r, s)
                mstore(add(ptr, 0x20), byte(0, calldataload(add(signature.offset, 0x40))))
                calldatacopy(add(ptr, 0x40), signature.offset, 0x40)
            }
            case 64 {
                // memory[ptr+0x20:ptr+0x80] = (v, r, s)
                let vs := calldataload(add(signature.offset, 0x20))
                mstore(add(ptr, 0x20), add(27, shr(_COMPACT_V_SHIFT, vs)))
                calldatacopy(add(ptr, 0x40), signature.offset, 0x20)
                mstore(add(ptr, 0x60), and(vs, _COMPACT_S_MASK))
            }
            default {
                ptr := 0
            }

            if ptr {
                if lt(mload(add(ptr, 0x60)), _S_BOUNDARY) {
                    // memory[ptr:ptr+0x20] = (hash)
                    mstore(ptr, hash)

                    mstore(0, 0)
                    pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))
                    signer := mload(0)
                }
            }
        }
    }

    function recoverOrIsValidSignature(address signer, bytes32 hash, bytes calldata signature) internal view returns(bool success) {
        if (signer == address(0)) return false;
        if ((signature.length == 64 || signature.length == 65) && recover(hash, signature) == signer) {
            return true;
        }
        return isValidSignature(signer, hash, signature);
    }

    function recoverOrIsValidSignature(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(bool success) {
        if (signer == address(0)) return false;
        if (recover(hash, v, r, s) == signer) {
            return true;
        }
        return isValidSignature(signer, hash, v, r, s);
    }

    function recoverOrIsValidSignature(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {
        if (signer == address(0)) return false;
        if (recover(hash, r, vs) == signer) {
            return true;
        }
        return isValidSignature(signer, hash, r, vs);
    }

    function recoverOrIsValidSignature65(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {
        if (signer == address(0)) return false;
        if (recover(hash, r, vs) == signer) {
            return true;
        }
        return isValidSignature65(signer, hash, r, vs);
    }

    function isValidSignature(address signer, bytes32 hash, bytes calldata signature) internal view returns(bool success) {
        // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature));
        // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;
        bytes4 selector = IERC1271.isValidSignature.selector;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            mstore(ptr, selector)
            mstore(add(ptr, 0x04), hash)
            mstore(add(ptr, 0x24), 0x40)
            mstore(add(ptr, 0x44), signature.length)
            calldatacopy(add(ptr, 0x64), signature.offset, signature.length)
            if staticcall(gas(), signer, ptr, add(0x64, signature.length), 0, 0x20) {
                success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))
            }
        }
    }

    function isValidSignature(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(bool success) {
        bytes4 selector = IERC1271.isValidSignature.selector;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            mstore(ptr, selector)
            mstore(add(ptr, 0x04), hash)
            mstore(add(ptr, 0x24), 0x40)
            mstore(add(ptr, 0x44), 65)
            mstore(add(ptr, 0x64), r)
            mstore(add(ptr, 0x84), s)
            mstore8(add(ptr, 0xa4), v)
            if staticcall(gas(), signer, ptr, 0xa5, 0, 0x20) {
                success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))
            }
        }
    }

    function isValidSignature(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {
        // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, abi.encodePacked(r, vs)));
        // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;
        bytes4 selector = IERC1271.isValidSignature.selector;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            mstore(ptr, selector)
            mstore(add(ptr, 0x04), hash)
            mstore(add(ptr, 0x24), 0x40)
            mstore(add(ptr, 0x44), 64)
            mstore(add(ptr, 0x64), r)
            mstore(add(ptr, 0x84), vs)
            if staticcall(gas(), signer, ptr, 0xa4, 0, 0x20) {
                success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))
            }
        }
    }

    function isValidSignature65(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {
        // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, abi.encodePacked(r, vs & ~uint256(1 << 255), uint8(vs >> 255))));
        // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;
        bytes4 selector = IERC1271.isValidSignature.selector;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            mstore(ptr, selector)
            mstore(add(ptr, 0x04), hash)
            mstore(add(ptr, 0x24), 0x40)
            mstore(add(ptr, 0x44), 65)
            mstore(add(ptr, 0x64), r)
            mstore(add(ptr, 0x84), and(vs, _COMPACT_S_MASK))
            mstore8(add(ptr, 0xa4), add(27, shr(_COMPACT_V_SHIFT, vs)))
            if staticcall(gas(), signer, ptr, 0xa5, 0, 0x20) {
                success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))
            }
        }
    }

    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 res) {
        // 32 is the length in bytes of hash, enforced by the type signature above
        // return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            mstore(0, 0x19457468657265756d205369676e6564204d6573736167653a0a333200000000) // "\x19Ethereum Signed Message:\n32"
            mstore(28, hash)
            res := keccak256(0, 60)
        }
    }

    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 res) {
        // return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)
            mstore(ptr, 0x1901000000000000000000000000000000000000000000000000000000000000) // "\x19\x01"
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            res := keccak256(ptr, 66)
        }
    }
}


// File @1inch/limit-order-protocol/contracts/[email protected]


pragma solidity 0.8.17;

library OrderLib {
    struct Order {
        uint256 salt;
        address makerAsset;
        address takerAsset;
        address maker;
        address receiver;
        address allowedSender;  // equals to Zero address on public orders
        uint256 makingAmount;
        uint256 takingAmount;
        uint256 offsets;
        // bytes makerAssetData;
        // bytes takerAssetData;
        // bytes getMakingAmount; // this.staticcall(abi.encodePacked(bytes, swapTakerAmount)) => (swapMakerAmount)
        // bytes getTakingAmount; // this.staticcall(abi.encodePacked(bytes, swapMakerAmount)) => (swapTakerAmount)
        // bytes predicate;       // this.staticcall(bytes) => (bool)
        // bytes permit;          // On first fill: permit.1.call(abi.encodePacked(permit.selector, permit.2))
        // bytes preInteraction;
        // bytes postInteraction;
        bytes interactions; // concat(makerAssetData, takerAssetData, getMakingAmount, getTakingAmount, predicate, permit, preIntercation, postInteraction)
    }

    bytes32 constant internal _LIMIT_ORDER_TYPEHASH = keccak256(
        "Order("
            "uint256 salt,"
            "address makerAsset,"
            "address takerAsset,"
            "address maker,"
            "address receiver,"
            "address allowedSender,"
            "uint256 makingAmount,"
            "uint256 takingAmount,"
            "uint256 offsets,"
            "bytes interactions"
        ")"
    );

    enum DynamicField {
        MakerAssetData,
        TakerAssetData,
        GetMakingAmount,
        GetTakingAmount,
        Predicate,
        Permit,
        PreInteraction,
        PostInteraction
    }

    function getterIsFrozen(bytes calldata getter) internal pure returns(bool) {
        return getter.length == 1 && getter[0] == "x";
    }

    function _get(Order calldata order, DynamicField field) private pure returns(bytes calldata) {
        uint256 bitShift = uint256(field) << 5; // field * 32
        return order.interactions[
            uint32((order.offsets << 32) >> bitShift):
            uint32(order.offsets >> bitShift)
        ];
    }

    function makerAssetData(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.MakerAssetData);
    }

    function takerAssetData(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.TakerAssetData);
    }

    function getMakingAmount(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.GetMakingAmount);
    }

    function getTakingAmount(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.GetTakingAmount);
    }

    function predicate(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.Predicate);
    }

    function permit(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.Permit);
    }

    function preInteraction(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.PreInteraction);
    }

    function postInteraction(Order calldata order) internal pure returns(bytes calldata) {
        return _get(order, DynamicField.PostInteraction);
    }

    function hash(Order calldata order, bytes32 domainSeparator) internal pure returns(bytes32 result) {
        bytes calldata interactions = order.interactions;
        bytes32 typehash = _LIMIT_ORDER_TYPEHASH;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := mload(0x40)

            // keccak256(abi.encode(_LIMIT_ORDER_TYPEHASH, orderWithoutInteractions, keccak256(order.interactions)));
            calldatacopy(ptr, interactions.offset, interactions.length)
            mstore(add(ptr, 0x140), keccak256(ptr, interactions.length))
            calldatacopy(add(ptr, 0x20), order, 0x120)
            mstore(ptr, typehash)
            result := keccak256(ptr, 0x160)
        }
        result = ECDSA.toTypedDataHash(domainSeparator, result);
    }
}


// File @1inch/limit-order-protocol/contracts/libraries/[email protected]


pragma solidity 0.8.17;

/// @title Library with gas efficient alternatives to `abi.decode`
library ArgumentsDecoder {
    error IncorrectDataLength();

    function decodeUint256(bytes calldata data, uint256 offset) internal pure returns(uint256 value) {
        unchecked { if (data.length < offset + 32) revert IncorrectDataLength(); }
        // no memory ops inside so this insertion is automatically memory safe
        assembly { // solhint-disable-line no-inline-assembly
            value := calldataload(add(data.offset, offset))
        }
    }

    function decodeSelector(bytes calldata data) internal pure returns(bytes4 value) {
        if (data.length < 4) revert IncorrectDataLength();
        // no memory ops inside so this insertion is automatically memory safe
        assembly { // solhint-disable-line no-inline-assembly
            value := calldataload(data.offset)
        }
    }

    function decodeTailCalldata(bytes calldata data, uint256 tailOffset) internal pure returns(bytes calldata args) {
        if (data.length < tailOffset) revert IncorrectDataLength();
        // no memory ops inside so this insertion is automatically memory safe
        assembly {  // solhint-disable-line no-inline-assembly
            args.offset := add(data.offset, tailOffset)
            args.length := sub(data.length, tailOffset)
        }
    }

    function decodeTargetAndCalldata(bytes calldata data) internal pure returns(address target, bytes calldata args) {
        if (data.length < 20) revert IncorrectDataLength();
        // no memory ops inside so this insertion is automatically memory safe
        assembly {  // solhint-disable-line no-inline-assembly
            target := shr(96, calldataload(data.offset))
            args.offset := add(data.offset, 20)
            args.length := sub(data.length, 20)
        }
    }
}


// File @1inch/limit-order-protocol/contracts/helpers/[email protected]


pragma solidity 0.8.17;

/// @title A helper contract for managing nonce of tx sender
contract NonceManager {
    error AdvanceNonceFailed();
    event NonceIncreased(address indexed maker, uint256 newNonce);

    mapping(address => uint256) public nonce;

    /// @notice Advances nonce by one
    function increaseNonce() external {
        advanceNonce(1);
    }

    /// @notice Advances nonce by specified amount
    function advanceNonce(uint8 amount) public {
        if (amount == 0) revert AdvanceNonceFailed();
        uint256 newNonce = nonce[msg.sender] + amount;
        nonce[msg.sender] = newNonce;
        emit NonceIncreased(msg.sender, newNonce);
    }

    /// @notice Checks if `makerAddress` has specified `makerNonce`
    /// @return Result True if `makerAddress` has specified nonce. Otherwise, false
    function nonceEquals(address makerAddress, uint256 makerNonce) public view returns(bool) {
        return nonce[makerAddress] == makerNonce;
    }
}


// File @1inch/limit-order-protocol/contracts/helpers/[email protected]


pragma solidity 0.8.17;


/// @title A helper contract for executing boolean functions on arbitrary target call results
contract PredicateHelper is NonceManager {
    using ArgumentsDecoder for bytes;

    error ArbitraryStaticCallFailed();

    /// @notice Calls every target with corresponding data
    /// @return Result True if call to any target returned True. Otherwise, false
    function or(uint256 offsets, bytes calldata data) public view returns(bool) {
        uint256 current;
        uint256 previous;
        for (uint256 i = 0; (current = uint32(offsets >> i)) != 0; i += 32) {
            (bool success, uint256 res) = _selfStaticCall(data[previous:current]);
            if (success && res == 1) {
                return true;
            }
            previous = current;
        }
        return false;
    }

    /// @notice Calls every target with corresponding data
    /// @return Result True if calls to all targets returned True. Otherwise, false
    function and(uint256 offsets, bytes calldata data) public view returns(bool) {
        uint256 current;
        uint256 previous;
        for (uint256 i = 0; (current = uint32(offsets >> i)) != 0; i += 32) {
            (bool success, uint256 res) = _selfStaticCall(data[previous:current]);
            if (!success || res != 1) {
                return false;
            }
            previous = current;
        }
        return true;
    }

    /// @notice Calls target with specified data and tests if it's equal to the value
    /// @param value Value to test
    /// @return Result True if call to target returns the same value as `value`. Otherwise, false
    function eq(uint256 value, bytes calldata data) public view returns(bool) {
        (bool success, uint256 res) = _selfStaticCall(data);
        return success && res == value;
    }

    /// @notice Calls target with specified data and tests if it's lower than value
    /// @param value Value to test
    /// @return Result True if call to target returns value which is lower than `value`. Otherwise, false
    function lt(uint256 value, bytes calldata data) public view returns(bool) {
        (bool success, uint256 res) = _selfStaticCall(data);
        return success && res < value;
    }

    /// @notice Calls target with specified data and tests if it's bigger than value
    /// @param value Value to test
    /// @return Result True if call to target returns value which is bigger than `value`. Otherwise, false
    function gt(uint256 value, bytes calldata data) public view returns(bool) {
        (bool success, uint256 res) = _selfStaticCall(data);
        return success && res > value;
    }

    /// @notice Checks passed time against block timestamp
    /// @return Result True if current block timestamp is lower than `time`. Otherwise, false
    function timestampBelow(uint256 time) public view returns(bool) {
        return block.timestamp < time;  // solhint-disable-line not-rely-on-time
    }

    /// @notice Performs an arbitrary call to target with data
    /// @return Result Bytes transmuted to uint256
    function arbitraryStaticCall(address target, bytes calldata data) public view returns(uint256) {
        (bool success, uint256 res) = _staticcallForUint(target, data);
        if (!success) revert ArbitraryStaticCallFailed();
        return res;
    }

    function timestampBelowAndNonceEquals(uint256 timeNonceAccount) public view returns(bool) {
        uint256 _time = uint48(timeNonceAccount >> 208);
        uint256 _nonce = uint48(timeNonceAccount >> 160);
        address _account = address(uint160(timeNonceAccount));
        return timestampBelow(_time) && nonceEquals(_account, _nonce);
    }

    function _selfStaticCall(bytes calldata data) internal view returns(bool, uint256) {
        uint256 selector = uint32(data.decodeSelector());
        uint256 arg = data.decodeUint256(4);

        // special case for the most often used predicate
        if (selector == uint32(this.timestampBelowAndNonceEquals.selector)) {  // 0x2cc2878d
            return (true, timestampBelowAndNonceEquals(arg) ? 1 : 0);
        }

        if (selector < uint32(this.arbitraryStaticCall.selector)) {  // 0xbf15fcd8
            if (selector < uint32(this.eq.selector)) {  // 0x6fe7b0ba
                if (selector == uint32(this.gt.selector)) {  // 0x4f38e2b8
                    return (true, gt(arg, data.decodeTailCalldata(100)) ? 1 : 0);
                } else if (selector == uint32(this.timestampBelow.selector)) {  // 0x63592c2b
                    return (true, timestampBelow(arg) ? 1 : 0);
                }
            } else {
                if (selector == uint32(this.eq.selector)) {  // 0x6fe7b0ba
                    return (true, eq(arg, data.decodeTailCalldata(100)) ? 1 : 0);
                } else if (selector == uint32(this.or.selector)) {  // 0x74261145
                    return (true, or(arg, data.decodeTailCalldata(100)) ? 1 : 0);
                }
            }
        } else {
            if (selector < uint32(this.lt.selector)) {  // 0xca4ece22
                if (selector == uint32(this.arbitraryStaticCall.selector)) {  // 0xbf15fcd8
                    return (true, arbitraryStaticCall(address(uint160(arg)), data.decodeTailCalldata(100)));
                } else if (selector == uint32(this.and.selector)) {  // 0xbfa75143
                    return (true, and(arg, data.decodeTailCalldata(100)) ? 1 : 0);
                }
            } else {
                if (selector == uint32(this.lt.selector)) {  // 0xca4ece22
                    return (true, lt(arg, data.decodeTailCalldata(100)) ? 1 : 0);
                } else if (selector == uint32(this.nonceEquals.selector)) {  // 0xcf6fc6e3
                    return (true, nonceEquals(address(uint160(arg)), data.decodeUint256(0x24)) ? 1 : 0);
                }
            }
        }

        return _staticcallForUint(address(this), data);
    }

    function _staticcallForUint(address target, bytes calldata input) private view returns(bool success, uint256 res) {
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let data := mload(0x40)

            calldatacopy(data, input.offset, input.length)
            success := staticcall(gas(), target, data, input.length, 0x0, 0x20)
            success := and(success, eq(returndatasize(), 32))
            if success {
                res := mload(0)
            }
        }
    }
}


// File @1inch/limit-order-protocol/contracts/helpers/[email protected]


pragma solidity 0.8.17;

/// @title A helper contract for calculations related to order amounts
library AmountCalculator {
    /// @notice Calculates maker amount
    /// @return Result Floored maker amount
    function getMakingAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) internal pure returns(uint256) {
        return swapTakerAmount * orderMakerAmount / orderTakerAmount;
    }

    /// @notice Calculates taker amount
    /// @return Result Ceiled taker amount
    function getTakingAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) internal pure returns(uint256) {
        return (swapMakerAmount * orderTakerAmount + orderMakerAmount - 1) / orderMakerAmount;
    }
}


// File @1inch/limit-order-protocol/contracts/libraries/[email protected]


pragma solidity 0.8.17;

library Errors {
    error InvalidMsgValue();
    error ETHTransferFailed();
}


// File @1inch/limit-order-protocol/contracts/interfaces/[email protected]


pragma solidity 0.8.17;

/// @title Interface for interactor which acts between `maker => taker` and `taker => maker` transfers.
interface PreInteractionNotificationReceiver {
    function fillOrderPreInteraction(
        bytes32 orderHash,
        address maker,
        address taker,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 remainingAmount,
        bytes memory interactiveData
    ) external;
}

interface PostInteractionNotificationReceiver {
    /// @notice Callback method that gets called after taker transferred funds to maker but before
    /// the opposite transfer happened
    function fillOrderPostInteraction(
        bytes32 orderHash,
        address maker,
        address taker,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 remainingAmount,
        bytes memory interactiveData
    ) external;
}

interface InteractionNotificationReceiver {
    function fillOrderInteraction(
        address taker,
        uint256 makingAmount,
        uint256 takingAmount,
        bytes memory interactiveData
    ) external returns(uint256 offeredTakingAmount);
}


// File @1inch/limit-order-protocol/contracts/interfaces/[email protected]


pragma solidity 0.8.17;

interface IOrderMixin {
    /**
     * @notice Returns unfilled amount for order. Throws if order does not exist
     * @param orderHash Order's hash. Can be obtained by the `hashOrder` function
     * @return amount Unfilled amount
     */
    function remaining(bytes32 orderHash) external view returns(uint256 amount);

    /**
     * @notice Returns unfilled amount for order
     * @param orderHash Order's hash. Can be obtained by the `hashOrder` function
     * @return rawAmount Unfilled amount of order plus one if order exists. Otherwise 0
     */
    function remainingRaw(bytes32 orderHash) external view returns(uint256 rawAmount);

    /**
     * @notice Same as `remainingRaw` but for multiple orders
     * @param orderHashes Array of hashes
     * @return rawAmounts Array of amounts for each order plus one if order exists or 0 otherwise
     */
    function remainingsRaw(bytes32[] memory orderHashes) external view returns(uint256[] memory rawAmounts);

    /**
     * @notice Checks order predicate
     * @param order Order to check predicate for
     * @return result Predicate evaluation result. True if predicate allows to fill the order, false otherwise
     */
    function checkPredicate(OrderLib.Order calldata order) external view returns(bool result);

    /**
     * @notice Returns order hash according to EIP712 standard
     * @param order Order to get hash for
     * @return orderHash Hash of the order
     */
    function hashOrder(OrderLib.Order calldata order) external view returns(bytes32);

    /**
     * @notice Delegates execution to custom implementation. Could be used to validate if `transferFrom` works properly
     * @dev The function always reverts and returns the simulation results in revert data.
     * @param target Addresses that will be delegated
     * @param data Data that will be passed to delegatee
     */
    function simulate(address target, bytes calldata data) external;

    /**
     * @notice Cancels order.
     * @dev Order is cancelled by setting remaining amount to _ORDER_FILLED value
     * @param order Order quote to cancel
     * @return orderRemaining Unfilled amount of order before cancellation
     * @return orderHash Hash of the filled order
     */
    function cancelOrder(OrderLib.Order calldata order) external returns(uint256 orderRemaining, bytes32 orderHash);

    /**
     * @notice Fills an order. If one doesn't exist (first fill) it will be created using order.makerAssetData
     * @param order Order quote to fill
     * @param signature Signature to confirm quote ownership
     * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.
     * @param makingAmount Making amount
     * @param takingAmount Taking amount
     * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.
     * @return actualMakingAmount Actual amount transferred from maker to taker
     * @return actualTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrder(
        OrderLib.Order calldata order,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount
    ) external payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);

    /**
     * @notice Same as `fillOrderTo` 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`
     * @dev See tests for examples
     * @param order Order quote to fill
     * @param signature Signature to confirm quote ownership
     * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.
     * @param makingAmount Making amount
     * @param takingAmount Taking amount
     * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.
     * @param target Address that will receive swap funds
     * @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call.
     * @return actualMakingAmount Actual amount transferred from maker to taker
     * @return actualTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrderToWithPermit(
        OrderLib.Order calldata order,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount,
        address target,
        bytes calldata permit
    ) external returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);

    /**
     * @notice Same as `fillOrder` but allows to specify funds destination instead of `msg.sender`
     * @param order_ Order quote to fill
     * @param signature Signature to confirm quote ownership
     * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.
     * @param makingAmount Making amount
     * @param takingAmount Taking amount
     * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.
     * @param target Address that will receive swap funds
     * @return actualMakingAmount Actual amount transferred from maker to taker
     * @return actualTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrderTo(
        OrderLib.Order calldata order_,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount,
        address target
    ) external payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);
}


// File @1inch/limit-order-protocol/contracts/[email protected]


pragma solidity 0.8.17;











/// @title Regular Limit Order mixin
abstract contract OrderMixin is IOrderMixin, EIP712, PredicateHelper {
    using SafeERC20 for IERC20;
    using ArgumentsDecoder for bytes;
    using OrderLib for OrderLib.Order;

    error UnknownOrder();
    error AccessDenied();
    error AlreadyFilled();
    error PermitLengthTooLow();
    error ZeroTargetIsForbidden();
    error RemainingAmountIsZero();
    error PrivateOrder();
    error BadSignature();
    error ReentrancyDetected();
    error PredicateIsNotTrue();
    error OnlyOneAmountShouldBeZero();
    error TakingAmountTooHigh();
    error MakingAmountTooLow();
    error SwapWithZeroAmount();
    error TransferFromMakerToTakerFailed();
    error TransferFromTakerToMakerFailed();
    error WrongAmount();
    error WrongGetter();
    error GetAmountCallFailed();
    error TakingAmountIncreased();
    error SimulationResults(bool success, bytes res);

    /// @notice Emitted every time order gets filled, including partial fills
    event OrderFilled(
        address indexed maker,
        bytes32 orderHash,
        uint256 remaining
    );

    /// @notice Emitted when order gets cancelled
    event OrderCanceled(
        address indexed maker,
        bytes32 orderHash,
        uint256 remainingRaw
    );

    uint256 constant private _ORDER_DOES_NOT_EXIST = 0;
    uint256 constant private _ORDER_FILLED = 1;
    uint256 constant private _SKIP_PERMIT_FLAG = 1 << 255;
    uint256 constant private _THRESHOLD_MASK = ~_SKIP_PERMIT_FLAG;

    IWETH private immutable _WETH;  // solhint-disable-line var-name-mixedcase
    /// @notice Stores unfilled amounts for each order plus one.
    /// Therefore 0 means order doesn't exist and 1 means order was filled
    mapping(bytes32 => uint256) private _remaining;

    constructor(IWETH weth) {
        _WETH = weth;
    }

    /**
     * @notice See {IOrderMixin-remaining}.
     */
    function remaining(bytes32 orderHash) external view returns(uint256 /* amount */) {
        uint256 amount = _remaining[orderHash];
        if (amount == _ORDER_DOES_NOT_EXIST) revert UnknownOrder();
        unchecked { return amount - 1; }
    }

    /**
     * @notice See {IOrderMixin-remainingRaw}.
     */
    function remainingRaw(bytes32 orderHash) external view returns(uint256 /* rawAmount */) {
        return _remaining[orderHash];
    }

    /**
     * @notice See {IOrderMixin-remainingsRaw}.
     */
    function remainingsRaw(bytes32[] memory orderHashes) external view returns(uint256[] memory /* rawAmounts */) {
        uint256[] memory results = new uint256[](orderHashes.length);
        for (uint256 i = 0; i < orderHashes.length; i++) {
            results[i] = _remaining[orderHashes[i]];
        }
        return results;
    }

    /**
     * @notice See {IOrderMixin-simulate}.
     */
    function simulate(address target, bytes calldata data) external {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory result) = target.delegatecall(data);
        revert SimulationResults(success, result);
    }

    /**
     * @notice See {IOrderMixin-cancelOrder}.
     */
    function cancelOrder(OrderLib.Order calldata order) external returns(uint256 orderRemaining, bytes32 orderHash) {
        if (order.maker != msg.sender) revert AccessDenied();

        orderHash = hashOrder(order);
        orderRemaining = _remaining[orderHash];
        if (orderRemaining == _ORDER_FILLED) revert AlreadyFilled();
        emit OrderCanceled(msg.sender, orderHash, orderRemaining);
        _remaining[orderHash] = _ORDER_FILLED;
    }

    /**
     * @notice See {IOrderMixin-fillOrder}.
     */
    function fillOrder(
        OrderLib.Order calldata order,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount
    ) external payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */, bytes32 /* orderHash */) {
        return fillOrderTo(order, signature, interaction, makingAmount, takingAmount, skipPermitAndThresholdAmount, msg.sender);
    }

    /**
     * @notice See {IOrderMixin-fillOrderToWithPermit}.
     */
    function fillOrderToWithPermit(
        OrderLib.Order calldata order,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount,
        address target,
        bytes calldata permit
    ) external returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */, bytes32 /* orderHash */) {
        if (permit.length < 20) revert PermitLengthTooLow();
        {  // Stack too deep
            (address token, bytes calldata permitData) = permit.decodeTargetAndCalldata();
            IERC20(token).safePermit(permitData);
        }
        return fillOrderTo(order, signature, interaction, makingAmount, takingAmount, skipPermitAndThresholdAmount, target);
    }

    /**
     * @notice See {IOrderMixin-fillOrderTo}.
     */
    function fillOrderTo(
        OrderLib.Order calldata order_,
        bytes calldata signature,
        bytes calldata interaction,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 skipPermitAndThresholdAmount,
        address target
    ) public payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash) {
        if (target == address(0)) revert ZeroTargetIsForbidden();
        orderHash = hashOrder(order_);

        OrderLib.Order calldata order = order_; // Helps with "Stack too deep"
        actualMakingAmount = makingAmount;
        actualTakingAmount = takingAmount;

        uint256 remainingMakingAmount = _remaining[orderHash];
        if (remainingMakingAmount == _ORDER_FILLED) revert RemainingAmountIsZero();
        if (order.allowedSender != address(0) && order.allowedSender != msg.sender) revert PrivateOrder();
        if (remainingMakingAmount == _ORDER_DOES_NOT_EXIST) {
            // First fill: validate order and permit maker asset
            if (!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, signature)) revert BadSignature();
            remainingMakingAmount = order.makingAmount;

            bytes calldata permit = order.permit();
            if (skipPermitAndThresholdAmount & _SKIP_PERMIT_FLAG == 0 && permit.length >= 20) {
                // proceed only if taker is willing to execute permit and its length is enough to store address
                (address token, bytes calldata permitCalldata) = permit.decodeTargetAndCalldata();
                IERC20(token).safePermit(permitCalldata);
                if (_remaining[orderHash] != _ORDER_DOES_NOT_EXIST) revert ReentrancyDetected();
            }
        } else {
            unchecked { remainingMakingAmount -= 1; }
        }

        // Check if order is valid
        if (order.predicate().length > 0) {
            if (!checkPredicate(order)) revert PredicateIsNotTrue();
        }

        // Compute maker and taker assets amount
        if ((actualTakingAmount == 0) == (actualMakingAmount == 0)) {
            revert OnlyOneAmountShouldBeZero();
        } else if (actualTakingAmount == 0) {
            if (actualMakingAmount > remainingMakingAmount) {
                actualMakingAmount = remainingMakingAmount;
            }
            actualTakingAmount = _getTakingAmount(order.getTakingAmount(), order.makingAmount, actualMakingAmount, order.takingAmount, remainingMakingAmount, orderHash);
            uint256 thresholdAmount = skipPermitAndThresholdAmount & _THRESHOLD_MASK;
            // check that actual rate is not worse than what was expected
            // actualTakingAmount / actualMakingAmount <= thresholdAmount / makingAmount
            if (actualTakingAmount * makingAmount > thresholdAmount * actualMakingAmount) revert TakingAmountTooHigh();
        } else {
            actualMakingAmount = _getMakingAmount(order.getMakingAmount(), order.takingAmount, actualTakingAmount, order.makingAmount, remainingMakingAmount, orderHash);
            if (actualMakingAmount > remainingMakingAmount) {
                actualMakingAmount = remainingMakingAmount;
                actualTakingAmount = _getTakingAmount(order.getTakingAmount(), order.makingAmount, actualMakingAmount, order.takingAmount, remainingMakingAmount, orderHash);
                if (actualTakingAmount > takingAmount) revert TakingAmountIncreased();
            }
            uint256 thresholdAmount = skipPermitAndThresholdAmount & _THRESHOLD_MASK;
            // check that actual rate is not worse than what was expected
            // actualMakingAmount / actualTakingAmount >= thresholdAmount / takingAmount
            if (actualMakingAmount * takingAmount < thresholdAmount * actualTakingAmount) revert MakingAmountTooLow();
        }

        if (actualMakingAmount == 0 || actualTakingAmount == 0) revert SwapWithZeroAmount();

        // Update remaining amount in storage
        unchecked {
            remainingMakingAmount = remainingMakingAmount - actualMakingAmount;
            _remaining[orderHash] = remainingMakingAmount + 1;
        }
        emit OrderFilled(order_.maker, orderHash, remainingMakingAmount);

        // Maker can handle funds interactively
        if (order.preInteraction().length >= 20) {
            // proceed only if interaction length is enough to store address
            (address interactionTarget, bytes calldata interactionData) = order.preInteraction().decodeTargetAndCalldata();
            PreInteractionNotificationReceiver(interactionTarget).fillOrderPreInteraction(
                orderHash, order.maker, msg.sender, actualMakingAmount, actualTakingAmount, remainingMakingAmount, interactionData
            );
        }

        // Maker => Taker
        if (!_callTransferFrom(
            order.makerAsset,
            order.maker,
            target,
            actualMakingAmount,
            order.makerAssetData()
        )) revert TransferFromMakerToTakerFailed();

        if (interaction.length >= 20) {
            // proceed only if interaction length is enough to store address
            (address interactionTarget, bytes calldata interactionData) = interaction.decodeTargetAndCalldata();
            uint256 offeredTakingAmount = InteractionNotificationReceiver(interactionTarget).fillOrderInteraction(
                msg.sender, actualMakingAmount, actualTakingAmount, interactionData
            );

            if (offeredTakingAmount > actualTakingAmount &&
                !OrderLib.getterIsFrozen(order.getMakingAmount()) &&
                !OrderLib.getterIsFrozen(order.getTakingAmount()))
            {
                actualTakingAmount = offeredTakingAmount;
            }
        }

        // Taker => Maker
        if (order.takerAsset == address(_WETH) && msg.value > 0) {
            if (msg.value < actualTakingAmount) revert Errors.InvalidMsgValue();
            if (msg.value > actualTakingAmount) {
                unchecked {
                    (bool success, ) = msg.sender.call{value: msg.value - actualTakingAmount}("");  // solhint-disable-line avoid-low-level-calls
                    if (!success) revert Errors.ETHTransferFailed();
                }
            }
            _WETH.deposit{ value: actualTakingAmount }();
            _WETH.transfer(order.receiver == address(0) ? order.maker : order.receiver, actualTakingAmount);
        } else {
            if (msg.value != 0) revert Errors.InvalidMsgValue();
            if (!_callTransferFrom(
                order.takerAsset,
                msg.sender,
                order.receiver == address(0) ? order.maker : order.receiver,
                actualTakingAmount,
                order.takerAssetData()
            )) revert TransferFromTakerToMakerFailed();
        }

        // Maker can handle funds interactively
        if (order.postInteraction().length >= 20) {
            // proceed only if interaction length is enough to store address
            (address interactionTarget, bytes calldata interactionData) = order.postInteraction().decodeTargetAndCalldata();
            PostInteractionNotificationReceiver(interactionTarget).fillOrderPostInteraction(
                 orderHash, order.maker, msg.sender, actualMakingAmount, actualTakingAmount, remainingMakingAmount, interactionData
            );
        }
    }

    /**
     * @notice See {IOrderMixin-checkPredicate}.
     */
    function checkPredicate(OrderLib.Order calldata order) public view returns(bool) {
        (bool success, uint256 res) = _selfStaticCall(order.predicate());
        return success && res == 1;
    }

    /**
     * @notice See {IOrderMixin-hashOrder}.
     */
    function hashOrder(OrderLib.Order calldata order) public view returns(bytes32) {
        return order.hash(_domainSeparatorV4());
    }

    function _callTransferFrom(address asset, address from, address to, uint256 amount, bytes calldata input) private returns(bool success) {
        bytes4 selector = IERC20.transferFrom.selector;
        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            let data := mload(0x40)

            mstore(data, selector)
            mstore(add(data, 0x04), from)
            mstore(add(data, 0x24), to)
            mstore(add(data, 0x44), amount)
            calldatacopy(add(data, 0x64), input.offset, input.length)
            let status := call(gas(), asset, 0, data, add(0x64, input.length), 0x0, 0x20)
            success := and(status, or(iszero(returndatasize()), and(gt(returndatasize(), 31), eq(mload(0), 1))))
        }
    }

    function _getMakingAmount(
        bytes calldata getter,
        uint256 orderTakingAmount,
        uint256 requestedTakingAmount,
        uint256 orderMakingAmount,
        uint256 remainingMakingAmount,
        bytes32 orderHash
    ) private view returns(uint256) {
        if (getter.length == 0) {
            // Linear proportion
            return AmountCalculator.getMakingAmount(orderMakingAmount, orderTakingAmount, requestedTakingAmount);
        }
        return _callGetter(getter, orderTakingAmount, requestedTakingAmount, orderMakingAmount, remainingMakingAmount, orderHash);
    }

    function _getTakingAmount(
        bytes calldata getter,
        uint256 orderMakingAmount,
        uint256 requestedMakingAmount,
        uint256 orderTakingAmount,
        uint256 remainingMakingAmount,
        bytes32 orderHash
    ) private view returns(uint256) {
        if (getter.length == 0) {
            // Linear proportion
            return AmountCalculator.getTakingAmount(orderMakingAmount, orderTakingAmount, requestedMakingAmount);
        }
        return _callGetter(getter, orderMakingAmount, requestedMakingAmount, orderTakingAmount, remainingMakingAmount, orderHash);
    }

    function _callGetter(
        bytes calldata getter,
        uint256 orderExpectedAmount,
        uint256 requestedAmount,
        uint256 orderResultAmount,
        uint256 remainingMakingAmount,
        bytes32 orderHash
    ) private view returns(uint256) {
        if (getter.length == 1) {
            if (OrderLib.getterIsFrozen(getter)) {
                // On "x" getter calldata only exact amount is allowed
                if (requestedAmount != orderExpectedAmount) revert WrongAmount();
                return orderResultAmount;
            } else {
                revert WrongGetter();
            }
        } else {
            (address target, bytes calldata data) = getter.decodeTargetAndCalldata();
            (bool success, bytes memory result) = target.staticcall(abi.encodePacked(data, requestedAmount, remainingMakingAmount, orderHash));
            if (!success || result.length != 32) revert GetAmountCallFailed();
            return abi.decode(result, (uint256));
        }
    }
}


// File @1inch/solidity-utils/contracts/[email protected]


pragma solidity ^0.8.0;

abstract contract OnlyWethReceiver is EthReceiver {
    address private immutable _WETH;  // solhint-disable-line var-name-mixedcase

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

    function _receive() internal virtual override {
        if (msg.sender != _WETH) revert EthDepositRejected();
    }
}


// File @1inch/limit-order-protocol/contracts/[email protected]


pragma solidity 0.8.17;

library OrderRFQLib {
    struct OrderRFQ {
        uint256 info;  // lowest 64 bits is the order id, next 64 bits is the expiration timestamp
        address makerAsset;
        address takerAsset;
        address maker;
        address allowedSender;  // equals to Zero address on public orders
        uint256 makingAmount;
        uint256 takingAmount;
    }

    bytes32 constant internal _LIMIT_ORDER_RFQ_TYPEHASH = keccak256(
        "OrderRFQ("
            "uint256 info,"
            "address makerAsset,"
            "address takerAsset,"
            "address maker,"
            "address allowedSender,"
            "uint256 makingAmount,"
            "uint256 takingAmount"
        ")"
    );

    function hash(OrderRFQ memory order, bytes32 domainSeparator) internal pure returns(bytes32 result) {
        bytes32 typehash = _LIMIT_ORDER_RFQ_TYPEHASH;
        bytes32 orderHash;
        // this assembly is memory unsafe :(
        assembly { // solhint-disable-line no-inline-assembly
            let ptr := sub(order, 0x20)

            // keccak256(abi.encode(_LIMIT_ORDER_RFQ_TYPEHASH, order));
            let tmp := mload(ptr)
            mstore(ptr, typehash)
            orderHash := keccak256(ptr, 0x100)
            mstore(ptr, tmp)
        }
        return ECDSA.toTypedDataHash(domainSeparator, orderHash);
    }
}


// File @1inch/limit-order-protocol/contracts/[email protected]


pragma solidity 0.8.17;







/// @title RFQ Limit Order mixin
abstract contract OrderRFQMixin is EIP712, OnlyWethReceiver {
    using SafeERC20 for IERC20;
    using OrderRFQLib for OrderRFQLib.OrderRFQ;

    error RFQZeroTargetIsForbidden();
    error RFQPrivateOrder();
    error RFQBadSignature();
    error OrderExpired();
    error MakingAmountExceeded();
    error TakingAmountExceeded();
    error RFQSwapWithZeroAmount();
    error InvalidatedOrder();

    /**
     * @notice Emitted when RFQ gets filled
     * @param orderHash Hash of the order
     * @param makingAmount Amount of the maker asset that was transferred from maker to taker
     */
    event OrderFilledRFQ(
        bytes32 orderHash,
        uint256 makingAmount
    );

    uint256 private constant _RAW_CALL_GAS_LIMIT = 5000;
    uint256 private constant _MAKER_AMOUNT_FLAG = 1 << 255;
    uint256 private constant _SIGNER_SMART_CONTRACT_HINT = 1 << 254;
    uint256 private constant _IS_VALID_SIGNATURE_65_BYTES = 1 << 253;
    uint256 private constant _UNWRAP_WETH_FLAG = 1 << 252;
    uint256 private constant _AMOUNT_MASK = ~(
        _MAKER_AMOUNT_FLAG |
        _SIGNER_SMART_CONTRACT_HINT |
        _IS_VALID_SIGNATURE_65_BYTES |
        _UNWRAP_WETH_FLAG
    );

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

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

    /**
     * @notice Returns bitmask for double-spend invalidators based on lowest byte of order.info and filled quotes
     * @param maker Maker address
     * @param slot Slot number to return bitmask for
     * @return result Each bit represents whether corresponding was already invalidated
     */
    function invalidatorForOrderRFQ(address maker, uint256 slot) external view returns(uint256 /* result */) {
        return _invalidator[maker][slot];
    }

    /**
     * @notice Cancels order's quote
     * @param orderInfo Order info (only order id in lowest 64 bits is used)
     */
    function cancelOrderRFQ(uint256 orderInfo) external {
        _invalidateOrder(msg.sender, orderInfo, 0);
    }

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

    /**
     * @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 flagsAndAmount Fill configuration flags with amount packed in one slot
     * @return filledMakingAmount Actual amount transferred from maker to taker
     * @return filledTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrderRFQ(
        OrderRFQLib.OrderRFQ memory order,
        bytes calldata signature,
        uint256 flagsAndAmount
    ) external payable returns(uint256 /* filledMakingAmount */, uint256 /* filledTakingAmount */, bytes32 /* orderHash */) {
        return fillOrderRFQTo(order, signature, flagsAndAmount, msg.sender);
    }

    /**
     * @notice Fills order's quote, fully or partially, with compact signature
     * @param order Order quote to fill
     * @param r R component of signature
     * @param vs VS component of signature
     * @param flagsAndAmount Fill configuration flags with amount packed in one slot
     * - Bits 0-252 contain the amount to fill
     * - Bit 253 is used to indicate whether signature is 64-bit (0) or 65-bit (1)
     * - Bit 254 is used to indicate whether smart contract (1) signed the order or not (0)
     * - Bit 255 is used to indicate whether maker (1) or taker amount (0) is given in the amount parameter
     * @return filledMakingAmount Actual amount transferred from maker to taker
     * @return filledTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrderRFQCompact(
        OrderRFQLib.OrderRFQ memory order,
        bytes32 r,
        bytes32 vs,
        uint256 flagsAndAmount
    ) external payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash) {
        orderHash = order.hash(_domainSeparatorV4());
        if (flagsAndAmount & _SIGNER_SMART_CONTRACT_HINT != 0) {
            if (flagsAndAmount & _IS_VALID_SIGNATURE_65_BYTES != 0) {
                if (!ECDSA.isValidSignature65(order.maker, orderHash, r, vs)) revert RFQBadSignature();
            } else {
                if (!ECDSA.isValidSignature(order.maker, orderHash, r, vs)) revert RFQBadSignature();
            }
        } else {
            if(!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, r, vs)) revert RFQBadSignature();
        }

        (filledMakingAmount, filledTakingAmount) = _fillOrderRFQTo(order, flagsAndAmount, msg.sender);
        emit OrderFilledRFQ(orderHash, filledMakingAmount);
    }

    /**
     * @notice Same as `fillOrderRFQTo` but calls permit first.
     * It allows 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 flagsAndAmount Fill configuration flags with amount packed in one slot
     * @param target Address that will receive swap funds
     * @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call.
     * @return filledMakingAmount Actual amount transferred from maker to taker
     * @return filledTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     * @dev See tests for examples
     */
    function fillOrderRFQToWithPermit(
        OrderRFQLib.OrderRFQ memory order,
        bytes calldata signature,
        uint256 flagsAndAmount,
        address target,
        bytes calldata permit
    ) external returns(uint256 /* filledMakingAmount */, uint256 /* filledTakingAmount */, bytes32 /* orderHash */) {
        IERC20(order.takerAsset).safePermit(permit);
        return fillOrderRFQTo(order, signature, flagsAndAmount, 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 flagsAndAmount Fill configuration flags with amount packed in one slot
     * @param target Address that will receive swap funds
     * @return filledMakingAmount Actual amount transferred from maker to taker
     * @return filledTakingAmount Actual amount transferred from taker to maker
     * @return orderHash Hash of the filled order
     */
    function fillOrderRFQTo(
        OrderRFQLib.OrderRFQ memory order,
        bytes calldata signature,
        uint256 flagsAndAmount,
        address target
    ) public payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash) {
        orderHash = order.hash(_domainSeparatorV4());
        if (flagsAndAmount & _SIGNER_SMART_CONTRACT_HINT != 0) {
            if (flagsAndAmount & _IS_VALID_SIGNATURE_65_BYTES != 0 && signature.length != 65) revert RFQBadSignature();
            if (!ECDSA.isValidSignature(order.maker, orderHash, signature)) revert RFQBadSignature();
        } else {
            if(!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, signature)) revert RFQBadSignature();
        }
        (filledMakingAmount, filledTakingAmount) = _fillOrderRFQTo(order, flagsAndAmount, target);
        emit OrderFilledRFQ(orderHash, filledMakingAmount);
    }

    function _fillOrderRFQTo(
        OrderRFQLib.OrderRFQ memory order,
        uint256 flagsAndAmount,
        address target
    ) private returns(uint256 makingAmount, uint256 takingAmount) {
        if (target == address(0)) revert RFQZeroTargetIsForbidden();

        address maker = order.maker;

        // Validate order
        if (order.allowedSender != address(0) && order.allowedSender != msg.sender) revert RFQPrivateOrder();

        {  // Stack too deep
            uint256 info = order.info;
            // Check time expiration
            uint256 expiration = uint128(info) >> 64;
            if (expiration != 0 && block.timestamp > expiration) revert OrderExpired(); // solhint-disable-line not-rely-on-time
            _invalidateOrder(maker, info, 0);
        }

        {  // Stack too deep
            uint256 orderMakingAmount = order.makingAmount;
            uint256 orderTakingAmount = order.takingAmount;
            uint256 amount = flagsAndAmount & _AMOUNT_MASK;
            // Compute partial fill if needed
            if (amount == 0) {
                // zero amount means whole order
                makingAmount = orderMakingAmount;
                takingAmount = orderTakingAmount;
            }
            else if (flagsAndAmount & _MAKER_AMOUNT_FLAG != 0) {
                if (amount > orderMakingAmount) revert MakingAmountExceeded();
                makingAmount = amount;
                takingAmount = AmountCalculator.getTakingAmount(orderMakingAmount, orderTakingAmount, makingAmount);
            }
            else {
                if (amount > orderTakingAmount) revert TakingAmountExceeded();
                takingAmount = amount;
                makingAmount = AmountCalculator.getMakingAmount(orderMakingAmount, orderTakingAmount, takingAmount);
            }
        }

        if (makingAmount == 0 || takingAmount == 0) revert RFQSwapWithZeroAmount();

        // Maker => Taker
        if (order.makerAsset == address(_WETH) && flagsAndAmount & _UNWRAP_WETH_FLAG != 0) {
            _WETH.transferFrom(maker, address(this), makingAmount);
            _WETH.withdraw(makingAmount);
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, ) = target.call{value: makingAmount, gas: _RAW_CALL_GAS_LIMIT}("");
            if (!success) revert Errors.ETHTransferFailed();
        } else {
            IERC20(order.makerAsset).safeTransferFrom(maker, target, makingAmount);
        }

        // Taker => Maker
        if (order.takerAsset == address(_WETH) && msg.value > 0) {
            if (msg.value != takingAmount) revert Errors.InvalidMsgValue();
            _WETH.deposit{ value: takingAmount }();
            _WETH.transfer(maker, takingAmount);
        } else {
            if (msg.value != 0) revert Errors.InvalidMsgValue();
            IERC20(order.takerAsset).safeTransferFrom(msg.sender, maker, takingAmount);
        }
    }

    function _invalidateOrder(address maker, uint256 orderInfo, uint256 additionalMask) private {
        uint256 invalidatorSlot = uint64(orderInfo) >> 8;
        uint256 invalidatorBits = (1 << uint8(orderInfo)) | additionalMask;
        mapping(uint256 => uint256) storage invalidatorStorage = _invalidator[maker];
        uint256 invalidator = invalidatorStorage[invalidatorSlot];
        if (invalidator & invalidatorBits == invalidatorBits) revert InvalidatedOrder();
        invalidatorStorage[invalidatorSlot] = invalidator | invalidatorBits;
    }
}


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

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


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

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/AggregationRouterV5.sol


pragma solidity 0.8.17;









/// @notice Main contract incorporates a number of routers to perform swaps and limit orders protocol to fill limit orders
contract AggregationRouterV5 is EIP712("1inch Aggregation Router", "5"), Ownable,
    ClipperRouter, GenericRouter, UnoswapRouter, UnoswapV3Router, OrderMixin, OrderRFQMixin
{
    using UniERC20 for IERC20;

    error ZeroAddress();

    /**
     * @dev Sets the wrapped eth token and clipper exhange interface
     * Both values are immutable: they can only be set once during
     * construction.
     */
    constructor(IWETH weth)
        UnoswapV3Router(weth)
        ClipperRouter(weth)
        OrderMixin(weth)
        OrderRFQMixin(weth)
    {
        if (address(weth) == address(0)) revert ZeroAddress();
    }

    /**
     * @notice Retrieves funds accidently sent directly to the contract address
     * @param token ERC20 token to retrieve
     * @param amount amount to retrieve
     */
    function rescueFunds(IERC20 token, uint256 amount) external onlyOwner {
        token.uniTransfer(payable(msg.sender), amount);
    }

    /**
     * @notice Destroys the contract and sends eth to sender. Use with caution.
     * The only case when the use of the method is justified is if there is an exploit found.
     * And the damage from the exploit is greater than from just an urgent contract change.
     */
    function destroy() external onlyOwner {
        selfdestruct(payable(msg.sender));
    }

    function _receive() internal override(EthReceiver, OnlyWethReceiver) {
        EthReceiver._receive();
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract IWETH","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessDenied","type":"error"},{"inputs":[],"name":"AdvanceNonceFailed","type":"error"},{"inputs":[],"name":"AlreadyFilled","type":"error"},{"inputs":[],"name":"ArbitraryStaticCallFailed","type":"error"},{"inputs":[],"name":"BadPool","type":"error"},{"inputs":[],"name":"BadSignature","type":"error"},{"inputs":[],"name":"ETHTransferFailed","type":"error"},{"inputs":[],"name":"ETHTransferFailed","type":"error"},{"inputs":[],"name":"EmptyPools","type":"error"},{"inputs":[],"name":"EthDepositRejected","type":"error"},{"inputs":[],"name":"GetAmountCallFailed","type":"error"},{"inputs":[],"name":"IncorrectDataLength","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidMsgValue","type":"error"},{"inputs":[],"name":"InvalidMsgValue","type":"error"},{"inputs":[],"name":"InvalidatedOrder","type":"error"},{"inputs":[],"name":"MakingAmountExceeded","type":"error"},{"inputs":[],"name":"MakingAmountTooLow","type":"error"},{"inputs":[],"name":"OnlyOneAmountShouldBeZero","type":"error"},{"inputs":[],"name":"OrderExpired","type":"error"},{"inputs":[],"name":"PermitLengthTooLow","type":"error"},{"inputs":[],"name":"PredicateIsNotTrue","type":"error"},{"inputs":[],"name":"PrivateOrder","type":"error"},{"inputs":[],"name":"RFQBadSignature","type":"error"},{"inputs":[],"name":"RFQPrivateOrder","type":"error"},{"inputs":[],"name":"RFQSwapWithZeroAmount","type":"error"},{"inputs":[],"name":"RFQZeroTargetIsForbidden","type":"error"},{"inputs":[],"name":"ReentrancyDetected","type":"error"},{"inputs":[],"name":"RemainingAmountIsZero","type":"error"},{"inputs":[],"name":"ReservesCallFailed","type":"error"},{"inputs":[],"name":"ReturnAmountIsNotEnough","type":"error"},{"inputs":[],"name":"SafePermitBadLength","type":"error"},{"inputs":[],"name":"SafeTransferFailed","type":"error"},{"inputs":[],"name":"SafeTransferFromFailed","type":"error"},{"inputs":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"res","type":"bytes"}],"name":"SimulationResults","type":"error"},{"inputs":[],"name":"SwapAmountTooLarge","type":"error"},{"inputs":[],"name":"SwapWithZeroAmount","type":"error"},{"inputs":[],"name":"TakingAmountExceeded","type":"error"},{"inputs":[],"name":"TakingAmountIncreased","type":"error"},{"inputs":[],"name":"TakingAmountTooHigh","type":"error"},{"inputs":[],"name":"TransferFromMakerToTakerFailed","type":"error"},{"inputs":[],"name":"TransferFromTakerToMakerFailed","type":"error"},{"inputs":[],"name":"UnknownOrder","type":"error"},{"inputs":[],"name":"WrongAmount","type":"error"},{"inputs":[],"name":"WrongGetter","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroMinReturn","type":"error"},{"inputs":[],"name":"ZeroReturnAmount","type":"error"},{"inputs":[],"name":"ZeroTargetIsForbidden","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"uint256","name":"newNonce","type":"uint256"}],"name":"NonceIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"remainingRaw","type":"uint256"}],"name":"OrderCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"remaining","type":"uint256"}],"name":"OrderFilled","type":"event"},{"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":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"advanceNonce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"and","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"arbitraryStaticCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order","type":"tuple"}],"name":"cancelOrder","outputs":[{"internalType":"uint256","name":"orderRemaining","type":"uint256"},{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderInfo","type":"uint256"}],"name":"cancelOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderInfo","type":"uint256"},{"internalType":"uint256","name":"additionalMask","type":"uint256"}],"name":"cancelOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order","type":"tuple"}],"name":"checkPredicate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IClipperExchangeInterface","name":"clipperExchange","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"outputAmount","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"vs","type":"bytes32"}],"name":"clipperSwap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IClipperExchangeInterface","name":"clipperExchange","type":"address"},{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"outputAmount","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"vs","type":"bytes32"}],"name":"clipperSwapTo","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IClipperExchangeInterface","name":"clipperExchange","type":"address"},{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"outputAmount","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"vs","type":"bytes32"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"clipperSwapToWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"eq","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"skipPermitAndThresholdAmount","type":"uint256"}],"name":"fillOrder","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","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 OrderRFQLib.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"flagsAndAmount","type":"uint256"}],"name":"fillOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","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 OrderRFQLib.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"vs","type":"bytes32"},{"internalType":"uint256","name":"flagsAndAmount","type":"uint256"}],"name":"fillOrderRFQCompact","outputs":[{"internalType":"uint256","name":"filledMakingAmount","type":"uint256"},{"internalType":"uint256","name":"filledTakingAmount","type":"uint256"},{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","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 OrderRFQLib.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"flagsAndAmount","type":"uint256"},{"internalType":"address","name":"target","type":"address"}],"name":"fillOrderRFQTo","outputs":[{"internalType":"uint256","name":"filledMakingAmount","type":"uint256"},{"internalType":"uint256","name":"filledTakingAmount","type":"uint256"},{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","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 OrderRFQLib.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"flagsAndAmount","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"fillOrderRFQToWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order_","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"skipPermitAndThresholdAmount","type":"uint256"},{"internalType":"address","name":"target","type":"address"}],"name":"fillOrderTo","outputs":[{"internalType":"uint256","name":"actualMakingAmount","type":"uint256"},{"internalType":"uint256","name":"actualTakingAmount","type":"uint256"},{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"skipPermitAndThresholdAmount","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"fillOrderToWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"gt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"interactions","type":"bytes"}],"internalType":"struct OrderLib.Order","name":"order","type":"tuple"}],"name":"hashOrder","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increaseNonce","outputs":[],"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":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"lt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"makerAddress","type":"address"},{"internalType":"uint256","name":"makerNonce","type":"uint256"}],"name":"nonceEquals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"offsets","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"or","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"remainingRaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"orderHashes","type":"bytes32[]"}],"name":"remainingsRaw","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"simulate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IAggregationExecutor","name":"executor","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":"struct GenericRouter.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256","name":"spentAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"timestampBelow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeNonceAccount","type":"uint256"}],"name":"timestampBelowAndNonceEquals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256[]","name":"pools","type":"uint256[]"}],"name":"unoswap","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[]"}],"name":"unoswapTo","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":"unoswapToWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101e06040523480156200001257600080fd5b5060405162005ab138038062005ab18339810160408190526200003591620001d3565b604080518082018252601881527f31696e6368204167677265676174696f6e20526f75746572000000000000000060208083019182528351808501855260018152603560f81b908201529151902060e08190527fceebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c16101008190524660a081815285517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818701819052818801959095526060810193909352608080840192909252308382018190528651808503909201825260c09384019096528051940193909320909252919052610120528080808080620001313362000183565b6001600160a01b039081166101405290811661016052908116610180529081166101a0529081166101c05281166200017c5760405163d92e233d60e01b815260040160405180910390fd5b5062000205565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620001e657600080fd5b81516001600160a01b0381168114620001fe57600080fd5b9392505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516157d4620002dd6000396000818161375e015281816137f30152818161387701528181613976015281816139e00152613a75015260005050600081816120fd015281816121e1015261225a015260008181612f3e01526130ac01526000818161090a0152818161098601528181610acb01528181610bbb0152610c02015260006131bb0152600061320a015260006131e50152600061313e015260006131680152600061319201526157d46000f3fe6080604052600436106102f65760003560e01c80637e54f0921161018f578063bf15fcd8116100e1578063d365c6951161008a578063f2fde38b11610064578063f2fde38b14610859578063f78dc25314610879578063fa461e331461088c57600080fd5b8063d365c69514610813578063e449022e14610833578063e5d7bde61461084657600080fd5b8063c805a666116100bb578063c805a66614610799578063ca4ece22146107b9578063cf6fc6e3146107d957600080fd5b8063bf15fcd814610744578063bfa7514314610764578063c53a02921461078457600080fd5b8063942461bb11610143578063bc80f1a81161011d578063bc80f1a8146106f1578063bd61951d14610704578063bddccd351461072457600080fd5b8063942461bb146106915780639570eeee146106be578063bc1ed74c146106d157600080fd5b806383197ef01161017457806383197ef01461064157806384bd6d29146106565780638da5cb5b1461066957600080fd5b80637e54f092146105f4578063825caba11461062157600080fd5b80635a0998431161024857806370ae92d2116101fc57806372c244a8116101d657806372c244a81461059457806374261145146105b457806378e3214f146105d457600080fd5b806370ae92d21461053257806370ccbd311461055f578063715018a61461057f57600080fd5b806363592c2b1161022d57806363592c2b146104d25780636c838250146104f25780636fe7b0ba1461051257600080fd5b80635a099843146104ac57806362e238bb146104bf57600080fd5b80632d9a56f6116102aa5780633eca9c0a116102845780633eca9c0a1461041b5780634f38e2b81461044957806356f161241461046957600080fd5b80632d9a56f6146103bb57806337e7316f146103db5780633c15fd91146103fb57600080fd5b806312aa3caf116102db57806312aa3caf146103435780632521b9301461036b5780632cc2878d1461038b57600080fd5b80630502b1c51461030a578063093d4fa51461033057600080fd5b36610305576103036108ac565b005b600080fd5b61031d61031836600461483f565b6108b6565b6040519081526020015b60405180910390f35b61031d61033e3660046148a9565b6108d0565b610356610351366004614975565b610d16565b60408051928352602083019190915201610327565b34801561037757600080fd5b5061031d610386366004614a17565b610fd1565b34801561039757600080fd5b506103ab6103a6366004614abf565b611001565b6040519015158152602001610327565b3480156103c757600080fd5b506103566103d6366004614af1565b61104b565b3480156103e757600080fd5b5061031d6103f6366004614af1565b61114a565b34801561040757600080fd5b5061031d610416366004614a17565b611164565b61042e610429366004614c15565b611188565b60408051938452602084019290925290820152606001610327565b34801561045557600080fd5b506103ab610464366004614c72565b6111aa565b34801561047557600080fd5b5061031d610484366004614cbe565b6001600160a01b03919091166000908152600360209081526040808320938352929052205490565b61042e6104ba366004614cea565b6111d5565b61042e6104cd366004614d60565b61132b565b3480156104de57600080fd5b506103ab6104ed366004614abf565b421090565b3480156104fe57600080fd5b506103ab61050d366004614af1565b611355565b34801561051e57600080fd5b506103ab61052d366004614c72565b611384565b34801561053e57600080fd5b5061031d61054d366004614e0c565b60016020526000908152604090205481565b34801561056b57600080fd5b5061042e61057a366004614e29565b6113aa565b34801561058b57600080fd5b506103036113f1565b3480156105a057600080fd5b506103036105af366004614ecd565b611403565b3480156105c057600080fd5b506103ab6105cf366004614c72565b6114b2565b3480156105e057600080fd5b506103036105ef366004614cbe565b611524565b34801561060057600080fd5b5061031d61060f366004614abf565b60009081526002602052604090205490565b34801561062d57600080fd5b5061030361063c366004614abf565b611544565b34801561064d57600080fd5b50610303611553565b61031d610664366004614ef0565b61155e565b34801561067557600080fd5b506000546040516001600160a01b039091168152602001610327565b34801561069d57600080fd5b506106b16106ac366004614f67565b611571565b6040516103279190615001565b61042e6106cc366004615045565b61162a565b3480156106dd57600080fd5b5061031d6106ec366004614abf565b611767565b61031d6106ff36600461483f565b6117b7565b34801561071057600080fd5b5061030361071f366004615082565b6117c6565b34801561073057600080fd5b5061030361073f3660046150be565b611867565b34801561075057600080fd5b5061031d61075f366004615082565b611872565b34801561077057600080fd5b506103ab61077f366004614c72565b6118bd565b34801561079057600080fd5b50610303611930565b3480156107a557600080fd5b5061031d6107b43660046150e0565b61193a565b3480156107c557600080fd5b506103ab6107d4366004614c72565b611971565b3480156107e557600080fd5b506103ab6107f4366004614cbe565b6001600160a01b03919091166000908152600160205260409020541490565b34801561081f57600080fd5b5061042e61082e3660046151a4565b611998565b61031d610841366004615295565b611a2c565b61042e6108543660046152e8565b611a3b565b34801561086557600080fd5b50610303610874366004614e0c565b6124cb565b61031d6108873660046153ac565b612558565b34801561089857600080fd5b506103036108a7366004615416565b612573565b6108b4612785565b565b60006108c63387878787876127be565b9695505050505050565b60006001600160a01b0388161580156109085786341461090357604051631841b4e160e01b815260040160405180910390fd5b610a24565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316896001600160a01b0316036109f057506001341561096357604051631841b4e160e01b815260040160405180910390fd5b6040516323b872dd60e01b808252336004830152306024830152604482018990527f000000000000000000000000000000000000000000000000000000000000000091632e1a7d4d60e01b9060008060648382885af16109c6573d6000823e3d81fd5b8181528a60048201526000806024836000885af16109e7573d6000823e3d81fd5b50505050610a24565b3415610a0f57604051631841b4e160e01b815260040160405180910390fd5b610a246001600160a01b038a16338d8a612b30565b8015610ab85760008b905060006327a9b42460e01b90506040518181528a60048201528960248201528860448201528760648201528c60848201528560ff1c601b0160a48201528660c48201526001600160ff1b03861660e482015261012061010482015264a62929c86960d31b610143820152600080610149838d875af1610ab0573d6000823e3d81fd5b505050610d07565b6001600160a01b0388161580610aff57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b0316145b15610c75576040517f4cb6864c00000000000000000000000000000000000000000000000000000000808252600482018b90526024820189905260448201889052606482018790528c918a1560018114610b5e57306084830152610b65565b8d60848301525b508560ff1c601b0160a48201528660c48201526001600160ff1b03861660e482015261012061010482015264a62929c86960d31b610143820152600080610149836000875af1610bb8573d6000823e3d81fd5b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168a6001600160a01b031603610c6e57604051630d0e30db60e41b8082527f00000000000000000000000000000000000000000000000000000000000000009163a9059cbb60e01b906000806004838f885af1610c42573d6000823e3d81fd5b8181528f60048201528b60248201526000806044836000885af1610c69573d6000823e3d81fd5b505050505b5050610d07565b60008b90506000632b651a6c60e01b90506040518181528b60048201528a60248201528960448201528860648201528760848201528c60a48201528560ff1c601b0160c48201528660e48201526001600160ff1b03861661010482015261014061012482015264a62929c86960d31b610163820152600080610169836000875af1610d03573d6000823e3d81fd5b5050505b50939998505050505050505050565b6000808660a00135600003610d57576040517f0262dde400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610d666020890189614e0c565b90506000610d7a60408a0160208b01614e0c565b90506000610d90836001600160a01b0316612bcd565b905060c08a013560021615610dd55780610dab576000610db1565b89608001355b3411610dd057604051631841b4e160e01b815260040160405180910390fd5b610e06565b80610de1576000610de7565b89608001355b3414610e0657604051631841b4e160e01b815260040160405180910390fd5b80610e4f578715610e2557610e256001600160a01b0384168a8a612c06565b610e4f33610e3960608d0160408e01614e0c565b6001600160a01b038616919060808e0135612b30565b610e608b338c608001358a8a612cbf565b60808a01359350610e7a6001600160a01b03831630612d1f565b945084600003610eb6576040517f28ebf24700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000199094019360c08a013560011615610f4f576000610edf6001600160a01b03851630612d1f565b90506001811115610f0e5760001901610ef88186615473565b9450610f0e6001600160a01b0385163383612dca565b610f1c8560a08d0135615486565b610f2a60808d013588615486565b1015610f495760405163f32bec2f60e01b815260040160405180910390fd5b50610f74565b8960a00135851015610f745760405163f32bec2f60e01b815260040160405180910390fd5b600080610f8760808d0160608e01614e0c565b6001600160a01b031614610faa57610fa560808c0160608d01614e0c565b610fac565b335b9050610fc26001600160a01b0384168288612dca565b50505050965096945050505050565b6000610fe76001600160a01b0389168484612c06565b610ff48988888888612eaa565b9998505050505050505050565b600060d082901c60a083901c65ffffffffffff168361101f83421090565b801561104257506001600160a01b03811660009081526001602052604090205482145b95945050505050565b6000803361105f6080850160608601614e0c565b6001600160a01b03161461109f576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110a88361114a565b6000818152600260205260409020549250905060001982016110f6576040517f41a26a6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518281526020810184905233917fcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1910160405180910390a26000818152600260205260409020600190559092909150565b600061115e611157613131565b8390613258565b92915050565b600061117a6001600160a01b0389168484612c06565b610ff48989898989896127be565b600080600061119a87878787336111d5565b9250925092509450945094915050565b60008060006111b985856132d7565b915091508180156111c957508581115b925050505b9392505050565b60008060006112356111e5613131565b601f198a0180517f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4582526101008220915260405161190160f01b8152600281019290925260228201526042902090565b9050600160fe1b8516156112a957600160fd1b851615801590611259575060418614155b15611277576040516317c2b1f160e01b815260040160405180910390fd5b6112878860600151828989613466565b6112a4576040516317c2b1f160e01b815260040160405180910390fd5b6112d6565b6112b988606001518289896134bb565b6112d6576040516317c2b1f160e01b815260040160405180910390fd5b6112e1888686613522565b60408051848152602081018490529295509093507fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127910160405180910390a1955095509592505050565b60008060006113418b8b8b8b8b8b8b8b33611a3b565b925092509250985098509895505050505050565b600080600061136b61136685613b2e565b6132d7565b9150915081801561137c5750806001145b949350505050565b600080600061139385856132d7565b915091508180156111c95750909414949350505050565b60008060006113d185858c604001516001600160a01b0316612c069092919063ffffffff16565b6113de8a8a8a8a8a6111d5565b9250925092509750975097945050505050565b6113f9613b45565b6108b46000613b9f565b8060ff16600003611440576040517fbd71636d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526001602052604081205461145e9060ff84169061549d565b336000818152600160205260409081902083905551919250907ffc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db906114a69084815260200190565b60405180910390a25050565b60008080805b63ffffffff87821c1692508215611517576000806114db61136686868a8c6154b0565b915091508180156114ec5750806001145b156114ff576001955050505050506111ce565b50839250611510905060208261549d565b90506114b8565b5060009695505050505050565b61152c613b45565b6115406001600160a01b0383163383612dca565b5050565b61155033826000613c07565b50565b61155b613b45565b33ff5b6000610ff489338a8a8a8a8a8a8a6108d0565b60606000825167ffffffffffffffff81111561158f5761158f614b26565b6040519080825280602002602001820160405280156115b8578160200160208202803683370190505b50905060005b835181101561162357600260008583815181106115dd576115dd6154da565b6020026020010151815260200190815260200160002054828281518110611606576116066154da565b60209081029190910101528061161b816154f0565b9150506115be565b5092915050565b600080600061168a61163a613131565b601f19890180517f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4582526101008220915260405161190160f01b8152600281019290925260228201526042902090565b9050600160fe1b8416156116e657600160fd1b8416156116d6576116b48760600151828888613c9b565b6116d1576040516317c2b1f160e01b815260040160405180910390fd5b611713565b6116b48760600151828888613d05565b6116f68760600151828888613d5a565b611713576040516317c2b1f160e01b815260040160405180910390fd5b61171e878533613522565b60408051848152602081018490529295509093507fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127910160405180910390a19450945094915050565b600081815260026020526040812054806117ad576040517fb838de9600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000190192915050565b60006108c68686868686612eaa565b600080846001600160a01b031684846040516117e3929190615509565b600060405180830381855af49150503d806000811461181e576040519150601f19603f3d011682016040523d82523d6000602084013e611823565b606091505b509150915081816040517f1934afc800000000000000000000000000000000000000000000000000000000815260040161185e929190615569565b60405180910390fd5b611540338383613c07565b6000806000611882868686613da9565b9150915081611042576040517f1f1b8f6100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008080805b63ffffffff87821c1692508215611923576000806118e661136686868a8c6154b0565b915091508115806118f8575080600114155b1561190b576000955050505050506111ce565b5083925061191c905060208261549d565b90506118c3565b5060019695505050505050565b6108b46001611403565b60006119506001600160a01b038b168484612c06565b6119618c8c8c8c8c8c8c8c8c6108d0565b9c9b505050505050505050505050565b600080600061198085856132d7565b915091508180156111c9575094909410949350505050565b6000808060148410156119d7576040517fd9e1c6dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660006119e68888613dd7565b91945092509050611a016001600160a01b0384168383612c06565b505050611a158e8e8e8e8e8e8e8e8e611a3b565b9250925092509b509b509b98505050505050505050565b60006110423386868686612eaa565b600080806001600160a01b038416611a7f576040517fb0c4d05f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a888c61114a565b6000818152600260205260409020548894508793509091508c906000198101611add576040517fecef366400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611aef60c0840160a08501614e0c565b6001600160a01b031614158015611b1e575033611b1260c0840160a08501614e0c565b6001600160a01b031614155b15611b55576040517fd4dfdafe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80611c5857611b75611b6d6080840160608501614e0c565b848f8f6134bb565b611bab576040517f5cd5d23300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060c0810135366000611bbd84613e15565b91509150600160ff1b89166000148015611bd8575060148110155b15611c51576000366000611bec8585613dd7565b91945092509050611c076001600160a01b0384168383612c06565b60008881526002602052604090205415611c4d576040517fc5f2be5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505b5050611c5d565b600019015b6000611c6883613b2e565b90501115611caf57611c7982611355565b611caf576040517fb6629c0200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8415841503611ce9576040517ee2a52200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600003611d795780851115611cfd578094505b611d1b611d0983613e23565b8460c00135888660e001358689613e31565b93506001600160ff1b038716611d318682615486565b611d3b8b87615486565b1115611d73576040517ffb8ae12900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50611e44565b611d97611d8583613e67565b8460e00135878660c001358689613e75565b945080851115611dec57809450611db0611d0983613e23565b935087841115611dec576040517f939c420400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160ff1b038716611e008582615486565b611e0a8a88615486565b1015611e42576040517f481ea39200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b841580611e4f575083155b15611e86576040517ffba5a27600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84810390508060010160026000858152602001908152602001600020819055508d6060016020810190611eb99190614e0c565b6001600160a01b03167fb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f028483604051611efc929190918252602082015260400190565b60405180910390a26014611f0f83613e89565b905010611fb2576000366000611f2c611f2786613e89565b613dd7565b919450925090506001600160a01b0383166396a10e3387611f536080890160608a01614e0c565b338c8c8a89896040518963ffffffff1660e01b8152600401611f7c9897969594939291906155ad565b600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b505050505050505b611fe5611fc56040840160208501614e0c565b611fd56080850160608601614e0c565b8888611fe087613e97565b613ea5565b61201b576040517f70a03f4800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60148a106120f35760003660006120328e8e613dd7565b9250925092506000836001600160a01b031663ccee33d7338b8b87876040518663ffffffff1660e01b815260040161206e959493929190615600565b6020604051808303816000875af115801561208d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b1919061562f565b905087811180156120d057506120ce6120c987613e67565b613f00565b155b80156120e557506120e36120c987613e23565b155b156120ee578097505b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661212d6060840160408501614e0c565b6001600160a01b03161480156121435750600034115b15612359578334101561216957604051631841b4e160e01b815260040160405180910390fd5b833411156121df57604051600090339034879003908381818185875af1925050503d80600081146121b6576040519150601f19603f3d011682016040523d82523d6000602084013e6121bb565b606091505b50509050806121dd5760405163b12d13eb60e01b815260040160405180910390fd5b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561223a57600080fd5b505af115801561224e573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a9059cbb91506000905061229760a0860160808701614e0c565b6001600160a01b0316146122ba576122b560a0850160808601614e0c565b6122ca565b6122ca6080850160608601614e0c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018790526044016020604051808303816000875af115801561232f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123539190615648565b50612411565b341561237857604051631841b4e160e01b815260040160405180910390fd5b6123db61238b6060840160408501614e0c565b33600061239e60a0870160808801614e0c565b6001600160a01b0316146123c1576123bc60a0860160808701614e0c565b6123d1565b6123d16080860160608701614e0c565b87611fe087613f75565b612411576040517f478a520500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601461241c83613f83565b9050106124ba576000366000612434611f2786613f83565b919450925090506001600160a01b038316633504ed628761245b6080890160608a01614e0c565b338c8c8a89896040518963ffffffff1660e01b81526004016124849897969594939291906155ad565b600060405180830381600087803b15801561249e57600080fd5b505af11580156124b2573d6000803e3d6000fd5b505050505050505b505099509950999650505050505050565b6124d3613b45565b6001600160a01b03811661254f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161185e565b61155081613b9f565b60006125688787878787876127be565b979650505050505050565b6125cc565b3d6000803e3d6000fd5b8061258f5761258f612578565b600160005114601f3d11163d151780611540577ff27f64e40000000000000000000000000000000000000000000000000000000060005260046000fd5b604051601581017f0dfe1681d21220a7ddca3f43a9059cbb23b872dd0000000000000000000000008252602081600484335afa61260b5761260b612578565b60208082016004808501335afa61262457612624612578565b602060408201600460088501335afa61263f5761263f612578565b600080600088136001811461265d5760208401519250879150612665565b835192508891505b507fff1f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000084526060832083527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460208401526001600160a01b0360558520169250338318156126f6577fb2c027220000000000000000000000000000000000000000000000000000000060005260046000fd5b60843592507f0dfe1681d21220a7ddca3f43a9059cbb23b872dd00000000000000000000000084523083146001811461275757836014860152336034860152816054860152612752602060006064601089016000885af1612582565b61277a565b33601086015281603086015261277a602060006044600c89016000885af1612582565b505050505050505050565b3233036108b4576040517f1b10b0f900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b9565b7f0902f1ac0000000000000000000000000000000000000000000000000000000081526000604082600484875afa6127ff576127ff612578565b60603d14612831577f85cd58dc0000000000000000000000000000000000000000000000000000000060005260046000fd5b81516020830151861561284057905b8785029250633b9aca008202830181840204925050507f022c0d9f000000000000000000000000000000000000000000000000000000008252841594508415810260048301528481026024830152866044830152608060648301526000608483015260008060a4846000885af16108c6576108c6612578565b6dffffffffffffffffffffffffffff8511156128f9577fcf0b4d3a0000000000000000000000000000000000000000000000000000000060005260046000fd5b60405160c081016040528260051b84018435886000811461296957341561292b57631841b4e160e01b60005260046000fd5b6323b872dd60e01b84523360048501526001600160a01b03821660248501528860448501526129646020600060648760008f5af1612582565b6129ff565b34891461298157631841b4e160e01b60005260046000fd5b630d0e30db60e41b84526000806004868c7382af49447d8a07e3bd95bd0d56f35241523fbab15af16129b5576129b5612578565b63a9059cbb60e01b84526001600160a01b038216600485015288602485015260008060448660007382af49447d8a07e3bd95bd0d56f35241523fbab15af16129ff576129ff612578565b50879350602086015b82811015612a50578035612a446001600160a01b03821663ffffffff60a01b851660a01c600160ff1b86166001600160a01b0387168a8a6127c5565b95509150602001612a08565b50600160fe1b81168015612adf57612a873063ffffffff60a01b841660a01c600160ff1b85166001600160a01b03861689896127c5565b9450632e1a7d4d60e01b845284600485015260008060248660007382af49447d8a07e3bd95bd0d56f35241523fbab15af1612ac457612ac4612578565b600080600080888f5af1612ada57612ada612578565b612b0b565b612b088b63ffffffff60a01b841660a01c600160ff1b85166001600160a01b03861689896127c5565b94505b50505050838110156108c65760405163f32bec2f60e01b815260040160405180910390fd5b60006323b872dd60e01b905060006040518281528560048201528460248201528360448201526020600060648360008b5af19150508015612b8e573d8015612b8457600160005114601f3d11169150612b8c565b6000873b1191505b505b80612bc5576040517ff405907100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b60006001600160a01b038216158061115e57506001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1492915050565b600060e0829003612c4457612c3d847fd505accf000000000000000000000000000000000000000000000000000000008585613f91565b9050612cac565b610100829003612c7a57612c3d847f8fcbaf0c000000000000000000000000000000000000000000000000000000008585613f91565b6040517f6827585700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80612cb957612cb9613fe3565b50505050565b6040517f4b64e4920000000000000000000000000000000000000000000000000000000080825260048201869052908284602483013784836024830101526000808460440183348b5af1612d16573d6000823e3d81fd5b50505050505050565b6000612d2a83612bcd565b15612d4057506001600160a01b0381163161115e565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301528416906370a0823190602401602060405180830381865afa158015612d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc3919061562f565b905061115e565b8015612ea557612dd983612bcd565b15612e915780471015612e18576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826001600160a01b03168261138890604051600060405180830381858888f193505050503d8060008114612e6a576040519150601f19603f3d011682016040523d82523d6000602084013e612e6f565b606091505b5050905080612cb95760405163b12d13eb60e01b815260040160405180910390fd5b612ea56001600160a01b0384168383613fef565b505050565b600081808203612ee6576040517f67e7c0f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8591506000198101341515600080600160fd1b888886818110612f0b57612f0b6154da565b90506020020135161190508115612fb157883414612f3c57604051631841b4e160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db08a6040518263ffffffff1660e01b81526004016000604051808303818588803b158015612f9757600080fd5b505af1158015612fab573d6000803e3d6000fd5b50505050505b600184111561305157612feb3083612fc95733612fcb565b305b89896000818110612fde57612fde6154da565b9050602002013588614038565b945060015b838110156130265761301c30308a8a8581811061300f5761300f6154da565b9050602002013589614038565b9550600101612ff0565b5061304a81613035578a613037565b305b30898987818110612fde57612fde6154da565b945061306f565b61306c8161305f578a613061565b305b83612fc95733612fcb565b94505b878510156130905760405163f32bec2f60e01b815260040160405180910390fd5b801561312457604051632e1a7d4d60e01b8152600481018690527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156130f857600080fd5b505af115801561310c573d6000803e3d6000fd5b50613124925050506001600160a01b038b16866141d4565b5050505095945050505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561318a57507f000000000000000000000000000000000000000000000000000000000000000046145b156131b457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000368161326a61012086018661566a565b60405191935091507f0a244ca8a150ac294c14fcff9277051ced9a5b23e966a0ff0522e989da23116c9082848237828120610140820152610120876020830137818152610160902060405161190160f01b81526002810187905260228101829052604290209094506108c6565b60008060006132e685856142ed565b60e01c905060006132f986866004614317565b9050632cc2878c19820161333057600161331282611001565b61331d576000613320565b60015b90945060ff16925061345f915050565b63bf15fcd88210156133be57636fe7b0ba82101561338257634f38e2b71982016133665760016133128261046489896064614348565b6363592c2a19820161337d57600161331282421090565b61344d565b636fe7b0b91982016133a05760016133128261052d89896064614348565b637426114419820161337d576001613312826105cf89896064614348565b63ca4ece228210156134115763bf15fcd71982016133f35760016133e88261075f89896064614348565b93509350505061345f565b63bfa7514219820161337d5760016133128261077f89896064614348565b63ca4ece2119820161342f576001613312826107d489896064614348565b63cf6fc6e219820161344d576001613312826107f489896024614317565b613458308787613da9565b9350935050505b9250929050565b600080631626ba7e60e01b905060405181815285600482015260406024820152836044820152838560648301376020600085606401838a5afa156134b15760203d1460005183141692505b5050949350505050565b60006001600160a01b0385166134d35750600061137c565b60408214806134e25750604182145b80156135095750846001600160a01b03166134fe858585614378565b6001600160a01b0316145b156135165750600161137c565b61104285858585613466565b6000806001600160a01b038316613565576040517f692e45e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606085015160808601516001600160a01b031615801590613593575060808601516001600160a01b03163314155b156135ca576040517fe8c6632100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855167ffffffffffffffff604082901c1680158015906135e957508042115b15613620576040517fc56873ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61362c83836000613c07565b505060a086015160c08701517f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8716600081900361366f57829550819450613715565b600160ff1b8816156136ca57828111156136b5576040517faa34b69600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8095506136c383838861442d565b9450613715565b81811115613704576040517f7f902a9300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80945061371283838761445b565b95505b5050508260001480613725575081155b1561375c576040517f07b6e79f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686602001516001600160a01b03161480156137c257507f1000000000000000000000000000000000000000000000000000000000000000851615155b1561395a576040516323b872dd60e01b81526001600160a01b038281166004830152306024830152604482018590527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af115801561383c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138609190615648565b50604051632e1a7d4d60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156138c357600080fd5b505af11580156138d7573d6000803e3d6000fd5b505050506000846001600160a01b03168461138890604051600060405180830381858888f193505050503d806000811461392d576040519150601f19603f3d011682016040523d82523d6000602084013e613932565b606091505b50509050806139545760405163b12d13eb60e01b815260040160405180910390fd5b50613974565b6020860151613974906001600160a01b0316828686612b30565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686604001516001600160a01b03161480156139b95750600034115b15613aec578134146139de57604051631841b4e160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b158015613a3957600080fd5b505af1158015613a4d573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b038581166004830152602482018790527f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb925060440190506020604051808303816000875af1158015613ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ae69190615648565b50613b25565b3415613b0b57604051631841b4e160e01b815260040160405180910390fd5b6040860151613b25906001600160a01b0316338385612b30565b50935093915050565b366000613b3c836004614468565b91509150915091565b6000546001600160a01b031633146108b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161185e565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316600090815260036020908152604080832066ffffffffffffff600887901c16808552928190529220549091600160ff86161b841791808316839003613c82576040517ff71fbda200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000938452602091909152604090922091179055505050565b600080631626ba7e60e01b905060405181815285600482015260406024820152604160448201528460648201526001600160ff1b03841660848201528360ff1c601b0160a48201536020600060a5838a5afa156134b15750600051143d6020141695945050505050565b600080631626ba7e60e01b905060405181815285600482015260406024820152604060448201528460648201528360848201526020600060a4838a5afa156134b15750600051143d6020141695945050505050565b60006001600160a01b038516613d725750600061137c565b846001600160a01b0316613d878585856144c3565b6001600160a01b031603613d9d5750600161137c565b61104285858585613d05565b60008060405183858237602060008583895afa3d602014169250508115613dcf57506000515b935093915050565b600036816014841015613dfd5760405163779ab6bd60e11b815260040160405180910390fd5b505050813560601c9260149092019160131990910190565b366000613b3c836005614468565b366000613b3c836003614468565b6000868103613e4c57613e4586858761442d565b9050612568565b613e5b88888888888888614532565b98975050505050505050565b366000613b3c836002614468565b6000868103613e4c57613e4584878761445b565b366000613b3c836006614468565b366000613b3c836000614468565b6040516323b872dd60e01b8082526004820187905260248201869052604482018590526000918385606483013760206000856064018360008d5af19050600160005114601f3d11163d15178116925050509695505050505050565b60006001821480156111ce575082826000818110613f2057613f206154da565b9050013560f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f7800000000000000000000000000000000000000000000000000000000000000149392505050565b366000613b3c836001614468565b366000613b3c836007614468565b6000816004016040518581528385600483013760206000838360008b5af192505050801561137c573d8015613fd257600160005114601f3d11169150613fda565b6000863b1191505b50949350505050565b6040513d6000823e3d81fd5b6140028363a9059cbb60e01b84846146be565b612ea5576040517ffb7f507900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160ff1b831615801561410e576000846001600160a01b031663128acb08888461406488614700565b604080516001600160a01b038d1660208201526401000276a491016040516020818303038152906040526040518663ffffffff1660e01b81526004016140ae9594939291906156b1565b60408051808303816000875af11580156140cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140f091906156eb565b915050614105816141009061570f565b614783565b9250505061137c565b6000846001600160a01b031663128acb08888461412a88614700565b604080516001600160a01b038d16602082015273fffd8963efd1fc6a506488495d951d5263988d2591016040516020818303038152906040526040518663ffffffff1660e01b81526004016141839594939291906156b1565b60408051808303816000875af11580156141a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141c591906156eb565b5090506141056141008261570f565b804710156142245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161185e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614271576040519150601f19603f3d011682016040523d82523d6000602084013e614276565b606091505b5050905080612ea55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161185e565b600060048210156143115760405163779ab6bd60e11b815260040160405180910390fd5b50503590565b60006020820183101561433d5760405163779ab6bd60e11b815260040160405180910390fd5b509190910135919050565b3660008284101561436c5760405163779ab6bd60e11b815260040160405180910390fd5b50509182019291900390565b6000604051826041811461439757604081146143b157600091506143d9565b604085013560001a602083015260408560408401376143d9565b60208501358060ff1c601b01602084015260208660408501376001600160ff1b031660608301525b508015614425577f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a16060820151101561442557848152600080526020600060808360015afa5060005191505b509392505050565b60008360018161443d8686615486565b614447919061549d565b6144519190615473565b61137c919061572b565b6000826144518584615486565b3660008060058460078111156144805761448061574d565b901b905061449261012086018661566a565b6144b79161010088013580851c63ffffffff9081169360209290921b861c16916154b0565b92509250509250929050565b60006001600160ff1b0382167f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1811015614425576040518581528360ff1c601b016020820152846040820152816060820152600080526020600060808360015afa505060005195945050505050565b600060018790036145be576145478888613f00565b1561458c57858514614585576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5082612568565b6040517fbec74c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660006145cd8b8b613dd7565b925092509250600080846001600160a01b031684848c8b8b6040516020016145f9959493929190615763565b60408051601f198184030181529082905261461391615782565b600060405180830381855afa9150503d806000811461464e576040519150601f19603f3d011682016040523d82523d6000602084013e614653565b606091505b509150915081158061466757508051602014155b1561469e576040517f110b8e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808060200190518101906146b2919061562f565b95505050505050612568565b60006040518481528360048201528260248201526020600060448360008a5af1915050801561137c573d8015613fd257600160005114601f3d11169150613fda565b60006001600160ff1b0382111561477f5760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e206160448201527f6e20696e74323536000000000000000000000000000000000000000000000000606482015260840161185e565b5090565b60008082121561477f5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161185e565b6001600160a01b038116811461155057600080fd5b80356147f5816147d5565b919050565b60008083601f84011261480c57600080fd5b50813567ffffffffffffffff81111561482457600080fd5b6020830191508360208260051b850101111561345f57600080fd5b60008060008060006080868803121561485757600080fd5b8535614862816147d5565b94506020860135935060408601359250606086013567ffffffffffffffff81111561488c57600080fd5b614898888289016147fa565b969995985093965092949392505050565b60008060008060008060008060006101208a8c0312156148c857600080fd5b89356148d3816147d5565b985060208a01356148e3816147d5565b975060408a01356148f3816147d5565b965060608a0135614903816147d5565b989b979a50959860808101359760a0820135975060c0820135965060e08201359550610100909101359350915050565b60008083601f84011261494557600080fd5b50813567ffffffffffffffff81111561495d57600080fd5b60208301915083602082850101111561345f57600080fd5b60008060008060008086880361014081121561499057600080fd5b873561499b816147d5565b965060e0601f19820112156149af57600080fd5b5060208701945061010087013567ffffffffffffffff808211156149d257600080fd5b6149de8a838b01614933565b90965094506101208901359150808211156149f857600080fd5b50614a0589828a01614933565b979a9699509497509295939492505050565b60008060008060008060008060c0898b031215614a3357600080fd5b8835614a3e816147d5565b97506020890135614a4e816147d5565b96506040890135955060608901359450608089013567ffffffffffffffff80821115614a7957600080fd5b614a858c838d016147fa565b909650945060a08b0135915080821115614a9e57600080fd5b50614aab8b828c01614933565b999c989b5096995094979396929594505050565b600060208284031215614ad157600080fd5b5035919050565b60006101408284031215614aeb57600080fd5b50919050565b600060208284031215614b0357600080fd5b813567ffffffffffffffff811115614b1a57600080fd5b61137c84828501614ad8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614b6557614b65614b26565b604052919050565b600060e08284031215614b7f57600080fd5b60405160e0810181811067ffffffffffffffff82111715614ba257614ba2614b26565b604052823581529050806020830135614bba816147d5565b60208201526040830135614bcd816147d5565b60408201526060830135614be0816147d5565b60608201526080830135614bf3816147d5565b8060808301525060a083013560a082015260c083013560c08201525092915050565b6000806000806101208587031215614c2c57600080fd5b614c368686614b6d565b935060e085013567ffffffffffffffff811115614c5257600080fd5b614c5e87828801614933565b959890975094956101000135949350505050565b600080600060408486031215614c8757600080fd5b83359250602084013567ffffffffffffffff811115614ca557600080fd5b614cb186828701614933565b9497909650939450505050565b60008060408385031215614cd157600080fd5b8235614cdc816147d5565b946020939093013593505050565b60008060008060006101408688031215614d0357600080fd5b614d0d8787614b6d565b945060e086013567ffffffffffffffff811115614d2957600080fd5b614d3588828901614933565b9095509350506101008601359150610120860135614d52816147d5565b809150509295509295909350565b60008060008060008060008060c0898b031215614d7c57600080fd5b883567ffffffffffffffff80821115614d9457600080fd5b614da08c838d01614ad8565b995060208b0135915080821115614db657600080fd5b614dc28c838d01614933565b909950975060408b0135915080821115614ddb57600080fd5b50614de88b828c01614933565b999c989b5096999698976060880135976080810135975060a0013595509350505050565b600060208284031215614e1e57600080fd5b81356111ce816147d5565b6000806000806000806000610160888a031215614e4557600080fd5b614e4f8989614b6d565b965060e088013567ffffffffffffffff80821115614e6c57600080fd5b614e788b838c01614933565b90985096506101008a013595506101208a01359150614e96826147d5565b9093506101408901359080821115614ead57600080fd5b50614eba8a828b01614933565b989b979a50959850939692959293505050565b600060208284031215614edf57600080fd5b813560ff811681146111ce57600080fd5b600080600080600080600080610100898b031215614f0d57600080fd5b8835614f18816147d5565b97506020890135614f28816147d5565b96506040890135614f38816147d5565b979a96995096976060810135975060808101359660a0820135965060c0820135955060e0909101359350915050565b60006020808385031215614f7a57600080fd5b823567ffffffffffffffff80821115614f9257600080fd5b818501915085601f830112614fa657600080fd5b813581811115614fb857614fb8614b26565b8060051b9150614fc9848301614b3c565b8181529183018401918481019088841115614fe357600080fd5b938501935b83851015613e5b57843582529385019390850190614fe8565b6020808252825182820181905260009190848201906040850190845b818110156150395783518352928401929184019160010161501d565b50909695505050505050565b600080600080610140858703121561505c57600080fd5b6150668686614b6d565b9660e08601359650610100860135956101200135945092505050565b60008060006040848603121561509757600080fd5b83356150a2816147d5565b9250602084013567ffffffffffffffff811115614ca557600080fd5b600080604083850312156150d157600080fd5b50508035926020909101359150565b60008060008060008060008060008060006101408c8e03121561510257600080fd5b8b3561510d816147d5565b9a5060208c013561511d816147d5565b995060408c013561512d816147d5565b985060608c013561513d816147d5565b975060808c0135965060a08c0135955060c08c0135945060e08c013593506101008c013592506101208c013567ffffffffffffffff81111561517e57600080fd5b61518a8e828f01614933565b915080935050809150509295989b509295989b9093969950565b60008060008060008060008060008060006101008c8e0312156151c657600080fd5b67ffffffffffffffff808d3511156151dd57600080fd5b6151ea8e8e358f01614ad8565b9b508060208e013511156151fd57600080fd5b61520d8e60208f01358f01614933565b909b50995060408d013581101561522357600080fd5b6152338e60408f01358f01614933565b909950975060608d0135965060808d0135955060a08d0135945061525960c08e016147ea565b93508060e08e0135111561526c57600080fd5b5061527d8d60e08e01358e01614933565b81935080925050509295989b509295989b9093969950565b600080600080606085870312156152ab57600080fd5b8435935060208501359250604085013567ffffffffffffffff8111156152d057600080fd5b6152dc878288016147fa565b95989497509550505050565b600080600080600080600080600060e08a8c03121561530657600080fd5b893567ffffffffffffffff8082111561531e57600080fd5b61532a8d838e01614ad8565b9a5060208c013591508082111561534057600080fd5b61534c8d838e01614933565b909a50985060408c013591508082111561536557600080fd5b506153728c828d01614933565b90975095505060608a0135935060808a0135925060a08a0135915060c08a013561539b816147d5565b809150509295985092959850929598565b60008060008060008060a087890312156153c557600080fd5b86356153d0816147d5565b955060208701356153e0816147d5565b94506040870135935060608701359250608087013567ffffffffffffffff81111561540a57600080fd5b614a0589828a016147fa565b6000806000806060858703121561542c57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561545157600080fd5b6152dc87828801614933565b634e487b7160e01b600052601160045260246000fd5b8181038181111561115e5761115e61545d565b808202811582820484141761115e5761115e61545d565b8082018082111561115e5761115e61545d565b600080858511156154c057600080fd5b838611156154cd57600080fd5b5050820193919092039150565b634e487b7160e01b600052603260045260246000fd5b6000600182016155025761550261545d565b5060010190565b8183823760009101908152919050565b60005b8381101561553457818101518382015260200161551c565b50506000910152565b60008151808452615555816020860160208601615519565b601f01601f19169290920160200192915050565b821515815260406020820152600061137c604083018461553d565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b88815260006001600160a01b03808a1660208401528089166040840152508660608301528560808301528460a083015260e060c08301526155f260e083018486615584565b9a9950505050505050505050565b6001600160a01b0386168152846020820152836040820152608060608201526000612568608083018486615584565b60006020828403121561564157600080fd5b5051919050565b60006020828403121561565a57600080fd5b815180151581146111ce57600080fd5b6000808335601e1984360301811261568157600080fd5b83018035915067ffffffffffffffff82111561569c57600080fd5b60200191503681900382131561345f57600080fd5b60006001600160a01b038088168352861515602084015285604084015280851660608401525060a0608083015261256860a083018461553d565b600080604083850312156156fe57600080fd5b505080516020909101519092909150565b6000600160ff1b82036157245761572461545d565b5060000390565b60008261574857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b8486823790930191825260208201526040810191909152606001919050565b60008251615794818460208701615519565b919091019291505056fea264697066735822122050c4c0cfc6a14b8169dc1a581406f371371014925978f4490ca3746fdde404a764736f6c6343000811003300000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

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

00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1


Deployed ByteCode Sourcemap

192304:1473:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10509:10;:8;:10::i;:::-;192304:1473;;;;;109241:276;;;;;;:::i;:::-;;:::i;:::-;;;1590:25:1;;;1578:2;1563:18;109241:276:0;;;;;;;;25382:7384;;;;;;:::i;:::-;;:::i;102319:2189::-;;;;;;:::i;:::-;;:::i;:::-;;;;4335:25:1;;;4391:2;4376:18;;4369:34;;;;4308:18;102319:2189:0;4161:248:1;83381:378:0;;;;;;;;;;-1:-1:-1;83381:378:0;;;;;:::i;:::-;;:::i;146088:351::-;;;;;;;;;;-1:-1:-1;146088:351:0;;;;;:::i;:::-;;:::i;:::-;;;5967:14:1;;5960:22;5942:41;;5930:2;5915:18;146088:351:0;5802:187:1;161820:459:0;;;;;;;;;;-1:-1:-1;161820:459:0;;;;;:::i;:::-;;:::i;171654:137::-;;;;;;;;;;-1:-1:-1;171654:137:0;;;;;:::i;:::-;;:::i;107575:376::-;;;;;;;;;;-1:-1:-1;107575:376:0;;;;;:::i;:::-;;:::i;179890:345::-;;;;;;:::i;:::-;;:::i;:::-;;;;9356:25:1;;;9412:2;9397:18;;9390:34;;;;9440:18;;;9433:34;9344:2;9329:18;179890:345:0;9154:319:1;145199:184:0;;;;;;;;;;-1:-1:-1;145199:184:0;;;;;:::i;:::-;;:::i;178764:156::-;;;;;;;;;;-1:-1:-1;178764:156:0;;;;;:::i;:::-;-1:-1:-1;;;;;178887:19:0;;;;178847:7;178887:19;;;:12;:19;;;;;;;;:25;;;;;;;;;178764:156;183995:920;;;;;;:::i;:::-;;:::i;162350:503::-;;;;;;:::i;:::-;;:::i;145546:154::-;;;;;;;;;;-1:-1:-1;145546:154:0;;;;;:::i;:::-;145628:15;:22;;145546:154;171382:201;;;;;;;;;;-1:-1:-1;171382:201:0;;;;;:::i;:::-;;:::i;144356:185::-;;;;;;;;;;-1:-1:-1;144356:185:0;;;;;:::i;:::-;;:::i;141784:40::-;;;;;;;;;;-1:-1:-1;141784:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;182949:456;;;;;;;;;;-1:-1:-1;182949:456:0;;;;;:::i;:::-;;:::i;191271:103::-;;;;;;;;;;;;;:::i;142000:253::-;;;;;;;;;;-1:-1:-1;142000:253:0;;;;;:::i;:::-;;:::i;143067:452::-;;;;;;;;;;-1:-1:-1;143067:452:0;;;;;:::i;:::-;;:::i;193136:135::-;;;;;;;;;;-1:-1:-1;193136:135:0;;;;;:::i;:::-;;:::i;160870:::-;;;;;;;;;;-1:-1:-1;160870:135:0;;;;;:::i;:::-;160933:7;160976:21;;;:10;:21;;;;;;;160870:135;179062:113;;;;;;;;;;-1:-1:-1;179062:113:0;;;;;:::i;:::-;;:::i;193566:90::-;;;;;;;;;;;;;:::i;24244:451::-;;;;;;:::i;:::-;;:::i;190623:87::-;;;;;;;;;;-1:-1:-1;190669:7:0;190696:6;190623:87;;-1:-1:-1;;;;;190696:6:0;;;15418:74:1;;15406:2;15391:18;190623:87:0;15272:226:1;161080:339:0;;;;;;;;;;-1:-1:-1;161080:339:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;181101:1002::-;;;;;;:::i;:::-;;:::i;160546:250::-;;;;;;;;;;-1:-1:-1;160546:250:0;;;;;:::i;:::-;;:::i;84830:280::-;;;;;;:::i;:::-;;:::i;161489:258::-;;;;;;;;;;-1:-1:-1;161489:258:0;;;;;:::i;:::-;;:::i;179232:150::-;;;;;;;;;;-1:-1:-1;179232:150:0;;;;;:::i;:::-;;:::i;145824:256::-;;;;;;;;;;-1:-1:-1;145824:256:0;;;;;:::i;:::-;;:::i;143672:454::-;;;;;;;;;;-1:-1:-1;143672:454:0;;;;;:::i;:::-;;:::i;141872:68::-;;;;;;;;;;;;;:::i;23162:551::-;;;;;;;;;;-1:-1:-1;23162:551:0;;;;;:::i;:::-;;:::i;144777:184::-;;;;;;;;;;-1:-1:-1;144777:184:0;;;;;:::i;:::-;;:::i;142415:148::-;;;;;;;;;;-1:-1:-1;142415:148:0;;;;;:::i;:::-;-1:-1:-1;;;;;142522:19:0;;;;142498:4;142522:19;;;:5;:19;;;;;;:33;;142415:148;162936:806;;;;;;;;;;-1:-1:-1;162936:806:0;;;;;:::i;:::-;;:::i;84090:252::-;;;;;;:::i;:::-;;:::i;163815:7491::-;;;;;;:::i;:::-;;:::i;191529:201::-;;;;;;;;;;-1:-1:-1;191529:201:0;;;;;:::i;:::-;;:::i;108477:304::-;;;;;;:::i;:::-;;:::i;86743:3278::-;;;;;;;;;;-1:-1:-1;86743:3278:0;;;;;:::i;:::-;;:::i;193664:110::-;193744:22;:20;:22::i;:::-;193664:110::o;109241:276::-;109404:20;109444:65;109461:10;109474:8;109484:6;109492:9;109503:5;;109444:8;:65::i;:::-;109437:72;109241:276;-1:-1:-1;;;;;;109241:276:0:o;25382:7384::-;25705:20;-1:-1:-1;;;;;25752:16:0;;;25779:1608;;;;25823:11;25810:9;:24;25806:67;;25843:30;;-1:-1:-1;;;25843:30:0;;;;;;;;;;;25806:67;25779:1608;;;25907:5;-1:-1:-1;;;;;25895:17:0;:8;-1:-1:-1;;;;;25895:17:0;;25891:1496;;-1:-1:-1;25938:4:0;25961:9;:14;25957:57;;25984:30;;-1:-1:-1;;;25984:30:0;;;;;;;;;;;25957:57;26466:4;26460:11;-1:-1:-1;;;26491:33:0;;;26565:8;26558:4;26549:14;;26542:32;26615:9;26608:4;26599:14;;26592:33;26659:4;26650:14;;26643:35;;;26173:5;;-1:-1:-1;;;26292:23:0;26150:12;;26732:4;26460:11;26150:12;26173:5;26711;26706:37;26696:182;;26791:16;26788:1;26783:3;26768:40;26842:16;26837:3;26830:29;26696:182;26910:16;26905:3;26898:29;26968:11;26961:4;26956:3;26952:14;26945:35;27043:1;27040;27034:4;27029:3;27026:1;27020:4;27013:5;27008:37;26998:182;;27093:16;27090:1;27085:3;27070:40;27144:16;27139:3;27132:29;26998:182;;26387:808;;;25891:1496;;;27231:9;:14;27227:57;;27254:30;;-1:-1:-1;;;27254:30:0;;;;;;;;;;;27227:57;27299:76;-1:-1:-1;;;;;27299:25:0;;27325:10;27345:15;27363:11;27299:25;:76::i;:::-;27403:6;27399:5328;;;27585:15;27611;27585:42;;27642:15;27660:40;;;27642:58;;27851:4;27845:11;27888:8;27883:3;27876:21;27938:8;27931:4;27926:3;27922:14;27915:32;27988:11;27981:4;27976:3;27972:14;27965:35;28041:12;28034:4;28029:3;28025:14;28018:36;28095:9;28088:4;28083:3;28079:14;28072:33;28146:9;28139:4;28134:3;28130:14;28123:33;28229:2;28209:18;28205:27;28201:2;28197:36;28190:4;28185:3;28181:14;28174:60;28275:1;28268:4;28263:3;28259:14;28252:25;-1:-1:-1;;;;;28322:2:0;28318:26;28311:4;28306:3;28302:14;28295:50;28387:5;28379;28374:3;28370:15;28363:30;-1:-1:-1;;;28427:5:0;28422:3;28418:15;28411:53;28541:1;28538;28531:5;28526:3;28513:11;28504:7;28497:5;28492:51;28482:196;;28591:16;28588:1;28583:3;28568:40;28642:16;28637:3;28630:29;28482:196;;27772:921;;27399:5328;;;-1:-1:-1;;;;;28714:16:0;;;;:37;;;28746:5;-1:-1:-1;;;;;28734:17:0;:8;-1:-1:-1;;;;;28734:17:0;;28714:37;28710:4017;;;29173:4;29167:11;28982:40;29198:21;;;29253:4;29244:14;;29237:32;;;29303:4;29294:14;;29287:35;;;29356:4;29347:14;;29340:36;;;29410:4;29401:14;;29394:33;;;28933:15;;29452:16;;29491:1;29486:82;;;;29640:9;29633:4;29628:3;29624:14;29617:33;29445:224;;29486:82;29539:9;29532:4;29527:3;29523:14;29516:33;29445:224;;29742:2;29722:18;29718:27;29714:2;29710:36;29703:4;29698:3;29694:14;29687:60;29788:1;29781:4;29776:3;29772:14;29765:25;-1:-1:-1;;;;;29835:2:0;29831:26;29824:4;29819:3;29815:14;29808:50;29900:5;29892;29887:3;29883:15;29876:30;-1:-1:-1;;;29940:5:0;29935:3;29931:15;29924:53;30044:1;30041;30034:5;30029:3;30026:1;30017:7;30010:5;30005:41;29995:186;;30094:16;30091:1;30086:3;30071:40;30145:16;30140:3;30133:29;29995:186;;30228:5;-1:-1:-1;;;;;30216:17:0;:8;-1:-1:-1;;;;;30216:17:0;;30212:1187;;30699:4;30693:11;-1:-1:-1;;;30728:28:0;;;30396:5;;-1:-1:-1;;;30513:23:0;30373:12;;30825:4;30693:11;30806:12;30396:5;30793;30788:48;30778:205;;30888:16;30885:1;30880:3;30865:40;30943:16;30938:3;30931:29;30778:205;31019:16;31014:3;31007:29;31081:9;31074:4;31069:3;31065:14;31058:33;31136:12;31129:4;31124:3;31120:14;31113:36;31216:1;31213;31207:4;31202:3;31199:1;31193:4;31186:5;31181:37;31171:194;;31270:16;31267:1;31262:3;31247:40;31325:16;31320:3;31313:29;31171:194;;30616:768;;;30212:1187;28753:2657;;28710:4017;;;31578:15;31604;31578:42;;31635:15;31653:29;;;31635:47;;31833:4;31827:11;31870:8;31865:3;31858:21;31920:8;31913:4;31908:3;31904:14;31897:32;31970:8;31963:4;31958:3;31954:14;31947:32;32020:11;32013:4;32008:3;32004:14;31997:35;32073:12;32066:4;32061:3;32057:14;32050:36;32127:9;32120:4;32115:3;32111:14;32104:33;32178:9;32171:4;32166:3;32162:14;32155:33;32261:2;32241:18;32237:27;32233:2;32229:36;32222:4;32217:3;32213:14;32206:60;32307:1;32300:4;32295:3;32291:14;32284:25;-1:-1:-1;;;;;32355:2:0;32351:26;32343:5;32338:3;32334:15;32327:51;32420:5;32412;32407:3;32403:15;32396:30;-1:-1:-1;;;32460:5:0;32455:3;32451:15;32444:53;32564:1;32561;32554:5;32549:3;32546:1;32537:7;32530:5;32525:41;32515:186;;32614:16;32611:1;32606:3;32591:40;32665:16;32660:3;32653:29;32515:186;;31754:962;;28710:4017;-1:-1:-1;32746:12:0;;25382:7384;-1:-1:-1;;;;;;;;;25382:7384:0:o;102319:2189::-;102549:20;102584:19;102635:4;:20;;;102659:1;102635:25;102631:53;;102669:15;;;;;;;;;;;;;;102631:53;102697:15;102715:13;;;;:4;:13;:::i;:::-;102697:31;-1:-1:-1;102739:15:0;102757:13;;;;;;;;:::i;:::-;102739:31;;102783:11;102797:16;:8;-1:-1:-1;;;;;102797:14:0;;:16::i;:::-;102783:30;-1:-1:-1;102828:10:0;;;;101351:6;102828:32;:37;102824:267;;102900:6;:24;;102923:1;102900:24;;;102909:4;:11;;;102900:24;102886:9;:39;102882:82;;102934:30;;-1:-1:-1;;;102934:30:0;;;;;;;;;;;102882:82;102824:267;;;103015:6;:24;;103038:1;103015:24;;;103024:4;:11;;;103015:24;103001:9;:39;102997:82;;103049:30;;-1:-1:-1;;;103049:30:0;;;;;;;;;;;102997:82;103108:6;103103:207;;103135:17;;103131:85;;103173:27;-1:-1:-1;;;;;103173:19:0;;103193:6;;103173:19;:27::i;:::-;103230:68;103256:10;103268:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;103230:25:0;;;:68;103286:11;;;;103230:25;:68::i;:::-;103322:49;103331:8;103341:10;103353:4;:11;;;103366:4;;103322:8;:49::i;:::-;103398:11;;;;;-1:-1:-1;103506:36:0;-1:-1:-1;;;;;103506:21:0;;103536:4;103506:21;:36::i;:::-;103491:51;;103557:12;103573:1;103557:17;103553:48;;103583:18;;;;;;;;;;;;;;103553:48;-1:-1:-1;;103624:14:0;;;;103657:10;;;;103624:14;103657:26;:31;103653:674;;103705:21;103729:36;-1:-1:-1;;;;;103729:21:0;;103759:4;103729:21;:36::i;:::-;103705:60;;103800:1;103784:13;:17;103780:288;;;-1:-1:-1;;103913:15:0;103949:28;103913:15;103949:28;;:::i;:::-;;-1:-1:-1;103996:56:0;-1:-1:-1;;;;;103996:20:0;;104025:10;104038:13;103996:20;:56::i;:::-;104115:34;104138:11;104115:20;;;;:34;:::i;:::-;104086:26;104101:11;;;;104086:12;:26;:::i;:::-;:63;104082:114;;;104158:38;;-1:-1:-1;;;104158:38:0;;;;;;;;;;;104082:114;103690:518;103653:674;;;104248:4;:20;;;104233:12;:35;104229:86;;;104277:38;;-1:-1:-1;;;104277:38:0;;;;;;;;;;;104229:86;104339:27;;104370:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;104370:30:0;;104369:73;;104426:16;;;;;;;;:::i;:::-;104369:73;;;104412:10;104369:73;104339:103;-1:-1:-1;104453:47:0;-1:-1:-1;;;;;104453:20:0;;104339:103;104487:12;104453:20;:47::i;:::-;102620:1888;;;;102319:2189;;;;;;;;;:::o;83381:378::-;83622:20;83655:27;-1:-1:-1;;;;;83655:19:0;;83675:6;;83655:19;:27::i;:::-;83700:51;83715:9;83726:6;83734:9;83745:5;;83700:14;:51::i;:::-;83693:58;83381:378;-1:-1:-1;;;;;;;;;83381:378:0:o;146088:351::-;146172:4;146232:3;146212:23;;;146291:3;146271:23;;;146189:47;146247:48;146212:16;146377:21;146212:23;145628:15;:22;;145546:154;146377:21;:54;;;;-1:-1:-1;;;;;;142522:19:0;;142498:4;142522:19;;;:5;:19;;;;;;:33;;146402:29;146370:61;146088:351;-1:-1:-1;;;;;146088:351:0:o;161820:459::-;161889:22;;161962:10;161947:11;;;;;;;;:::i;:::-;-1:-1:-1;;;;;161947:25:0;;161943:52;;161981:14;;;;;;;;;;;;;;161943:52;162020:16;162030:5;162020:9;:16::i;:::-;162064:21;;;;:10;:21;;;;;;;-1:-1:-1;162008:28:0;-1:-1:-1;;;162100:31:0;;162096:59;;162140:15;;;;;;;;;;;;;;162096:59;162171:52;;;4335:25:1;;;4391:2;4376:18;;4369:34;;;162185:10:0;;162171:52;;4308:18:1;162171:52:0;;;;;;;162234:21;;;;:10;:21;;;;;160005:1;162234:37;;161820:459;;162245:9;;-1:-1:-1;161820:459:0:o;171654:137::-;171724:7;171751:32;171762:20;:18;:20::i;:::-;171751:5;;:10;:32::i;:::-;171744:39;171654:137;-1:-1:-1;;171654:137:0:o;107575:376::-;107810:20;107843:27;-1:-1:-1;;;;;107843:19:0;;107863:6;;107843:19;:27::i;:::-;107888:55;107897:9;107908:8;107918:6;107926:9;107937:5;;107888:8;:55::i;179890:345::-;180056:7;180090;180124;180167:60;180182:5;180189:9;;180200:14;180216:10;180167:14;:60::i;:::-;180160:67;;;;;;179890:345;;;;;;;;:::o;145199:184::-;145267:4;145285:12;145299:11;145314:21;145330:4;;145314:15;:21::i;:::-;145284:51;;;;145353:7;:22;;;;;145370:5;145364:3;:11;145353:22;145346:29;;;;145199:184;;;;;;:::o;183995:920::-;184186:26;184214;184242:17;184284:32;184295:20;:18;:20::i;:::-;-1:-1:-1;;176482:16:0;;176598:10;;175864:291;176622:21;;176685:5;176670:21;;176705:16;;134785:4;134779:11;-1:-1:-1;;;134804:79:0;;134927:4;134918:14;;134911:39;;;;134980:4;134971:14;;134964:34;135034:2;135019:18;;;176164:642;184284:32;184272:44;-1:-1:-1;;;;184331:44:0;;:49;184327:420;;-1:-1:-1;;;184401:45:0;;:50;;;;:76;;-1:-1:-1;184475:2:0;184455:22;;;184401:76;184397:106;;;184486:17;;-1:-1:-1;;;184486:17:0;;;;;;;;;;;184397:106;184523:57;184546:5;:11;;;184559:9;184570;;184523:22;:57::i;:::-;184518:88;;184589:17;;-1:-1:-1;;;184589:17:0;;;;;;;;;;;184518:88;184327:420;;;184643:66;184675:5;:11;;;184688:9;184699;;184643:31;:66::i;:::-;184639:96;;184718:17;;-1:-1:-1;;;184718:17:0;;;;;;;;;;;184639:96;184800:46;184816:5;184823:14;184839:6;184800:15;:46::i;:::-;184862:45;;;4335:25:1;;;4391:2;4376:18;;4369:34;;;184757:89:0;;-1:-1:-1;184757:89:0;;-1:-1:-1;184862:45:0;;4308:18:1;184862:45:0;;;;;;;183995:920;;;;;;;;;:::o;162350:503::-;162622:7;162656;162690;162733:112;162745:5;162752:9;;162763:11;;162776:12;162790;162804:28;162834:10;162733:11;:112::i;:::-;162726:119;;;;;;162350:503;;;;;;;;;;;;:::o;171382:201::-;171457:4;171475:12;171489:11;171504:34;171520:17;:5;:15;:17::i;:::-;171504:15;:34::i;:::-;171474:64;;;;171556:7;:19;;;;;171567:3;171574:1;171567:8;171556:19;171549:26;171382:201;-1:-1:-1;;;;171382:201:0:o;144356:185::-;144424:4;144442:12;144456:11;144471:21;144487:4;;144471:15;:21::i;:::-;144441:51;;;;144510:7;:23;;;;-1:-1:-1;144521:12:0;;;;144356:185;-1:-1:-1;;;;144356:185:0:o;182949:456::-;183176:7;183210;183244;183280:43;183316:6;;183287:5;:16;;;-1:-1:-1;;;;;183280:35:0;;;:43;;;;;:::i;:::-;183341:56;183356:5;183363:9;;183374:14;183390:6;183341:14;:56::i;:::-;183334:63;;;;;;182949:456;;;;;;;;;;;:::o;191271:103::-;190509:13;:11;:13::i;:::-;191336:30:::1;191363:1;191336:18;:30::i;142000:253::-:0;142058:6;:11;;142068:1;142058:11;142054:44;;142078:20;;;;;;;;;;;;;;142054:44;142134:10;142109:16;142128:17;;;:5;:17;;;;;;:26;;;;;;;:::i;:::-;142171:10;142165:17;;;;:5;:17;;;;;;;:28;;;142209:36;142109:45;;-1:-1:-1;142171:10:0;142209:36;;;;142109:45;1590:25:1;;1578:2;1563:18;;1444:177;142209:36:0;;;;;;;;142043:210;142000:253;:::o;143067:452::-;143137:4;;;;143207:282;143228:30;143245:12;;;143228:30;;-1:-1:-1;143227:37:0;;143207:282;;143291:12;;143320:39;143336:22;143350:7;143341:8;143336:4;;:22;:::i;143320:39::-;143290:69;;;;143378:7;:19;;;;;143389:3;143396:1;143389:8;143378:19;143374:71;;;143425:4;143418:11;;;;;;;;;143374:71;-1:-1:-1;143470:7:0;;-1:-1:-1;143266:7:0;;-1:-1:-1;143271:2:0;143266:7;;:::i;:::-;;;143207:282;;;-1:-1:-1;143506:5:0;;143067:452;-1:-1:-1;;;;;;143067:452:0:o;193136:135::-;190509:13;:11;:13::i;:::-;193217:46:::1;-1:-1:-1::0;;;;;193217:17:0;::::1;193243:10;193256:6:::0;193217:17:::1;:46::i;:::-;193136:135:::0;;:::o;179062:113::-;179125:42;179142:10;179154:9;179165:1;179125:16;:42::i;:::-;179062:113;:::o;193566:90::-;190509:13;:11;:13::i;:::-;193636:10:::1;193615:33;24244:451:::0;24531:20;24571:116;24585:15;24610:10;24623:8;24633;24643:11;24656:12;24670:9;24681:1;24684:2;24571:13;:116::i;161080:339::-;161155:16;161201:24;161242:11;:18;161228:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;161228:33:0;;161201:60;;161277:9;161272:115;161296:11;:18;161292:1;:22;161272:115;;;161349:10;:26;161360:11;161372:1;161360:14;;;;;;;;:::i;:::-;;;;;;;161349:26;;;;;;;;;;;;161336:7;161344:1;161336:10;;;;;;;;:::i;:::-;;;;;;;;;;:39;161316:3;;;;:::i;:::-;;;;161272:115;;;-1:-1:-1;161404:7:0;161080:339;-1:-1:-1;;161080:339:0:o;181101:1002::-;181280:26;181308;181336:17;181378:32;181389:20;:18;:20::i;:::-;-1:-1:-1;;176482:16:0;;176598:10;;175864:291;176622:21;;176685:5;176670:21;;176705:16;;134785:4;134779:11;-1:-1:-1;;;134804:79:0;;134927:4;134918:14;;134911:39;;;;134980:4;134971:14;;134964:34;135034:2;135019:18;;;176164:642;181378:32;181366:44;-1:-1:-1;;;;181425:44:0;;:49;181421:508;;-1:-1:-1;;;181495:45:0;;:50;181491:302;;181571:55;181596:5;:11;;;181609:9;181620:1;181623:2;181571:24;:55::i;:::-;181566:86;;181635:17;;-1:-1:-1;;;181635:17:0;;;;;;;;;;;181566:86;181421:508;;181491:302;181698:53;181721:5;:11;;;181734:9;181745:1;181748:2;181698:22;:53::i;181421:508::-;181829:62;181861:5;:11;;;181874:9;181885:1;181888:2;181829:31;:62::i;:::-;181825:92;;181900:17;;-1:-1:-1;;;181900:17:0;;;;;;;;;;;181825:92;181984:50;182000:5;182007:14;182023:10;181984:15;:50::i;:::-;182050:45;;;4335:25:1;;;4391:2;4376:18;;4369:34;;;181941:93:0;;-1:-1:-1;181941:93:0;;-1:-1:-1;182050:45:0;;4308:18:1;182050:45:0;;;;;;;181101:1002;;;;;;;;:::o;160546:250::-;160606:7;160656:21;;;:10;:21;;;;;;;160688:58;;160732:14;;;;;;;;;;;;;;160688:58;-1:-1:-1;;160776:10:0;;160546:250;-1:-1:-1;;160546:250:0:o;84830:280::-;85011:20;85051:51;85066:9;85077:6;85085:9;85096:5;;85051:14;:51::i;161489:258::-;161625:12;161639:19;161662:6;-1:-1:-1;;;;;161662:19:0;161682:4;;161662:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;161624:63;;;;161723:7;161732:6;161705:34;;;;;;;;;;;;:::i;:::-;;;;;;;;179232:150;179319:55;179336:10;179348:9;179359:14;179319:16;:55::i;145824:256::-;145910:7;145931:12;145945:11;145960:32;145979:6;145987:4;;145960:18;:32::i;:::-;145930:62;;;;146008:7;146003:48;;146024:27;;;;;;;;;;;;;;143672:454;143743:4;;;;143813:284;143834:30;143851:12;;;143834:30;;-1:-1:-1;143833:37:0;;143813:284;;143897:12;;143926:39;143942:22;143956:7;143947:8;143942:4;;:22;:::i;143926:39::-;143896:69;;;;143985:7;143984:8;:20;;;;143996:3;144003:1;143996:8;;143984:20;143980:73;;;144032:5;144025:12;;;;;;;;;143980:73;-1:-1:-1;144078:7:0;;-1:-1:-1;143872:7:0;;-1:-1:-1;143877:2:0;143872:7;;:::i;:::-;;;143813:284;;;-1:-1:-1;144114:4:0;;143672:454;-1:-1:-1;;;;;;143672:454:0:o;141872:68::-;141917:15;141930:1;141917:12;:15::i;23162:551::-;23521:20;23554:27;-1:-1:-1;;;;;23554:19:0;;23574:6;;23554:19;:27::i;:::-;23599:106;23613:15;23630:9;23641:8;23651;23661:11;23674:12;23688:9;23699:1;23702:2;23599:13;:106::i;:::-;23592:113;23162:551;-1:-1:-1;;;;;;;;;;;;23162:551:0:o;144777:184::-;144845:4;144863:12;144877:11;144892:21;144908:4;;144892:15;:21::i;:::-;144862:51;;;;144931:7;:22;;;;-1:-1:-1;144942:11:0;;;;;144777:184;-1:-1:-1;;;;144777:184:0:o;162936:806::-;163269:7;;;163393:2;163377:18;;163373:51;;;163404:20;;;;;;;;;;;;;;163373:51;163470:13;163485:25;;163514:32;:6;;:30;:32::i;:::-;163469:77;;-1:-1:-1;163469:77:0;-1:-1:-1;163469:77:0;-1:-1:-1;163561:36:0;-1:-1:-1;;;;;163561:24:0;;163469:77;;163561:24;:36::i;:::-;163435:174;;;163626:108;163638:5;163645:9;;163656:11;;163669:12;163683;163697:28;163727:6;163626:11;:108::i;:::-;163619:115;;;;;;162936:806;;;;;;;;;;;;;;;:::o;84090:252::-;84233:20;84273:61;84296:10;84309:6;84317:9;84328:5;;84273:14;:61::i;163815:7491::-;164113:26;;;-1:-1:-1;;;;;164203:20:0;;164199:56;;164232:23;;;;;;;;;;;;;;164199:56;164278:17;164288:6;164278:9;:17::i;:::-;164478:29;164510:21;;;:10;:21;;;;;;164409:12;;-1:-1:-1;164453:12:0;;-1:-1:-1;164266:29:0;;-1:-1:-1;164340:6:0;;-1:-1:-1;;164546:38:0;;164542:74;;164593:23;;;;;;;;;;;;;;164542:74;164662:1;164631:19;;;;;;;;:::i;:::-;-1:-1:-1;;;;;164631:33:0;;;:70;;;;-1:-1:-1;164691:10:0;164668:19;;;;;;;;:::i;:::-;-1:-1:-1;;;;;164668:33:0;;;164631:70;164627:97;;;164710:14;;;;;;;;;;;;;;164627:97;164739:21;164735:906;;164873:66;164905:11;;;;;;;;:::i;:::-;164918:9;164929;;164873:31;:66::i;:::-;164868:94;;164948:14;;;;;;;;;;;;;;164868:94;-1:-1:-1;165001:18:0;;;;165036:21;;165060:14;165001:5;165060:12;:14::i;:::-;165036:38;;;;-1:-1:-1;;;165093:28:0;:48;165145:1;165093:53;:76;;;;-1:-1:-1;165167:2:0;165150:19;;;165093:76;165089:468;;;165304:13;165319:29;;165352:32;:6;;:30;:32::i;:::-;165303:81;;-1:-1:-1;165303:81:0;-1:-1:-1;165303:81:0;-1:-1:-1;165403:40:0;-1:-1:-1;;;;;165403:24:0;;165303:81;;165403:24;:40::i;:::-;159956:1;165466:21;;;:10;:21;;;;;;:46;165462:79;;165521:20;;;;;;;;;;;;;;165462:79;165171:386;;;165089:468;164787:781;;164735:906;;;-1:-1:-1;;165601:26:0;164735:906;165720:1;165693:17;:5;:15;:17::i;:::-;:24;;:28;165689:116;;;165743:21;165758:5;165743:14;:21::i;:::-;165738:55;;165773:20;;;;;;;;;;;;;;165738:55;165901:23;;165872;;165871:54;165867:1814;;165949:27;;;;;;;;;;;;;;165867:1814;165998:18;166020:1;165998:23;165994:1687;;166063:21;166042:18;:42;166038:125;;;166126:21;166105:42;;166038:125;166198:135;166215:23;:5;:21;:23::i;:::-;166240:5;:18;;;166260;166280:5;:18;;;166300:21;166323:9;166198:16;:135::i;:::-;166177:156;-1:-1:-1;;;;;;166374:46:0;;166640:36;166658:18;166374:46;166640:36;:::i;:::-;166604:33;166625:12;166604:18;:33;:::i;:::-;:72;166600:106;;;166685:21;;;;;;;;;;;;;;166600:106;166023:695;165994:1687;;;166760:135;166777:23;:5;:21;:23::i;:::-;166802:5;:18;;;166822;166842:5;:18;;;166862:21;166885:9;166760:16;:135::i;:::-;166739:156;;166935:21;166914:18;:42;166910:388;;;166998:21;166977:42;;167059:135;167076:23;:5;:21;:23::i;167059:135::-;167038:156;;167238:12;167217:18;:33;167213:69;;;167259:23;;;;;;;;;;;;;;167213:69;-1:-1:-1;;;;;167338:46:0;;167604:36;167622:18;167338:46;167604:36;:::i;:::-;167568:33;167589:12;167568:18;:33;:::i;:::-;:72;167564:105;;;167649:20;;;;;;;;;;;;;;167564:105;166724:957;165994:1687;167697:23;;;:50;;-1:-1:-1;167724:23:0;;167697:50;167693:83;;;167756:20;;;;;;;;;;;;;;167693:83;167909:18;167885:21;:42;167861:66;;167966:21;167990:1;167966:25;167942:10;:21;167953:9;167942:21;;;;;;;;;;;:49;;;;168030:6;:12;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;168018:59:0;;168044:9;168055:21;168018:59;;;;;;4335:25:1;;;4391:2;4376:18;;4369:34;4323:2;4308:18;;4161:248;168018:59:0;;;;;;;;168176:2;168143:22;:5;:20;:22::i;:::-;:29;;:35;168139:496;;168274:25;168301:30;;168335:48;:22;:5;:20;:22::i;:::-;:46;:48::i;:::-;168273:110;;-1:-1:-1;168273:110:0;-1:-1:-1;168273:110:0;-1:-1:-1;;;;;;168398:77:0;;;168494:9;168505:11;;;;;;;;:::i;:::-;168518:10;168530:18;168550;168570:21;168593:15;;168398:225;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;168180:455;;;168139:496;168679:176;168711:16;;;;;;;;:::i;:::-;168742:11;;;;;;;;:::i;:::-;168768:6;168789:18;168822:22;:5;:20;:22::i;:::-;168679:17;:176::i;:::-;168674:222;;168864:32;;;;;;;;;;;;;;168674:222;168935:2;168913:24;;168909:741;;169033:25;169060:30;;169094:37;:11;;:35;:37::i;:::-;169032:99;;;;;;169146:27;169208:17;-1:-1:-1;;;;;169176:71:0;;169266:10;169278:18;169298;169318:15;;169176:172;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;169146:202;;169391:18;169369:19;:40;:110;;;;;169431:48;169455:23;:5;:21;:23::i;:::-;169431;:48::i;:::-;169430:49;169369:110;:180;;;;;169501:48;169525:23;:5;:21;:23::i;169501:48::-;169500:49;169369:180;169365:274;;;169604:19;169583:40;;169365:274;168939:711;;;;168909:741;-1:-1:-1;;;;;169721:5:0;169693:34;:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;169693:34:0;;:51;;;;;169743:1;169731:9;:13;169693:51;169689:1048;;;169777:18;169765:9;:30;169761:67;;;169804:24;;-1:-1:-1;;;169804:24:0;;;;;;;;;;;169761:67;169859:18;169847:9;:30;169843:317;;;169950:58;;169932:12;;169950:10;;169973:9;:30;;;;169932:12;169950:58;169932:12;169950:58;169973:30;169950:10;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;169931:77;;;170083:7;170078:47;;170099:26;;-1:-1:-1;;;170099:26:0;;;;;;;;;;;170078:47;169898:247;169843:317;170174:5;-1:-1:-1;;;;;170174:13:0;;170196:18;170174:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;170233:5:0;:14;;-1:-1:-1;170233:14:0;;-1:-1:-1;170274:1:0;;-1:-1:-1;170248:14:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;170248:28:0;;:59;;170293:14;;;;;;;;:::i;:::-;170248:59;;;170279:11;;;;;;;;:::i;:::-;170233:95;;;;;;;;;;-1:-1:-1;;;;;30643:55:1;;;170233:95:0;;;30625:74:1;30715:18;;;30708:34;;;30598:18;;170233:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;169689:1048;;;170365:9;:14;170361:51;;170388:24;;-1:-1:-1;;;170388:24:0;;;;;;;;;;;170361:51;170432:252;170468:16;;;;;;;;:::i;:::-;170503:10;170558:1;170532:14;;;;;;;;:::i;:::-;-1:-1:-1;;;;;170532:28:0;;:59;;170577:14;;;;;;;;:::i;:::-;170532:59;;;170563:11;;;;;;;;:::i;:::-;170610:18;170647:22;:5;:20;:22::i;170432:252::-;170427:298;;170693:32;;;;;;;;;;;;;;170427:298;170836:2;170802:23;:5;:21;:23::i;:::-;:30;;:36;170798:501;;170934:25;170961:30;;170995:49;:23;:5;:21;:23::i;:49::-;170933:111;;-1:-1:-1;170933:111:0;-1:-1:-1;170933:111:0;-1:-1:-1;;;;;;171059:79:0;;;171158:9;171169:11;;;;;;;;:::i;:::-;171182:10;171194:18;171214;171234:21;171257:15;;171059:228;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;170840:459;;;170798:501;164188:7118;;163815:7491;;;;;;;;;;;;;:::o;191529:201::-;190509:13;:11;:13::i;:::-;-1:-1:-1;;;;;191618:22:0;::::1;191610:73;;;::::0;-1:-1:-1;;;191610:73:0;;31237:2:1;191610:73:0::1;::::0;::::1;31219:21:1::0;31276:2;31256:18;;;31249:30;31315:34;31295:18;;;31288:62;31386:8;31366:18;;;31359:36;31412:19;;191610:73:0::1;31035:402:1::0;191610:73:0::1;191694:28;191713:8;191694:18;:28::i;108477:304::-:0;108678:20;108718:55;108727:9;108738:8;108748:6;108756:9;108767:5;;108718:8;:55::i;:::-;108711:62;108477:304;-1:-1:-1;;;;;;;108477:304:0:o;86743:3278::-;86974:137;;;87034:16;87031:1;87028;87013:38;87079:16;87076:1;87069:27;87127:596;87195:6;87185:70;;87226:10;;:::i;:::-;87446:1;87442;87436:8;87433:15;87428:2;87410:16;87407:24;87403:46;87320:16;87313:24;87288:204;87520:7;87510:198;;87562:66;87559:1;87552:77;87687:1;87684;87677:12;87127:596;87761:4;87755:11;87811:4;87801:8;87797:19;87877:10;87867:8;87860:28;87966:4;87955:9;87950:3;87940:8;87930;87923:5;87912:59;87902:115;;87992:10;;:::i;:::-;88116:4;88109;88098:9;88094:20;88089:3;88083;88073:8;88069:18;88059:8;88052:5;88041:80;88031:136;;88142:10;;:::i;:::-;88266:4;88259;88248:9;88244:20;88239:3;88233;88223:8;88219:18;88209:8;88202:5;88191:80;88181:136;;88292:10;;:::i;:::-;88333:9;88356:10;88405:1;88391:12;88387:20;88426:1;88421:106;;;;88598:4;88587:9;88583:20;88577:27;88568:36;;88632:12;88622:22;;88380:279;;88421:106;88462:9;88456:16;88447:25;;88500:12;88490:22;;88380:279;;88692:11;88682:8;88675:29;88757:4;88746:9;88736:26;88725:9;88718:45;88841:20;88834:4;88823:9;88819:20;88812:50;-1:-1:-1;;;;;88912:4:0;88902:8;88892:25;88888:45;88876:57;;88960:8;88954:4;88950:19;88947:178;;;88999:66;88996:1;88989:77;89108:1;89105;89098:12;88947:178;89167:4;89154:18;89141:31;;89203:10;89193:8;89186:28;89245:9;89238:5;89235:20;89274:1;89269:327;;;;89736:5;89729:4;89719:8;89715:19;89708:34;89788:8;89781:4;89771:8;89767:19;89760:37;89843:6;89836:4;89826:8;89822:19;89815:35;89868:120;89964:4;89961:1;89955:4;89948;89938:8;89934:19;89931:1;89924:5;89917;89912:57;89868:120;:::i;:::-;89228:775;;89269:327;89381:8;89374:4;89364:8;89360:19;89353:37;89436:6;89429:4;89419:8;89415:19;89408:35;89461:120;89557:4;89554:1;89548:4;89541;89531:8;89527:19;89524:1;89517:5;89510;89505:57;89461:120;:::i;:::-;89228:775;;;;;86743:3278;;;;:::o;10535:166::-;10655:9;10641:10;:23;10637:56;;10673:20;;;;;;;;;;;;;;109525:6462;109716:20;109817:137;;110582:1610;110692:36;110682:8;110675:54;110652:3;110806:4;110796:8;110791:3;110781:8;110775:4;110768:5;110757:54;110747:118;;110836:10;;:::i;:::-;110914:4;110896:16;110893:26;110883:216;;110954:66;110951:1;110944:77;111078:1;111075;111068:12;110883:216;111141:8;111135:15;111204:4;111194:8;111190:19;111184:26;111231:8;111228:152;;;111316:8;111228:152;111554:9;111542:10;111538:26;111531:33;;111636:12;111626:8;111622:27;111617:3;111613:37;111602:8;111597:3;111593:18;111589:62;111582:69;;;;111688:32;111678:8;111671:50;111758:8;111751:16;111739:28;;111829:8;111822:16;111817:3;111813:26;111806:4;111796:8;111792:19;111785:55;111895:8;111890:3;111886:18;111879:4;111869:8;111865:19;111858:47;111951:2;111944:4;111934:8;111930:19;111923:31;112000:4;111993;111983:8;111979:19;111972:33;112051:1;112044:4;112034:8;112030:19;112023:30;112121:1;112118;112112:4;112102:8;112099:1;112093:4;112086:5;112081:42;112071:106;;112148:10;;:::i;110582:1610::-;112282:16;112274:6;112271:28;112268:198;;;112329:66;112326:1;112319:77;112449:1;112446;112439:12;112268:198;112504:4;112498:11;112550:4;112540:8;112536:19;112530:4;112523:33;112619:12;112616:1;112612:20;112598:12;112594:39;112675:12;112662:26;112709:8;112736:1;112731:763;;;;113538:11;113535:190;;;-1:-1:-1;;;113580:1:0;113573:77;113704:1;113701;113694:12;113535:190;-1:-1:-1;;;113752:8:0;113745:46;113836:8;113830:3;113820:8;113816:18;113809:36;-1:-1:-1;;;;;113895:7:0;113891:27;113884:4;113874:8;113870:19;113863:56;113965:6;113958:4;113948:8;113944:19;113937:35;113990:112;114078:4;114075:1;114069:4;114059:8;114056:1;114046:8;114039:5;114034:49;113990:112;:::i;:::-;112702:1415;;112731:763;112778:11;112770:6;112767:23;112757:210;;-1:-1:-1;;;112822:1:0;112815:77;112946:1;112943;112936:12;112757:210;-1:-1:-1;;;112994:8:0;112987:45;113105:1;113102;113097:3;113087:8;113079:6;113072:5;113065;113060:47;113050:111;;113132:10;;:::i;:::-;-1:-1:-1;;;113188:8:0;113181:47;-1:-1:-1;;;;;113277:7:0;113273:27;113267:3;113257:8;113253:18;113246:55;113347:6;113340:4;113330:8;113326:19;113319:35;113423:1;113420;113414:4;113404:8;113401:1;113394:5;113387;113382:43;113372:107;;113450:10;;:::i;:::-;112702:1415;114149:6;114133:22;;114203:4;114189:12;114185:23;114171:546;114216:14;114213:1;114210:21;114171:546;;;114303:1;114290:15;114341:319;-1:-1:-1;;;;;114614:11:0;114610:31;-1:-1:-1;;;114561:7:0;114557:29;114538:17;114534:53;-1:-1:-1;;;114488:7:0;114484:27;-1:-1:-1;;;;;114438:7:0;114434:27;114399:12;114368:8;114341:319;:::i;:::-;114325:335;-1:-1:-1;114691:11:0;-1:-1:-1;114245:4:0;114238:12;114171:546;;;-1:-1:-1;;;;114740:24:0;;114778:354;;;;115189:297;115458:9;-1:-1:-1;;;115409:7:0;115405:29;115386:17;115382:53;-1:-1:-1;;;115336:7:0;115332:27;-1:-1:-1;;;;;115286:7:0;115282:27;115247:12;115216:8;115189:297;:::i;:::-;115173:313;;-1:-1:-1;;;115513:8:0;115506:46;115598:12;115591:4;115581:8;115577:19;115570:41;115680:1;115677;115671:4;115661:8;115658:1;115651:5;115644;115639:43;115629:107;;115707:10;;:::i;:::-;115812:1;115809;115806;115803;115789:12;115778:9;115771:5;115766:48;115756:112;;115839:10;;:::i;:::-;114733:1150;;114778:354;114820:297;115089:9;-1:-1:-1;;;115040:7:0;115036:29;115017:17;115013:53;-1:-1:-1;;;114967:7:0;114963:27;-1:-1:-1;;;;;114917:7:0;114913:27;114878:12;114847:8;114820:297;:::i;:::-;114804:313;;114733:1150;;;;;115923:9;115908:12;:24;115904:75;;;115941:38;;-1:-1:-1;;;115941:38:0;;;;;;;;;;;17222:858;17324:15;17342:27;;;17324:45;;17380:12;17532:4;17526:11;17566:8;17560:4;17553:22;17613:4;17606;17600;17596:15;17589:29;17656:2;17649:4;17643;17639:15;17632:27;17697:6;17690:4;17684;17680:15;17673:31;17767:4;17762:3;17757;17751:4;17748:1;17741:5;17734;17729:43;17718:54;;;17789:7;17786:220;;;17823:16;17857:47;;;;17986:1;17982;17976:8;17973:15;17968:2;17950:16;17947:24;17943:46;17932:57;;17816:175;;17857:47;17900:1;17892:5;17880:18;17877:25;17866:36;;17816:175;;17786:220;18032:7;18027:45;;18048:24;;;;;;;;;;;;;;18027:45;17313:767;;17222:858;;;;:::o;96689:133::-;96741:4;-1:-1:-1;;;;;96766:22:0;;;;:47;;-1:-1:-1;;;;;;96792:21:0;;96572:42;96792:21;96758:56;96689:133;-1:-1:-1;;96689:133:0:o;19509:489::-;19586:12;19630:6;19613:23;;;19609:325;;19663:62;19681:5;19688:28;19718:6;;19663:17;:62::i;:::-;19653:72;;19609:325;;;19764:6;19747:23;;;19743:191;;19797:64;19815:5;19822:30;19854:6;;19797:17;:64::i;19743:191::-;19901:21;;;;;;;;;;;;;;19743:191;19949:7;19944:46;;19958:32;:30;:32::i;:::-;19575:423;19509:489;;;:::o;104516:837::-;104882:4;104876:11;104717:25;104903:28;;;104961:4;104952:14;;104945:37;;;104717:25;105038:11;105025;105018:4;105009:14;;104996:54;105105:11;105091;105084:4;105079:3;105075:14;105071:32;105064:53;105210:1;105207;105193:11;105187:4;105183:22;105178:3;105165:11;105155:8;105148:5;105143:69;105133:202;;105256:16;105253:1;105248:3;105233:40;105303:16;105298:3;105291:29;105133:202;;104806:540;104516:837;;;;;:::o;96830:234::-;96906:7;96930:12;96936:5;96930;:12::i;:::-;96926:131;;;-1:-1:-1;;;;;;96966:15:0;;;96959:22;;96926:131;97021:24;;;;;-1:-1:-1;;;;;15436:55:1;;;97021:24:0;;;15418:74:1;97021:15:0;;;;;15391:18:1;;97021:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97014:31;;;;97146:545;97241:10;;97237:447;;97272:12;97278:5;97272;:12::i;:::-;97268:405;;;97333:6;97309:21;:30;97305:64;;;97348:21;;;;;;;;;;;;;;97305:64;97457:12;97475:2;-1:-1:-1;;;;;97475:7:0;97490:6;96515:4;97475:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97456:71;;;97551:7;97546:40;;97567:19;;-1:-1:-1;;;97567:19:0;;;;;;;;;;;97268:405;97627:30;-1:-1:-1;;;;;97627:18:0;;97646:2;97650:6;97627:18;:30::i;:::-;97146:545;;;:::o;85118:1573::-;85289:20;85361:5;85392:8;;;85388:33;;85409:12;;;;;;;;;;;;;;85388:33;85493:6;;-1:-1:-1;;;85456:7:0;;85530:9;:13;;85436:17;;-1:-1:-1;;;85576:5:0;;85456:7;85576:16;;;;;;;:::i;:::-;;;;;;;:36;:40;85558:58;;85635:8;85631:160;;;85681:6;85668:9;:19;85664:62;;85696:30;;-1:-1:-1;;;85696:30:0;;;;;;;;;;;85664:62;85745:5;-1:-1:-1;;;;;85745:13:0;;85766:6;85745:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85631:160;85815:1;85809:3;:7;85805:629;;;85852:87;85870:4;85877:8;:37;;85904:10;85877:37;;;85896:4;85877:37;85916:5;;85922:1;85916:8;;;;;;;:::i;:::-;;;;;;;85926:12;85852:9;:87::i;:::-;85837:102;-1:-1:-1;85977:1:0;85960:161;85984:9;85980:1;:13;85960:161;;;86038:63;86056:4;86071;86078:5;;86084:1;86078:8;;;;;;;:::i;:::-;;;;;;;86088:12;86038:9;:63::i;:::-;86023:78;-1:-1:-1;85995:3:0;;85960:161;;;;86154:96;86164:10;:38;;86193:9;86164:38;;;86185:4;86164:38;86212:4;86219:5;;86225:9;86219:16;;;;;;;:::i;86154:96::-;86139:111;;85805:629;;;86306:112;86316:10;:38;;86345:9;86316:38;;;86337:4;86316:38;86356:8;:37;;86383:10;86356:37;;86306:112;86291:127;;85805:629;86469:9;86454:12;:24;86450:75;;;86487:38;;-1:-1:-1;;;86487:38:0;;;;;;;;;;;86450:75;86546:10;86542:131;;;86577:28;;-1:-1:-1;;;86577:28:0;;;;;1590:25:1;;;86577:5:0;-1:-1:-1;;;;;86577:14:0;;;;1563:18:1;;86577:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86624:33:0;;-1:-1:-1;;;;;;;;86624:19:0;;86644:12;86624:19;:33::i;:::-;85322:1362;;;;85118:1573;;;;;;;:::o;121729:314::-;121782:7;121814:4;-1:-1:-1;;;;;121823:12:0;121806:29;;:66;;;;;121856:16;121839:13;:33;121806:66;121802:234;;;-1:-1:-1;121896:24:0;;121729:314::o;121802:234::-;-1:-1:-1;122232:73:0;;;121982:10;122232:73;;;;34816:25:1;;;;121994:12:0;34857:18:1;;;34850:34;122008:15:0;34900:18:1;;;34893:34;122276:13:0;34943:18:1;;;34936:34;122299:4:0;34986:19:1;;;;34979:84;;;;122232:73:0;;;;;;;;;;34788:19:1;;;;122232:73:0;;;122222:84;;;;;;121729:314::o;138617:841::-;138700:14;138727:27;138700:14;138757:18;;;;:5;:18;:::i;:::-;138965:4;138959:11;138727:48;;-1:-1:-1;138727:48:0;-1:-1:-1;136283:388:0;;138727:48;;138959:11;139105:59;139217:19;139212:3;139202:35;139194:5;139189:3;139185:15;139178:60;139288:5;139281;139274:4;139269:3;139265:14;139252:42;139308:21;;;139368:5;139353:21;;134785:4;134779:11;-1:-1:-1;;;134804:79:0;;134927:4;134918:14;;134911:39;;;134980:4;134971:14;;134964:34;;;135034:2;135019:18;;139353:21;;-1:-1:-1;139404:46:0;134451:604;146447:2271;146515:4;146521:7;146541:16;146567:21;:4;;:19;:21::i;:::-;146560:29;;;-1:-1:-1;146600:11:0;146614:21;:4;;146633:1;146614:18;:21::i;:::-;146600:35;-1:-1:-1;;;146711:62:0;;146707:166;;146813:4;146819:33;146848:3;146819:28;:33::i;:::-;:41;;146859:1;146819:41;;;146855:1;146819:41;146805:56;;-1:-1:-1;146805:56:0;;;-1:-1:-1;146805:56:0;;-1:-1:-1;;146805:56:0;146707:166;146907:33;146889:52;;146885:1767;;;146995:16;146977:35;;146973:776;;;-1:-1:-1;;147052:36:0;;147048:320;;147136:4;147142:37;147145:3;147150:28;:4;;147174:3;147150:23;:28::i;147048:320::-;-1:-1:-1;;147218:48:0;;147214:154;;147314:4;147320:19;147335:3;145628:15;:22;;145546:154;147214;146885:1767;;146973:776;-1:-1:-1;;147412:36:0;;147408:326;;147496:4;147502:37;147505:3;147510:28;:4;;147534:3;147510:23;:28::i;147408:326::-;-1:-1:-1;;147578:36:0;;147574:160;;147662:4;147668:37;147671:3;147676:28;:4;;147700:3;147676:23;:28::i;146885:1767::-;147803:16;147785:35;;147781:860;;;-1:-1:-1;;147860:53:0;;147856:372;;147961:4;147967:72;148003:3;148010:28;:4;;148034:3;148010:23;:28::i;147967:72::-;147953:87;;;;;;;;147856:372;-1:-1:-1;;148070:37:0;;148066:162;;148155:4;148161:38;148165:3;148170:28;:4;;148194:3;148170:23;:28::i;147781:860::-;-1:-1:-1;;148272:36:0;;148268:358;;148356:4;148362:37;148365:3;148370:28;:4;;148394:3;148370:23;:28::i;148268:358::-;-1:-1:-1;;148438:45:0;;148434:192;;148531:4;148537:60;148565:3;148572:24;:4;;148591;148572:18;:24::i;148434:192::-;148671:39;148698:4;148705;;148671:18;:39::i;:::-;148664:46;;;;;;146447:2271;;;;;;:::o;129831:1042::-;129935:12;130220:15;130238:34;;;130220:52;;130411:4;130405:11;130444:8;130439:3;130432:21;130490:4;130483;130478:3;130474:14;130467:28;130532:4;130525;130520:3;130516:14;130509:28;130574:16;130567:4;130562:3;130558:14;130551:40;130652:16;130634;130627:4;130622:3;130618:14;130605:64;130749:4;130746:1;130727:16;130721:4;130717:27;130712:3;130704:6;130697:5;130686:68;130683:172;;;130834:4;130816:16;130813:26;130808:1;130802:8;130792;130789:22;130785:55;130774:66;;130683:172;;130336:530;129831:1042;;;;;;:::o;128438:385::-;128551:12;-1:-1:-1;;;;;128580:20:0;;128576:38;;-1:-1:-1;128609:5:0;128602:12;;128576:38;128650:2;128630:22;;;:48;;-1:-1:-1;128676:2:0;128656:22;;128630:48;128629:88;;;;;128711:6;-1:-1:-1;;;;;128683:34:0;:24;128691:4;128697:9;;128683:7;:24::i;:::-;-1:-1:-1;;;;;128683:34:0;;128629:88;128625:132;;;-1:-1:-1;128741:4:0;128734:11;;128625:132;128774:41;128791:6;128799:4;128805:9;;128774:16;:41::i;184923:2988::-;185073:20;;-1:-1:-1;;;;;185132:20:0;;185128:59;;185161:26;;;;;;;;;;;;;;185128:59;185216:11;;;;185271:19;;;;-1:-1:-1;;;;;185271:33:0;;;;;:70;;-1:-1:-1;185308:19:0;;;;-1:-1:-1;;;;;185308:33:0;185331:10;185308:33;;185271:70;185267:100;;;185350:17;;;;;;;;;;;;;;185267:100;185429:10;;185513:19;185530:2;185513:19;;;;185551:15;;;;;:47;;;185588:10;185570:15;:28;185551:47;185547:74;;;185607:14;;;;;;;;;;;;;;185547:74;185677:32;185694:5;185701:4;185707:1;185677:16;:32::i;:::-;-1:-1:-1;;185795:18:0;;;;185856;;;;178047:145;185906:29;;185767:25;186001:11;;;185997:777;;186098:17;186083:32;;186149:17;186134:32;;185997:777;;;-1:-1:-1;;;186205:35:0;;:40;186201:573;;186279:17;186270:6;:26;186266:61;;;186305:22;;;;;;;;;;;;;;186266:61;186361:6;186346:21;;186401:84;186434:17;186453;186472:12;186401:32;:84::i;:::-;186386:99;;186201:573;;;186552:17;186543:6;:26;186539:61;;;186578:22;;;;;;;;;;;;;;186539:61;186634:6;186619:21;;186674:84;186707:17;186726;186745:12;186674:32;:84::i;:::-;186659:99;;186201:573;185733:1052;;;186801:12;186817:1;186801:17;:38;;;-1:-1:-1;186822:17:0;;186801:38;186797:74;;;186848:23;;;;;;;;;;;;;;186797:74;186943:5;-1:-1:-1;;;;;186915:34:0;:5;:16;;;-1:-1:-1;;;;;186915:34:0;;:77;;;;-1:-1:-1;177992:8:0;186953:34;;:39;;186915:77;186911:532;;;187009:54;;-1:-1:-1;;;187009:54:0;;-1:-1:-1;;;;;32249:15:1;;;187009:54:0;;;32231:34:1;187043:4:0;32281:18:1;;;32274:43;32333:18;;;32326:34;;;187009:5:0;:18;;;;32143::1;;187009:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;187078:28:0;;-1:-1:-1;;;187078:28:0;;;;;1590:25:1;;;187078:5:0;-1:-1:-1;;;;;187078:14:0;;;;1563:18:1;;187078:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187186:12;187204:6;-1:-1:-1;;;;;187204:11:0;187223:12;177734:4;187204:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187185:81;;;187286:7;187281:47;;187302:26;;-1:-1:-1;;;187302:26:0;;;;;;;;;;;187281:47;186994:346;186911:532;;;187368:16;;;;187361:70;;-1:-1:-1;;;;;187361:41:0;187403:5;187410:6;187418:12;187361:41;:70::i;:::-;187514:5;-1:-1:-1;;;;;187486:34:0;:5;:16;;;-1:-1:-1;;;;;187486:34:0;;:51;;;;;187536:1;187524:9;:13;187486:51;187482:422;;;187571:12;187558:9;:25;187554:62;;187592:24;;-1:-1:-1;;;187592:24:0;;;;;;;;;;;187554:62;187631:5;-1:-1:-1;;;;;187631:13:0;;187653:12;187631:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;187684:35:0;;-1:-1:-1;;;187684:35:0;;-1:-1:-1;;;;;30643:55:1;;;187684:35:0;;;30625:74:1;30715:18;;;30708:34;;;187684:5:0;:14;;-1:-1:-1;187684:14:0;;-1:-1:-1;30598:18:1;;;-1:-1:-1;187684:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;187482:422;;;187756:9;:14;187752:51;;187779:24;;-1:-1:-1;;;187779:24:0;;;;;;;;;;;187752:51;187825:16;;;;187818:74;;-1:-1:-1;;;;;187818:41:0;187860:10;187872:5;187879:12;187818:41;:74::i;:::-;185117:2794;184923:2988;;;;;;:::o;138009:140::-;138072:14;;138106:35;138111:5;138118:22;138106:4;:35::i;:::-;138099:42;;;;138009:140;;;:::o;190788:132::-;190669:7;190696:6;-1:-1:-1;;;;;190696:6:0;189250:10;190852:23;190844:68;;;;-1:-1:-1;;;190844:68:0;;32573:2:1;190844:68:0;;;32555:21:1;;;32592:18;;;32585:30;32651:34;32631:18;;;32624:62;32703:18;;190844:68:0;32371:356:1;191890:191:0;191964:16;191983:6;;-1:-1:-1;;;;;192000:17:0;;;;;;;;;;192033:40;;191983:6;;;;;;;192033:40;;191964:16;192033:40;191953:128;191890:191;:::o;187919:559::-;-1:-1:-1;;;;;188215:19:0;;188022:23;188215:19;;;:12;:19;;;;;;;;188048:22;188069:1;188048:22;;;;188267:35;;;;;;;;;;188048:22;;188108:1;:21;;;;188107:40;;;188317:29;;;:48;;;188313:79;;188374:18;;;;;;;;;;;;;;188313:79;188403:35;;;;;;;;;;;;;188441:29;;188403:67;;-1:-1:-1;;;187919:559:0:o;132704:1153::-;132807:12;133145:15;133163:34;;;133145:52;;133336:4;133330:11;133369:8;133364:3;133357:21;133415:4;133408;133403:3;133399:14;133392:28;133457:4;133450;133445:3;133441:14;133434:28;133499:2;133492:4;133487:3;133483:14;133476:26;133539:1;133532:4;133527:3;133523:14;133516:25;-1:-1:-1;;;;;133582:2:0;133578:24;133571:4;133566:3;133562:14;133555:48;133671:2;133653:16;133649:25;133645:2;133641:34;133634:4;133629:3;133625:14;133617:59;133733:4;133730:1;133724:4;133719:3;133711:6;133704:5;133693:45;133690:149;;;-1:-1:-1;133792:1:0;133786:8;133773:22;133800:16;133818:4;133797:26;133769:55;;132704:1153;-1:-1:-1;;;;;132704:1153:0:o;131679:1017::-;131780:12;132079:15;132097:34;;;132079:52;;132270:4;132264:11;132303:8;132298:3;132291:21;132349:4;132342;132337:3;132333:14;132326:28;132391:4;132384;132379:3;132375:14;132368:28;132433:2;132426:4;132421:3;132417:14;132410:26;132473:1;132466:4;132461:3;132457:14;132450:25;132512:2;132505:4;132500:3;132496:14;132489:26;132572:4;132569:1;132563:4;132558:3;132550:6;132543:5;132532:45;132529:149;;;-1:-1:-1;132631:1:0;132625:8;132612:22;132639:16;132657:4;132636:26;132608:55;;131679:1017;-1:-1:-1;;;;;131679:1017:0:o;129171:320::-;129281:12;-1:-1:-1;;;;;129310:20:0;;129306:38;;-1:-1:-1;129339:5:0;129332:12;;129306:38;129383:6;-1:-1:-1;;;;;129359:30:0;:20;129367:4;129373:1;129376:2;129359:7;:20::i;:::-;-1:-1:-1;;;;;129359:30:0;;129355:74;;-1:-1:-1;129413:4:0;129406:11;;129355:74;129446:37;129463:6;129471:4;129477:1;129480:2;129446:16;:37::i;148726:557::-;148813:12;148827:11;148980:4;148974:11;149034:12;149020;149014:4;149001:46;149123:4;149118:3;149104:12;149098:4;149090:6;149083:5;149072:56;149169:16;149187:2;149166:24;149153:38;;-1:-1:-1;;149205:60:0;;;;-1:-1:-1;149248:1:0;149242:8;149205:60;148726:557;;;;;;:::o;140967:493::-;141043:14;141059:19;141043:14;141109:2;141095:16;;141091:50;;;141120:21;;-1:-1:-1;;;141120:21:0;;;;;;;;;;;141091:50;-1:-1:-1;;;141318:25:0;;141314:2;141310:34;;141390:2;141373:20;;;;-1:-1:-1;;141422:20:0;;;;140967:493::o;138157:134::-;138217:14;;138251:32;138256:5;138263:19;138251:4;:32::i;137849:152::-;137918:14;;137952:41;137957:5;137964:28;137952:4;:41::i;173224:610::-;173490:7;173514:18;;;173510:185;;173590:93;173623:17;173642;173661:21;173590:32;:93::i;:::-;173583:100;;;;173510:185;173712:114;173724:6;;173732:17;173751:21;173774:17;173793:21;173816:9;173712:11;:114::i;:::-;173705:121;173224:610;-1:-1:-1;;;;;;;;173224:610:0:o;137689:152::-;137758:14;;137792:41;137797:5;137804:28;137792:4;:41::i;172606:610::-;172872:7;172896:18;;;172892:185;;172972:93;173005:17;173024;173043:21;172972:32;:93::i;138299:150::-;138367:14;;138401:40;138406:5;138413:27;138401:4;:40::i;137373:150::-;137441:14;;137475:40;137480:5;137487:27;137475:4;:40::i;171799:799::-;172132:4;172126:11;-1:-1:-1;;;172153:22:0;;;172206:4;172196:15;;172189:29;;;172249:4;172239:15;;172232:27;;;172290:4;172280:15;;172273:31;;;171921:12;;172362;172348;172341:4;172331:15;;172318:57;172461:4;172456:3;172441:12;172435:4;172431:23;172425:4;172422:1;172415:5;172408;172403:63;172389:77;;172575:1;172571;172565:8;172562:15;172557:2;172539:16;172536:24;172532:46;172513:16;172506:24;172503:76;172495:6;172491:89;172480:100;;;172056:535;171799:799;;;;;;;;:::o;136903:139::-;136972:4;137013:1;136996:18;;:38;;;;;137018:6;;137025:1;137018:9;;;;;;;:::i;:::-;;;;;;;;;:16;;;;;136989:45;136903:139;-1:-1:-1;;;136903:139:0:o;137531:150::-;137599:14;;137633:40;137638:5;137645:27;137633:4;:40::i;138457:152::-;138526:14;;138560:41;138565:5;138572:28;138560:4;:41::i;20712:725::-;20807:12;20961:11;20958:1;20954:19;21005:4;20999:11;21039:8;21033:4;21026:22;21105:11;21092;21085:4;21079;21075:15;21062:55;21180:4;21175:3;21170;21164:4;21161:1;21154:5;21147;21142:43;21131:54;;;;21202:7;21199:220;;;21236:16;21270:47;;;;21399:1;21395;21389:8;21386:15;21381:2;21363:16;21360:24;21356:46;21345:57;;21229:175;;21270:47;21313:1;21305:5;21293:18;21290:25;21279:36;;21229:175;;20712:725;;;;;;:::o;16404:355::-;16639:4;16633:11;16681:16;16678:1;16673:3;16658:40;16724:16;16719:3;16712:29;18185:203;18273:52;18283:5;-1:-1:-1;;;18315:2:0;18319:5;18273:9;:52::i;:::-;18268:113;;18349:20;;;;;;;;;;;;;;90029:861;90129:7;-1:-1:-1;;;90167:25:0;;:30;90208:675;;;;90242:14;90291:4;-1:-1:-1;;;;;90260:43:0;;90322:9;90350:10;90379:25;90397:6;90379:17;:25::i;:::-;90457:17;;;-1:-1:-1;;;;;15436:55:1;;90457:17:0;;;15418:74:1;82365:14:0;;15391:18:1;90457:17:0;;;;;;;;;;;;90260:229;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;90239:250;;;90511:28;90531:7;90530:8;;;:::i;:::-;90511:18;:28::i;:::-;90504:35;;;;;;90208:675;90573:14;90623:4;-1:-1:-1;;;;;90592:43:0;;90654:9;90682:10;90711:25;90729:6;90711:17;:25::i;:::-;90789:17;;;-1:-1:-1;;;;;15436:55:1;;90789:17:0;;;15418:74:1;82551:53:0;;15391:18:1;90789:17:0;;;;;;;;;;;;90592:229;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;90572:249:0;-1:-1:-1;90843:28:0;90862:8;90572:249;90862:8;:::i;38478:317::-;38593:6;38568:21;:31;;38560:73;;;;-1:-1:-1;;;38560:73:0;;33974:2:1;38560:73:0;;;33956:21:1;34013:2;33993:18;;;33986:30;34052:31;34032:18;;;34025:59;34101:18;;38560:73:0;33772:353:1;38560:73:0;38647:12;38665:9;-1:-1:-1;;;;;38665:14:0;38687:6;38665:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38646:52;;;38717:7;38709:78;;;;-1:-1:-1;;;38709:78:0;;34332:2:1;38709:78:0;;;34314:21:1;34371:2;34351:18;;;34344:30;34410:34;34390:18;;;34383:62;34481:28;34461:18;;;34454:56;34527:19;;38709:78:0;34130:422:1;140142:351:0;140209:12;140252:1;140238:15;;140234:49;;;140262:21;;-1:-1:-1;;;140262:21:0;;;;;;;;;;;140234:49;-1:-1:-1;;140450:25:0;;140142:351::o;139730:404::-;139812:13;139877:2;139868:11;;139854:25;;139850:59;;;139888:21;;-1:-1:-1;;;139888:21:0;;;;;;;;;;;139850:59;-1:-1:-1;140091:24:0;;;;140078:38;;139730:404;-1:-1:-1;139730:404:0:o;140501:458::-;140592:19;;140628:24;;;140624:58;;;140661:21;;-1:-1:-1;;;140661:21:0;;;;;;;;;;;140624:58;-1:-1:-1;;140856:28:0;;;;140913;;;;140501:458::o;127023:1407::-;127102:14;127257:4;127251:11;127340:16;127375:2;127370:244;;;;127633:2;127628:363;;;;128039:1;128032:8;;127333:722;;127370:244;127521:4;127503:16;127499:27;127486:41;127483:1;127478:50;127471:4;127466:3;127462:14;127455:74;127594:4;127576:16;127569:4;127564:3;127560:14;127547:52;127370:244;;127628:363;127758:4;127740:16;127736:27;127723:41;127835:2;127817:16;127813:25;127809:2;127805:34;127798:4;127793:3;127789:14;127782:58;127905:4;127887:16;127880:4;127875:3;127871:14;127858:52;-1:-1:-1;;;;;127951:24:0;127944:4;127935:14;;127928:48;127333:722;;128074:3;128071:341;;;128126:11;128118:4;128113:3;128109:14;128103:21;128100:38;128097:300;;;128228:4;128223:3;128216:17;128267:1;128264;128257:12;128332:4;128329:1;128323:4;128318:3;128313;128306:5;128295:42;128291:47;128376:1;128370:8;128360:18;;128097:300;128071:341;127023:1407;;;;;:::o;149912:237::-;150036:7;150125:16;150120:1;150125:16;150064:34;150082:16;150064:15;:34;:::i;:::-;:53;;;;:::i;:::-;:57;;;;:::i;:::-;150063:78;;;;:::i;149607:212::-;149731:7;149795:16;149758:34;149776:16;149758:15;:34;:::i;137050:315::-;137127:14;;137154:16;137191:1;137181:5;137173:14;;;;;;;;:::i;:::-;:19;;;-1:-1:-1;137224:18:0;;;;:5;:18;:::i;:::-;:133;;137265:13;;;;137320:25;;;137224:133;;;;;137282:2;137265:19;;;;137264:33;;137224:133;;;:::i;:::-;137217:140;;;;;137050:315;;;;;:::o;125732:687::-;125808:14;-1:-1:-1;;;;;125959:2:0;125955:24;126002:11;125999:1;125996:18;125993:408;;;126051:4;126045:11;126088:4;126083:3;126076:17;126164:2;126146:16;126142:25;126138:2;126134:34;126127:4;126122:3;126118:14;126111:58;126210:1;126203:4;126198:3;126194:14;126187:25;126253:1;126246:4;126241:3;126237:14;126230:25;126283:1;126280;126273:12;126344:4;126341:1;126335:4;126330:3;126325;126318:5;126307:42;-1:-1:-1;;126384:1:0;126378:8;;125732:687;-1:-1:-1;;;;;125732:687:0:o;173842:1027::-;174099:7;174140:1;174123:18;;;174119:743;;174162:31;174186:6;;174162:23;:31::i;:::-;174158:312;;;174309:19;174290:15;:38;174286:64;;174337:13;;;;;;;;;;;;;;174286:64;-1:-1:-1;174376:17:0;174369:24;;174158:312;174441:13;;;;;;;;;;;;;;174119:743;174503:14;174519:19;;174542:32;:6;;:30;:32::i;:::-;174502:72;;;;;;174590:12;174604:19;174627:6;-1:-1:-1;;;;;174627:17:0;174662:4;;174668:15;174685:21;174708:9;174645:73;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;174645:73:0;;;;;;;;;;174627:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;174589:130;;;;174739:7;174738:8;:31;;;;174750:6;:13;174767:2;174750:19;;174738:31;174734:65;;;174778:21;;;;;;;;;;;;;;174734:65;174832:6;174821:29;;;;;;;;;;;;:::i;:::-;174814:36;;;;;;;;;20006:698;20100:12;20254:4;20248:11;20288:8;20282:4;20275:22;20335:2;20328:4;20322;20318:15;20311:27;20376:6;20369:4;20363;20359:15;20352:31;20447:4;20442:3;20436:4;20430;20427:1;20420:5;20413;20408:44;20397:55;;;20469:7;20466:220;;;20503:16;20537:47;;;;20666:1;20662;20656:8;20653:15;20648:2;20630:16;20627:24;20623:46;20612:57;;20496:175;;80929:301;80985:6;-1:-1:-1;;;;;81112:5:0;:34;;81104:87;;;;-1:-1:-1;;;81104:87:0;;36482:2:1;81104:87:0;;;36464:21:1;36521:2;36501:18;;;36494:30;36560:34;36540:18;;;36533:62;36631:10;36611:18;;;36604:38;36659:19;;81104:87:0;36280:404:1;81104:87:0;-1:-1:-1;81216:5:0;80929:301::o;62231:171::-;62287:7;62324:1;62315:5;:10;;62307:55;;;;-1:-1:-1;;;62307:55:0;;36891:2:1;62307:55:0;;;36873:21:1;;;36910:18;;;36903:30;36969:34;36949:18;;;36942:62;37021:18;;62307:55:0;36689:356:1;14:162;-1:-1:-1;;;;;101:5:1;97:54;90:5;87:65;77:93;;166:1;163;156:12;181:150;257:20;;286:39;257:20;286:39;:::i;:::-;181:150;;;:::o;336:367::-;399:8;409:6;463:3;456:4;448:6;444:17;440:27;430:55;;481:1;478;471:12;430:55;-1:-1:-1;504:20:1;;547:18;536:30;;533:50;;;579:1;576;569:12;533:50;616:4;608:6;604:17;592:29;;676:3;669:4;659:6;656:1;652:14;644:6;640:27;636:38;633:47;630:67;;;693:1;690;683:12;708:731;835:6;843;851;859;867;920:3;908:9;899:7;895:23;891:33;888:53;;;937:1;934;927:12;888:53;976:9;963:23;995:39;1028:5;995:39;:::i;:::-;1053:5;-1:-1:-1;1105:2:1;1090:18;;1077:32;;-1:-1:-1;1156:2:1;1141:18;;1128:32;;-1:-1:-1;1211:2:1;1196:18;;1183:32;1238:18;1227:30;;1224:50;;;1270:1;1267;1260:12;1224:50;1309:70;1371:7;1362:6;1351:9;1347:22;1309:70;:::i;:::-;708:731;;;;-1:-1:-1;708:731:1;;-1:-1:-1;1398:8:1;;1283:96;708:731;-1:-1:-1;;;708:731:1:o;1626:1116::-;1825:6;1833;1841;1849;1857;1865;1873;1881;1889;1942:3;1930:9;1921:7;1917:23;1913:33;1910:53;;;1959:1;1956;1949:12;1910:53;1998:9;1985:23;2017:39;2050:5;2017:39;:::i;:::-;2075:5;-1:-1:-1;2132:2:1;2117:18;;2104:32;2145:41;2104:32;2145:41;:::i;:::-;2205:7;-1:-1:-1;2264:2:1;2249:18;;2236:32;2277:41;2236:32;2277:41;:::i;:::-;2337:7;-1:-1:-1;2396:2:1;2381:18;;2368:32;2409:41;2368:32;2409:41;:::i;:::-;1626:1116;;;;-1:-1:-1;1626:1116:1;;2523:3;2508:19;;2495:33;;2575:3;2560:19;;2547:33;;-1:-1:-1;2627:3:1;2612:19;;2599:33;;-1:-1:-1;2679:3:1;2664:19;;2651:33;;-1:-1:-1;2731:3:1;2716:19;;;2703:33;;-1:-1:-1;1626:1116:1;-1:-1:-1;;1626:1116:1:o;2747:347::-;2798:8;2808:6;2862:3;2855:4;2847:6;2843:17;2839:27;2829:55;;2880:1;2877;2870:12;2829:55;-1:-1:-1;2903:20:1;;2946:18;2935:30;;2932:50;;;2978:1;2975;2968:12;2932:50;3015:4;3007:6;3003:17;2991:29;;3067:3;3060:4;3051:6;3043;3039:19;3035:30;3032:39;3029:59;;;3084:1;3081;3074:12;3099:1057;3271:6;3279;3287;3295;3303;3311;3355:9;3346:7;3342:23;3385:3;3381:2;3377:12;3374:32;;;3402:1;3399;3392:12;3374:32;3441:9;3428:23;3460:39;3493:5;3460:39;:::i;:::-;3518:5;-1:-1:-1;3557:3:1;-1:-1:-1;;3539:16:1;;3535:26;3532:46;;;3574:1;3571;3564:12;3532:46;;3612:2;3601:9;3597:18;3587:28;;3666:3;3655:9;3651:19;3638:33;3690:18;3731:2;3723:6;3720:14;3717:34;;;3747:1;3744;3737:12;3717:34;3786:58;3836:7;3827:6;3816:9;3812:22;3786:58;:::i;:::-;3863:8;;-1:-1:-1;3760:84:1;-1:-1:-1;3951:3:1;3936:19;;3923:33;;-1:-1:-1;3968:16:1;;;3965:36;;;3997:1;3994;3987:12;3965:36;;4036:60;4088:7;4077:8;4066:9;4062:24;4036:60;:::i;:::-;3099:1057;;;;-1:-1:-1;3099:1057:1;;-1:-1:-1;3099:1057:1;;4115:8;;3099:1057;-1:-1:-1;;;3099:1057:1:o;4414:1198::-;4578:6;4586;4594;4602;4610;4618;4626;4634;4687:3;4675:9;4666:7;4662:23;4658:33;4655:53;;;4704:1;4701;4694:12;4655:53;4743:9;4730:23;4762:39;4795:5;4762:39;:::i;:::-;4820:5;-1:-1:-1;4877:2:1;4862:18;;4849:32;4890:41;4849:32;4890:41;:::i;:::-;4950:7;-1:-1:-1;5004:2:1;4989:18;;4976:32;;-1:-1:-1;5055:2:1;5040:18;;5027:32;;-1:-1:-1;5110:3:1;5095:19;;5082:33;5134:18;5164:14;;;5161:34;;;5191:1;5188;5181:12;5161:34;5230:70;5292:7;5283:6;5272:9;5268:22;5230:70;:::i;:::-;5319:8;;-1:-1:-1;5204:96:1;-1:-1:-1;5407:3:1;5392:19;;5379:33;;-1:-1:-1;5424:16:1;;;5421:36;;;5453:1;5450;5443:12;5421:36;;5492:60;5544:7;5533:8;5522:9;5518:24;5492:60;:::i;:::-;4414:1198;;;;-1:-1:-1;4414:1198:1;;-1:-1:-1;4414:1198:1;;;;;;5571:8;-1:-1:-1;;;4414:1198:1:o;5617:180::-;5676:6;5729:2;5717:9;5708:7;5704:23;5700:32;5697:52;;;5745:1;5742;5735:12;5697:52;-1:-1:-1;5768:23:1;;5617:180;-1:-1:-1;5617:180:1:o;5994:154::-;6052:5;6097:3;6088:6;6083:3;6079:16;6075:26;6072:46;;;6114:1;6111;6104:12;6072:46;-1:-1:-1;6136:6:1;5994:154;-1:-1:-1;5994:154:1:o;6153:352::-;6237:6;6290:2;6278:9;6269:7;6265:23;6261:32;6258:52;;;6306:1;6303;6296:12;6258:52;6346:9;6333:23;6379:18;6371:6;6368:30;6365:50;;;6411:1;6408;6401:12;6365:50;6434:65;6491:7;6482:6;6471:9;6467:22;6434:65;:::i;6945:184::-;-1:-1:-1;;;6994:1:1;6987:88;7094:4;7091:1;7084:15;7118:4;7115:1;7108:15;7134:275;7205:2;7199:9;7270:2;7251:13;;-1:-1:-1;;7247:27:1;7235:40;;7305:18;7290:34;;7326:22;;;7287:62;7284:88;;;7352:18;;:::i;:::-;7388:2;7381:22;7134:275;;-1:-1:-1;7134:275:1:o;7414:1133::-;7469:5;7517:4;7505:9;7500:3;7496:19;7492:30;7489:50;;;7535:1;7532;7525:12;7489:50;7568:2;7562:9;7610:4;7602:6;7598:17;7681:6;7669:10;7666:22;7645:18;7633:10;7630:34;7627:62;7624:88;;;7692:18;;:::i;:::-;7728:2;7721:22;7791:23;;7776:39;;7761:6;-1:-1:-1;7761:6:1;7867:2;7852:18;;7839:32;7880:41;7839:32;7880:41;:::i;:::-;7949:2;7937:15;;7930:32;8014:2;7999:18;;7986:32;8027:41;7986:32;8027:41;:::i;:::-;8096:2;8084:15;;8077:32;8161:2;8146:18;;8133:32;8174:41;8133:32;8174:41;:::i;:::-;8243:2;8231:15;;8224:32;8308:3;8293:19;;8280:33;8322:41;8280:33;8322:41;:::i;:::-;8397:7;8391:3;8383:6;8379:16;8372:33;;8467:3;8456:9;8452:19;8439:33;8433:3;8425:6;8421:16;8414:59;8535:3;8524:9;8520:19;8507:33;8501:3;8493:6;8489:16;8482:59;;7414:1133;;;;:::o;8552:597::-;8666:6;8674;8682;8690;8743:3;8731:9;8722:7;8718:23;8714:33;8711:53;;;8760:1;8757;8750:12;8711:53;8783:46;8821:7;8810:9;8783:46;:::i;:::-;8773:56;;8880:3;8869:9;8865:19;8852:33;8908:18;8900:6;8897:30;8894:50;;;8940:1;8937;8930:12;8894:50;8979:58;9029:7;9020:6;9009:9;9005:22;8979:58;:::i;:::-;8552:597;;9056:8;;-1:-1:-1;8953:84:1;;9138:3;9123:19;9110:33;;8552:597;-1:-1:-1;;;;8552:597:1:o;9478:477::-;9557:6;9565;9573;9626:2;9614:9;9605:7;9601:23;9597:32;9594:52;;;9642:1;9639;9632:12;9594:52;9678:9;9665:23;9655:33;;9739:2;9728:9;9724:18;9711:32;9766:18;9758:6;9755:30;9752:50;;;9798:1;9795;9788:12;9752:50;9837:58;9887:7;9878:6;9867:9;9863:22;9837:58;:::i;:::-;9478:477;;9914:8;;-1:-1:-1;9811:84:1;;-1:-1:-1;;;;9478:477:1:o;9960:323::-;10028:6;10036;10089:2;10077:9;10068:7;10064:23;10060:32;10057:52;;;10105:1;10102;10095:12;10057:52;10144:9;10131:23;10163:39;10196:5;10163:39;:::i;:::-;10221:5;10273:2;10258:18;;;;10245:32;;-1:-1:-1;;;9960:323:1:o;10288:741::-;10411:6;10419;10427;10435;10443;10496:3;10484:9;10475:7;10471:23;10467:33;10464:53;;;10513:1;10510;10503:12;10464:53;10536:46;10574:7;10563:9;10536:46;:::i;:::-;10526:56;;10633:3;10622:9;10618:19;10605:33;10661:18;10653:6;10650:30;10647:50;;;10693:1;10690;10683:12;10647:50;10732:58;10782:7;10773:6;10762:9;10758:22;10732:58;:::i;:::-;10809:8;;-1:-1:-1;10706:84:1;-1:-1:-1;;10891:3:1;10876:19;;10863:33;;-1:-1:-1;10946:3:1;10931:19;;10918:33;10960:39;10918:33;10960:39;:::i;:::-;11018:5;11008:15;;;10288:741;;;;;;;;:::o;11034:1154::-;11185:6;11193;11201;11209;11217;11225;11233;11241;11294:3;11282:9;11273:7;11269:23;11265:33;11262:53;;;11311:1;11308;11301:12;11262:53;11351:9;11338:23;11380:18;11421:2;11413:6;11410:14;11407:34;;;11437:1;11434;11427:12;11407:34;11460:65;11517:7;11508:6;11497:9;11493:22;11460:65;:::i;:::-;11450:75;;11578:2;11567:9;11563:18;11550:32;11534:48;;11607:2;11597:8;11594:16;11591:36;;;11623:1;11620;11613:12;11591:36;11662:60;11714:7;11703:8;11692:9;11688:24;11662:60;:::i;:::-;11741:8;;-1:-1:-1;11636:86:1;-1:-1:-1;11829:2:1;11814:18;;11801:32;;-1:-1:-1;11845:16:1;;;11842:36;;;11874:1;11871;11864:12;11842:36;;11913:60;11965:7;11954:8;11943:9;11939:24;11913:60;:::i;:::-;11034:1154;;;;-1:-1:-1;11034:1154:1;;11992:8;;11887:86;12074:2;12059:18;;12046:32;;12125:3;12110:19;;12097:33;;-1:-1:-1;12177:3:1;12162:19;12149:33;;-1:-1:-1;11034:1154:1;-1:-1:-1;;;;11034:1154:1:o;12193:255::-;12252:6;12305:2;12293:9;12284:7;12280:23;12276:32;12273:52;;;12321:1;12318;12311:12;12273:52;12360:9;12347:23;12379:39;12412:5;12379:39;:::i;12453:1050::-;12596:6;12604;12612;12620;12628;12636;12644;12697:3;12685:9;12676:7;12672:23;12668:33;12665:53;;;12714:1;12711;12704:12;12665:53;12737:46;12775:7;12764:9;12737:46;:::i;:::-;12727:56;;12834:3;12823:9;12819:19;12806:33;12858:18;12899:2;12891:6;12888:14;12885:34;;;12915:1;12912;12905:12;12885:34;12954:58;13004:7;12995:6;12984:9;12980:22;12954:58;:::i;:::-;13031:8;;-1:-1:-1;12928:84:1;-1:-1:-1;13113:3:1;13098:19;;13085:33;;-1:-1:-1;13168:3:1;13153:19;;13140:33;;-1:-1:-1;13182:39:1;13140:33;13182:39;:::i;:::-;13240:5;;-1:-1:-1;13298:3:1;13283:19;;13270:33;;13315:16;;;13312:36;;;13344:1;13341;13334:12;13312:36;;13383:60;13435:7;13424:8;13413:9;13409:24;13383:60;:::i;:::-;12453:1050;;;;-1:-1:-1;12453:1050:1;;-1:-1:-1;12453:1050:1;;;;13357:86;;-1:-1:-1;;;12453:1050:1:o;13508:269::-;13565:6;13618:2;13606:9;13597:7;13593:23;13589:32;13586:52;;;13634:1;13631;13624:12;13586:52;13673:9;13660:23;13723:4;13716:5;13712:16;13705:5;13702:27;13692:55;;13743:1;13740;13733:12;14309:958;14491:6;14499;14507;14515;14523;14531;14539;14547;14600:3;14588:9;14579:7;14575:23;14571:33;14568:53;;;14617:1;14614;14607:12;14568:53;14656:9;14643:23;14675:39;14708:5;14675:39;:::i;:::-;14733:5;-1:-1:-1;14790:2:1;14775:18;;14762:32;14803:41;14762:32;14803:41;:::i;:::-;14863:7;-1:-1:-1;14922:2:1;14907:18;;14894:32;14935:41;14894:32;14935:41;:::i;:::-;14309:958;;;;-1:-1:-1;14995:7:1;;15049:2;15034:18;;15021:32;;-1:-1:-1;15100:3:1;15085:19;;15072:33;;15152:3;15137:19;;15124:33;;-1:-1:-1;15204:3:1;15189:19;;15176:33;;-1:-1:-1;15256:3:1;15241:19;;;15228:33;;-1:-1:-1;14309:958:1;-1:-1:-1;;14309:958:1:o;15503:946::-;15587:6;15618:2;15661;15649:9;15640:7;15636:23;15632:32;15629:52;;;15677:1;15674;15667:12;15629:52;15717:9;15704:23;15746:18;15787:2;15779:6;15776:14;15773:34;;;15803:1;15800;15793:12;15773:34;15841:6;15830:9;15826:22;15816:32;;15886:7;15879:4;15875:2;15871:13;15867:27;15857:55;;15908:1;15905;15898:12;15857:55;15944:2;15931:16;15966:2;15962;15959:10;15956:36;;;15972:18;;:::i;:::-;16018:2;16015:1;16011:10;16001:20;;16041:28;16065:2;16061;16057:11;16041:28;:::i;:::-;16103:15;;;16173:11;;;16169:20;;;16134:12;;;;16201:19;;;16198:39;;;16233:1;16230;16223:12;16198:39;16257:11;;;;16277:142;16293:6;16288:3;16285:15;16277:142;;;16359:17;;16347:30;;16310:12;;;;16397;;;;16277:142;;16454:632;16625:2;16677:21;;;16747:13;;16650:18;;;16769:22;;;16596:4;;16625:2;16848:15;;;;16822:2;16807:18;;;16596:4;16891:169;16905:6;16902:1;16899:13;16891:169;;;16966:13;;16954:26;;17035:15;;;;17000:12;;;;16927:1;16920:9;16891:169;;;-1:-1:-1;17077:3:1;;16454:632;-1:-1:-1;;;;;;16454:632:1:o;17091:437::-;17203:6;17211;17219;17227;17280:3;17268:9;17259:7;17255:23;17251:33;17248:53;;;17297:1;17294;17287:12;17248:53;17320:46;17358:7;17347:9;17320:46;:::i;:::-;17310:56;17413:3;17398:19;;17385:33;;-1:-1:-1;17465:3:1;17450:19;;17437:33;;17517:3;17502:19;17489:33;;-1:-1:-1;17091:437:1;-1:-1:-1;;;17091:437:1:o;18263:552::-;18342:6;18350;18358;18411:2;18399:9;18390:7;18386:23;18382:32;18379:52;;;18427:1;18424;18417:12;18379:52;18466:9;18453:23;18485:39;18518:5;18485:39;:::i;:::-;18543:5;-1:-1:-1;18599:2:1;18584:18;;18571:32;18626:18;18615:30;;18612:50;;;18658:1;18655;18648:12;18820:248;18888:6;18896;18949:2;18937:9;18928:7;18924:23;18920:32;18917:52;;;18965:1;18962;18955:12;18917:52;-1:-1:-1;;18988:23:1;;;19058:2;19043:18;;;19030:32;;-1:-1:-1;18820:248:1:o;19073:1418::-;19292:6;19300;19308;19316;19324;19332;19340;19348;19356;19364;19372:7;19426:3;19414:9;19405:7;19401:23;19397:33;19394:53;;;19443:1;19440;19433:12;19394:53;19482:9;19469:23;19501:39;19534:5;19501:39;:::i;:::-;19559:5;-1:-1:-1;19616:2:1;19601:18;;19588:32;19629:41;19588:32;19629:41;:::i;:::-;19689:7;-1:-1:-1;19748:2:1;19733:18;;19720:32;19761:41;19720:32;19761:41;:::i;:::-;19821:7;-1:-1:-1;19880:2:1;19865:18;;19852:32;19893:41;19852:32;19893:41;:::i;:::-;19953:7;-1:-1:-1;20007:3:1;19992:19;;19979:33;;-1:-1:-1;20059:3:1;20044:19;;20031:33;;-1:-1:-1;20111:3:1;20096:19;;20083:33;;-1:-1:-1;20163:3:1;20148:19;;20135:33;;-1:-1:-1;20215:3:1;20200:19;;20187:33;;-1:-1:-1;20271:3:1;20256:19;;20243:33;20299:18;20288:30;;20285:50;;;20331:1;20328;20321:12;20285:50;20371:58;20421:7;20412:6;20401:9;20397:22;20371:58;:::i;:::-;20344:85;;20448:8;20438:18;;;20476:9;20465:20;;;19073:1418;;;;;;;;;;;;;;:::o;20496:1491::-;20676:6;20684;20692;20700;20708;20716;20724;20732;20740;20748;20756:7;20810:3;20798:9;20789:7;20785:23;20781:33;20778:53;;;20827:1;20824;20817:12;20778:53;20850:18;20908:2;20896:9;20883:23;20880:31;20877:51;;;20924:1;20921;20914:12;20877:51;20947:82;21021:7;21008:9;20995:23;20984:9;20980:39;20947:82;:::i;:::-;20937:92;;21078:2;21072;21061:9;21057:18;21044:32;21041:40;21038:60;;;21094:1;21091;21084:12;21038:60;21133:84;21209:7;21202:2;21191:9;21187:18;21174:32;21163:9;21159:48;21133:84;:::i;:::-;21236:8;;-1:-1:-1;21263:8:1;-1:-1:-1;21314:2:1;21299:18;;21286:32;21283:40;-1:-1:-1;21280:60:1;;;21336:1;21333;21326:12;21280:60;21375:84;21451:7;21444:2;21433:9;21429:18;21416:32;21405:9;21401:48;21375:84;:::i;:::-;21478:8;;-1:-1:-1;21505:8:1;-1:-1:-1;21560:2:1;21545:18;;21532:32;;-1:-1:-1;21611:3:1;21596:19;;21583:33;;-1:-1:-1;21663:3:1;21648:19;;21635:33;;-1:-1:-1;21687:47:1;21729:3;21714:19;;21687:47;:::i;:::-;21677:57;;21784:2;21777:3;21766:9;21762:19;21749:33;21746:41;21743:61;;;21800:1;21797;21790:12;21743:61;;21840:85;21917:7;21909:3;21898:9;21894:19;21881:33;21870:9;21866:49;21840:85;:::i;:::-;21944:8;21934:18;;21972:9;21961:20;;;;20496:1491;;;;;;;;;;;;;;:::o;21992:573::-;22096:6;22104;22112;22120;22173:2;22161:9;22152:7;22148:23;22144:32;22141:52;;;22189:1;22186;22179:12;22141:52;22225:9;22212:23;22202:33;;22282:2;22271:9;22267:18;22254:32;22244:42;;22337:2;22326:9;22322:18;22309:32;22364:18;22356:6;22353:30;22350:50;;;22396:1;22393;22386:12;22350:50;22435:70;22497:7;22488:6;22477:9;22473:22;22435:70;:::i;:::-;21992:573;;;;-1:-1:-1;22524:8:1;-1:-1:-1;;;;21992:573:1:o;22570:1298::-;22730:6;22738;22746;22754;22762;22770;22778;22786;22794;22847:3;22835:9;22826:7;22822:23;22818:33;22815:53;;;22864:1;22861;22854:12;22815:53;22904:9;22891:23;22933:18;22974:2;22966:6;22963:14;22960:34;;;22990:1;22987;22980:12;22960:34;23013:65;23070:7;23061:6;23050:9;23046:22;23013:65;:::i;:::-;23003:75;;23131:2;23120:9;23116:18;23103:32;23087:48;;23160:2;23150:8;23147:16;23144:36;;;23176:1;23173;23166:12;23144:36;23215:60;23267:7;23256:8;23245:9;23241:24;23215:60;:::i;:::-;23294:8;;-1:-1:-1;23189:86:1;-1:-1:-1;23382:2:1;23367:18;;23354:32;;-1:-1:-1;23398:16:1;;;23395:36;;;23427:1;23424;23417:12;23395:36;;23466:60;23518:7;23507:8;23496:9;23492:24;23466:60;:::i;:::-;23545:8;;-1:-1:-1;23440:86:1;-1:-1:-1;;23627:2:1;23612:18;;23599:32;;-1:-1:-1;23678:3:1;23663:19;;23650:33;;-1:-1:-1;23730:3:1;23715:19;;23702:33;;-1:-1:-1;23785:3:1;23770:19;;23757:33;23799:39;23757:33;23799:39;:::i;:::-;23857:5;23847:15;;;22570:1298;;;;;;;;;;;:::o;23873:889::-;24017:6;24025;24033;24041;24049;24057;24110:3;24098:9;24089:7;24085:23;24081:33;24078:53;;;24127:1;24124;24117:12;24078:53;24166:9;24153:23;24185:39;24218:5;24185:39;:::i;:::-;24243:5;-1:-1:-1;24300:2:1;24285:18;;24272:32;24313:41;24272:32;24313:41;:::i;:::-;24373:7;-1:-1:-1;24427:2:1;24412:18;;24399:32;;-1:-1:-1;24478:2:1;24463:18;;24450:32;;-1:-1:-1;24533:3:1;24518:19;;24505:33;24561:18;24550:30;;24547:50;;;24593:1;24590;24583:12;24547:50;24632:70;24694:7;24685:6;24674:9;24670:22;24632:70;:::i;24767:543::-;24853:6;24861;24869;24877;24930:2;24918:9;24909:7;24905:23;24901:32;24898:52;;;24946:1;24943;24936:12;24898:52;24982:9;24969:23;24959:33;;25039:2;25028:9;25024:18;25011:32;25001:42;;25094:2;25083:9;25079:18;25066:32;25121:18;25113:6;25110:30;25107:50;;;25153:1;25150;25143:12;25107:50;25192:58;25242:7;25233:6;25222:9;25218:22;25192:58;:::i;25857:184::-;-1:-1:-1;;;25906:1:1;25899:88;26006:4;26003:1;25996:15;26030:4;26027:1;26020:15;26046:128;26113:9;;;26134:11;;;26131:37;;;26148:18;;:::i;26179:168::-;26252:9;;;26283;;26300:15;;;26294:22;;26280:37;26270:71;;26321:18;;:::i;26605:125::-;26670:9;;;26691:10;;;26688:36;;;26704:18;;:::i;26735:331::-;26840:9;26851;26893:8;26881:10;26878:24;26875:44;;;26915:1;26912;26905:12;26875:44;26944:6;26934:8;26931:20;26928:40;;;26964:1;26961;26954:12;26928:40;-1:-1:-1;;26990:23:1;;;27035:25;;;;;-1:-1:-1;26735:331:1:o;27071:184::-;-1:-1:-1;;;27120:1:1;27113:88;27220:4;27217:1;27210:15;27244:4;27241:1;27234:15;27260:135;27299:3;27320:17;;;27317:43;;27340:18;;:::i;:::-;-1:-1:-1;27387:1:1;27376:13;;27260:135::o;27400:271::-;27583:6;27575;27570:3;27557:33;27539:3;27609:16;;27634:13;;;27609:16;27400:271;-1:-1:-1;27400:271:1:o;27676:250::-;27761:1;27771:113;27785:6;27782:1;27779:13;27771:113;;;27861:11;;;27855:18;27842:11;;;27835:39;27807:2;27800:10;27771:113;;;-1:-1:-1;;27918:1:1;27900:16;;27893:27;27676:250::o;27931:270::-;27972:3;28010:5;28004:12;28037:6;28032:3;28025:19;28053:76;28122:6;28115:4;28110:3;28106:14;28099:4;28092:5;28088:16;28053:76;:::i;:::-;28183:2;28162:15;-1:-1:-1;;28158:29:1;28149:39;;;;28190:4;28145:50;;27931:270;-1:-1:-1;;27931:270:1:o;28206:298::-;28389:6;28382:14;28375:22;28364:9;28357:41;28434:2;28429;28418:9;28414:18;28407:30;28338:4;28454:44;28494:2;28483:9;28479:18;28471:6;28454:44;:::i;28509:266::-;28597:6;28592:3;28585:19;28649:6;28642:5;28635:4;28630:3;28626:14;28613:43;-1:-1:-1;28701:1:1;28676:16;;;28694:4;28672:27;;;28665:38;;;;28757:2;28736:15;;;-1:-1:-1;;28732:29:1;28723:39;;;28719:50;;28509:266::o;28780:754::-;29105:6;29094:9;29087:25;29068:4;-1:-1:-1;;;;;29221:2:1;29213:6;29209:15;29204:2;29193:9;29189:18;29182:43;29273:2;29265:6;29261:15;29256:2;29245:9;29241:18;29234:43;;29313:6;29308:2;29297:9;29293:18;29286:34;29357:6;29351:3;29340:9;29336:19;29329:35;29401:6;29395:3;29384:9;29380:19;29373:35;29445:3;29439;29428:9;29424:19;29417:32;29466:62;29523:3;29512:9;29508:19;29500:6;29492;29466:62;:::i;:::-;29458:70;28780:754;-1:-1:-1;;;;;;;;;;28780:754:1:o;29539:508::-;-1:-1:-1;;;;;29784:6:1;29780:55;29769:9;29762:74;29872:6;29867:2;29856:9;29852:18;29845:34;29915:6;29910:2;29899:9;29895:18;29888:34;29958:3;29953:2;29942:9;29938:18;29931:31;29743:4;29979:62;30036:3;30025:9;30021:19;30013:6;30005;29979:62;:::i;30052:184::-;30122:6;30175:2;30163:9;30154:7;30150:23;30146:32;30143:52;;;30191:1;30188;30181:12;30143:52;-1:-1:-1;30214:16:1;;30052:184;-1:-1:-1;30052:184:1:o;30753:277::-;30820:6;30873:2;30861:9;30852:7;30848:23;30844:32;30841:52;;;30889:1;30886;30879:12;30841:52;30921:9;30915:16;30974:5;30967:13;30960:21;30953:5;30950:32;30940:60;;30996:1;30993;30986:12;31442:521;31519:4;31525:6;31585:11;31572:25;31679:2;31675:7;31664:8;31648:14;31644:29;31640:43;31620:18;31616:68;31606:96;;31698:1;31695;31688:12;31606:96;31725:33;;31777:20;;;-1:-1:-1;31820:18:1;31809:30;;31806:50;;;31852:1;31849;31842:12;31806:50;31885:4;31873:17;;-1:-1:-1;31916:14:1;31912:27;;;31902:38;;31899:58;;;31953:1;31950;31943:12;32732:591;32946:4;-1:-1:-1;;;;;33056:2:1;33048:6;33044:15;33033:9;33026:34;33110:6;33103:14;33096:22;33091:2;33080:9;33076:18;33069:50;33155:6;33150:2;33139:9;33135:18;33128:34;33210:2;33202:6;33198:15;33193:2;33182:9;33178:18;33171:43;;33251:3;33245;33234:9;33230:19;33223:32;33272:45;33312:3;33301:9;33297:19;33289:6;33272:45;:::i;33328:243::-;33405:6;33413;33466:2;33454:9;33445:7;33441:23;33437:32;33434:52;;;33482:1;33479;33472:12;33434:52;-1:-1:-1;;33505:16:1;;33561:2;33546:18;;;33540:25;33505:16;;33540:25;;-1:-1:-1;33328:243:1:o;33576:191::-;33611:3;-1:-1:-1;;;33635:5:1;33632:77;33629:103;;33712:18;;:::i;:::-;-1:-1:-1;33752:1:1;33748:13;;33576:191::o;35074:274::-;35114:1;35140;35130:189;;-1:-1:-1;;;35172:1:1;35165:88;35276:4;35273:1;35266:15;35304:4;35301:1;35294:15;35130:189;-1:-1:-1;35333:9:1;;35074:274::o;35353:184::-;-1:-1:-1;;;35402:1:1;35395:88;35502:4;35499:1;35492:15;35526:4;35523:1;35516:15;35542:441;35809:6;35801;35796:3;35783:33;35835:16;;;35860:18;;;35902:2;35894:11;;35887:27;35938:2;35930:11;;35923:27;;;;35974:2;35966:11;;35542:441;-1:-1:-1;35542:441:1:o;35988:287::-;36117:3;36155:6;36149:13;36171:66;36230:6;36225:3;36218:4;36210:6;36206:17;36171:66;:::i;:::-;36253:16;;;;;35988:287;-1:-1:-1;;35988:287:1:o

Metadata Hash

50c4c0cfc6a14b8169dc1a581406f371371014925978f4490ca3746fdde404a7
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.