{"matchId":"2753419","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2025-04-10T07:41:04Z","creationBytecode":{"onchainBytecode":"0x34620009f057620070e3388190036101a0601f8201601f19168101906001600160401b03821190821017620009b2576101609282916040526101a03912620009f0576200004e6101a062000a34565b6200005b6101c062000a34565b90620000696101e062000a34565b906200007761020062000a34565b610220516102405161026051610280519294919390916200009a6102a062000a34565b96620000a86102c062000a34565b620000b56102e062000a34565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b039586166001600160a01b03198216811790925591949091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a36200012662000a14565b9960018b525f5b60208110620009c657506200014162000a14565b60018152602036818301376307e4c70760e21b6200015f8262000a49565b526200016a620009f4565b6001600160a01b0390921682525f602083015260408201526200018d8b62000a49565b52620001998a62000a49565b50604051986001600160401b0360208b01908111908b1117620009b25794898989898e94602085016040525f85525f995b86518b1015620006c2576020620001e28c8962000a6b565b5101516003811015620006ae57806200038957506001600160a01b036200020a8c8962000a6b565b5151169960406200021c8d8a62000a6b565b510151996200022e8b51151562000ac0565b6200023b8c151562000b21565b6001600160a01b038c165f9081525f80516020620070c383398151915260205260409020546001600160601b0316998a1562000378575b5f9a5b8c518c10156200034e576001600160e01b0319620002948d8f62000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b0316620002e357818f620002d490600194620002da9462000fda565b62000b83565b9b019a62000275565b60405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608490fd5b5094995094995094995094996001909b91969b5b0199949a95909a989398979297969196620001ca565b620003838d62000eff565b62000272565b6001819b939597999b9a929496989a145f146200053b5750918a97959391620003d39c9a99979593604060018060a01b03620003c68c8c62000a6b565b5151169e8f9b8b62000a6b565b5101519a620003e58c51151562000ac0565b620003f28b151562000b21565b6001600160a01b038b165f9081525f80516020620070c383398151915260205260409020546001600160601b03169a8b1562000529575b505f9a5b8c518c101562000511578f908d6200044e8e63ffffffff60e01b9262000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b03169190838314620004a657600193828262000497620002d4946200049d9762000bf7565b62000fda565b9b019a6200042d565b60405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608490fd5b50949950949950949991969b50949960019062000362565b620005349062000eff565b8e62000429565b60020362000659576001600160a01b03620005578c8b62000a6b565b515116996040620005698d8c62000a6b565b5101519a6200057b8c51151562000ac0565b620005ee575f5b8b51811015620005d85780620005d18d620005a860019463ffffffff60e01b9262000a6b565b5116805f525f8051602062007083833981519152602052838060a01b0360405f20541662000bf7565b0162000582565b509295989b9194979a60019194979a5062000362565b60405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608490fd5b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608490fd5b634e487b7160e01b5f52602160045260245ffd5b8989898e898b60405191606083016060845282518091526080840190602060808260051b8701019401915f905b828210620009185750505050916200073881927f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673945f6020850152838203604085015262000a80565b0390a16001600160a01b0390811660805290811660a0521660c05260e05261010052610140526101205261018091825261016052604051615ff2918262001091833960805182818161063701528181612eb30152818161302c015281816131100152818161332e01526133c0015260a051828181610f1701528181615bef0152615e76015260c05182818161038d015281816104ec01528181610d2701528181610e1401528181611046015281816110ef01528181611215015281816114ac01528181611a8301528181611b8a01528181611e0301528181611ed5015281816125fb0152818161274a015281816128e301528181612f2d01528181613188015281816132540152818161344301528181613a9b01526155e3015260e05182818161093c015281816121c40152818161376801526158b8015261010051828181611572015281816117180152818161185d01526152d101526101205182818161150501528181614ece01528181615786015261581c0152610140518281816108cf01528181614ead0152818161574d01526157e901526101605182818161143f015281816120bc01528181613f8c01528181614ab70152614b3c01525181818161083e0152818161207f01528181613f5401528181614a780152614b040152f35b868603607f19018152835180516001600160a01b031687526020810151949693949293919260608301916003821015620006ae57604060809160209384870152015193606060408201528451809452019201905f905b8082106200098e57505050602080600192970192019201909291620006ef565b82516001600160e01b0319168452602093840193909201916001909101906200096e565b634e487b7160e01b5f52604160045260245ffd5b808c60208093620009d6620009f4565b925f84525f8385015260606040850152010152016200012d565b5f80fd5b60405190606082016001600160401b03811183821017620009b257604052565b60408051919082016001600160401b03811183821017620009b257604052565b51906001600160a01b0382168203620009f057565b80511562000a575760200190565b634e487b7160e01b5f52603260045260245ffd5b805182101562000a575760209160051b010190565b91908251928382525f5b84811062000aab575050825f602080949584010152601f8019910116010190565b60208183018101518483018201520162000a8a565b1562000ac857565b60405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608490fd5b1562000b2957565b60405162461bcd60e51b815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201526b65206164647265737328302960a01b6064820152608490fd5b6001600160601b0390811690811462000b9c5760010190565b634e487b7160e01b5f52601160045260245ffd5b919091805483101562000a57575f52601c60205f208360031c019260021b1690565b5f80516020620070a3833981519152805482101562000a57575f5260205f2001905f90565b6001600160a01b0390811691821562000e945730831462000e385763ffffffff60e01b809116805f525f805160206200708383398151915293602090858252604093845f205460a01c96825f525f80516020620070c383398151915294858552865f2054925f19998a850194851162000b9c57889187898888850362000da6575b9450505050505f52858552865f208054801562000d3c578a019062000c9e828262000bb0565b63ffffffff82549160031b1b19169055555f5283525f858120551562000cc7575b505050505050565b5f80516020620070a383398151915294855487810190811162000b9c57825f52848452816001875f2001549180830362000d50575b505050855495861562000d3c575f97600197019162000d1b8362000bd2565b909182549160031b1b1916905555855252822001555f808080808062000cbf565b634e487b7160e01b5f52603160045260245ffd5b62000d5b9062000bd2565b90549060031b1c1662000d918162000d738462000bd2565b90919060018060a01b038084549260031b9316831b921b1916179055565b5f528484526001865f2001555f818162000cfc565b62000de18562000e2c9762000dfe94845f5280875262000dc98d835f2062000bb0565b90549060031b1c60e01b9687955f52525f2062000bb0565b90919063ffffffff83549160031b9260e01c831b921b1916179055565b165f90815284885289902080546001600160a01b031660a09290921b6001600160a01b031916919091179055565b865f8087898862000c78565b60405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608490fd5b60405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608490fd5b62000f09620009f4565b602481527f4c69624469616d6f6e644375743a204e657720666163657420686173206e6f20602082015263636f646560e01b6040820152813b1562000fb057505f80516020620070a383398151915280546001600160a01b0383165f9081525f80516020620070c383398151915260205260409020600101819055919068010000000000000000831015620009b2578262000d7391600162000fae9501905562000bd2565b565b60405162461bcd60e51b81526020600482015290819062000fd690602483019062000a80565b0390fd5b6001600160e01b031981165f8181525f80516020620070838339815191526020819052604090912080546001600160a01b031660a09590951b6001600160a01b0319169490941790935590926001600160a01b03165f8181525f80516020620070c383398151915260205260409020805491949068010000000000000000831015620009b2578262000de1916001620010769501815562000bb0565b5f5260205260405f209060018060a01b031982541617905556fe6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f0000000000000000000000000000000000000000000000000000000000000000166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000000000000000000000000000000000000000000016613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f00000000000000000000000000000000000000000000000000000000000000001694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000000000000000000000000000000000000000000087169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000000000000000000000000000000000000000000016936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000000000000000000000000000000000000000000016809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f0000000000000000000000000000000000000000000000000000000000000000169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f00000000000000000000000000000000000000000000000000000000000000001685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f00000000000000000000000000000000000000000000000000000000000000001690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000000000000000000000000000000000000000000016611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000000000000000000000000000000000000000000016613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000000000000000000000000000000000000000000016611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f00000000000000000000000000000000000000000000000000000000000000008816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517f00000000000000000000000000000000000000000000000000000000000000008152610200841460158201605f6041880160168501376060812090527f000000000000000000000000000000000000000000000000000000000000000060358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f00000000000000000000000000000000000000000000000000000000000000001691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f00000000000000000000000000000000000000000000000000000000000000001692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000000000000000000000000000000000000000000016803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000000000000000000000000000000000000000000016906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f00000000000000000000000000000000000000000000000000000000000000001693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f00000000000000000000000000000000000000000000000000000000000000001685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f00000000000000000000000000000000000000000000000000000000000000001690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f00000000000000000000000000000000000000000000000000000000000000005af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947f0000000000000000000000000000000000000000000000000000000000000000865260158601605f6001860160168901376060812090527f0000000000000000000000000000000000000000000000000000000000000000603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f6001840160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000091604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f00000000000000000000000000000000000000000000000000000000000000005af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507f00000000000000000000000000000000000000000000000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f000000000000000000000000000000000000000000000000000000000000000060358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517f000000000000000000000000000000000000000000000000000000000000000081529850601589016028808a8337812090527f000000000000000000000000000000000000000000000000000000000000000060358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000000000000000000000000000000000000000001694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000000000000000000000000000000000000000001680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000ac8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d000000000000000000000000d7e24a49944f7972ceb826c7557580658f9c3303000000000000000000000000fa39c1c670b48956eef9fd0bbd0e81a290326330000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8ff1f98431c8ad98523631ae4a59f267346ea31f9840000000000000000000000e34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54ff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000096e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a0600000000000000000000000000700052c0608f670705380a4900e0a8080010cc000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3","recompiledBytecode":"0x34620009f057620070e3388190036101a0601f8201601f19168101906001600160401b03821190821017620009b2576101609282916040526101a03912620009f0576200004e6101a062000a34565b6200005b6101c062000a34565b90620000696101e062000a34565b906200007761020062000a34565b610220516102405161026051610280519294919390916200009a6102a062000a34565b96620000a86102c062000a34565b620000b56102e062000a34565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b039586166001600160a01b03198216811790925591949091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a36200012662000a14565b9960018b525f5b60208110620009c657506200014162000a14565b60018152602036818301376307e4c70760e21b6200015f8262000a49565b526200016a620009f4565b6001600160a01b0390921682525f602083015260408201526200018d8b62000a49565b52620001998a62000a49565b50604051986001600160401b0360208b01908111908b1117620009b25794898989898e94602085016040525f85525f995b86518b1015620006c2576020620001e28c8962000a6b565b5101516003811015620006ae57806200038957506001600160a01b036200020a8c8962000a6b565b5151169960406200021c8d8a62000a6b565b510151996200022e8b51151562000ac0565b6200023b8c151562000b21565b6001600160a01b038c165f9081525f80516020620070c383398151915260205260409020546001600160601b0316998a1562000378575b5f9a5b8c518c10156200034e576001600160e01b0319620002948d8f62000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b0316620002e357818f620002d490600194620002da9462000fda565b62000b83565b9b019a62000275565b60405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608490fd5b5094995094995094995094996001909b91969b5b0199949a95909a989398979297969196620001ca565b620003838d62000eff565b62000272565b6001819b939597999b9a929496989a145f146200053b5750918a97959391620003d39c9a99979593604060018060a01b03620003c68c8c62000a6b565b5151169e8f9b8b62000a6b565b5101519a620003e58c51151562000ac0565b620003f28b151562000b21565b6001600160a01b038b165f9081525f80516020620070c383398151915260205260409020546001600160601b03169a8b1562000529575b505f9a5b8c518c101562000511578f908d6200044e8e63ffffffff60e01b9262000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b03169190838314620004a657600193828262000497620002d4946200049d9762000bf7565b62000fda565b9b019a6200042d565b60405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608490fd5b50949950949950949991969b50949960019062000362565b620005349062000eff565b8e62000429565b60020362000659576001600160a01b03620005578c8b62000a6b565b515116996040620005698d8c62000a6b565b5101519a6200057b8c51151562000ac0565b620005ee575f5b8b51811015620005d85780620005d18d620005a860019463ffffffff60e01b9262000a6b565b5116805f525f8051602062007083833981519152602052838060a01b0360405f20541662000bf7565b0162000582565b509295989b9194979a60019194979a5062000362565b60405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608490fd5b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608490fd5b634e487b7160e01b5f52602160045260245ffd5b8989898e898b60405191606083016060845282518091526080840190602060808260051b8701019401915f905b828210620009185750505050916200073881927f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673945f6020850152838203604085015262000a80565b0390a16001600160a01b0390811660805290811660a0521660c05260e05261010052610140526101205261018091825261016052604051615ff2918262001091833960805182818161063701528181612eb30152818161302c015281816131100152818161332e01526133c0015260a051828181610f1701528181615bef0152615e76015260c05182818161038d015281816104ec01528181610d2701528181610e1401528181611046015281816110ef01528181611215015281816114ac01528181611a8301528181611b8a01528181611e0301528181611ed5015281816125fb0152818161274a015281816128e301528181612f2d01528181613188015281816132540152818161344301528181613a9b01526155e3015260e05182818161093c015281816121c40152818161376801526158b8015261010051828181611572015281816117180152818161185d01526152d101526101205182818161150501528181614ece01528181615786015261581c0152610140518281816108cf01528181614ead0152818161574d01526157e901526101605182818161143f015281816120bc01528181613f8c01528181614ab70152614b3c01525181818161083e0152818161207f01528181613f5401528181614a780152614b040152f35b868603607f19018152835180516001600160a01b031687526020810151949693949293919260608301916003821015620006ae57604060809160209384870152015193606060408201528451809452019201905f905b8082106200098e57505050602080600192970192019201909291620006ef565b82516001600160e01b0319168452602093840193909201916001909101906200096e565b634e487b7160e01b5f52604160045260245ffd5b808c60208093620009d6620009f4565b925f84525f8385015260606040850152010152016200012d565b5f80fd5b60405190606082016001600160401b03811183821017620009b257604052565b60408051919082016001600160401b03811183821017620009b257604052565b51906001600160a01b0382168203620009f057565b80511562000a575760200190565b634e487b7160e01b5f52603260045260245ffd5b805182101562000a575760209160051b010190565b91908251928382525f5b84811062000aab575050825f602080949584010152601f8019910116010190565b60208183018101518483018201520162000a8a565b1562000ac857565b60405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608490fd5b1562000b2957565b60405162461bcd60e51b815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201526b65206164647265737328302960a01b6064820152608490fd5b6001600160601b0390811690811462000b9c5760010190565b634e487b7160e01b5f52601160045260245ffd5b919091805483101562000a57575f52601c60205f208360031c019260021b1690565b5f80516020620070a3833981519152805482101562000a57575f5260205f2001905f90565b6001600160a01b0390811691821562000e945730831462000e385763ffffffff60e01b809116805f525f805160206200708383398151915293602090858252604093845f205460a01c96825f525f80516020620070c383398151915294858552865f2054925f19998a850194851162000b9c57889187898888850362000da6575b9450505050505f52858552865f208054801562000d3c578a019062000c9e828262000bb0565b63ffffffff82549160031b1b19169055555f5283525f858120551562000cc7575b505050505050565b5f80516020620070a383398151915294855487810190811162000b9c57825f52848452816001875f2001549180830362000d50575b505050855495861562000d3c575f97600197019162000d1b8362000bd2565b909182549160031b1b1916905555855252822001555f808080808062000cbf565b634e487b7160e01b5f52603160045260245ffd5b62000d5b9062000bd2565b90549060031b1c1662000d918162000d738462000bd2565b90919060018060a01b038084549260031b9316831b921b1916179055565b5f528484526001865f2001555f818162000cfc565b62000de18562000e2c9762000dfe94845f5280875262000dc98d835f2062000bb0565b90549060031b1c60e01b9687955f52525f2062000bb0565b90919063ffffffff83549160031b9260e01c831b921b1916179055565b165f90815284885289902080546001600160a01b031660a09290921b6001600160a01b031916919091179055565b865f8087898862000c78565b60405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608490fd5b60405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608490fd5b62000f09620009f4565b602481527f4c69624469616d6f6e644375743a204e657720666163657420686173206e6f20602082015263636f646560e01b6040820152813b1562000fb057505f80516020620070a383398151915280546001600160a01b0383165f9081525f80516020620070c383398151915260205260409020600101819055919068010000000000000000831015620009b2578262000d7391600162000fae9501905562000bd2565b565b60405162461bcd60e51b81526020600482015290819062000fd690602483019062000a80565b0390fd5b6001600160e01b031981165f8181525f80516020620070838339815191526020819052604090912080546001600160a01b031660a09590951b6001600160a01b0319169490941790935590926001600160a01b03165f8181525f80516020620070c383398151915260205260409020805491949068010000000000000000831015620009b2578262000de1916001620010769501815562000bb0565b5f5260205260405f209060018060a01b031982541617905556fe6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f0000000000000000000000000000000000000000000000000000000000000000166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000000000000000000000000000000000000000000016613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f00000000000000000000000000000000000000000000000000000000000000001694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000000000000000000000000000000000000000000087169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000000000000000000000000000000000000000000016936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000000000000000000000000000000000000000000016809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f0000000000000000000000000000000000000000000000000000000000000000169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f00000000000000000000000000000000000000000000000000000000000000001685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f00000000000000000000000000000000000000000000000000000000000000001690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000000000000000000000000000000000000000000016611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000000000000000000000000000000000000000000016613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000000000000000000000000000000000000000000016611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f00000000000000000000000000000000000000000000000000000000000000008816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517f00000000000000000000000000000000000000000000000000000000000000008152610200841460158201605f6041880160168501376060812090527f000000000000000000000000000000000000000000000000000000000000000060358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f00000000000000000000000000000000000000000000000000000000000000001691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f00000000000000000000000000000000000000000000000000000000000000001692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000000000000000000000000000000000000000000016803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000000000000000000000000000000000000000000016906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f00000000000000000000000000000000000000000000000000000000000000001693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f00000000000000000000000000000000000000000000000000000000000000001685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f00000000000000000000000000000000000000000000000000000000000000001690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f00000000000000000000000000000000000000000000000000000000000000005af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947f0000000000000000000000000000000000000000000000000000000000000000865260158601605f6001860160168901376060812090527f0000000000000000000000000000000000000000000000000000000000000000603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f6001840160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000091604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f00000000000000000000000000000000000000000000000000000000000000005af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507f00000000000000000000000000000000000000000000000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f000000000000000000000000000000000000000000000000000000000000000060358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517f000000000000000000000000000000000000000000000000000000000000000081529850601589016028808a8337812090527f000000000000000000000000000000000000000000000000000000000000000060358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000000000000000000000000000000000000000001694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000000000000000000000000000000000000000001680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000ac8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d","sourceMap":"1085:1767:2:-:0;;;;;;;;;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;:::i;:::-;2310:16:46;1085:1767:2;;-1:-1:-1;;;;;1085:1767:2;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;2310:16:46;;1085:1767:2;;;2379:46:46;-1:-1:-1;;2379:46:46;1085:1767:2;;:::i;:::-;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;982:54:44;;;:::i;:::-;1085:1767:2;;;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;1055:178:44;;1085:1767:2;;1055:178:44;;1085:1767:2;1046:187:44;;;:::i;:::-;;;;;:::i;:::-;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;-1:-1:-1;3001:806:46;3059:12;1085:1767:2;;3026:31:46;;;;;1085:1767:2;3123:23:46;;;;:::i;:::-;;:30;1085:1767:2;;;;;;;3171:40:46;;;-1:-1:-1;;;;;;3244:23:46;;;;:::i;:::-;;1085:1767:2;;3282:23:46;1085:1767:2;3282:23:46;;;;:::i;:::-;;:41;;1085:1767:2;4023:85:46;1085:1767:2;;4031:29:46;;4023:85;:::i;:::-;4172:84;4180:27;;;4172:84;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;4433:21:46;;4429:79;;3167:630;-1:-1:-1;4517:469:46;4588:15;1085:1767:2;;4545:41:46;;;;;-1:-1:-1;;;;;;4637:33:46;1085:1767:2;;4637:33:46;:::i;:::-;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;;4929:13:46;;;;1085:1767:2;4929:13:46;4957:18;4929:13;;:::i;:::-;4957:18;:::i;:::-;4588:15;1085:1767:2;4522:21:46;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;4545:41:46;;;;;;;;;;;;;1085:1767:2;4545:41:46;;;;;3167:630;1085:1767:2;3006:18:46;;;;;;;;;;;;;;;;;4429:79;4483:13;;;:::i;:::-;4429:79;;3167:630;1085:1767:2;3349:44:46;;;;;;;;;;;;;;3345:452;1085:1767:2;;;;;;;;;;3468:23:46;1085:1767:2;;;;;;;;;;;;3430:23:46;;;;:::i;:::-;;1085:1767:2;;3468:23:46;;;;;:::i;:::-;;:41;;1085:1767:2;5102:85:46;1085:1767:2;;5110:29:46;;5102:85;:::i;:::-;5251:84;5259:27;;;5251:84;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;5512:21:46;;5508:79;;3345:452;5601:21;-1:-1:-1;5596:534:46;5667:15;1085:1767:2;;5624:41:46;;;;;1085:1767:2;;;5716:33:46;1085:1767:2;;;;5716:33:46;;:::i;:::-;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;;5863:32:46;;;1085:1767:2;;;6006:8:46;;;;6073:13;6006:8;6101:18;6006:8;;:::i;:::-;6073:13;:::i;6101:18::-;5667:15;1085:1767:2;5601:21:46;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;5624:41:46;;;;;;;;;;;;;;;;1085:1767:2;5624:41:46;3167:630;;5508:79;5562:13;;;:::i;:::-;5508:79;;;3345:452;3545:33;3535:43;3545:33;;-1:-1:-1;;;;;3614:23:46;;;;:::i;:::-;;1085:1767:2;;3652:23:46;1085:1767:2;3652:23:46;;;;:::i;:::-;;:41;;1085:1767:2;6245:85:46;1085:1767:2;;6253:29:46;;6245:85;:::i;:::-;1085:1767:2;;-1:-1:-1;6634:15:46;1085:1767:2;;6591:41:46;;;;;1085:1767:2;6858:8:46;1085:1767:2;6683:33:46;1085:1767:2;;;;;6683:33:46;;:::i;:::-;1085:1767:2;;;-1:-1:-1;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;-1:-1:-1;1085:1767:2;;;6858:8:46;:::i;:::-;1085:1767:2;6568:21:46;;6591:41;;;;;;;;;;1085:1767:2;6591:41:46;;;;;3167:630;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;3531:266:46;1085:1767:2;;-1:-1:-1;;;3733:49:46;;1085:1767:2;2310:16:46;3733:49;;1085:1767:2;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;3733:49:46;1085:1767:2;;;;-1:-1:-1;1085:1767:2;;2310:16:46;1085:1767:2;;-1:-1:-1;1085:1767:2;3026:31:46;;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;3821:41:46;1085:1767:2;-1:-1:-1;1085:1767:2;;;;;;;;;;;;:::i;:::-;3821:41:46;;;-1:-1:-1;;;;;1085:1767:2;;;;1516:41:36;1085:1767:2;;;;2308:40:4;1085:1767:2;;697:19:43;1085:1767:2;903:18:40;1085:1767:2;1311:31:37;1085:1767:2;1219:50:41;1085:1767:2;1279:59:41;2325:50:42;;;;1085:1767:2;2385:59:42;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1085:1767:2;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;:::i;:::-;;-1:-1:-1;1085:1767:2;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;1085:1767:2;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;1085:1767:2;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;-1:-1:-1;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;1085:1767:2;:::o;7657:2182:46:-;-1:-1:-1;;;;;1085:1767:2;;;;7776:27:46;;1085:1767:2;;7983:4:46;7958:30;;1085:1767:2;;;;;;;;;7801:1:46;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;7801:1:46;1085:1767:2;;;;;;7801:1:46;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;7801:1:46;1085:1767:2;;;;;;;;;;;;;;8407:40:46;;;;;;;;8403:387;;7657:2182;1085:1767:2;;;;;;7801:1:46;1085:1767:2;;;;;7801:1:46;1085:1767:2;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7801:1:46;1085:1767:2;;;7801:1:46;1085:1767:2;;;;9051:25:46;9047:786;;7657:2182;;;;;;;:::o;9047:786::-;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;;;7801:1:46;1085:1767:2;;;;;8256:25:46;1085:1767:2;7801:1:46;1085:1767:2;9291:61:46;1085:1767:2;9370:48:46;;;;9366:338;;9047:786;1085:1767:2;;;;;;;;;;7801:1:46;1085:1767:2;8256:25:46;1085:1767:2;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9761:61:46;1085:1767:2;9047:786:46;;;;;;;;1085:1767:2;;;;7801:1:46;1085:1767:2;;;;;7801:1:46;1085:1767:2;9366:338:46;9465:43;;;:::i;:::-;1085:1767:2;;;;;;;9526:58:46;:39;;;;:::i;:::-;:58;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;9526:58:46;7801:1;1085:1767:2;;;;8256:25:46;1085:1767:2;7801:1:46;1085:1767:2;9602:64:46;1085:1767:2;9366:338:46;;;;;8403:387;8579:76;1085:1767:2;8684:95:46;1085:1767:2;8579:91:46;1085:1767:2;;7801:1:46;1085:1767:2;;;;8485:80:46;1085:1767:2;;7801:1:46;1085:1767:2;8485:80:46;:::i;:::-;1085:1767:2;;;;;;;;;;;7801:1:46;1085:1767:2;;7801:1:46;1085:1767:2;8579:76:46;:::i;:::-;:91;1085:1767:2;;;;;;;;;;;;;;;;;;;;;8579:91:46;1085:1767:2;7801:1:46;1085:1767:2;;;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;8684:95:46;8403:387;;;;;;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;6890:316:46;1085:1767:2;;:::i;:::-;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;10719:71:46;;10807:16;1085:1767:2;;-1:-1:-1;;;;;;;;;;;;1085:1767:2;;-1:-1:-1;;;;;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;7064:61:46;1085:1767:2;;;;;;;;;;;;;;7064:25:46;1085:1767:2;;;;;;:::i;:::-;6890:316:46:o;1085:1767:2:-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;;;7212:439:46;-1:-1:-1;;;;;;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;7212:439:46;;-1:-1:-1;;;;;1085:1767:2;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;7491:25:46;1085:1767:2;;;;;;:::i;:::-;-1:-1:-1;1085:1767:2;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;7212:439:46:o","linkReferences":{},"cborAuxdata":{},"transformations":[{"type":"insert","offset":28899,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000d7e24a49944f7972ceb826c7557580658f9c3303000000000000000000000000fa39c1c670b48956eef9fd0bbd0e81a290326330000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8ff1f98431c8ad98523631ae4a59f267346ea31f9840000000000000000000000e34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54ff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000096e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a0600000000000000000000000000700052c0608f670705380a4900e0a8080010cc000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3"}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a06168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517fff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f00000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc287169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000700052c0608f670705380a4900e0a8080010cc168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b548152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c81685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c81690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000008152610200841460158201605f6041880160168501376060812090527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba35af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a061691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a0616803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a0616803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a0616803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a061685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba35af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947fff1f98431c8ad98523631ae4a59f267346ea31f9840000000000000000000000865260158601605f6001860160168901376060812090527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000008a5260158a01605f6001840160168d01376060812090527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917fff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f00000000000000000000007f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f91604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c85af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507fff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f00000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517fff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000081529850601589016028808a8337812090527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba35af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000700052c0608f670705380a4900e0a8080010cc1694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000700052c0608f670705380a4900e0a8080010cc1680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000a","recompiledBytecode":"0x6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f0000000000000000000000000000000000000000000000000000000000000000166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000000000000000000000000000000000000000000016613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f00000000000000000000000000000000000000000000000000000000000000001694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000000000000000000000000000000000000000000087169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000000000000000000000000000000000000000000016936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000000000000000000000000000000000000000000016809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f0000000000000000000000000000000000000000000000000000000000000000169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f00000000000000000000000000000000000000000000000000000000000000001685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f00000000000000000000000000000000000000000000000000000000000000001690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000000000000000000000000000000000000000000016611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000000000000000000000000000000000000000000016613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000000000000000000000000000000000000000000016611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f00000000000000000000000000000000000000000000000000000000000000008816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517f00000000000000000000000000000000000000000000000000000000000000008152610200841460158201605f6041880160168501376060812090527f000000000000000000000000000000000000000000000000000000000000000060358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f00000000000000000000000000000000000000000000000000000000000000001691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f00000000000000000000000000000000000000000000000000000000000000001692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000000000000000000000000000000000000000000016803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000000000000000000000000000000000000000000016906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f00000000000000000000000000000000000000000000000000000000000000001693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f00000000000000000000000000000000000000000000000000000000000000001685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f00000000000000000000000000000000000000000000000000000000000000001690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f00000000000000000000000000000000000000000000000000000000000000005af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947f0000000000000000000000000000000000000000000000000000000000000000865260158601605f6001860160168901376060812090527f0000000000000000000000000000000000000000000000000000000000000000603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f6001840160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000091604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f00000000000000000000000000000000000000000000000000000000000000005af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507f00000000000000000000000000000000000000000000000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f000000000000000000000000000000000000000000000000000000000000000060358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517f000000000000000000000000000000000000000000000000000000000000000081529850601589016028808a8337812090527f000000000000000000000000000000000000000000000000000000000000000060358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000000000000000000000000000000000000000001694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000000000000000000000000000000000000000001680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000a","sourceMap":"1085:1767:2:-:0;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1673:20:27;;:::i;:::-;1722:21;;;:::i;:::-;1085:1767:2;1772:22:27;1085:1767:2;;1827:20:27;1085:1767:2;1947:23:27;;;:::i;:::-;1085:1767:2;;;2129:17:27;;;2125:72;;1085:1767:2;;;;;2252:25:27;2248:89;;1085:1767:2;2687:278:27;819:6:39;2687:278:27;;;4159:8;2687:278;;;;;;;;1085:1767:2;2687:278:27;;;;;;;;3067:24;;;;;:::i;:::-;;;3288:19;3304:3;3288:19;;3304:3;;;3367:17;;3363:87;;3284:407;3513:4;;3467:62;3513:4;;3493:10;3467:62;;:::i;:::-;;3284:407;3748:112;;3284:407;3063:997;;;1085:1767:2;2687:278:27;2002:23;1085:1767:2;2687:278:27;;;;4159:8;;:::i;:::-;4240:13;819:6:39;;4340:4:27;;1085:1767:2;4426:18:27;4333:38;4365:4;4333:38;;:::i;:::-;4426:18;:::i;:::-;4412:33;;;;;;1673:20;1085:1767:2;;4412:33:27;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;4412:33:27;;;;;;;;;;4236:468;4537:21;;4236:468;;4753:29;;4749:93;;1085:1767:2;4921:133:27;1883:24;1085:1767:2;;;;;;;;4921:133:27;:::i;:::-;1673:20;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;4749:93:27;1673:20;1085:1767:2;4805:26:27;;;;4412:33;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;4236:468::-;4658:35;4687:4;4658:35;;:::i;:::-;4236:468;;;3748:112;3836:8;;;:::i;:::-;3748:112;;;;3363:87;3424:6;;;;:::i;:::-;3363:87;;;;3284:407;3660:4;;3667:8;3660:4;;3667:8;;:::i;:::-;3284:407;;3063:997;3934:116;;;;;;3063:997;3934:116;4026:8;4012:4;;;1085:1767:2;4026:8:27;:::i;:::-;3063:997;;2248:89;2315:10;;-1:-1:-1;2248:89:27;;2125:72;1085:1767:2;1673:20:27;1085:1767:2;2169:17:27;;;;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;;;;;1023:4:4;1085:1767:2;;;;;;;;;;;;;;;;;1126:3:4;1085:1767:2;;;;;;;;;;;;;;;;;;1198:42:36;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;-1:-1:-1;1085:1767:2;-1:-1:-1;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;1103:18:35;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;;;;815:60:39;;1085:1767:2;1229:6576:34;;;;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;;;;;;;;1631:50:42;1085:1767:2;;;;;;;;;;;;;;;;;1075:3:4;1085:1767:2;;;;;;;;;;;;;;;;;890:50:41;1085:1767:2;;;;;;;;;;;;;;;;;;598:32:40;1085:1767:2;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1533:18:31;;;;;:::i;:::-;1579:17;;;:::i;:::-;1628:19;;;1085:1767:2;1677:17:31;;;;1085:1767:2;1790:20:31;;;;;;:::i;:::-;1085:1767:2;;;;;;;;;1883:21:31;1879:82;;1085:1767:2;;;2016:25:31;2012:89;;1085:1767:2;2153:14:31;;2149:69;;2286:34;2314:4;2286:34;;:::i;:::-;2423:27;;;;;:::i;:::-;;;2647:19;;3313:9;2647:19;;;;;;2663:3;2647:19;;;2643:403;2663:3;;;2726:17;;;2722:87;;2643:403;2852:10;;2826:60;2852:10;;;2826:60;;:::i;:::-;;3313:9;:::i;:::-;3561:76;3389:35;2314:4;3389:35;;:::i;:::-;2314:4;3561:34;2314:4;3561:34;;:::i;:::-;3599:37;3615:1;3599:17;;3615:1;;;3599:37;3561:76;:::i;:::-;3687:26;;;3683:90;;1085:1767:2;1729:21:31;;3865:257;1729:21;;1085:1767:2;;;3865:257:31;:::i;3683:90::-;1085:1767:2;1628:19:31;1085:1767:2;3736:26:31;;;;3599:37;;-1:-1:-1;3599:37:31;3561:76;:::i;2722:87::-;2783:6;;;;:::i;:::-;2722:87;;;;2643:403;3019:11;;;;;:::i;:::-;3313:9;:::i;2419:791::-;3190:9;;;3313;3190;;;3174:25;3190:9;;;3174:25;;:::i;:::-;2419:791;3313:9;:::i;2149:69::-;1085:1767:2;1628:19:31;1085:1767:2;2190:17:31;;;;2012:89;2079:10;;-1:-1:-1;2012:89:31;;1879:82;1085:1767:2;1628:19:31;1085:1767:2;1927:23:31;;;;1085:1767:2;;;;;;;;;;;;;;1363:6:4;1085:1767:2;;;;;;;:::i;:::-;;819:6:39;1085:1767:2;;;;815:60:39;;1560:16:30;;;:::i;:::-;1605:17;;;;;;:::i;:::-;1651:18;;;;;1085:1767:2;1702:16:30;;;1085:1767:2;1814:19:30;;;;;;:::i;:::-;1866:13;;;;;;;:::i;:::-;1932:17;;;;;1928:72;;1085:1767:2;;;;;2055:25:30;2051:89;;1085:1767:2;2218:10:30;2289:24;;;;;:::i;:::-;;;2895:85;2456:19;2932;2456;2472:3;2456:19;;2452:180;;2285:559;;2932:19;:::i;:::-;2895:85;:::i;:::-;3030:29;;;3026:93;;774:42:22;1085:1767:2;;;3181:45:30;3177:132;;2285:559;1754:20;3388:138;1754:20;;;;;1085:1767:2;1754:20:30;;1085:1767:2;;;3388:138:30;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;3177:132:30;3269:4;;;;;;1085:1767:2;3269:29:30;;;;;;-1:-1:-1;1085:1767:2;;3269:29:30;;1085:1767:2;3269:29:30;;;;;;;1085:1767:2;3269:29:30;;1085:1767:2;;;;;;;;3269:29:30;;;;;;;;;1085:1767:2;3269:29:30;3388:138;3269:29;1754:20;3269:29;;;3177:132;;;;;;;;;;;;;3269:29;;;;;;:::i;:::-;;;;3026:93;1085:1767:2;;;3082:26:30;;;;2452:180;2535:17;;;2531:87;;2452:180;;;;;2531:87;2592:6;;;:::i;:::-;2531:87;;;;;2285:559;-1:-1:-1;2707:4:30;1085:1767:2;;;-1:-1:-1;2707:33:30;;;;;-1:-1:-1;1085:1767:2;;;;;2707:33:30;;;;1085:1767:2;2707:33:30;;;;;;;;;2895:85;2707:33;;;2285:559;2828:4;2932:19;2828:4;2285:559;2932:19;:::i;2707:33::-;;;;;;:::i;:::-;;;;2051:89;2118:10;;-1:-1:-1;2051:89:30;;1928:72;1085:1767:2;;;1972:17:30;;;;1085:1767:2;;;;;;;;;;;;;;;1992:44:4;1085:1767:2;;;;;;;;;;;;;;;;;;1185:4:4;1085:1767:2;;;;;;;;;;;;;;;;;1244:4:4;1085:1767:2;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1505:16:33;;;:::i;:::-;1550:17;;;;;;:::i;:::-;1599:18;;;;;;1085:1767:2;1647:16:33;;;;1085:1767:2;1758:19:33;;;;;;:::i;:::-;1810:13;;;;;;;:::i;:::-;1876:14;;;;;1872:69;;1085:1767:2;;;;;1996:25:33;1992:89;;1085:1767:2;2206:27:33;;;;:::i;:::-;:32;;;;2295:1019;;;2388:4;;;;;1085:1767:2;2413:4:33;2381:38;2413:4;2381:38;;:::i;:::-;2478:36;;;;;;1085:1767:2;;;2478:36:33;;-1:-1:-1;2478:36:33;1085:1767:2;2478:36:33;;;;;;;;;;;2295:1019;2564:15;2295:1019;;1085:1767:2;;;;;;;3386:21:33;;;;3382:82;;3551:5;;;;;;:::i;:::-;774:42:22;;3620:45:33;;774:42:22;;3744:4:33;;1085:1767:2;3732:16:33;;;3728:85;;3880:38;3912:4;3880:38;;:::i;:::-;3992:26;;;;3988:81;;3616:782;4109:29;;;;;1085:1767:2;;;4109:29:33;;1085:1767:2;4109:29:33;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;4109:29:33;;;;;;;;3616:782;4230:21;;3616:782;;4471:34;4499:4;4471:34;;:::i;:::-;4555:26;;;4551:90;;4727:891;;;4829:21;4964:57;4829:21;;4983:37;4999:1;4983:17;;:37;4999:1;;;4983:37;4964:57;:::i;:::-;4999:1;5085:19;;5081:92;;4983:37;5186:25;;5710:257;5186:25;;;;1698:20;5333:75;1085:1767:2;5186:25:33;;;;5333:21;;5358:49;4999:1;5358:23;;:49;4999:1;;;5358:49;5333:75;:::i;:::-;4727:891;;1698:20;1085:1767:2;;;5710:257:33;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5081:92:33;5124:4;;;;;;;;;5138:19;5124:4;;1085:1767:2;5138:19:33;;:::i;:::-;5124:34;;;;;;1085:1767:2;;;5124:34:33;;1085:1767:2;5124:34:33;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5124:34:33;;;;;;;5333:75;5710:257;5124:34;1698:20;5124:34;1085:1767:2;5124:34:33;;;5081:92;;;;;;;;;;;;;;;;5124:34;;;;;;:::i;:::-;;;;4727:891;5569:37;;;1698:20;5550:57;5710:257;5569:37;;;;1085:1767:2;5569:37:33;;;;5585:1;5569:17;;:37;5585:1;;;5569:37;5550:57;:::i;:::-;4727:891;;;4551:90;1085:1767:2;;;4604:26:33;;;;4109:29;;;;;;:::i;:::-;;;;3988:81;4038:16;;;;:::i;:::-;3988:81;;;3728:85;1085:1767:2;;;3775:23:33;;;;3616:782;4381:4;4352:35;4381:4;4352:35;;:::i;:::-;3616:782;;;3382:82;1085:1767:2;;;3430:23:33;;;;2478:36;;;;;;:::i;:::-;;;;2295:1019;2671:34;2699:4;;;;;2671:34;;:::i;:::-;2895:19;;2911:3;2895:19;;2911:3;;;2974:17;;2970:87;;2891:413;2699:4;;3074:65;2699:4;;3100:10;3074:65;;:::i;:::-;;2295:1019;;2970:87;3031:6;;;;:::i;:::-;2970:87;;;;2891:413;2699:4;;3277:11;2699:4;;3277:11;;:::i;:::-;2295:1019;;1992:89;2059:10;;-1:-1:-1;1992:89:33;;1085:1767:2;;;;;;;;;;;;;;1513:55:42;1085:1767:2;;;;;;;;;;;;;;;;;;443:27:43;1085:1767:2;;;;;;;;;;;;;;;;;;772:55:41;1085:1767:2;;;;;;;;;;;;;;;;;;978:47:37;1085:1767:2;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;;1758:21:32;;;;1085:1767:2;1635:38:32;1655:3482:37;1635:38:32;;;;1085:1767:2;1655:3482:37;:::i;:::-;1815:149:32;;;;;1085:1767:2;;;;;;;;;;2037:21:32;2033:82;;2167:14;;2163:69;;1085:1767:2;;2287:25:32;2283:89;;1085:1767:2;2440:34:32;2468:4;2440:34;;:::i;:::-;2525:27;;;;;:::i;:::-;;;3565:4;;2749:19;;;;;2765:3;2749:19;;2765:3;;;2828:17;;2824:87;;2745:413;2468:4;;2928:65;2468:4;;2954:10;2928:65;;:::i;:::-;;2745:413;3213:138;;3565:4;:::i;:::-;3808:76;3636:35;2468:4;3636:35;;:::i;3808:76::-;3934:26;;;3930:90;;1085:1767:2;1564:25:32;;4112:257;1564:25;;1085:1767:2;;;4112:257:32;:::i;3213:138::-;3304:32;3321:14;;1085:1767:2;3304:32:32;;:::i;:::-;3565:4;:::i;2824:87::-;2885:6;;;;:::i;:::-;2824:87;;;;2745:413;2468:4;;3131:11;2468:4;;3131:11;;:::i;:::-;2745:413;;2521:994;3495:9;;;;;3479:25;3565:4;3495:9;;3479:25;;:::i;:::-;2521:994;3565:4;:::i;2283:89::-;2350:10;;-1:-1:-1;2283:89:32;;1085:1767:2;;;;:::i;:::-;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;;1725:21:26;;;;1085:1767:2;1602:38:26;1655:3482:37;1602:38:26;;;;1085:1767:2;1655:3482:37;:::i;:::-;1782:149:26;;;;;;1984:17;;;1980:72;;1085:1767:2;;;;2107:25:26;2103:89;;1085:1767:2;3119:4:26;2242:24;;;;;;;;;:::i;:::-;:29;2238:831;;1085:1767:2;3119:4:26;;;;;;:::i;:::-;3188:35;3217:4;3188:35;;:::i;:::-;3273:29;;;3269:93;;1085:1767:2;1531:25:26;;3441:133;1531:25;;1085:1767:2;;;3441:133:26;:::i;2238:831::-;2479:3;2463:19;;2479:3;;;2542:17;2642:62;2542:17;2538:87;;2459:407;2688:4;;;2668:10;2642:62;;:::i;:::-;;2459:407;2921:138;;2459:407;2238:831;;;;;;2921:138;3012:32;3029:14;;;1085:1767:2;3012:32:26;;:::i;:::-;2921:138;;;2538:87;2599:6;;;;:::i;:::-;2538:87;;;;2459:407;2842:8;2835:4;;2842:8;;:::i;:::-;2459:407;;2103:89;2170:10;;-1:-1:-1;2103:89:26;;1085:1767:2;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1656:22:24;1085:1767:2;;;;;;;;;:::i;:::-;;;;;1656:22:24;;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;819:6:39;1085:1767:2;;;;815:60:39;;1671:20:28;;:::i;:::-;1720:21;;;:::i;:::-;1085:1767:2;1770:22:28;1085:1767:2;;1825:20:28;1085:1767:2;1945:23:28;;;:::i;:::-;2070;;;:::i;:::-;1085:1767:2;;;2197:17:28;;2193:72;;1085:1767:2;;;;;2320:25:28;2316:89;;1085:1767:2;2755:262:28;;819:6:39;2755:262:28;;;;4214:11;2755:262;;;;;;;1085:1767:2;2755:262:28;;;;;;;;3119:24;;;;;:::i;:::-;;;3340:19;3356:3;3340:19;;3356:3;;;3419:17;;3415:87;;3336:407;3565:4;;3519:62;3565:4;;3545:10;3519:62;;:::i;:::-;;3336:407;3800:112;;3336:407;3115:997;;;2025:13;1085:1767:2;;;2755:262:28;1990:13;1085:1767:2;2755:262:28;;;;4214:11;;:::i;:::-;4298:13;819:6:39;;4398:4:28;;1085:1767:2;4484:18:28;4391:38;4423:4;4391:38;;:::i;4484:18::-;4470:33;;;;;;2025:13;1085:1767:2;;4470:33:28;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;4470:33:28;;;;;;;;;;4294:468;4595:21;;4294:468;;4811:29;;4807:93;;1085:1767:2;4979:133:28;1881:24;1085:1767:2;;;;;;;;4979:133:28;:::i;4470:33::-;;;;;;:::i;:::-;;;;4294:468;4716:35;4745:4;4716:35;;:::i;:::-;4294:468;;;3800:112;3888:8;;;:::i;:::-;3800:112;;;;3415:87;3476:6;;;;:::i;:::-;3415:87;;;;3336:407;3712:4;;3719:8;3712:4;;3719:8;;:::i;:::-;3336:407;;3115:997;3986:116;;;;;;3115:997;3986:116;4078:8;4064:4;;;1085:1767:2;4078:8:28;:::i;:::-;3115:997;;2316:89;2383:10;;-1:-1:-1;2316:89:28;;2193:72;1085:1767:2;2025:13:28;1085:1767:2;2237:17:28;;;;1085:1767:2;;;;:::i;:::-;;;;819:6:39;1085:1767:2;;;;;;;815:60:39;;1508:18:25;;;;;:::i;:::-;1554:17;;;;:::i;:::-;1600:19;;;;1085:1767:2;1652:17:25;;;;1085:1767:2;1766:20:25;;;;;;:::i;:::-;1085:1767:2;;;;;;1842:25:25;1838:89;;1085:1767:2;1979:17:25;;1975:72;;2097:24;;2810:8;2097:24;;;;;;:::i;:::-;:29;2093:628;;1085:1767:2;2810:8:25;;;;;;:::i;:::-;2883:35;2912:4;2883:35;;:::i;:::-;2968:29;;;2964:93;;1085:1767:2;1705:21:25;;3136:133;1705:21;;1085:1767:2;;;3136:133:25;:::i;2093:628::-;2334:3;2318:19;;2334:3;;;2397:17;2497:57;2397:17;2393:87;;2314:397;2523:10;;;2497:57;;:::i;:::-;;2314:397;2093:628;;;;;;;2393:87;2454:6;;;;:::i;:::-;2393:87;;;;2314:397;2687:8;;;;;:::i;:::-;2314:397;;1838:89;1905:10;;-1:-1:-1;1838:89:25;;1085:1767:2;;;;;;;;;;;;;843:40:35;1085:1767:2;;;;;;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1469:16:29;;;:::i;:::-;1514:17;;;;;;:::i;:::-;1560:18;;;;;;1085:1767:2;1611:16:29;;;;1085:1767:2;1723:19:29;;;;;;:::i;:::-;1775:13;;;;;;;:::i;:::-;1843:10;;1906:17;;;1902:72;;1085:1767:2;;;;;;;;;;;;2029:25:29;2025:89;;1085:1767:2;2174:24:29;;;;:::i;:::-;;;2877:6;2341:19;2357:3;2341:19;;2337:180;;2170:608;2877:6;:::i;:::-;1085:1767:2;;;774:42:22;2947:45:29;774:42:22;;3069:4:29;;1085:1767:2;3155:18:29;3062:38;3094:4;3062:38;;:::i;3155:18::-;3141:33;;;;;;1085:1767:2;;;3141:33:29;;1085:1767:2;3141:33:29;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;3141:33:29;;;;;;;;2943:491;3266:21;;2943:491;;3483:29;;3479:93;;1663:20;1085:1767:2;1663:20:29;;;;3651:133;1663:20;;;1085:1767:2;;;3651:133:29;:::i;3141:33::-;;;;;;:::i;:::-;;;;2943:491;3388:35;3417:4;3388:35;;:::i;:::-;2943:491;;;2337:180;2420:17;2416:87;2337:180;2416:87;2477:6;;;;;:::i;2170:608::-;-1:-1:-1;2592:4:29;1085:1767:2;;;2592:4:29;-1:-1:-1;2592:33:29;;;;;1085:1767:2;;2592:33:29;1085:1767:2;2592:33:29;;-1:-1:-1;2592:33:29;1085:1767:2;2592:33:29;;;;;;;;;;2877:6;2592:33;;;2170:608;2675:15;2762:4;2170:608;2877:6;:::i;2592:33::-;;;;;;:::i;:::-;;;;2025:89;1843:10;;-1:-1:-1;2025:89:29;;1902:72;1085:1767:2;;;1946:17:29;;;;1085:1767:2;;;;;;;;;;;;;;1437:2:4;1085:1767:2;;;;;;;;;;;;;;;;722:32:35;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;3354:2321:42;2920:25;3354:2321;;3192:3;3177:18;;3354:2321;;;;;;;;;;;1085:1767:2;3354:2321:42;;;;2991:30;3354:2321;;;;;;;;;;;;;;;;;;1085:1767:2;6046:17:42;;:31;;;1085:1767:2;6042:6304:42;;;-1:-1:-1;6407:100:42;;-1:-1:-1;;;6445:16:42;;-1:-1:-1;;;6464:13:42;;;;:::i;:::-;6445:48;;6226:119;;6407:100;;:::i;6445:48::-;6480:13;;;;:::i;:::-;6445:48;;;6042:6304;6598:5738;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;1085:1767:2;6598:5738:42;;-1:-1:-1;6598:5738:42;;;;6042:6304;6598:5738;;-1:-1:-1;6598:5738:42;;;;6042:6304;6598:5738;;;;;;;;;;;;;;;-1:-1:-1;6598:5738:42;;;-1:-1:-1;;;;6598:5738:42;;;;;;;;3354:2321;6598:5738;;;;;;;;;;;;3056:7;;6598:5738;;;;;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;;;;-1:-1:-1;6598:5738:42;1085:1767:2;6598:5738:42;;;;;;;;;3354:2321;1085:1767:2;6598:5738:42;;;1085:1767:2;6598:5738:42;;;;;;;;;;;;;;;;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;;;-1:-1:-1;6598:5738:42;;;;;3354:2321;-1:-1:-1;6598:5738:42;;;;;;;;;;;;;;;;;;;1085:1767:2;6598:5738:42;;;-1:-1:-1;6598:5738:42;;1085:1767:2;6598:5738:42;;3354:2321;6598:5738;;;;1085:1767:2;6598:5738:42;;;;;;;;;;;;;;;;;;;;1085:1767:2;6598:5738:42;;;;;;;;;;;-1:-1:-1;1085:1767:2;6598:5738:42;;;;;-1:-1:-1;6598:5738:42;;;;6046:31;6067:10;;;6046:31;;3354:2321;;;-1:-1:-1;3354:2321:42;-1:-1:-1;3354:2321:42;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;;;;;;;;36568:152:4;1085:1767:2;;36568:152:4;;;;1085:1767:2;;36568:152:4;1085:1767:2;;;;;;1673:20:27;1085:1767:2;;;;:::i;:::-;;:::o;:::-;1722:21:27;1085:1767:2;;;;:::i;:::-;1671:20:28;1085:1767:2;;;;:::i;:::-;1720:21:28;1085:1767:2;;;;:::i;:::-;;;;;:::i;:::-;1947:23:27;1085:1767:2;;;;:::i;:::-;1945:23:28;1085:1767:2;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;1229:6576:34:-;;1601:16;;;:::i;:::-;1646:17;;;;;;:::i;:::-;1854:19;;;;;;:::i;:::-;1906:13;;;;;;;:::i;:::-;1743:16;;;;1085:1767:2;1972:14:34;1968:69;;1085:1767:2;;;2092:25:34;2088:89;;1229:6576;2255:10;2329:27;1695:18;;;1085:1767:2;2329:27:34;;:::i;:::-;:32;;2571:21;-1:-1:-1;2649:1362:34;;;;;;2742:4;;;;1085:1767:2;2742:4:34;1085:1767:2;2767:4:34;2735:38;2767:4;2735:38;;:::i;:::-;2832:36;;;;;;1695:18;-1:-1:-1;1085:1767:2;2832:36:34;1085:1767:2;;2832:36:34;;;;1085:1767:2;2832:36:34;;1695:18;1085:1767:2;2832:36:34;;;;;;;;;2649:1362;2767:4;;3011:15;2649:1362;;1085:1767:2;;;;;;4083:21:34;4079:82;;1743:16;;4239:82;1743:16;4278:21;4279:20;1743:16;;;1085:1767:2;4279:20:34;:::i;:::-;4278:21;:::i;:::-;4239:82;:::i;:::-;4195:126;;;1743:16;;;;1085:1767:2;4371:26:34;;4367:90;;774:42:22;1085:1767:2;;;;;4519:45:34;4515:277;;2649:1362;1085:1767:2;;4944:4:34;4921:28;4944:4;;-1:-1:-1;;5042:1537:34;;;5152:21;;;;5325:4;5318:80;1085:1767:2;5325:4:34;1085:1767:2;4944:4:34;5318:38;4944:4;5318:38;;:::i;:80::-;5470:19;5376:1;5470:19;;5466:348;;5360:37;5870:25;6675:293;5870:25;;5042:1537;1085:1767:2;1695:18:34;1794:20;;;1085:1767:2;1695:18:34;;1085:1767:2;;;6675:293:34;:::i;:::-;6668:300;;;;;;:::o;5466:348::-;5562:19;;;;;:::i;:::-;5548:34;;;;;;1695:18;1085:1767:2;;5548:34:34;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5548:34:34;;;;;;;6675:293;5548:34;5720:75;5548:34;;;5466:348;-1:-1:-1;5720:21:34;;5376:1;5745:23;;5376:1;;;5745:49;5720:75;:::i;:::-;5466:348;;;;5548:34;;;;;;:::i;:::-;;;;5042:1537;6675:293;;2465:17;;-1:-1:-1;1743:16:34;-1:-1:-1;1743:16:34;;;4944:4;6260:76;4944:4;6260:34;4944:4;6260:34;;:::i;:76::-;6041:524;5042:1537;;6041:524;6521:25;1695:18;;;;;1085:1767:2;6521:25:34;:::i;4917:2882::-;2465:17;;;;;;7494:294;2465:17;;1743:16;-1:-1:-1;7113:235:34;;4917:2882;1794:20;1085:1767:2;1695:18:34;1794:20;;;1085:1767:2;1695:18:34;;1085:1767:2;;;7494:294:34;:::i;7113:235::-;7296:37;2255:10;;;7233:31;2255:10;7233:31;;:::i;:::-;7296:37;;:::i;:::-;7113:235;;;;4515:277;1085:1767:2;4643:4:34;1085:1767:2;;;;;4631:16:34;4627:85;;4752:29;;;;;-1:-1:-1;1695:18:34;1085:1767:2;4752:29:34;;1085:1767:2;4752:29:34;;;;;;;;;;1085:1767:2;;;;;;;;4752:29:34;;;;;;;;;;;4515:277;;;;4752:29;;;;;;:::i;:::-;;;;2832:36;;;;;;:::i;:::-;;;;2649:1362;3118:34;3146:4;;;;;;;;;3118:34;;:::i;:::-;3342:19;3358:3;3342:19;;3358:3;;;3421:17;3417:87;;3338:663;2465:17;;1743:16;2465:17;;3621:115;2649:1362;3621:115;2255:10;;3686:31;2255:10;3686:31;;:::i;:::-;3621:115;2649:1362;;3417:87;3478:6;;;;:::i;:::-;3417:87;;;;3338:663;1695:18;3873:11;1695:18;;;;;;1085:1767:2;3146:4:34;;3873:11;;:::i;:::-;3146:4;3338:663;2649:1362;;2088:89;2155:10;;-1:-1:-1;2088:89:34;;1085:1767:2;;;;;;;;:::o;780:112:39:-;;;;;1085:1767:2;819:6:39;1085:1767:2;;;;815:60:39;;1411:6290:24;;;:::i;1085:1767:2:-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;1411:6290:24;;;;;;1752:16;;;;;:::i;:::-;1085:1767:2;;;1889:13:24;;;;1085:1767:2;1941:25:24;;;;;;;:::i;:::-;2253:207;;1085:1767:2;;;;;;2515:25:24;2511:89;;1411:6290;2652:13;;2648:68;;2772:17;;2768:76;;1845:15;2950:16;;;;;;3128:9;;3121:34;3128:26;;:9;;;;:::i;:::-;:26;;:::i;:::-;1085:1767:2;;;;3121:34:24;3191:9;3184:34;3191:26;:9;;;;;:::i;3184:34::-;1085:1767:2;2253:207:24;1085:1767:2;;;2253:207:24;3279:9;;;;;;3353;3349:79;;2253:207;;3618:19;;;3634:3;3618:19;;3634:3;;;3697:17;;3693:87;;3614:411;3843:4;;3797:64;3843:4;;3823:10;3797:64;;:::i;:::-;;3614:411;2253:207;;;;;4315:124;;3275:1030;2253:207;;;;;-1:-1:-1;;2253:207:24;4636:9;2253:207;;4721:12;;;1085:1767:2;4721:76:24;;;;;;;1085:1767:2;;1845:15:24;1085:1767:2;;;;4721:76:24;;;;;;;1085:1767:2;4721:76:24;;4791:4;4721:76;;;;;:::i;:::-;;;;;;;;;;;4632:1283;4880:4;;;1085:1767:2;4791:4:24;4873:38;4791:4;4873:38;;:::i;:::-;4976:25;;;4972:105;;5139:16;;;:::i;:::-;5125:31;;;;;;1085:1767:2;;5125:31:24;;4721:76;5125:31;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5125:31:24;;;;;;;5221:56;5125:31;;;;;4632:1283;1085:1767:2;;5221:56:24;:::i;:::-;;5982:35;;:::o;5125:31::-;;;;;;:::i;:::-;;;;4972:105;4721:76;1085:1767:2;;5032:26:24;;;;4721:76;;;;;;:::i;:::-;;;;4632:1283;1085:1767:2;;;;;;;;5400:33:24;;;;;:::i;:::-;5507:12;;1085:1767:2;5507:74:24;;;;;1845:15;1085:1767:2;;;;5507:74:24;1085:1767:2;;5507:74:24;;;;;;;1085:1767:2;5507:74:24;;;;;;:::i;:::-;;;;;;;;;;5686:49;5507:74;5686:33;5507:74;;;4632:1283;5686:33;;:::i;:::-;:49;:::i;:::-;5800:25;;;5796:105;;4632:1283;5982:35;;:::o;5796:105::-;5507:74;1085:1767:2;;5856:26:24;;;;5507:74;;;;;;:::i;:::-;;;;4532:3163;6123:9;;;;;;;;;2253:207;6123:9;6119:760;2253:207;;;6208:12;;1085:1767:2;6208:74:24;;;;;;1085:1767:2;1845:15:24;1085:1767:2;;;;6208:74:24;;;;;;;1085:1767:2;6208:74:24;;6276:4;6208:74;;;;;:::i;:::-;;;;;;;;;;;6119:760;6372:4;;;1085:1767:2;6276:4:24;6466:16;6365:38;6276:4;6365:38;;:::i;:::-;6466:16;:::i;:::-;6452:31;;;;;;1845:15;1085:1767:2;;6452:31:24;;1085:1767:2;6452:31:24;;;;;;;6208:74;6452:31;;1085:1767:2;;;;;;;;6452:31:24;;;;;;;;;6548:56;6452:31;;;;;;;1085:1767:2;;6548:56:24;:::i;:::-;;6119:760;;6957:34;6985:4;6957:34;;:::i;:::-;7063:19;2253:207;7063:19;;7059:511;;6119:760;7645:28;;;;;;;:::i;:::-;7637:47;;:::o;7059:511::-;7141:415;;;;;;7213:4;7227:17;7213:4;;1085:1767:2;7227:17:24;;:::i;:::-;7213:32;;;;;;1085:1767:2;;7213:32:24;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;7213:32:24;;;;;;;7645:28;7213:32;;;7141:415;7345:10;7317:56;7345:10;;7317:56;:::i;:::-;;7141:415;7059:511;;;;;7213:32;;;;;;:::i;:::-;;;;7141:415;7519:17;;;7485:52;7519:17;7645:28;7519:17;;:::i;:::-;7507:10;;;7485:52;;:::i;:::-;;7141:415;;6208:74;;;;;;:::i;:::-;;;;6119:760;6792:12;;;;;;1085:1767:2;6792:72:24;;;;;1845:15;1085:1767:2;;;;6792:72:24;1085:1767:2;;6792:72:24;;;;;;;1085:1767:2;6792:72:24;;;;;;:::i;:::-;;;;;;;;;;;6119:760;;;;6792:72;;;;;;:::i;:::-;;;;4315:124;4406:21;4414:12;;1085:1767:2;4406:21:24;;:::i;:::-;4315:124;;3693:87;3754:6;;;;:::i;:::-;3693:87;;;;3614:411;3992:4;;3999:10;3992:4;;3999:10;;:::i;:::-;3614:411;;3349:79;3393:20;1085:1767:2;;3393:20:24;;;;3275:1030;4130:9;;;4116:23;;4112:89;;4259:4;;1085:1767:2;4259:35:24;;;;;;1845:15;1085:1767:2;;;4259:35:24;1085:1767:2;;4259:35:24;;;;1085:1767:2;4259:35:24;;;;;;;;;2253:207;4259:35;;;3275:1030;;;;4259:35;;;;;;:::i;:::-;;;;4112:89;4166:20;1085:1767:2;;4166:20:24;;;;2968:3;3007:9;:28;:9;;;;;;:::i;:::-;1085:1767:2;3007:28:24;:::i;:::-;1085:1767:2;2935:13:24;;2768:76;2812:21;1085:1767:2;;2812:21:24;;;;2511:89;2578:10;;-1:-1:-1;2511:89:24;;2604:246:2;2674:10;2750:94;;;;2604:246::o;1418:1133:44:-;1748:7;-1:-1:-1;1748:7:44;;-1:-1:-1;809:45:46;;;;1085:1767:2;809:45:46;-1:-1:-1;809:45:46;;1085:1767:2;1828:19:44;;1824:86;;-1:-1:-1;2008:537:44;;;;;;;;;;;;-1:-1:-1;2008:537:44;;;;;;-1:-1:-1;2008:537:44;;;-1:-1:-1;2008:537:44;1824:86;1870:29;809:45:46;1085:1767:2;1870:29:44;;;;5398:1256:22;;;1085:1767:2;5549:1068:22;;;;;;;;5398:1256;5549:1068;;;;5398:1256::o;5549:1068::-;;;;5398:1256::o;5549:1068::-;;1085:1767:2;5549:1068:22;;1085:1767:2;5549:1068:22;;;;;;;;;;;;;;1275:1935;;1393:1811;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1275:1935;1393:1811;;;;;;1275:1935::o;1393:1811::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1200:1136:40;;1401:929;1200:1136;1401:929;1200:1136;;;1401:929;;;;;;;;;;;;;;;;;;;;;;;;;1328:7;;;1401:929;;;;;1200:1136::o;1401:929::-;;;;;;;3474:1685:22;;3600:1553;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3474:1685::o;3600:1553::-;;;;;;;;;;;;;;;;;;;;;;3474:1685::o;8759:1381::-;;;;;9009:1125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8759:1381;9009:1125;;;;;8759:1381;:::o;9009:1125::-;;;;;;;;;;-1:-1:-1;9009:1125:22;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360:27;;;;;5571:5029;;;;;;;;5246:5360;5571:5029;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360::o;5571:5029::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5571:5029:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360::o;5571:5029::-;;;;;;;;;;;;;1085:1767:2;5500:4:27;1085:1767:2;5571:5029:27;;;;;;;;;;;10409:855:22;1085:1767:2;;10409:855:22;10568:690;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10409:855::o;10568:690::-;;;-1:-1:-1;10409:855:22:o;10568:690::-;;;-1:-1:-1;;10409:855:22:o;1085:1767:2:-;;1437:2:4;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;:::o;1731:7:4:-;;;1126:3;1731:7;;1126:3;1731:7;;;;;:::o;:::-;;1185:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;1244:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;1023:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;3155:7453::-;;;;;;3622:37;1085:1767:2;3622:37:4;36356:370;36568:152;;;;;;36356:370;;3622:37;3944:50;;;;;:::i;:::-;3927:67;;3923:461;;3155:7453;4457:24;;;;:::i;:::-;1085:1767:2;;;;4533:4823:4;;3155:7453;-1:-1:-1;;9628:11:4;;;-1:-1:-1;9628:11:4;;9784:28;;;1085:1767:2;;;;;;;;;;;;9784:28:4;1794:7;1085:1767:2;;;1794:7:4;9784:28;9780:266;;10189:15;;;;;10273:42;10189:15;10337:19;10189:15;;;:::i;:::-;10273:42;1607:7;10296:9;1607:7;1085:1767:2;;;;10273:42:4;;;:::i;:::-;;10337:19;:::i;:::-;10329:40;;1085:1767:2;10329:40:4;:::o;9780:266::-;9965:14;;10006:18;9965:14;;;;;;;;:::i;10006:18::-;9998:33;1085:1767:2;9998:33:4;1085:1767:2;9998:33:4;:::o;4533:4823::-;1794:7;4649:32;;;;;;;;;:37;;;;4766:28;;;;1085:1767:2;;;;;;;;;;;;4766:28:4;4974:31;;;;4533:4823;4970:269;;1671:7;5329:33;;:38;;5471:31;;;;:::i;:::-;5520:14;;;;;5664:22;;;;;6046:312;5664:22;5800:31;5801:20;6546:16;5664:22;;;5942:21;5664:22;;;;;;;6507:12;5664:22;;:::i;:::-;5647:39;;:81;;;5689:22;;;:::i;:::-;5801:20;:::i;:::-;4276:6;1731:7;;;;5800:31;5868:27;5867:38;5868:27;;;:::i;5867:38::-;5942:21;;;;;:::i;:::-;6046:312;;;;:::i;:::-;6507:12;;;;:::i;6546:16::-;6538:60;;;:::o;5647:81::-;;;;5801:20;:::i;5516:3830::-;6699:26;;;;;;;;1851:7;6699:26;;;;;;;:31;;6695:2651;1851:7;;;6754:11;;6750:991;;6695:2651;;;;;4533:4823;;;;;6750:991;6905:33;;;;;7670:16;6905:33;;;;7627:12;6905:33;7122:348;6905:33;6988:43;6904:44;6989:32;6905:33;;;;:::i;6904:44::-;6989:32;;;;:::i;6988:43::-;7122:348;;;;:::i;6695:2651::-;7845:30;;;;1912:7;7845:30;;7841:1505;;6695:2651;;;;;;;;7841:1505;7904:11;7900:1432;7841:1505;7900:1432;8048:32;;;;;;;;;1607:7;8047:43;8048:32;8130:26;8048:32;;;;;:::i;8047:43::-;8130:26;;;;;:::i;:::-;8297:30;;8293:240;;7900:1432;8713:348;9218:12;8713:348;;;;;;9261:16;8713:348;;;;;:::i;8293:240::-;1085:1767:2;;-1:-1:-1;8506:4:4;;-1:-1:-1;8293:240:4;;4970:269;5158:14;;;;;;;;;;;;;5199:18;5158:14;;;:::i;4974:31::-;;;;;3923:461;4020:29;;;;;;:::i;:::-;4163;1731:7;4163:29;;4159:215;3923:461;4159:215;4242:30;4241:41;4242:30;;;:::i;4241:41::-;4310:49;:23;;;;;;:49;;4159:215;3923:461;;4310:49;;;;;10954:139:1;11033:8;11028:13;;;11024:36;;10954:139;:::o;11024:36::-;11614:191;;;;;;22964:8034:42;;;;;23396:7542;;;;;;;;;;22964:8034;23396:7542;;;;;;;;;23228:25;;;;;;23396:7542;;;;;;;;;;;;;;;;;;23299:30;23396:7542;;;;;;;;;;;;;;;22964:8034;23396:7542;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30968:22;23396:7542;;;;;;;;;;30968:22;:::i;23396:7542::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30968:22;23396:7542;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23396:7542:42;;;;;-1:-1:-1;23396:7542:42;;;;-1:-1:-1;23396:7542:42;;;;29008:7129:4;;;;;;;;;;;1085:1767:2;29571:25:4;29690:37;29571:25;;;;:::i;:::-;29690:37;36356:370;36568:152;;;;;;36356:370;;29690:37;29809:26;;;;29805:85;;30059:49;;;;;:::i;:::-;30044:64;;30040:455;;29008:7129;1085:1767:2;;;30546:4909:4;;29008:7129;35537:51;;;;;;;;;;;:::i;:::-;;35727:11;35723:340;;29008:7129;36080:21;;;;:::i;:::-;36072:58;;;1085:1767:2;29008:7129:4;:::o;35723:340::-;35824:27;;;;;1085:1767:2;;;;;;;;;;;;35824:27:4;35820:108;;36080:21;1607:7;35995:57;1607:7;;;35995:57;1607:7;36033:9;1607:7;1085:1767:2;;;;35995:57:4;36021:10;;35995:57;;:::i;:::-;;35723:340;;;35820:108;-1:-1:-1;35871:42:4;;-1:-1:-1;1085:1767:2;;;;35871:42:4:o;30546:4909::-;1794:7;30662:32;;;;;;;;;;;;;:37;;;;30779:27;;;;1085:1767:2;;;;;;;;;;;;30779:27:4;30941:31;;;;30546:4909;30937:261;;1671:7;31288:33;;:38;;31430:31;;;;:::i;:::-;31479:14;;;;;31593:55;;;31721:20;31593:55;:26;;;:55;:26;;;:55;;31721:20;:::i;:::-;4276:6;1731:7;;31788:27;;;;:::i;:::-;4276:6;1731:7;;31862:21;;;;;:::i;:::-;32048:10;;;;31969:349;;;:::i;:::-;:363;;;;:::i;:::-;32430:51;;;;:::i;:::-;;32499:76;;;;:::o;31475:3970::-;32676:26;;;;;;;;;;;;;;;;-1:-1:-1;32676:26:4;;-1:-1:-1;1851:7:4;32676:26;;:31;1851:7;;32731:11;32727:1052;;32672:2773;;;;;;35537:51;32672:2773;;;;;30546:4909;;;;;;;;32727:1052;32882:33;;;;;;;;;;;;;;:::i;:::-;4276:6;1731:7;;32966:32;;;;;:::i;:::-;4276:6;1731:7;;33189:10;;;;33102:389;;;:::i;32672:2773::-;33883:30;1912:7;33883:30;;;;;;;;;33879:1566;;32672:2773;;;;;;;;35537:51;32672:2773;;;;33879:1566;33942:11;;;;;;;;;;33938:1493;;33879:1566;;;;;;;;33938:1493;34086:32;;;;;;;;;;1607:7;34085:43;34168:26;34086:32;;;;:::i;34085:43::-;34168:26;;;;;:::i;:::-;34335:30;;34331:240;;33938:1493;34841:10;;35263:51;34841:10;;;;;34754:389;34841:10;;34754:403;34841:10;;;34754:389;;:::i;:::-;:403;:::i;:::-;35263:51;;:::i;34331:240::-;1085:1767:2;;-1:-1:-1;34544:4:4;;-1:-1:-1;34331:240:4;;30937:261;31072:51;;;;;;;;;;;;;;;:::i;:::-;;31141:42;;1085:1767:2;31141:42:4;1085:1767:2;31141:42:4;:::o;30941:31::-;;;;;30040:455;30134:26;;;;;;:::i;:::-;30274:29;1731:7;30274:29;;30270:215;30040:455;30270:215;30353:30;30352:41;30353:30;;;:::i;30352:41::-;30421:49;:23;;;;;;:49;;30270:215;30040:455;;30421:49;;;;;29805:85;29858:21;1085:1767:2;;29858:21:4;;;;19412:8539;;;;;;;;19930:19;;;:59;:19;;;19915:75;19952:19;;;:::i;:::-;19915:75;;:::i;:::-;1085:1767:2;;36568:152:4;;;;;;;20335:26;;;;;20331:85;;20585:49;;;:::i;:::-;20570:64;;20566:455;;19930:59;1085:1767:2;;;21072:5440:4;;19930:59;26630:16;;;;;;26594:53;26630:16;;:::i;:::-;26594:53;;;;:::i;:::-;-1:-1:-1;26912:11:4;;;;27068:27;;;1085:1767:2;;;;;;;;;;;;27068:27:4;27064:283;;27639:26;1607:7;;27591:25;1607:7;27543:74;1607:7;27414:41;1607:7;27414:41;1607:7;27436:9;1607:7;1085:1767:2;;;;27414:41:4;;;:::i;:::-;;27591:25;:::i;:::-;27579:10;;27543:74;;:::i;27064:283::-;27283:26;27229:10;;;27193:64;27229:10;;27193:64;;:::i;27283:26::-;27275:57;;1085:1767:2;27275:57:4;1085:1767:2;27275:57:4;:::o;21072:5440::-;1794:7;21188:32;;:37;;;;21305:27;;;;1085:1767:2;;;;;;;;;;;;21305:27:4;21512:31;;;;21072:5440;21508:438;;1671:7;22036:33;;:38;;22178:31;;;;:::i;:::-;22227:14;;22223:1217;;-1:-1:-1;;;1851:7:4;23521:26;;:31;1851:7;;23576:11;;23572:1158;;23517:2985;;;;;26630:16;26594:53;23517:2985;;21072:5440;;;;;;23572:1158;23727:33;;;;;;;;;;;;:::i;:::-;4276:6;1731:7;;23811:32;;;;;:::i;:::-;4276:6;1731:7;;23943:348;;;;;;:::i;:::-;24419:10;24383:61;;;:::i;:::-;24586:16;;;;:::i;:::-;24550:53;;;;;:::i;:::-;;24633:26;;;:::i;:::-;24625:86;;;;:::o;23517:2985::-;24834:30;;;1912:7;24834:30;;24830:1672;;23517:2985;;;;;;;26630:16;26594:53;23517:2985;;;24830:1672;24893:11;24889:1599;24830:1672;24889:1599;25037:32;;;;;;;;1607:7;25036:43;25037:32;25119:26;25037:32;;;;;;:::i;25036:43::-;25119:26;;;;;:::i;:::-;25286:30;;25282:240;;24889:1599;25701:348;;;26141:61;25701:348;;;26391:26;25701:348;;;;26308:53;25701:348;;26344:16;25701:348;;:::i;26141:61::-;26344:16;;:::i;:::-;26308:53;;;;:::i;25282:240::-;1085:1767:2;;-1:-1:-1;25495:4:4;;-1:-1:-1;25282:240:4;;22223:1217;22341:55;;;;;;;;;22469:20;22341:55;;:26;;;:55;:26;;;:55;22469:20;:::i;:::-;4276:6;1731:7;;22536:27;;;;:::i;:::-;4276:6;1731:7;;22610:21;;;;;:::i;:::-;22713:312;;;;;;:::i;22341:55::-;;;22469:20;:::i;21508:438::-;21677:10;;;;;;;;21882:26;21677:10;;;21641:64;21803:53;21677:10;21839:16;21677:10;;21641:64;;:::i;21839:16::-;21803:53;;;;:::i;21512:31::-;;;;;20566:455;20660:26;;;;;;:::i;:::-;20800:29;1731:7;20800:29;;20796:215;20566:455;20796:215;20879:30;20878:41;20879:30;;;:::i;20878:41::-;20947:49;:23;;;;;;:49;;20796:215;20566:455;;20947:49;;;;;19930:59;19915:75;19930:59;;;1808:1258:38;;;2061:999;1808:1258;;;2061:999;1808:1258;2061:999;1808:1258;2061:999;;;;;;;;;;;;;;;;;;;;;;;;1808:1258::o;2061:999::-;;;;;;;;12589:10305:42;;;;;;13030:9819;;;;;;;;;;;;;;;;;;;22865:22;;;;;;;;;;;;;:::i;13030:9819::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13030:9819:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13030:9819:42;;;12863:25;;;;;;13030:9819;;;;;;;;;;;;;;;;;;;;;;;;12934:30;13030:9819;;;;;;;;;;;;;;;;12863:25;;;;;13030:9819;;;;;;;;;;;;;;;;;;12934:30;13030:9819;;;;;;;;;;;;;;;11220:7108:4;;;;;;11692:37;1085:1767:2;11692:37:4;36356:370;36568:152;;;;;;36356:370;;11692:37;11901:50;;;;;:::i;:::-;11884:67;;11880:461;;11220:7108;12414:24;;;;:::i;:::-;1085:1767:2;;;;12490:4688:4;;11220:7108;-1:-1:-1;;17450:11:4;;;-1:-1:-1;17450:11:4;;17606:28;;;1085:1767:2;;;;;;;;;;;;17606:28:4;17602:232;;17911:52;;;;;;18031:42;17911:52;;:::i;:::-;;18031:42;1607:7;18054:9;1607:7;1085:1767:2;;;;18031:42:4;;18087:36;;1085:1767:2;18087:36:4;:::o;17602:232::-;17721:51;;;;;;;;;:::i;:::-;;17790:29;1085:1767:2;17790:29:4;1085:1767:2;17790:29:4;:::o;12490:4688::-;1794:7;12606:32;;;;;;;;;:37;;;;12723:28;;;;1085:1767:2;;;;;;;;;;;;12723:28:4;12931:31;;;;12490:4688;12927:235;;1671:7;13252:33;;:38;;13394:31;;;;:::i;:::-;13443:14;;;;;13587:22;;;13865:21;13587:22;;;;13723:31;13724:20;14364:49;13587:22;;;;;;;;;13969:312;13587:22;;:::i;13723:31::-;13791:27;13790:38;13791:27;;;:::i;13790:38::-;13865:21;;;;;:::i;:::-;13969:312;;;;:::i;:::-;14364:49;;;;:::i;:::-;;14431:56;;;:::o;13439:3729::-;14588:26;;;;;;;;1851:7;14588:26;;;;;;;:31;;14584:2584;1851:7;;;14643:11;;14639:957;;14584:2584;;;;;12490:4688;;;;;14639:957;14794:33;;;;;;15450:49;14794:33;;;15011:348;14794:33;;;14877:43;14793:44;14794:33;14878:32;14794:33;;:::i;14793:44::-;14878:32;;;;:::i;14877:43::-;15011:348;;;;:::i;14584:2584::-;15700:30;;;;1912:7;15700:30;;15696:1472;;14584:2584;;;;;;;;15696:1472;15759:11;15755:1399;15696:1472;15755:1399;15903:32;;;;;;;;;1607:7;15902:43;15903:32;15985:26;15903:32;;;;;:::i;15985:26::-;16152:30;;16148:240;;15755:1399;16568:348;;;;;;17008:49;16568:348;;;;;:::i;16148:240::-;1085:1767:2;;-1:-1:-1;16361:4:4;;-1:-1:-1;16148:240:4;;12927:235;13049:51;;;;;;;;;;;;;;;;:::i;12931:31::-;;;;;11880:461;11977:29;;;;;;:::i;:::-;12120;1731:7;12120:29;;12116:215;11880:461;12116:215;12199:30;12198:41;12199:30;;;:::i;12198:41::-;12267:49;:23;;;;;;:49;;12116:215;11880:461;;12267:49;;;;;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1622:10048::-;;;;;1772:25;1843:30;1939:9725;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1622:10048;;;;;;;;;:::o;1939:9725::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;-1:-1:-1;1939:9725:41;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1939:9725:41;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1655:3482:37;;;;1969:3102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5080:50;1969:3102;;;;;;;1655:3482;:::o;1969:3102::-;;;-1:-1:-1;1969:3102:37;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1969:3102:37;;;;;;;;;;5185:747;;5370:556;5185:747;;5370:556;;;;;;;;5290:14;5370:556;;;;;5185:747;:::o;5370:556::-;;;;;;;;1818:775:36;1949:638;;;;;1818:775;:::o;1949:638::-;;;;;1818:775::o;1949:638::-;;;;;;;6935:1577:22;7104:1402;6935:1577;;;;;7104:1402;;;;;;;6935:1577::o;7104:1402::-;;;;;;;6935:1577;;;7104:1402;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6935:1577::o;7104:1402::-;;;-1:-1:-1;7104:1402:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366:28;;;;;5667:5997;;;;;;;;;;5304:6366;5667:5997;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;1085:1767:2;5596:4:28;1085:1767:2;5667:5997:28;;;;;;;;;;;;;;646:1087:38;;868:859;646:1087;868:859;646:1087;;;868:859;646:1087;868:859;;;;;;;;;;;;;;;;;;;;646:1087::o;11745:12295:41:-;;;;;;;12201:11833;;;;;;;;;;;;;;;;11745:12295;;;;;;;;;;;:::o;12201:11833::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11992:25;;;;;;;;12201:11833;;;;;;;;;;;;;;;;;;;;12063:30;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12201:11833:41;;11992:25;12201:11833;;;-1:-1:-1;12201:11833:41;;;;;;;;;;;;12063:30;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12128:7;;;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45347:198:4;;1085:1767:2;45499:39:4;45347:198;1085:1767:2;45499:39:4;;:::i;44017:467::-;44166:285;;;;;;;44017:467;:::o;44166:285::-;;;44017:467;:::o;1085:1767:2:-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;39608:1:4;1085:1767:2;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;39810:1:4;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37617:2649:4;;;;;;;;37968:28;;;;:::i;:::-;38010:14;;;;38040:21;;;;;;;;;:::o;38006:2205::-;38096:30;;;;;;;38006:2205;-1:-1:-1;38092:2109:4;;;38387:24;;;;38504:26;;;38500:110;;40233:26;38631:16;;38627:104;;38092:2109;;;;40233:26;:::i;38627:104::-;1085:1767:2;38671:41:4;1085:1767:2;;38671:41:4;;:::i;:::-;;38627:104;;;;;38500:110;38561:30;1085:1767:2;;38561:30:4;;;;38092:2109;38844:26;;;;;;;38840:110;;38967:1220;;;39091:17;40233:26;39091:17;39087:116;;38967:1220;39228:16;;39224:112;;38967:1220;;;40233:26;:::i;39087:116::-;39136:44;1607:7;39136:44;1607:7;39155:9;1607:7;1085:1767:2;;;;39136:44:4;;;:::i;:::-;;39087:116;;;38967:1220;39980:94;1085:1767:2;;;;;39467:9:4;;;1085:1767:2;39440:49:4;;;;;;:::i;:::-;;39700:25;39594:16;;:::i;:::-;39662;;;:::i;:::-;1085:1767:2;;39700:25:4;;;:::i;:::-;1085:1767:2;;;;;;39700:25:4;39747:28;;;:::i;:::-;1085:1767:2;39797:35:4;;1607:7;39608:1;1607:7;1085:1767:2;;;;39797:35:4;;;;:::i;:::-;39854:29;;;:::i;:::-;1085:1767:2;;;:::i;:::-;;;;;;39980:94:4;;;1085:1767:2;;39980:94:4;;;;1085:1767:2;40137:31:4;;;;;;38023:1;1085:1767:2;;;;39980:94:4;1085:1767:2;40137:31:4;;;;;;1085:1767:2;40137:31:4;;;;;;:::i;:::-;;;;;;;;;;40233:26;40137:31;;;38967:1220;5686:49:24;:::i;40137:31:4:-;;;;;;:::i;:::-;;;;38096:30;;;;;;11099:133:1;11178:1;11174:5;;11170:28;;11099:133;:::o;40969:2744:4:-;;;;;;;;;;41339:28;;;;:::i;:::-;41381:14;;41377:2304;;40969:2744;43690:16;;;;;;;;;40969:2744;:::o;41377:2304::-;41415:30;;;;;;;;;;;41377:2304;-1:-1:-1;41411:2209:4;;;41654:24;;;;41771:26;;;41767:110;;41950:16;41946:171;;41411:2209;;;;;;41377:2304;;;;;;;;;;;41946:171;1085:1767:2;42046:52:4;1085:1767:2;;42046:52:4;;:::i;:::-;;41946:171;;;;;;41411:2209;42230:26;;;;;42226:110;;42353:1253;;;42477:17;42473:127;;42353:1253;42625:16;;42621:123;;42353:1253;;;;;41411:2209;;42621:123;1085:1767:2;42669:52:4;1085:1767:2;;42669:52:4;;:::i;:::-;;42621:123;;;;;;42473:127;42522:55;1607:7;42522:55;1607:7;42552:9;1607:7;1085:1767:2;;;;42522:55:4;;;;:::i;:::-;;42473:127;;;42353:1253;1085:1767:2;43399:94:4;1085:1767:2;;;;;42886:9:4;42848:60;42886:9;;;1085:1767:2;42848:60:4;;;;:::i;:::-;;43119:25;43013:16;;:::i;:::-;43081;;;:::i;:::-;1085:1767:2;;43119:25:4;;;:::i;:::-;43166:28;;;:::i;:::-;1085:1767:2;43216:35:4;;1607:7;43027:1;1607:7;1085:1767:2;;;;43216:35:4;;;;:::i;:::-;43273:29;;;:::i;:::-;1085:1767:2;;;:::i;:::-;;;;;;43399:94:4;;;1085:1767:2;;43399:94:4;;;;1085:1767:2;43556:31:4;;;;;;41394:1;1085:1767:2;;;;43399:94:4;1085:1767:2;43556:31:4;;;;;;1085:1767:2;43556:31:4;;;;;;:::i;:::-;;;;;;;;;;;42353:1253;;41411:2209;;43556:31;;;;;;:::i;:::-;;;;41415:30;;;;;;44743:373;;;;44936:1;44927:10;;44923:169;;45101:8;;;45108:1;44743:373;:::o;44923:169::-;1085:1767:2;45017:37:4;1085:1767:2;;45017:37:4;;;;:::i;:::-;;45068:13;:::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c6343000816000a","offset":24550}},"immutableReferences":{"1899":[{"start":3863,"length":32},{"start":23535,"length":32},{"start":24182,"length":32}],"7963":[{"start":1591,"length":32},{"start":11955,"length":32},{"start":12332,"length":32},{"start":12560,"length":32},{"start":13102,"length":32},{"start":13248,"length":32}],"8007":[{"start":5490,"length":32},{"start":5912,"length":32},{"start":6237,"length":32},{"start":21201,"length":32}],"8127":[{"start":2364,"length":32},{"start":8644,"length":32},{"start":14184,"length":32},{"start":22712,"length":32}],"8178":[{"start":5381,"length":32},{"start":20174,"length":32},{"start":22406,"length":32},{"start":22556,"length":32}],"8181":[{"start":2255,"length":32},{"start":20141,"length":32},{"start":22349,"length":32},{"start":22505,"length":32}],"8285":[{"start":5183,"length":32},{"start":8380,"length":32},{"start":16268,"length":32},{"start":19127,"length":32},{"start":19260,"length":32}],"8288":[{"start":2110,"length":32},{"start":8319,"length":32},{"start":16212,"length":32},{"start":19064,"length":32},{"start":19204,"length":32}],"8441":[{"start":909,"length":32},{"start":1260,"length":32},{"start":3367,"length":32},{"start":3604,"length":32},{"start":4166,"length":32},{"start":4335,"length":32},{"start":4629,"length":32},{"start":5292,"length":32},{"start":6787,"length":32},{"start":7050,"length":32},{"start":7683,"length":32},{"start":7893,"length":32},{"start":9723,"length":32},{"start":10058,"length":32},{"start":10467,"length":32},{"start":12077,"length":32},{"start":12680,"length":32},{"start":12884,"length":32},{"start":13379,"length":32},{"start":15003,"length":32},{"start":21987,"length":32}]},"transformations":[{"id":"1899","type":"replace","offset":3863,"reason":"immutable"},{"id":"1899","type":"replace","offset":23535,"reason":"immutable"},{"id":"1899","type":"replace","offset":24182,"reason":"immutable"},{"id":"7963","type":"replace","offset":1591,"reason":"immutable"},{"id":"7963","type":"replace","offset":11955,"reason":"immutable"},{"id":"7963","type":"replace","offset":12332,"reason":"immutable"},{"id":"7963","type":"replace","offset":12560,"reason":"immutable"},{"id":"7963","type":"replace","offset":13102,"reason":"immutable"},{"id":"7963","type":"replace","offset":13248,"reason":"immutable"},{"id":"8007","type":"replace","offset":5490,"reason":"immutable"},{"id":"8007","type":"replace","offset":5912,"reason":"immutable"},{"id":"8007","type":"replace","offset":6237,"reason":"immutable"},{"id":"8007","type":"replace","offset":21201,"reason":"immutable"},{"id":"8127","type":"replace","offset":2364,"reason":"immutable"},{"id":"8127","type":"replace","offset":8644,"reason":"immutable"},{"id":"8127","type":"replace","offset":14184,"reason":"immutable"},{"id":"8127","type":"replace","offset":22712,"reason":"immutable"},{"id":"8178","type":"replace","offset":5381,"reason":"immutable"},{"id":"8178","type":"replace","offset":20174,"reason":"immutable"},{"id":"8178","type":"replace","offset":22406,"reason":"immutable"},{"id":"8178","type":"replace","offset":22556,"reason":"immutable"},{"id":"8181","type":"replace","offset":2255,"reason":"immutable"},{"id":"8181","type":"replace","offset":20141,"reason":"immutable"},{"id":"8181","type":"replace","offset":22349,"reason":"immutable"},{"id":"8181","type":"replace","offset":22505,"reason":"immutable"},{"id":"8285","type":"replace","offset":5183,"reason":"immutable"},{"id":"8285","type":"replace","offset":8380,"reason":"immutable"},{"id":"8285","type":"replace","offset":16268,"reason":"immutable"},{"id":"8285","type":"replace","offset":19127,"reason":"immutable"},{"id":"8285","type":"replace","offset":19260,"reason":"immutable"},{"id":"8288","type":"replace","offset":2110,"reason":"immutable"},{"id":"8288","type":"replace","offset":8319,"reason":"immutable"},{"id":"8288","type":"replace","offset":16212,"reason":"immutable"},{"id":"8288","type":"replace","offset":19064,"reason":"immutable"},{"id":"8288","type":"replace","offset":19204,"reason":"immutable"},{"id":"8441","type":"replace","offset":909,"reason":"immutable"},{"id":"8441","type":"replace","offset":1260,"reason":"immutable"},{"id":"8441","type":"replace","offset":3367,"reason":"immutable"},{"id":"8441","type":"replace","offset":3604,"reason":"immutable"},{"id":"8441","type":"replace","offset":4166,"reason":"immutable"},{"id":"8441","type":"replace","offset":4335,"reason":"immutable"},{"id":"8441","type":"replace","offset":4629,"reason":"immutable"},{"id":"8441","type":"replace","offset":5292,"reason":"immutable"},{"id":"8441","type":"replace","offset":6787,"reason":"immutable"},{"id":"8441","type":"replace","offset":7050,"reason":"immutable"},{"id":"8441","type":"replace","offset":7683,"reason":"immutable"},{"id":"8441","type":"replace","offset":7893,"reason":"immutable"},{"id":"8441","type":"replace","offset":9723,"reason":"immutable"},{"id":"8441","type":"replace","offset":10058,"reason":"immutable"},{"id":"8441","type":"replace","offset":10467,"reason":"immutable"},{"id":"8441","type":"replace","offset":12077,"reason":"immutable"},{"id":"8441","type":"replace","offset":12680,"reason":"immutable"},{"id":"8441","type":"replace","offset":12884,"reason":"immutable"},{"id":"8441","type":"replace","offset":13379,"reason":"immutable"},{"id":"8441","type":"replace","offset":15003,"reason":"immutable"},{"id":"8441","type":"replace","offset":21987,"reason":"immutable"}],"transformationValues":{"immutables":{"1899":"0x00000000000000000000000000700052c0608f670705380a4900e0a8080010cc","7963":"0x000000000000000000000000e92b586627cca7a83dc919cc7127196d70f55a06","8007":"0x000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8","8127":"0x000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3","8178":"0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f","8181":"0xff5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000","8285":"0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54","8288":"0xff1f98431c8ad98523631ae4a59f267346ea31f9840000000000000000000000","8441":"0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}},"deployment":{"transactionHash":"0x780ba0a7798fa56e6d4b10b907a8eb6dbfdb0d6044c7945cd778bdb526c7c71f","blockNumber":"20082227","transactionIndex":"75","deployer":"0xD7e24A49944F7972cEb826C7557580658F9C3303"},"sources":{"src/AugustusV6.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Vendor\nimport { Diamond } from \"./vendor/Diamond.sol\";\n\n// Routers\nimport { Routers } from \"./routers/Routers.sol\";\n\n//                  ______                                   __                     __  __    ____\n//                 /\\  _  \\                                 /\\ \\__                 /\\ \\/\\ \\  /'___\\\n//                 \\ \\ \\L\\ \\  __  __     __   __  __    ____\\ \\ ,_\\  __  __    ____\\ \\ \\ \\ \\/\\ \\__/\n//                  \\ \\  __ \\/\\ \\/\\ \\  /'_ `\\/\\ \\/\\ \\  /',__\\\\ \\ \\/ /\\ \\/\\ \\  /',__\\\\ \\ \\ \\ \\ \\  _``\\\n//                   \\ \\ \\/\\ \\ \\ \\_\\ \\/\\ \\L\\ \\ \\ \\_\\ \\/\\__, `\\\\ \\ \\_\\ \\ \\_\\ \\/\\__, `\\\\ \\ \\_/ \\ \\ \\L\\ \\\n//                    \\ \\_\\ \\_\\ \\____/\\ \\____ \\ \\____/\\/\\____/ \\ \\__\\\\ \\____/\\/\\____/ \\ `\\___/\\ \\____/\n//                     \\/_/\\/_/\\/___/  \\/___L\\ \\/___/  \\/___/   \\/__/ \\/___/  \\/___/   `\\/__/  \\/___/\n//                                       /\\____/\n//                                       \\_/__/\n\n/// @title AugustusV6\n/// @notice The V6 implementation of the ParaSwap onchain aggregation protocol\ncontract AugustusV6 is Diamond, Routers {\n    /*//////////////////////////////////////////////////////////////\n                              CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        /// @dev Diamond\n        address _owner,\n        address _diamondCutFacet,\n        /// @dev Direct Routers\n        address _weth,\n        address payable _balancerVault,\n        uint256 _uniV3FactoryAndFF,\n        uint256 _uniswapV3PoolInitCodeHash,\n        uint256 _uniswapV2FactoryAndFF,\n        uint256 _uniswapV2PoolInitCodeHash,\n        address _rfq,\n        /// @dev Fees\n        address payable _feeVault,\n        /// @dev Permit2\n        address _permit2\n    )\n        Diamond(_owner, _diamondCutFacet)\n        Routers(\n            _weth,\n            _uniV3FactoryAndFF,\n            _uniswapV3PoolInitCodeHash,\n            _uniswapV2FactoryAndFF,\n            _uniswapV2PoolInitCodeHash,\n            _balancerVault,\n            _permit2,\n            _rfq,\n            _feeVault\n        )\n    { }\n\n    /*//////////////////////////////////////////////////////////////\n                                EXTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Reverts if the caller is one of the following:\n    //         - an externally-owned account\n    //         - a contract in construction\n    //         - an address where a contract will be created\n    //         - an address where a contract lived, but was destroyed\n    receive() external payable override(Diamond) {\n        address addr = msg.sender;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            if iszero(extcodesize(addr)) { revert(0, 0) }\n        }\n    }\n}\n"},"src/util/WETHUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IWETH } from \"../interfaces/IWETH.sol\";\n\n/// @title WETHUtils\n/// @notice A contract containing common utilities for WETH\nabstract contract WETHUtils {\n    /*//////////////////////////////////////////////////////////////\n                                CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev WETH address\n    IWETH public immutable WETH;\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _weth) {\n        WETH = IWETH(_weth);\n    }\n}\n"},"src/vendor/Diamond.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/Diamond.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n *\n * Implementation of a diamond.\n * /*****************************************************************************\n */\nimport { LibDiamond } from \"./libraries/LibDiamond.sol\";\nimport { IDiamondCut } from \"./interfaces/IDiamondCut.sol\";\n\ncontract Diamond {\n    error DiamondFunctionDoesNotExist();\n\n    constructor(address _contractOwner, address _diamondCutFacet) payable {\n        LibDiamond.setContractOwner(_contractOwner);\n\n        // Add the diamondCut external function from the diamondCutFacet\n        IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\n        bytes4[] memory functionSelectors = new bytes4[](1);\n        functionSelectors[0] = IDiamondCut.diamondCut.selector;\n        cut[0] = IDiamondCut.FacetCut({\n            facetAddress: _diamondCutFacet,\n            action: IDiamondCut.FacetCutAction.Add,\n            functionSelectors: functionSelectors\n        });\n        LibDiamond.diamondCut(cut, address(0), \"\");\n    }\n\n    // Find facet for function that is called and execute the\n    // function if a facet is found and return any value.\n    fallback() external payable {\n        LibDiamond.DiamondStorage storage ds;\n        bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\n        // get diamond storage\n        assembly {\n            ds.slot := position\n        }\n        // get facet from function selector\n        address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\n        // revert if function does not exist\n        if (facet == address(0)) {\n            revert DiamondFunctionDoesNotExist();\n        }\n        // Execute external function from facet using delegatecall and return any value.\n        assembly {\n            // copy function selector and any arguments\n            calldatacopy(0, 0, calldatasize())\n            // execute function call using the facet\n            let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\n            // get any return value\n            returndatacopy(0, 0, returndatasize())\n            // return any return value or error back to the caller\n            switch result\n            case 0 { revert(0, returndatasize()) }\n            default { return(0, returndatasize()) }\n        }\n    }\n\n    receive() external payable virtual { }\n}\n"},"src/AugustusV6Types.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/*//////////////////////////////////////////////////////////////\n                        GENERIC SWAP DATA\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct containg data for generic swapExactAmountIn/swapExactAmountOut\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct GenericData {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            UNISWAPV2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for UniswapV2 swapExactAmountIn/swapExactAmountOut data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\n/// @param pools data consisting of concatenated token0 and token1 address for each pool with the direction flag being\n/// the right most bit of the packed token0-token1 pair bytes used in the path\nstruct UniswapV2Data {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n    bytes pools;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            UNISWAPV3\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for UniswapV3 swapExactAmountIn/swapExactAmountOut data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\n/// @param pools data consisting of concatenated token0-\n/// token1-fee bytes for each pool used in the path, with the direction flag being the left most bit of token0 in the\n/// concatenated bytes\nstruct UniswapV3Data {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n    bytes pools;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            CURVE V1\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for CurveV1 swapExactAmountIn data\n/// @param curveData Packed data for the Curve pool, first 160 bits is the target exchange address,\n/// the 161st bit is the approve flag, bits from (162 - 163) are used for the wrap flag,\n//// bits from (164 - 165) are used for the swapType flag and the last 91 bits are unused:\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Wrap Flag - a) 0 -> do not wrap b) 1 -> wrap native & srcToken == eth\n/// c) 2 -> unwrap and destToken == eth d) 3 - >srcToken == eth && do not wrap\n/// Swap Type Flag -  a) 0 -> EXCHANGE b) 1 -> EXCHANGE_UNDERLYING\n/// @param curveAssets Packed uint128 index i and uint128 index j of the pool\n/// The first 128 bits is the index i and the second 128 bits is the index j\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount that must be recieved\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The expected amount of destToken to be recieved\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct CurveV1Data {\n    uint256 curveData;\n    uint256 curveAssets;\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            CURVE V2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for CurveV2 swapExactAmountIn data\n/// @param curveData Packed data for the Curve pool, first 160 bits is the target exchange address,\n/// the 161st bit is the approve flag, bits from (162 - 163) are used for the wrap flag,\n//// bits from (164 - 165) are used for the swapType flag and the last 91 bits are unused\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Wrap Flag - a) 0 -> do not wrap b) 1 -> wrap native & srcToken == eth\n/// c) 2 -> unwrap and destToken == eth d) 3 - >srcToken == eth && do not wrap\n/// Swap Type Flag -  a) 0 -> EXCHANGE b) 1 -> EXCHANGE_UNDERLYING c) 2 -> EXCHANGE_UNDERLYING_FACTORY_ZAP\n/// @param i The index of the srcToken\n/// @param j The index of the destToken\n/// The first 128 bits is the index i and the second 128 bits is the index j\n/// @param poolAddress The address of the CurveV2 pool (only used for EXCHANGE_UNDERLYING_FACTORY_ZAP)\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount that must be recieved\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The expected amount of destToken to be recieved\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct CurveV2Data {\n    uint256 curveData;\n    uint256 i;\n    uint256 j;\n    address poolAddress;\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            BALANCER V2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for BalancerV2 swapExactAmountIn data\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiaryAndApproveFlag The beneficiary address and approve flag packed into one uint256,\n/// the first 20 bytes are the beneficiary address and the left most bit is the approve flag\nstruct BalancerV2Data {\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    uint256 beneficiaryAndApproveFlag;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            MAKERPSM\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for Maker PSM swapExactAmountIn data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param toll Used to calculate gem amount for the swapExactAmountIn\n/// @param to18ConversionFactor Used to calculate gem amount for the swapExactAmountIn\n/// @param gemJoinAddress The address of the gemJoin contract\n/// @param exchange The address of the exchange contract\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiaryDirectionApproveFlag The beneficiary address, swap direction and approve flag packed\n/// into one uint256, the first 20 bytes are the beneficiary address, the left most bit is the approve flag and the\n/// second left most bit is the swap direction flag, 0 for swapExactAmountIn and 1 for swapExactAmountOut\nstruct MakerPSMData {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 toll;\n    uint256 to18ConversionFactor;\n    address exchange;\n    address gemJoinAddress;\n    bytes32 metadata;\n    uint256 beneficiaryDirectionApproveFlag;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            AUGUSTUS RFQ\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Order struct for Augustus RFQ\n/// @param nonceAndMeta The nonce and meta data packed into one uint256,\n/// the first 160 bits is the user address and the last 96 bits is the nonce\n/// @param expiry The expiry of the order\n/// @param makerAsset The address of the maker asset\n/// @param takerAsset The address of the taker asset\n/// @param maker The address of the maker\n/// @param taker The address of the taker, if the taker is address(0) anyone can take the order\n/// @param makerAmount The amount of makerAsset\n/// @param takerAmount The amount of takerAsset\nstruct Order {\n    uint256 nonceAndMeta;\n    uint128 expiry;\n    address makerAsset;\n    address takerAsset;\n    address maker;\n    address taker;\n    uint256 makerAmount;\n    uint256 takerAmount;\n}\n\n/// @notice Struct containing order info for Augustus RFQ\n/// @param order The order struct\n/// @param signature The signature for the order\n/// @param takerTokenFillAmount The amount of takerToken to fill\n/// @param permitTakerAsset The permit data for the taker asset\n/// @param permitMakerAsset The permit data for the maker asset\nstruct OrderInfo {\n    Order order;\n    bytes signature;\n    uint256 takerTokenFillAmount;\n    bytes permitTakerAsset;\n    bytes permitMakerAsset;\n}\n\n/// @notice Struct containing common data for executing swaps on Augustus RFQ\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param wrapApproveDirection The wrap, approve and direction flag packed into one uint8,\n/// the first 2 bits is wrap flag (10 for wrap dest, 01 for wrap src, 00 for no wrap), the next bit is the approve flag\n/// (1 for approve, 0 for no approve) and the last bit is the direction flag (0 for swapExactAmountIn and 1 for\n/// swapExactAmountOut)\n/// @param metadata Packed uuid and additional metadata\nstruct AugustusRFQData {\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint8 wrapApproveDirection;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n"},"src/routers/Routers.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// DirectSwapExactAmountIn\nimport { BalancerV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol\";\nimport { CurveV1SwapExactAmountIn } from \"./swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol\";\nimport { CurveV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol\";\nimport { UniswapV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol\";\nimport { UniswapV3SwapExactAmountIn } from \"./swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol\";\n\n// DirectSwapExactAmountOut\nimport { BalancerV2SwapExactAmountOut } from \"./swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol\";\nimport { UniswapV2SwapExactAmountOut } from \"./swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol\";\nimport { UniswapV3SwapExactAmountOut } from \"./swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol\";\n\n// Fees\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// GenericSwapExactAmountIn\nimport { GenericSwapExactAmountIn } from \"./swapExactAmountIn/GenericSwapExactAmountIn.sol\";\n\n// GenericSwapExactAmountOut\nimport { GenericSwapExactAmountOut } from \"./swapExactAmountOut/GenericSwapExactAmountOut.sol\";\n\n// General\nimport { AugustusRFQRouter } from \"./general/AugustusRFQRouter.sol\";\n\n// Utils\nimport { AugustusRFQUtils } from \"../util/AugustusRFQUtils.sol\";\nimport { BalancerV2Utils } from \"../util/BalancerV2Utils.sol\";\nimport { UniswapV2Utils } from \"../util/UniswapV2Utils.sol\";\nimport { UniswapV3Utils } from \"../util/UniswapV3Utils.sol\";\nimport { WETHUtils } from \"../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../util/Permit2Utils.sol\";\n\n/// @title Routers\n/// @notice A wrapper for all router contracts\ncontract Routers is\n    AugustusFees,\n    AugustusRFQRouter,\n    BalancerV2SwapExactAmountOut,\n    BalancerV2SwapExactAmountIn,\n    CurveV1SwapExactAmountIn,\n    CurveV2SwapExactAmountIn,\n    GenericSwapExactAmountOut,\n    GenericSwapExactAmountIn,\n    UniswapV2SwapExactAmountOut,\n    UniswapV2SwapExactAmountIn,\n    UniswapV3SwapExactAmountOut,\n    UniswapV3SwapExactAmountIn\n{\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        address _weth,\n        uint256 _uniswapV3FactoryAndFF,\n        uint256 _uniswapV3PoolInitCodeHash,\n        uint256 _uniswapV2FactoryAndFF,\n        uint256 _uniswapV2PoolInitCodeHash,\n        address payable _balancerVault,\n        address _permit2,\n        address _rfq,\n        address payable _feeVault\n    )\n        AugustusFees(_feeVault)\n        AugustusRFQUtils(_rfq)\n        BalancerV2Utils(_balancerVault)\n        Permit2Utils(_permit2)\n        UniswapV2Utils(_uniswapV2FactoryAndFF, _uniswapV2PoolInitCodeHash)\n        UniswapV3Utils(_uniswapV3FactoryAndFF, _uniswapV3PoolInitCodeHash)\n        WETHUtils(_weth)\n    { }\n}\n"},"src/util/PauseUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Storage\nimport { AugustusStorage } from \"../storage/AugustusStorage.sol\";\n\n/// @title PauseUtils\n/// @notice Provides a modifier to check if the contract is paused\nabstract contract PauseUtils is AugustusStorage {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted when the contract is paused\n    error ContractPaused();\n\n    /*//////////////////////////////////////////////////////////////\n                               MODIFIERS\n    //////////////////////////////////////////////////////////////*/\n\n    // Check if the contract is paused, if it is, revert\n    modifier whenNotPaused() {\n        if (paused) {\n            revert ContractPaused();\n        }\n        _;\n    }\n}\n"},"src/interfaces/IWETH.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title IWETH\n/// @notice An interface for WETH IERC20\ninterface IWETH is IERC20 {\n    function deposit() external payable;\n    function withdraw(uint256 amount) external;\n}\n"},"src/fees/AugustusFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IAugustusFeeVault } from \"../interfaces/IAugustusFeeVault.sol\";\nimport { IAugustusFees } from \"../interfaces/IAugustusFees.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../libraries/ERC20Utils.sol\";\n\n// Storage\nimport { AugustusStorage } from \"../storage/AugustusStorage.sol\";\n\n/// @title AugustusFees\n/// @notice Contract for handling fees\ncontract AugustusFees is AugustusStorage, IAugustusFees {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Fee share constants\n    uint256 public constant PARTNER_SHARE_PERCENT = 8500;\n    uint256 public constant MAX_FEE_PERCENT = 200;\n    uint256 public constant SURPLUS_PERCENT = 100;\n    uint256 public constant PARASWAP_REFERRAL_SHARE = 5000;\n    uint256 public constant PARTNER_REFERRAL_SHARE = 2500;\n    uint256 public constant PARASWAP_SURPLUS_SHARE = 5000;\n    uint256 public constant PARASWAP_SLIPPAGE_SHARE = 10_000;\n    uint256 public constant MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI = 11;\n\n    /// @dev Masks for unpacking feeData\n    uint256 private constant FEE_PERCENT_IN_BASIS_POINTS_MASK = 0x3FFF;\n    uint256 private constant IS_USER_SURPLUS_MASK = 1 << 90;\n    uint256 private constant IS_DIRECT_TRANSFER_MASK = 1 << 91;\n    uint256 private constant IS_CAP_SURPLUS_MASK = 1 << 92;\n    uint256 private constant IS_SKIP_BLACKLIST_MASK = 1 << 93;\n    uint256 private constant IS_REFERRAL_MASK = 1 << 94;\n    uint256 private constant IS_TAKE_SURPLUS_MASK = 1 << 95;\n\n    /// @dev A contact that stores fees collected by the protocol\n    IAugustusFeeVault public immutable FEE_VAULT; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                              CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _feeVault) {\n        FEE_VAULT = IAugustusFeeVault(_feeVault);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       SWAP EXACT AMOUNT IN FEES\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Process swapExactAmountIn fees and transfer the received amount to the beneficiary\n    /// @param destToken The received token from the swapExactAmountIn\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountIn\n    /// @param quotedAmount The quoted expected amount of destToken\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountInFeesAndTransfer(\n        address beneficiary,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // calculate the surplus, we expect there to be 1 wei dust left which we should\n        // not take into account when determining if there is surplus, we only take the\n        // surplus if it is greater than MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (receivedAmount > quotedAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = receivedAmount - quotedAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // calculate remainingAmount\n        uint256 remainingAmount = receivedAmount - surplus;\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[destToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the received amount to the beneficiary, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n                return (receivedAmount - 1, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (receivedAmount, quotedAmount + surplus)\n                uint256 feeBase = receivedAmount > quotedAmount + surplus ? quotedAmount + surplus : receivedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from destToken\n                returnAmount = _distributeFees(\n                    receivedAmount,\n                    destToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the return amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from destToken\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary, keeping 1 wei dust\n                    _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                    return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from destToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary, keeping 1 wei dust\n                    _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                    return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus and transfer the rest to the beneficiary\n        // if there is no positive slippage, transfer the received amount to the beneficiary\n        if (surplus > 0) {\n            // If the token is blacklisted, send the received amount to the beneficiary\n            // we won't process fees\n            if (blacklistedTokens[destToken]) {\n                // transfer the received amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n                return (receivedAmount - 1, 0, 0);\n            }\n            // transfer the remaining amount to the beneficiary, keeping 1 wei dust\n            _transferAndLeaveDust(destToken, beneficiary, remainingAmount);\n            // transfer the surplus to the fee wallet\n            destToken.safeTransfer(feeWallet, surplus);\n            return (remainingAmount - 1, surplus, 0);\n        } else {\n            // transfer the received amount to the beneficiary, keeping 1 wei dust\n            _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n            return (receivedAmount - 1, 0, 0);\n        }\n    }\n\n    /// @notice Process swapExactAmountIn fees and transfer the received amount to the beneficiary\n    /// @param destToken The received token from the swapExactAmountIn\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountIn\n    /// @param quotedAmount The quoted expected amount of destToken\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountInFeesAndTransferUniV3(\n        address beneficiary,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (receivedAmount > quotedAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = receivedAmount - quotedAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // calculate remainingAmount\n        uint256 remainingAmount = receivedAmount - surplus;\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[destToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the received amount to the beneficiary, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (receivedAmount, quotedAmount + surplus)\n                uint256 feeBase = receivedAmount > quotedAmount + surplus ? quotedAmount + surplus : receivedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from destToken\n                returnAmount = _distributeFees(\n                    receivedAmount,\n                    destToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the return amount to the beneficiary\n                destToken.safeTransfer(beneficiary, returnAmount);\n                return (returnAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from destToken\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary\n                    destToken.safeTransfer(beneficiary, returnAmount);\n                    return (returnAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from destToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary,\n                    destToken.safeTransfer(beneficiary, returnAmount);\n                    return (returnAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus and transfer the rest to the beneficiary\n        // if there is no positive slippage, transfer the received amount to the beneficiary\n        if (surplus > 0) {\n            // If the token is blacklisted, send the received amount to the beneficiary\n            // we won't process fees\n            if (blacklistedTokens[destToken]) {\n                // transfer the received amount to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (receivedAmount, 0, 0);\n            }\n            // transfer the remaining amount to the beneficiary\n            destToken.safeTransfer(beneficiary, remainingAmount);\n            // transfer the surplus to the fee wallet\n            destToken.safeTransfer(feeWallet, surplus);\n            return (remainingAmount, surplus, 0);\n        } else {\n            // transfer the received amount to the beneficiary\n            destToken.safeTransfer(beneficiary, receivedAmount);\n            return (receivedAmount, 0, 0);\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       SWAP EXACT AMOUNT OUT FEES\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Process swapExactAmountOut fees and transfer the received amount and remaining amount to the\n    /// beneficiary\n    /// @param srcToken The token used to swapExactAmountOut\n    /// @param destToken The token received from the swapExactAmountOut\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param maxAmountIn The amount of srcToken passed to the swapExactAmountOut\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountOut\n    /// @param quotedAmount The quoted expected amount of srcToken to be used to swapExactAmountOut\n    /// @return spentAmount The amount of srcToken used to swapExactAmountOut\n    /// @return outAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountOutFeesAndTransfer(\n        address beneficiary,\n        IERC20 srcToken,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 maxAmountIn,\n        uint256 remainingAmount,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 spentAmount, uint256 outAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // calculate the amount used to swapExactAmountOut\n        spentAmount = maxAmountIn - (remainingAmount > 0 ? remainingAmount - 1 : remainingAmount);\n\n        // initialize the surplus\n        uint256 surplus;\n\n        // initialize the return amount\n        uint256 returnAmount;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // check if the quotedAmount is bigger than the maxAmountIn\n        if (quotedAmount > maxAmountIn) {\n            revert InvalidQuotedAmount();\n        }\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (quotedAmount > spentAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = quotedAmount - spentAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[srcToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the remaining amount to the msg.sender, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the remaining amount to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, --receivedAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (spentAmount, quotedAmount)\n                uint256 feeBase = spentAmount < quotedAmount ? spentAmount : quotedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from srcToken\n                returnAmount = _distributeFees(\n                    remainingAmount,\n                    srcToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the rest to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, --receivedAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from srcToken\n                    returnAmount = _distributeFees(\n                        remainingAmount,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the rest to msg.sender\n                    returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, --receivedAmount);\n                    return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from srcToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        remainingAmount,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the rest to msg.sender\n                    returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, --receivedAmount);\n                    return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // transfer the received amount of destToken to the beneficiary\n        destToken.safeTransfer(beneficiary, --receivedAmount);\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus, and transfer the rest to msg.sender\n        // if there is no positive slippage, transfer the remaining amount to msg.sender\n        if (surplus > 0) {\n            // If the token is blacklisted, send the remaining amount to the msg.sender\n            // we won't process fees\n            if (blacklistedTokens[srcToken]) {\n                // transfer the remaining amount to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n            }\n            // transfer the surplus to the fee wallet\n            srcToken.safeTransfer(feeWallet, surplus);\n            // transfer the remaining amount to msg.sender\n            returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount - surplus);\n            return (maxAmountIn - returnAmount, receivedAmount, surplus, 0);\n        } else {\n            // transfer the remaining amount to msg.sender\n            returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n            return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n        }\n    }\n\n    /// @notice Process swapExactAmountOut fees for UniV3 swapExactAmountOut, doing a transferFrom user to the fee\n    /// vault or partner and feeWallet\n    /// @param beneficiary The user's address\n    /// @param srcToken The token used to swapExactAmountOut\n    /// @param destToken The token received from the swapExactAmountOut\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param maxAmountIn The amount of srcToken passed to the swapExactAmountOut\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountOut\n    /// @param spentAmount The amount of srcToken used to swapExactAmountOut\n    /// @param quotedAmount The quoted expected amount of srcToken to be used to swapExactAmountOut\n    /// @return totalSpentAmount The total amount of srcToken used to swapExactAmountOut\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountOutFeesAndTransferUniV3(\n        address beneficiary,\n        IERC20 srcToken,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 maxAmountIn,\n        uint256 receivedAmount,\n        uint256 spentAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 totalSpentAmount, uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // calculate remaining amount\n        uint256 remainingAmount = maxAmountIn - spentAmount;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // check if the quotedAmount is bigger than the fromAmount\n        if (quotedAmount > maxAmountIn) {\n            revert InvalidQuotedAmount();\n        }\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (quotedAmount > spentAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = quotedAmount - spentAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[srcToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (spentAmount, receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (spentAmount, quotedAmount)\n                uint256 feeBase = spentAmount < quotedAmount ? spentAmount : quotedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from srcToken\n                totalSpentAmount = _distributeFeesUniV3(\n                    remainingAmount,\n                    msg.sender,\n                    srcToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                ) + spentAmount;\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from srcToken\n                    totalSpentAmount = _distributeFeesUniV3(\n                        remainingAmount,\n                        msg.sender,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    ) + spentAmount;\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, receivedAmount);\n                    return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    //  partner takes 50% of the surplus and paraswap takes the other 50%\n                    // distrubite fees from srcToken\n                    totalSpentAmount = _distributeFeesUniV3(\n                        remainingAmount,\n                        msg.sender,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    ) + spentAmount;\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, receivedAmount);\n                    return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // transfer the received amount of destToken to the beneficiary\n        destToken.safeTransfer(beneficiary, receivedAmount);\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus\n        if (surplus > 0) {\n            // If the token is blacklisted, we won't process fees\n            if (blacklistedTokens[srcToken]) {\n                return (spentAmount, receivedAmount, 0, 0);\n            }\n            // transfer the surplus to the fee wallet\n            srcToken.safeTransferFrom(msg.sender, feeWallet, surplus);\n        }\n        return (spentAmount + surplus, receivedAmount, surplus, 0);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 PUBLIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IAugustusFees\n    function parsePartnerAndFeeData(uint256 partnerAndFee)\n        public\n        pure\n        returns (address payable partner, uint256 feeData)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            partner := shr(96, partnerAndFee)\n            feeData := and(partnerAndFee, 0xFFFFFFFFFFFFFFFFFFFFFFFF)\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Distribute fees to the partner and paraswap\n    /// @param currentBalance The current balance of the token before distributing the fees\n    /// @param token The token to distribute the fees for\n    /// @param partner The partner address\n    /// @param partnerShare The partner share\n    /// @param paraswapShare The paraswap share\n    /// @param skipBlacklist Whether to skip the blacklist and transfer the fees directly to the partner\n    /// @param isBlacklisted Whether the token is blacklisted\n    /// @param directTransfer Whether to transfer the fees directly to the partner instead of the fee vault\n    /// @return newBalance The new balance of the token after distributing the fees\n    function _distributeFees(\n        uint256 currentBalance,\n        IERC20 token,\n        address payable partner,\n        uint256 partnerShare,\n        uint256 paraswapShare,\n        bool skipBlacklist,\n        bool isBlacklisted,\n        bool directTransfer\n    )\n        private\n        returns (uint256 newBalance)\n    {\n        uint256 totalFees = partnerShare + paraswapShare;\n        if (totalFees == 0) {\n            return currentBalance;\n        } else {\n            if (skipBlacklist && isBlacklisted) {\n                // totalFees should be just the partner share, paraswap does not take fees\n                // on blacklisted tokens, the rest of the fees are sent to sender based on\n                // newBalance = currentBalance - totalFees\n                totalFees = partnerShare;\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (partnerShare > 0) {\n                    token.safeTransfer(partner, partnerShare);\n                }\n            } else {\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (directTransfer) {\n                    // transfer the fees directly to the partner and paraswap\n                    if (paraswapShare > 0) {\n                        token.safeTransfer(feeWallet, paraswapShare);\n                    }\n                    if (partnerShare > 0) {\n                        token.safeTransfer(partner, partnerShare);\n                    }\n                } else {\n                    // transfer the fees to the fee vault\n                    token.safeTransfer(address(FEE_VAULT), totalFees);\n                    // Setup fee registration data\n                    address[] memory feeAddresses = new address[](2);\n                    uint256[] memory feeAmounts = new uint256[](2);\n                    feeAddresses[0] = partner;\n                    feeAmounts[0] = partnerShare;\n                    feeAddresses[1] = feeWalletDelegate;\n                    feeAmounts[1] = paraswapShare;\n                    IAugustusFeeVault.FeeRegistration memory feeData =\n                        IAugustusFeeVault.FeeRegistration({ token: token, addresses: feeAddresses, fees: feeAmounts });\n                    // Register the fees\n                    FEE_VAULT.registerFees(feeData);\n                }\n            }\n        }\n        newBalance = currentBalance - totalFees;\n    }\n\n    /// @notice Distribute fees for UniV3\n    /// @param currentBalance The current balance of the token before distributing the fees\n    /// @param payer The user's address\n    /// @param token The token to distribute the fees for\n    /// @param partner The partner address\n    /// @param partnerShare The partner share\n    /// @param paraswapShare The paraswap share\n    /// @param skipBlacklist Whether to skip the blacklist and transfer the fees directly to the partner\n    /// @param isBlacklisted Whether the token is blacklisted\n    /// @param directTransfer Whether to transfer the fees directly to the partner instead of the fee vault\n    /// @return totalFees The total fees distributed\n    function _distributeFeesUniV3(\n        uint256 currentBalance,\n        address payer,\n        IERC20 token,\n        address payable partner,\n        uint256 partnerShare,\n        uint256 paraswapShare,\n        bool skipBlacklist,\n        bool isBlacklisted,\n        bool directTransfer\n    )\n        private\n        returns (uint256 totalFees)\n    {\n        totalFees = partnerShare + paraswapShare;\n        if (totalFees != 0) {\n            if (skipBlacklist && isBlacklisted) {\n                // totalFees should be just the partner share, paraswap does not take fees\n                // on blacklisted tokens, the rest of the fees will remain on the payer's address\n                totalFees = partnerShare;\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                // transfer the fees to the partner\n                if (partnerShare > 0) {\n                    // transfer the fees to the partner\n                    token.safeTransferFrom(payer, partner, partnerShare);\n                }\n            } else {\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (directTransfer) {\n                    // transfer the fees directly to the partner and paraswap\n                    if (paraswapShare > 0) {\n                        token.safeTransferFrom(payer, feeWallet, paraswapShare);\n                    }\n                    if (partnerShare > 0) {\n                        token.safeTransferFrom(payer, partner, partnerShare);\n                    }\n                } else {\n                    // transfer the fees to the fee vault\n                    token.safeTransferFrom(payer, address(FEE_VAULT), totalFees);\n                    // Setup fee registration data\n                    address[] memory feeAddresses = new address[](2);\n                    uint256[] memory feeAmounts = new uint256[](2);\n                    feeAddresses[0] = partner;\n                    feeAmounts[0] = partnerShare;\n                    feeAddresses[1] = feeWalletDelegate;\n                    feeAmounts[1] = paraswapShare;\n                    IAugustusFeeVault.FeeRegistration memory feeData =\n                        IAugustusFeeVault.FeeRegistration({ token: token, addresses: feeAddresses, fees: feeAmounts });\n                    // Register the fees\n                    FEE_VAULT.registerFees(feeData);\n                }\n            }\n            // othwerwise do not transfer the fees\n        }\n        return totalFees;\n    }\n\n    /// @notice Get the adjusted fee percent by masking feePercent with FEE_PERCENT_IN_BASIS_POINTS_MASK,\n    /// if the fee percent is bigger than MAX_FEE_PERCENT, then set it to MAX_FEE_PERCENT\n    /// @param feePercent The fee percent\n    /// @return adjustedFeePercent The adjusted fee percent\n    function _getAdjustedFeePercent(uint256 feePercent) private pure returns (uint256) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            feePercent := and(feePercent, FEE_PERCENT_IN_BASIS_POINTS_MASK)\n            // if feePercent is bigger than MAX_FEE_PERCENT, then set it to MAX_FEE_PERCENT\n            if gt(feePercent, MAX_FEE_PERCENT) { feePercent := MAX_FEE_PERCENT }\n        }\n        return feePercent;\n    }\n\n    /// @notice Transfers amount to recipient if the amount is bigger than 1, leaving 1 wei dust on the contract\n    /// @param token The token to transfer\n    /// @param recipient The address to transfer to\n    /// @param amount The amount to transfer\n    function _transferIfGreaterThanOne(\n        IERC20 token,\n        address recipient,\n        uint256 amount\n    )\n        private\n        returns (uint256 amountOut)\n    {\n        if (amount > 1) {\n            unchecked {\n                --amount;\n            }\n            token.safeTransfer(recipient, amount);\n            return amount;\n        }\n        return 0;\n    }\n\n    /// @notice Transfer amount to beneficiary, leaving 1 wei dust on the contract\n    /// @param token The token to transfer\n    /// @param beneficiary The address to transfer to\n    /// @param amount The amount to transfer\n    function _transferAndLeaveDust(IERC20 token, address beneficiary, uint256 amount) private {\n        unchecked {\n            --amount;\n        }\n        token.safeTransfer(beneficiary, amount);\n    }\n}\n"},"src/util/GenericUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Utils\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title GenericUtils\n/// @notice A contract containing common utilities for Generic swaps\nabstract contract GenericUtils is AugustusFees, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                                INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Call executor with executorData and amountIn\n    function _callSwapExactAmountInExecutor(\n        address executor,\n        bytes calldata executorData,\n        uint256 amountIn\n    )\n        internal\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // get the length of the executorData\n            // + 4 bytes for the selector\n            // + 32 bytes for fromAmount\n            // + 32 bytes for sender\n            let totalLength := add(executorData.length, 68)\n            calldatacopy(add(0x7c, 4), executorData.offset, executorData.length) // store the executorData\n            mstore(add(0x7c, add(4, executorData.length)), amountIn) // store the amountIn\n            mstore(add(0x7c, add(36, executorData.length)), caller()) // store the sender\n            // call executor and forward call value\n            if iszero(call(gas(), executor, callvalue(), 0x7c, totalLength, 0, 0)) {\n                returndatacopy(0x7c, 0, returndatasize()) // copy the revert data to memory\n                revert(0x7c, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n\n    /// @dev Call executor with executorData, maxAmountIn, amountOut\n    function _callSwapExactAmountOutExecutor(\n        address executor,\n        bytes calldata executorData,\n        uint256 maxAmountIn,\n        uint256 amountOut\n    )\n        internal\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // get the length of the executorData\n            // + 4 bytes for the selector\n            // + 32 bytes for fromAmount\n            // + 32 bytes for toAmount\n            // + 32 bytes for sender\n            let totalLength := add(executorData.length, 100)\n            calldatacopy(add(0x7c, 4), executorData.offset, executorData.length) // store the executorData\n            mstore(add(0x7c, add(4, executorData.length)), maxAmountIn) // store the maxAmountIn\n            mstore(add(0x7c, add(36, executorData.length)), amountOut) // store the amountOut\n            mstore(add(0x7c, add(68, executorData.length)), caller()) // store the sender\n            // call executor and forward call value\n            if iszero(call(gas(), executor, callvalue(), 0x7c, totalLength, 0, 0)) {\n                returndatacopy(0x7c, 0, returndatasize()) // copy the revert data to memory\n                revert(0x7c, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n}\n"},"src/util/Permit2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title Permit2Utils\n/// @notice A contract containing common utilities for Permit2\nabstract contract Permit2Utils {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    error Permit2Failed();\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Permit2 address\n    address public immutable PERMIT2; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _permit2) {\n        PERMIT2 = _permit2;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Parses data and executes permit2.permitTransferFrom, reverts if it fails\n    function permit2TransferFrom(bytes calldata data, address recipient, uint256 amount) internal {\n        address targetAddress = PERMIT2;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Get free memory pointer\n            let ptr := mload(64)\n            // Store function selector\n            mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000) // permitTransferFrom()\n            // Copy data to memory\n            calldatacopy(add(ptr, 4), data.offset, data.length)\n            // Store recipient\n            mstore(add(ptr, 132), recipient)\n            // Store amount\n            mstore(add(ptr, 164), amount)\n            // Store owner\n            mstore(add(ptr, 196), caller())\n            // Call permit2.permitTransferFrom and revert if call failed\n            if iszero(call(gas(), targetAddress, 0, ptr, add(data.length, 4), 0, 0)) {\n                mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store error selector\n                    // error Permit2Failed()\n                revert(0, 4)\n            }\n        }\n    }\n}\n"},"src/interfaces/IErrors.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title IErrors\n/// @notice Common interface for errors\ninterface IErrors {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when the returned amount is less than the minimum amount\n    error InsufficientReturnAmount();\n\n    /// @notice Emitted when the specified toAmount is less than the minimum amount (2)\n    error InvalidToAmount();\n\n    /// @notice Emmited when the srcToken and destToken are the same\n    error ArbitrageNotSupported();\n}\n"},"src/util/UniswapV2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Utils\nimport { WETHUtils } from \"./WETHUtils.sol\";\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title UniswapV2Utils\n/// @notice A contract containing common utilities for UniswapV2 swaps\nabstract contract UniswapV2Utils is AugustusFees, WETHUtils, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Used to caluclate pool address\n    uint256 public immutable UNISWAP_V2_POOL_INIT_CODE_HASH;\n\n    /// @dev Right padded FF + UniswapV2Factory address\n    uint256 public immutable UNISWAP_V2_FACTORY_AND_FF;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(uint256 _uniswapV2FactoryAndFF, uint256 _uniswapV2PoolInitCodeHash) {\n        UNISWAP_V2_FACTORY_AND_FF = _uniswapV2FactoryAndFF;\n        UNISWAP_V2_POOL_INIT_CODE_HASH = _uniswapV2PoolInitCodeHash;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Loops through UniswapV2 pools in backword direction and swaps exact amount out\n    function _callUniswapV2PoolsSwapExactOut(uint256 amountOut, IERC20 srcToken, bytes calldata pools) internal {\n        uint256 uniswapV2FactoryAndFF = UNISWAP_V2_FACTORY_AND_FF;\n        uint256 uniswapV2PoolInitCodeHash = UNISWAP_V2_POOL_INIT_CODE_HASH;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            function calculatePoolAddress(\n                poolMemoryPtr, poolCalldataPtr, _uniswapV2FactoryAndFF, _uniswapV2PoolInitCodeHash\n            ) {\n                // Calculate the pool address\n                // We can do this by first calling the keccak256 function on the passed pool values and then\n                // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                // keccak256(abi.encodePacked(token0, token1)), POOL_INIT_CODE_HASH));\n                // The first 20 bytes of the computed address are the pool address\n\n                // Store 0xff + factory address (right padded)\n                mstore(poolMemoryPtr, _uniswapV2FactoryAndFF)\n\n                // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                let token0ptr := add(poolMemoryPtr, 21)\n\n                // Copy pool data (skip last bit) to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                calldatacopy(token0ptr, poolCalldataPtr, 40)\n\n                // Calculate keccak256(abi.encode(address(token0), address(token1))\n                mstore(token0ptr, keccak256(token0ptr, 40))\n\n                // Store POOL_INIT_CODE_HASH\n                mstore(add(token0ptr, 32), _uniswapV2PoolInitCodeHash)\n\n                // Calculate address(keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                // keccak256(abi.encode(token0, token1), POOL_INIT_CODE_HASH)));\n                mstore(poolMemoryPtr, and(keccak256(poolMemoryPtr, 85), 0xffffffffffffffffffffffffffffffffffffffff)) // 21\n                    // + 32 + 32\n            }\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 64)\n\n            // Initilize memory pointers\n            let amounts := mload(64) // pointer for amounts array\n            let poolAddresses := add(amounts, add(mul(poolCount, 32), 32)) // pointer for pools array\n            let emptyPtr := add(poolAddresses, mul(poolCount, 32)) // pointer for empty memory\n\n            // Initialize fromAmount\n            let fromAmount := 0\n\n            // Set the final amount in the amounts array to amountOut\n            mstore(add(amounts, mul(poolCount, 0x20)), amountOut)\n\n            //---------------------------------//\n            // Calculate Pool Addresses and Amounts\n            //---------------------------------//\n\n            // Calculate pool addresses\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                calculatePoolAddress(\n                    add(poolAddresses, mul(i, 32)),\n                    add(pools.offset, mul(i, 64)),\n                    uniswapV2FactoryAndFF,\n                    uniswapV2PoolInitCodeHash\n                )\n            }\n\n            // Rerverse loop through pools and calculate amounts\n            for { let i := poolCount } gt(i, 0) { i := sub(i, 1) } {\n                // Use previous pool data to calculate amount in\n                let indexSub1 := sub(i, 1)\n\n                // Get pool address\n                let poolAddress := mload(add(poolAddresses, mul(indexSub1, 32)))\n\n                // Get direction\n                let direction := and(1, calldataload(add(add(pools.offset, mul(indexSub1, 64)), 32)))\n\n                // Get amount\n                let amount := mload(add(amounts, mul(i, 32)))\n\n                //---------------------------------//\n                // Calculate Amount In\n                //---------------------------------//\n\n                //---------------------------------//\n                // Get Reserves\n                //---------------------------------//\n\n                // Store the selector\n                mstore(emptyPtr, 0x0902f1ac00000000000000000000000000000000000000000000000000000000) // 'getReserves()'\n                // selector\n\n                // Perform the external 'getReserves' call - outputs directly to ptr\n                if iszero(staticcall(gas(), poolAddress, emptyPtr, 4, emptyPtr, 64)) {\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is true, getReserves returns (reserve0, reserve1)\n                // If direction is false, getReserves returns (reserve1, reserve0) -> swap the values\n\n                // Load the reserve0 value returned by the 'getReserves' call.\n                let reserve1 := mload(emptyPtr)\n\n                // Load the reserve1 value returned by the 'getReserves' call.\n                let reserve0 := mload(add(emptyPtr, 32))\n\n                // Check if direction is true\n                if direction {\n                    // swap reserve0 and reserve1\n                    let temp := reserve0\n                    reserve0 := reserve1\n                    reserve1 := temp\n                }\n\n                //---------------------------------//\n\n                // Calculate numerator = reserve0 * amountOut * 10000\n                let numerator := mul(mul(reserve0, amount), 10000)\n\n                // Calculate denominator = (reserve1 - amountOut) * 9970\n                let denominator := mul(sub(reserve1, amount), 9970)\n\n                // Calculate amountIn = numerator / denominator + 1\n                fromAmount := add(div(numerator, denominator), 1)\n\n                // Store amountIn for the previous pool\n                mstore(add(amounts, mul(indexSub1, 32)), fromAmount)\n            }\n\n            //---------------------------------//\n\n            // Initialize variables\n            let poolAddress := 0\n            let nextPoolAddress := 0\n\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Loop for each pool\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(poolAddress) {\n                    // If it is the first pool, we need to transfer amount of srcToken to poolAddress\n                    // Load first pool address\n                    poolAddress := mload(poolAddresses)\n\n                    //---------------------------------//\n                    // Transfer amount of srcToken to poolAddress\n                    //---------------------------------//\n\n                    // Transfer fromAmount of srcToken to poolAddress\n                    mstore(emptyPtr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                        // selector\n                        // (function transfer(address recipient, uint256 amount))\n                    mstore(add(emptyPtr, 4), poolAddress) // store the recipient\n                    mstore(add(emptyPtr, 36), fromAmount) // store the amount\n                    pop(call(gas(), srcToken, 0, emptyPtr, 68, 0, 32)) // call transfer\n\n                    //---------------------------------//\n                }\n\n                // Adjust toAddress depending on if it is the last pool in the array\n                let toAddress := address()\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    // Load next pool address\n                    nextPoolAddress := mload(add(poolAddresses, mul(add(i, 1), 32)))\n\n                    // Adjust toAddress to next pool address\n                    toAddress := nextPoolAddress\n                }\n\n                // Check direction\n                let direction := and(1, calldataload(add(add(pools.offset, mul(i, 64)), 32)))\n\n                // if direction is 1, amount0out is 0 and amount1out is amount[i+1]\n                // if direction is 0, amount0out is amount[i+1] and amount1out is 0\n\n                // Load amount[i+1]\n                let amount := mload(add(amounts, mul(add(i, 1), 32)))\n\n                // Initialize amount0Out and amount1Out\n                let amount0Out := amount\n                let amount1Out := 0\n\n                // Check if direction is true\n                if direction {\n                    // swap amount0Out and amount1Out\n                    let temp := amount0Out\n                    amount0Out := amount1Out\n                    amount1Out := temp\n                }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                // Load the 'swap' selector, amount0Out, amount1Out, toAddress and data(\"\") into memory.\n                mstore(emptyPtr, 0x022c0d9f00000000000000000000000000000000000000000000000000000000)\n                // 'swap()' selector\n                mstore(add(emptyPtr, 4), amount0Out) // amount0Out\n                mstore(add(emptyPtr, 36), amount1Out) // amount1Out\n                mstore(add(emptyPtr, 68), toAddress) // toAddress\n                mstore(add(emptyPtr, 100), 0x80) // data length\n                mstore(add(emptyPtr, 132), 0) // data\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, emptyPtr, 164, 0, 64)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                //---------------------------------//\n\n                // Set poolAddress to nextPoolAddress\n                poolAddress := nextPoolAddress\n            }\n\n            //---------------------------------//\n        }\n    }\n\n    /// @dev Loops through UniswapV2 pools and swaps exact amount in\n    function _callUniswapV2PoolsSwapExactIn(\n        uint256 fromAmount,\n        IERC20 srcToken,\n        bytes calldata pools,\n        address payer,\n        bytes calldata permit2\n    )\n        internal\n    {\n        uint256 uniswapV2FactoryAndFF = UNISWAP_V2_FACTORY_AND_FF;\n        uint256 uniswapV2PoolInitCodeHash = UNISWAP_V2_POOL_INIT_CODE_HASH;\n        address permit2Address = PERMIT2;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 64)\n\n            // Initialize variables\n            let p := 0\n            let poolAddress := 0\n            let nextPoolAddress := 0\n            let direction := 0\n\n            // Loop for each pool\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(p) {\n                    //---------------------------------//\n                    // Calculate Pool Address\n                    //---------------------------------//\n\n                    // Calculate the pool address\n                    // We can do this by first calling the keccak256 function on the passed pool values and then\n                    // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encodePacked(token0,token1)), POOL_INIT_CODE_HASH));\n                    // The first 20 bytes of the computed address are the pool address\n\n                    // Get free memory pointer\n                    let ptr := mload(64)\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV2FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy pool data (skip last bit) to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF\n                    // SIZE)\n                    calldatacopy(token0ptr, pools.offset, 40)\n\n                    // Calculate keccak256(abi.encodePacked(address(token0), address(token1))\n                    mstore(token0ptr, keccak256(token0ptr, 40))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV2PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n\n                    //---------------------------------//\n                    // Transfer fromAmount of srcToken to poolAddress\n                    //---------------------------------//\n\n                    switch eq(payer, address())\n                    // if payer is this contract, transfer fromAmount of srcToken to poolAddress\n                    case 1 {\n                        // Transfer fromAmount of srcToken to poolAddress\n                        mstore(ptr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (function transfer(address recipient, uint256 amount))\n                        mstore(add(ptr, 4), poolAddress) // store the recipient\n                        mstore(add(ptr, 36), fromAmount) // store the amount\n                        pop(call(gas(), srcToken, 0, ptr, 68, 0, 32)) // call transfer\n                    }\n                    // othwerwise transferFrom fromAmount of srcToken to poolAddress from payer\n                    default {\n                        switch gt(permit2.length, 256)\n                        case 0 {\n                            // Transfer fromAmount of srcToken to poolAddress\n                            mstore(ptr, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store\n                                // the selector\n                            // (function transferFrom(address sender, address recipient,\n                            // uint256 amount))\n                            mstore(add(ptr, 4), payer) // store the sender\n                            mstore(add(ptr, 36), poolAddress) // store the recipient\n                            mstore(add(ptr, 68), fromAmount) // store the amount\n                            pop(call(gas(), srcToken, 0, ptr, 100, 0, 32)) // call transferFrom\n                        }\n                        default {\n                            // Otherwise Permit2.permitTransferFrom\n                            // Store function selector\n                            mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000)\n                            // permitTransferFrom()\n                            calldatacopy(add(ptr, 4), permit2.offset, permit2.length) // Copy data to memory\n                            mstore(add(ptr, 132), poolAddress) // Store recipient\n                            mstore(add(ptr, 164), fromAmount) // Store amount\n                            mstore(add(ptr, 196), payer) // Store payer\n                            // Call permit2.permitTransferFrom and revert if call failed\n                            if iszero(call(gas(), permit2Address, 0, ptr, add(permit2.length, 4), 0, 0)) {\n                                mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store\n                                    // error selector\n                                    // error Permit2Failed()\n                                revert(0, 4)\n                            }\n                        }\n                    }\n\n                    //---------------------------------//\n                }\n\n                // Direction is the first bit of the pool data\n                direction := and(1, calldataload(add(add(pools.offset, mul(i, 64)), 32)))\n\n                //---------------------------------//\n                // Calculate Amount Out\n                //---------------------------------//\n\n                //---------------------------------//\n                // Get Reserves\n                //---------------------------------//\n\n                // Get free memory pointer\n                let ptr := mload(64)\n\n                // Store the selector\n                mstore(ptr, 0x0902f1ac00000000000000000000000000000000000000000000000000000000) // 'getReserves()'\n                // selector\n\n                // Perform the external 'getReserves' call - outputs directly to ptr\n                if iszero(staticcall(gas(), poolAddress, ptr, 4, ptr, 64)) {\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is true, getReserves returns (reserve0, reserve1)\n                // If direction is false, getReserves returns (reserve1, reserve0) -> swap the values\n\n                // Load the reserve0 value returned by the 'getReserves' call.\n                let reserve1 := mload(ptr)\n\n                // Load the reserve1 value returned by the 'getReserves' call.\n                let reserve0 := mload(add(ptr, 32))\n\n                // Check if direction is true\n                if direction {\n                    // swap reserve0 and reserve1\n                    let temp := reserve0\n                    reserve0 := reserve1\n                    reserve1 := temp\n                }\n\n                //---------------------------------//\n\n                // Calculate amount based on fee\n                let amountWithFee := mul(fromAmount, 9970)\n\n                // Calculate numerator = amountWithFee * reserve1\n                let numerator := mul(amountWithFee, reserve1)\n\n                // Calculate denominator = reserve0 * 10000 + amountWithFee\n                let denominator := add(mul(reserve0, 10000), amountWithFee)\n\n                // Calculate amountOut = numerator / denominator\n                let amountOut := div(numerator, denominator)\n\n                fromAmount := amountOut\n\n                // if direction is true, amount0Out is 0 and amount1Out is fromAmount,\n                // otherwise amount0Out is fromAmount and amount1Out is 0\n\n                let amount0Out := fromAmount\n                let amount1Out := 0\n\n                // swap amount0Out and amount1Out if direction is false\n                if direction {\n                    amount0Out := 0\n                    amount1Out := fromAmount\n                }\n\n                //---------------------------------//\n\n                // Adjust toAddress depending on if it is the last pool in the array\n                let toAddress := address()\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    //---------------------------------//\n                    // Calculate Next Pool Address\n                    //---------------------------------//\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV2FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy next pool data to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    calldatacopy(token0ptr, add(pools.offset, mul(add(i, 1), 64)), 40)\n\n                    // Calculate keccak256(abi.encodePacked(address(token0), address(token1))\n                    mstore(token0ptr, keccak256(token0ptr, 40))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV2PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    nextPoolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    // Adjust toAddress to next pool address\n                    toAddress := nextPoolAddress\n\n                    //---------------------------------//\n                }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                // Load the 'swap' selector, amount0Out, amount1Out, toAddress and data(\"\") into memory.\n                mstore(ptr, 0x022c0d9f00000000000000000000000000000000000000000000000000000000)\n                // 'swap()' selector\n                mstore(add(ptr, 4), amount0Out) // amount0Out\n                mstore(add(ptr, 36), amount1Out) // amount1Out\n                mstore(add(ptr, 68), toAddress) // toAddress\n                mstore(add(ptr, 100), 0x80) // data length\n                mstore(add(ptr, 132), 0) // data\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, 164, 0, 64)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                //---------------------------------//\n\n                // Set poolAddress to nextPoolAddress\n                poolAddress := nextPoolAddress\n            }\n\n            //---------------------------------//\n        }\n    }\n}\n"},"src/util/UniswapV3Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IUniswapV3SwapCallback } from \"../interfaces/IUniswapV3SwapCallback.sol\";\n\n// Libraries\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Utils\nimport { WETHUtils } from \"./WETHUtils.sol\";\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title UniswapV3Utils\n/// @notice A contract containing common utilities for UniswapV3 swaps\nabstract contract UniswapV3Utils is IUniswapV3SwapCallback, AugustusFees, WETHUtils, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using SafeCastLib for int256;\n\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted if the caller is not a Uniswap V3 pool\n    error InvalidCaller();\n    /// @notice Error emitted if the transfer of tokens to the pool inside the callback failed\n    error CallbackTransferFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Used to caluclate pool address\n    uint256 public immutable UNISWAP_V3_POOL_INIT_CODE_HASH;\n\n    /// @dev Right padded FF + UniswapV3Factory address\n    uint256 public immutable UNISWAP_V3_FACTORY_AND_FF;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 private constant UNISWAP_V3_MIN_SQRT = 4_295_128_740;\n    uint256 private constant UNISWAP_V3_MAX_SQRT = 1_461_446_703_485_210_103_287_273_052_203_988_822_378_723_970_341;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(uint256 _uniswapV3FactoryAndFF, uint256 _uniswapV3PoolInitCodeHash) {\n        UNISWAP_V3_FACTORY_AND_FF = _uniswapV3FactoryAndFF;\n        UNISWAP_V3_POOL_INIT_CODE_HASH = _uniswapV3PoolInitCodeHash;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                EXTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    // @inheritdoc IUniswapV3SwapCallback\n    function uniswapV3SwapCallback(\n        int256 amount0Delta,\n        int256 amount1Delta,\n        bytes calldata data\n    )\n        external\n        whenNotPaused\n    {\n        // Initialize variables\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n        address permit2Address = PERMIT2;\n        address poolAddress;\n\n        // 160 (single pool data) + 352 (permit2 length)\n        bool isPermit2 = data.length == 512;\n\n        // Check if the caller is a UniswapV3Pool deployed by the canonical UniswapV3Factory\n        //solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Pool address\n            poolAddress := caller()\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            // We need make sure the caller is a UniswapV3Pool deployed by the canonical UniswapV3Factory\n            // 1. Prepare data for calculating the pool address\n            // Store ff+factory address, Load token0, token1, fee from bytes calldata and store pool init code hash\n\n            // Store 0xff + factory address (right padded)\n            mstore(ptr, uniswapV3FactoryAndFF)\n\n            // Store data offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n            let token0Offset := add(ptr, 21)\n\n            // Copy token0, token1, fee to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE) + 1 byte\n            // (direction)\n            calldatacopy(add(token0Offset, 1), add(data.offset, 65), 95)\n\n            // 2. Calculate the pool address\n            // We can do this by first calling the keccak256 function on the fetched values and then\n            // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            // The first 20 bytes of the computed address are the pool address\n\n            // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n            mstore(token0Offset, keccak256(token0Offset, 96))\n            // Store POOL_INIT_CODE_HASH\n            mstore(add(token0Offset, 32), uniswapV3PoolInitCodeHash)\n            // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address), keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n            // Get the first 20 bytes of the computed address\n            let computedAddress := and(mload(ptr), 0xffffffffffffffffffffffffffffffffffffffff)\n\n            // Check if the caller matches the computed address (and revert if not)\n            if xor(poolAddress, computedAddress) {\n                mstore(0, 0x48f5c3ed00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error InvalidCaller())\n                revert(0, 4) // revert with error selector\n            }\n        }\n\n        // Check if data length is greater than 160 bytes (1 pool)\n        // If the data length is greater than 160 bytes, we know that we are executing a multi-hop swapExactAmountOut\n        // by recursively calling swapExactAmountOut on the next pool, until we reach the last pool in the data and\n        // then we will transfer the tokens to the pool\n        if (data.length > 160 && !isPermit2) {\n            // Initialize recursive variables\n            address payer;\n            // solhint-disable-next-line no-inline-assembly\n            assembly {\n                // Copy payer address from calldata\n                payer := calldataload(164)\n            }\n            // Recursive call swapExactAmountOut\n            _callUniswapV3PoolsSwapExactAmountOut(amount0Delta > 0 ? -amount0Delta : -amount1Delta, data, payer);\n        } else {\n            // solhint-disable-next-line no-inline-assembly\n            assembly {\n                // Token to send to the pool\n                let token\n                // Amount to send to the pool\n                let amount\n\n                // Get free memory pointer\n                let ptr := mload(64)\n\n                // If the caller is the computed address, then we can safely assume that the caller is a UniswapV3Pool\n                // deployed by the canonical UniswapV3Factory\n\n                // 3. Transfer amount to the pool\n\n                // Check if amount0Delta or amount1Delta is positive and which token we need to send to the pool\n                if sgt(amount0Delta, 0) {\n                    // If amount0Delta is positive, we need to send amount0Delta token0 to the pool\n                    token := and(calldataload(add(data.offset, 64)), 0xffffffffffffffffffffffffffffffffffffffff)\n                    amount := amount0Delta\n                }\n                if sgt(amount1Delta, 0) {\n                    // If amount1Delta is positive, we need to send amount1Delta token1 to the pool\n                    token := calldataload(add(data.offset, 96))\n                    amount := amount1Delta\n                }\n\n                // Based on the data passed to the callback, we know the fromAddress that will pay for the\n                // swap, if it is this contract, we will execute the transfer() function,\n                // otherwise, we will execute transferFrom()\n\n                // Check if fromAddress is this contract\n                let fromAddress := calldataload(164)\n\n                switch eq(fromAddress, address())\n                // If fromAddress is this contract, execute transfer()\n                case 1 {\n                    // Prepare external call data\n                    mstore(ptr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                        // selector\n                        // (function transfer(address recipient, uint256 amount))\n                    mstore(add(ptr, 4), poolAddress) // store the recipient\n                    mstore(add(ptr, 36), amount) // store the amount\n                    let success := call(gas(), token, 0, ptr, 68, 0, 32) // call transfer\n                    if success {\n                        switch returndatasize()\n                        // check the return data size\n                        case 0 { success := gt(extcodesize(token), 0) }\n                        default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                    }\n\n                    if iszero(success) {\n                        mstore(0, 0x1bbb4abe00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (error CallbackTransferFailed())\n                        revert(0, 4) // revert with error selector\n                    }\n                }\n                // If fromAddress is not this contract, execute transferFrom() or permitTransferFrom()\n                default {\n                    switch isPermit2\n                    // If permit2 is not present, execute transferFrom()\n                    case 0 {\n                        mstore(ptr, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (function transferFrom(address sender, address recipient,\n                            // uint256 amount))\n                        mstore(add(ptr, 4), fromAddress) // store the sender\n                        mstore(add(ptr, 36), poolAddress) // store the recipient\n                        mstore(add(ptr, 68), amount) // store the amount\n                        let success := call(gas(), token, 0, ptr, 100, 0, 32) // call transferFrom\n                        if success {\n                            switch returndatasize()\n                            // check the return data size\n                            case 0 { success := gt(extcodesize(token), 0) }\n                            default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                        }\n                        if iszero(success) {\n                            mstore(0, 0x1bbb4abe00000000000000000000000000000000000000000000000000000000) // store the\n                                // selector\n                                // (error CallbackTransferFailed())\n                            revert(0, 4) // revert with error selector\n                        }\n                    }\n                    // If permit2 is present, execute permitTransferFrom()\n                    default {\n                        // Otherwise Permit2.permitTransferFrom\n                        // Store function selector\n                        mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000)\n                        // permitTransferFrom()\n                        calldatacopy(add(ptr, 4), 292, 352) // Copy data to memory\n                        mstore(add(ptr, 132), poolAddress) // Store pool address as recipient\n                        mstore(add(ptr, 164), amount) // Store amount as amount\n                        mstore(add(ptr, 196), fromAddress) // Store payer\n                        // Call permit2.permitTransferFrom and revert if call failed\n                        if iszero(call(gas(), permit2Address, 0, ptr, 356, 0, 0)) {\n                            mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store\n                                // error selector\n                                // error Permit2Failed()\n                            revert(0, 4)\n                        }\n                    }\n                }\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Loops through pools and performs swaps\n    function _callUniswapV3PoolsSwapExactAmountIn(\n        int256 fromAmount,\n        bytes calldata pools,\n        address fromAddress,\n        bytes calldata permit2\n    )\n        internal\n        returns (uint256 receivedAmount)\n    {\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 96)\n\n            // Initialize variables\n            let p := 0\n            let poolAddress := 0\n            let nextPoolAddress := 0\n            let direction := 0\n            let isPermit2 := gt(permit2.length, 256)\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            // Loop through pools\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(p) {\n                    //---------------------------------//\n                    // Calculate Pool Address\n                    //---------------------------------//\n\n                    // Calculate the pool address\n                    // We can do this by first calling the keccak256 function on the passed pool values and then\n                    // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    // The first 20 bytes of the computed address are the pool address\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV3FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy pool data (skip first byte) to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF\n                    // SIZE)\n                    calldatacopy(add(token0ptr, 1), add(pools.offset, 1), 95)\n\n                    // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n                    mstore(token0ptr, keccak256(token0ptr, 96))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n                }\n\n                // Direction is the first bit of the pool data\n                direction := shr(255, calldataload(add(pools.offset, mul(i, 96))))\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    //---------------------------------//\n                    // Calculate Next Pool Address\n                    //---------------------------------//\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV3FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy next pool data to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    calldatacopy(add(token0ptr, 1), add(add(pools.offset, 1), mul(add(i, 1), 96)), 95)\n\n                    // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n                    mstore(token0ptr, keccak256(token0ptr, 96))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    nextPoolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n                }\n\n                // Adjust fromAddress and fromAmount if it's not the first pool\n                if gt(i, 0) { fromAddress := address() }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                //---------------------------------//\n                // Return based on direction\n                //---------------------------------//\n\n                // Initialize data length\n                let dataLength := 0xa0\n\n                // Initialize total data length\n                let totalDataLength := 356\n\n                // If permit2 is present include permit2 data length in total data length\n                if eq(isPermit2, 1) {\n                    totalDataLength := add(totalDataLength, permit2.length)\n                    dataLength := add(dataLength, permit2.length)\n                }\n\n                // Return amount0 or amount1 depending on direction\n                switch direction\n                case 0 {\n                    // Prepare external call data\n                    // Store swap selector (0x128acb08)\n                    mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                    // Store toAddress\n                    mstore(add(ptr, 4), address())\n                    // Store direction\n                    mstore(add(ptr, 36), 0)\n                    // Store fromAmount\n                    mstore(add(ptr, 68), fromAmount)\n                    // Store sqrtPriceLimitX96\n                    mstore(add(ptr, 100), UNISWAP_V3_MAX_SQRT)\n                    // Store data offset\n                    mstore(add(ptr, 132), 0xa0)\n                    /// Store data length\n                    mstore(add(ptr, 164), dataLength)\n                    // Store fromAddress\n                    mstore(add(ptr, 228), fromAddress)\n                    // Store token0, token1, fee\n                    calldatacopy(add(ptr, 260), add(pools.offset, mul(i, 96)), 96)\n                    // If permit2 is present, store permit2 data\n                    if eq(isPermit2, 1) {\n                        // Store permit2 data\n                        calldatacopy(add(ptr, 356), permit2.offset, permit2.length)\n                    }\n                    // Perform the external 'swap' call\n                    if iszero(call(gas(), poolAddress, 0, ptr, totalDataLength, ptr, 32)) {\n                        // store return value directly to free memory pointer\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                    // If direction is 0, return amount0\n                    fromAmount := mload(ptr)\n                }\n                default {\n                    // Prepare external call data\n                    // Store swap selector (0x128acb08)\n                    mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                    // Store toAddress\n                    mstore(add(ptr, 4), address())\n                    // Store direction\n                    mstore(add(ptr, 36), 1)\n                    // Store fromAmount\n                    mstore(add(ptr, 68), fromAmount)\n                    // Store sqrtPriceLimitX96\n                    mstore(add(ptr, 100), UNISWAP_V3_MIN_SQRT)\n                    // Store data offset\n                    mstore(add(ptr, 132), 0xa0)\n                    /// Store data length\n                    mstore(add(ptr, 164), dataLength)\n                    // Store fromAddress\n                    mstore(add(ptr, 228), fromAddress)\n                    // Store token0, token1, fee\n                    calldatacopy(add(ptr, 260), add(pools.offset, mul(i, 96)), 96)\n                    // If permit2 is present, store permit2 data\n                    if eq(isPermit2, 1) {\n                        // Store permit2 data\n                        calldatacopy(add(ptr, 356), permit2.offset, permit2.length)\n                    }\n                    // Perform the external 'swap' call\n                    if iszero(call(gas(), poolAddress, 0, ptr, totalDataLength, ptr, 64)) {\n                        // store return value directly to free memory pointer\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n\n                    // If direction is 1, return amount1\n                    fromAmount := mload(add(ptr, 32))\n                }\n                //---------------------------------//\n\n                //---------------------------------//\n\n                // The next pool address was already calculated so we can set it as the current pool address for the\n                // next iteration of the loop\n                poolAddress := nextPoolAddress\n\n                // fromAmount = -fromAmount\n                fromAmount := sub(0, fromAmount)\n            }\n\n            //---------------------------------//\n        }\n        return fromAmount.toUint256();\n    }\n\n    /// @dev Recursively loops through pools and performs swaps\n    function _callUniswapV3PoolsSwapExactAmountOut(\n        int256 fromAmount,\n        bytes calldata pools,\n        address fromAddress\n    )\n        internal\n        returns (uint256 spentAmount, uint256 receivedAmount)\n    {\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Adjust data received from recursive call\n            //---------------------------------//\n\n            // Initialize variables\n            let poolsStartOffset := pools.offset\n            let poolsLength := pools.length\n            let previousPoolAddress := 0\n\n            // Check if pools length is not divisible by 96\n            if gt(mod(pools.length, 96), 0) {\n                // Check if pools length is greater than 128 bytes (1 pool)\n                if gt(pools.length, 160) {\n                    // Get the previous pool address from the first 20 bytes of pool data\n                    previousPoolAddress := and(calldataload(pools.offset), 0xffffffffffffffffffffffffffffffffffffffff)\n                    // Relculate the offset to skip data\n                    poolsStartOffset := add(pools.offset, 160)\n                    // Recalculate the length to skip data\n                    poolsLength := sub(pools.length, 160)\n                }\n            }\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            //---------------------------------//\n            // Calculate Pool Address\n            //---------------------------------//\n\n            // Calculate the pool address\n            // We can do this by first calling the keccak256 function on the passed pool values and then\n            // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            // The first 20 bytes of the computed address are the pool address\n\n            // Store 0xff + factory address (right padded)\n            mstore(ptr, uniswapV3FactoryAndFF)\n\n            // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n            let token0ptr := add(ptr, 21)\n\n            // Copy pool data (skip first byte) to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF\n            // SIZE)\n            calldatacopy(add(token0ptr, 1), add(poolsStartOffset, 1), 95)\n\n            // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n            mstore(token0ptr, keccak256(token0ptr, 96))\n\n            // Store POOL_INIT_CODE_HASH\n            mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n            // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n            // Load pool\n            let p := mload(ptr)\n\n            // Get the first 20 bytes of the computed address\n            let poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n            //---------------------------------//\n\n            //---------------------------------//\n            // Adjust toAddress\n            //---------------------------------//\n\n            let toAddress := address()\n\n            // If it's not the first entry to recursion, we use the pool address from the previous pool as\n            // the toAddress\n            if xor(previousPoolAddress, 0) { toAddress := previousPoolAddress }\n\n            //---------------------------------//\n\n            // Direction is the first bit of the pool data\n            let direction := shr(255, calldataload(poolsStartOffset))\n\n            //---------------------------------//\n            // Perform Swap\n            //---------------------------------//\n\n            //---------------------------------//\n            // Return based on direction\n            //---------------------------------//\n\n            // Return amount0 or amount1 depending on direction\n            switch direction\n            case 0 {\n                // Prepare external call data\n                // Store swap selector (0x128acb08)\n                mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                // Store toAddress\n                mstore(add(ptr, 4), toAddress)\n                // Store direction\n                mstore(add(ptr, 36), 0)\n                // Store fromAmount\n                mstore(add(ptr, 68), fromAmount)\n                // Store sqrtPriceLimitX96\n                mstore(add(ptr, 100), UNISWAP_V3_MAX_SQRT)\n                // Store data offset\n                mstore(add(ptr, 132), 0xa0)\n                /// Store data length\n                mstore(add(ptr, 164), add(64, poolsLength))\n                // Store poolAddress\n                mstore(add(ptr, 196), poolAddress)\n                // Store fromAddress\n                mstore(add(ptr, 228), fromAddress)\n                // Store token0, token1, fee\n                calldatacopy(add(ptr, 260), poolsStartOffset, poolsLength)\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, add(poolsLength, 260), ptr, 64)) {\n                    // store return value directly to free memory pointer\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n                // If direction is 0, return amount0 as fromAmount\n                fromAmount := mload(ptr)\n                // return amount1 as spentAmount\n                spentAmount := mload(add(ptr, 32))\n            }\n            default {\n                // Prepare external call data\n                // Store swap selector (0x128acb08)\n                mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                // Store toAddress\n                mstore(add(ptr, 4), toAddress)\n                // Store direction\n                mstore(add(ptr, 36), 1)\n                // Store fromAmount\n                mstore(add(ptr, 68), fromAmount)\n                // Store sqrtPriceLimitX96\n                mstore(add(ptr, 100), UNISWAP_V3_MIN_SQRT)\n                // Store data offset\n                mstore(add(ptr, 132), 0xa0)\n                /// Store data length\n                mstore(add(ptr, 164), add(64, poolsLength))\n                // Store poolAddress\n                mstore(add(ptr, 196), poolAddress)\n                // Store fromAddress\n                mstore(add(ptr, 228), fromAddress)\n                // Store token0, token1, fee\n                calldatacopy(add(ptr, 260), poolsStartOffset, poolsLength)\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, add(poolsLength, 260), ptr, 64)) {\n                    // store return value directly to free memory pointer\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is 1, return amount1 as fromAmount\n                fromAmount := mload(add(ptr, 32))\n                // return amount0 as spentAmount\n                spentAmount := mload(ptr)\n            }\n            //---------------------------------//\n\n            //---------------------------------//\n\n            // fromAmount = -fromAmount\n            fromAmount := sub(0, fromAmount)\n        }\n        return (spentAmount, fromAmount.toUint256());\n    }\n}\n"},"src/libraries/ERC20Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title ERC20Utils\n/// @notice Optimized functions for ERC20 tokens\nlibrary ERC20Utils {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    error IncorrectEthAmount();\n    error PermitFailed();\n    error TransferFromFailed();\n    error TransferFailed();\n    error ApprovalFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    IERC20 internal constant ETH = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);\n\n    /*//////////////////////////////////////////////////////////////\n                                APPROVE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Vendored from Solady by @vectorized - SafeTransferLib.approveWithRetry\n    /// https://github.com/Vectorized/solady/src/utils/SafeTransferLib.sol#L325\n    /// Instead of approving a specific amount, this function approves for uint256(-1) (type(uint256).max).\n    function approve(IERC20 token, address to) internal {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(0x14, to) // Store the `to` argument.\n            mstore(0x34, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) // Store the `amount`\n                // argument (type(uint256).max).\n            mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n            // Perform the approval, retrying upon failure.\n            if iszero(\n                and( // The arguments of `and` are evaluated from right to left.\n                    or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.\n                    call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n                )\n            ) {\n                mstore(0x34, 0) // Store 0 for the `amount`.\n                mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n                pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n                mstore(0x34, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) // Store\n                    // type(uint256).max for the `amount`.\n                // Retry the approval, reverting upon failure.\n                if iszero(\n                    and(\n                        or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.\n                        call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n                    )\n                ) {\n                    mstore(0, 0x8164f84200000000000000000000000000000000000000000000000000000000)\n                    // store the selector (error ApprovalFailed())\n                    revert(0, 4) // revert with error selector\n                }\n            }\n            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PERMIT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes an ERC20 permit and reverts if invalid length is provided\n    function permit(IERC20 token, bytes calldata data) internal {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // check the permit length\n            switch data.length\n            // 32 * 7 = 224 EIP2612 Permit\n            case 224 {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0xd505accf00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // function permit(address owner, address spender, uint256\n                    // amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n                calldatacopy(add(x, 4), data.offset, 224) // store the args\n                pop(call(gas(), token, 0, x, 228, 0, 32)) // call ERC20 permit, skip checking return data\n            }\n            // 32 * 8 = 256 DAI-Style Permit\n            case 256 {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0x8fcbaf0c00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // function permit(address holder, address spender, uint256\n                    // nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s)\n                calldatacopy(add(x, 4), data.offset, 256) // store the args\n                pop(call(gas(), token, 0, x, 260, 0, 32)) // call ERC20 permit, skip checking return data\n            }\n            default {\n                mstore(0, 0xb78cb0dd00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error PermitFailed())\n                revert(0, 4)\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 ETH\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Returns 1 if the token is ETH, 0 if not ETH\n    function isETH(IERC20 token, uint256 amount) internal view returns (uint256 fromETH) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // If token is ETH\n            if eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) {\n                // if msg.value is not equal to fromAmount, then revert\n                if xor(amount, callvalue()) {\n                    mstore(0, 0x8b6ebb4d00000000000000000000000000000000000000000000000000000000) // store the selector\n                        // (error IncorrectEthAmount())\n                    revert(0, 4) // revert with error selector\n                }\n                // return 1 if ETH\n                fromETH := 1\n            }\n            // If token is not ETH\n            if xor(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) {\n                // if msg.value is not equal to 0, then revert\n                if gt(callvalue(), 0) {\n                    mstore(0, 0x8b6ebb4d00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error IncorrectEthAmount())\n                    revert(0, 4) // revert with error selector\n                }\n            }\n        }\n        // return 0 if not ETH\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                TRANSFER\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes transfer and reverts if it fails, works for both ETH and ERC20 transfers\n    function safeTransfer(IERC20 token, address recipient, uint256 amount) internal returns (bool success) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            switch eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)\n            // ETH\n            case 1 {\n                // transfer ETH\n                // Cap gas at 10000 to avoid reentrancy\n                success := call(10000, recipient, amount, 0, 0, 0, 0)\n            }\n            // ERC20\n            default {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (function transfer(address recipient, uint256 amount))\n                mstore(add(x, 4), recipient) // store the recipient\n                mstore(add(x, 36), amount) // store the amount\n                success := call(gas(), token, 0, x, 68, 0, 32) // call transfer\n                if success {\n                    switch returndatasize()\n                    // check the return data size\n                    case 0 { success := gt(extcodesize(token), 0) }\n                    default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                }\n            }\n            if iszero(success) {\n                mstore(0, 0x90b8ec1800000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error TransferFailed())\n                revert(0, 4) // revert with error selector\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             TRANSFER FROM\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes transferFrom and reverts if it fails\n    function safeTransferFrom(\n        IERC20 srcToken,\n        address sender,\n        address recipient,\n        uint256 amount\n    )\n        internal\n        returns (bool success)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            let x := mload(64) // get the free memory pointer\n            mstore(x, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store the selector\n                // (function transferFrom(address sender, address recipient,\n                // uint256 amount))\n            mstore(add(x, 4), sender) // store the sender\n            mstore(add(x, 36), recipient) // store the recipient\n            mstore(add(x, 68), amount) // store the amount\n            success := call(gas(), srcToken, 0, x, 100, 0, 32) // call transferFrom\n            if success {\n                switch returndatasize()\n                // check the return data size\n                case 0 { success := gt(extcodesize(srcToken), 0) }\n                default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n            }\n            if iszero(success) {\n                mstore(x, 0x7939f42400000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error TransferFromFailed())\n                revert(x, 4) // revert with error selector\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                BALANCE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Returns the balance of an account, works for both ETH and ERC20 tokens\n    function getBalance(IERC20 token, address account) internal view returns (uint256 balanceOf) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            switch eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)\n            // ETH\n            case 1 { balanceOf := balance(account) }\n            // ERC20\n            default {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0x70a0823100000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (function balanceOf(address account))\n                mstore(add(x, 4), account) // store the account\n                let success := staticcall(gas(), token, x, 36, x, 32) // call balanceOf\n                if success { balanceOf := mload(x) } // load the balance\n            }\n        }\n    }\n}\n"},"src/util/BalancerV2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Utils\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title BalancerV2Utils\n/// @notice A contract containing common utilities for BalancerV2 swaps\nabstract contract BalancerV2Utils is AugustusFees, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Emitted when the passed selector is invalid\n    error InvalidSelector();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev BalancerV2 vault address\n    address payable public immutable BALANCER_VAULT; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address payable _balancerVault) {\n        BALANCER_VAULT = _balancerVault;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Decode srcToken, destToken from balancerData, beneficiary and approve flag from beneficiaryAndApproveFlag\n    function _decodeBalancerV2Params(\n        uint256 beneficiaryAndApproveFlag,\n        bytes calldata balancerData\n    )\n        internal\n        pure\n        returns (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // Parse beneficiaryAndApproveFlag\n            beneficiary := and(beneficiaryAndApproveFlag, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            approve := shr(255, beneficiaryAndApproveFlag)\n            // Load calldata without selector\n            let callDataWithoutSelector := add(4, balancerData.offset)\n            // Check selector\n            switch calldataload(balancerData.offset)\n            // If the selector is for swap(tuple singleSwap,tuple funds,uint256 limit,uint256 deadline)\n            case 0x52bbbe2900000000000000000000000000000000000000000000000000000000 {\n                // Load srcToken from singleSswap.assetIn\n                srcToken := calldataload(add(callDataWithoutSelector, 288))\n                // Load destToken from singleSswap.assetOut\n                destToken := calldataload(add(callDataWithoutSelector, 320))\n            }\n            // If the selector is for batchSwap(uint8 kind,tuple[] swaps,address[] assets,tuple funds,int256[]\n            // limits,uint256 deadline)\n            case 0x945bcec900000000000000000000000000000000000000000000000000000000 {\n                // Load assetOffset from balancerData\n                let assetsOffset := calldataload(add(callDataWithoutSelector, 64))\n                // Load assetCount at assetOffset\n                let assetsCount := calldataload(add(callDataWithoutSelector, assetsOffset))\n                // Get swapExactAmountIn type from first 32 bytes of balancerData\n                let swapType := calldataload(callDataWithoutSelector)\n                // Set fromAmount, srcToken, toAmount and destToken based on swapType\n                switch eq(swapType, 1)\n                case 1 {\n                    // Load srcToken as the last asset in balancerData.assets\n                    srcToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, mul(assetsCount, 32))))\n                    // Load destToken as the first asset in balancerData.assets\n                    destToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, 32)))\n                }\n                default {\n                    // Load srcToken as the first asset in balancerData.assets\n                    srcToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, 32)))\n                    // Load destToken as the last asset in balancerData.assets\n                    destToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, mul(assetsCount, 32))))\n                }\n            }\n            default {\n                // If the selector is invalid, revert\n                mstore(0, 0x7352d91c00000000000000000000000000000000000000000000000000000000) // store the\n                    // selector for error InvalidSelector();\n                revert(0, 4)\n            }\n            // Balancer users 0x0 as ETH address so we need to convert it\n            if eq(srcToken, 0) { srcToken := 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE }\n            if eq(destToken, 0) { destToken := 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE }\n        }\n        return (srcToken, destToken, beneficiary, approve);\n    }\n\n    /// @dev Call balancerVault with data\n    function _callBalancerV2(bytes calldata balancerData) internal {\n        address payable targetAddress = BALANCER_VAULT;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // Load free memory pointer\n            let ptr := mload(64)\n            // Copy the balancerData to memory\n            calldatacopy(ptr, balancerData.offset, balancerData.length)\n            // Execute the call on balancerVault\n            if iszero(call(gas(), targetAddress, callvalue(), ptr, balancerData.length, 0, 0)) {\n                returndatacopy(ptr, 0, returndatasize()) // copy the revert data to memory\n                revert(ptr, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n}\n"},"src/util/AugustusRFQUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IAugustusRFQ } from \"../interfaces/IAugustusRFQ.sol\";\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../libraries/ERC20Utils.sol\";\n\n/// @title AugustusRFQUtils\n/// @notice A contract containing common utilities for AugustusRFQ swaps\ncontract AugustusRFQUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Emitted when the msg.sender is not authorized to be the taker\n    error UnauthorizedUser();\n\n    /// @dev Emitted when the orders length is 0\n    error InvalidOrdersLength();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev AugustusRFQ address\n    IAugustusRFQ public immutable AUGUSTUS_RFQ; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _augustusRFQ) {\n        AUGUSTUS_RFQ = IAugustusRFQ(_augustusRFQ);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Check if the msg.sender is authorized to be the taker\n    function _checkAuthorization(uint256 nonceAndMeta) internal view {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Parse nonceAndMeta\n            if xor(and(nonceAndMeta, 0xffffffffffffffffffffffffffffffffffffffff), 0) {\n                // If the taker is not 0, we check if the msg.sender is authorized\n                if xor(and(nonceAndMeta, 0xffffffffffffffffffffffffffffffffffffffff), caller()) {\n                    // The taker does not match the originalSender, revert\n                    mstore(0, 0x02a43f8b00000000000000000000000000000000000000000000000000000000) // function\n                        // selector for error UnauthorizedUser();\n                    revert(0, 4)\n                }\n            }\n        }\n    }\n}\n"},"src/interfaces/IAugustusRFQ.sol":{"content":"// SPDX-License-Identifier: ISC\n\npragma solidity 0.8.22;\npragma abicoder v2;\n\n// Types\nimport { Order, OrderInfo } from \"../AugustusV6Types.sol\";\n\ninterface IAugustusRFQ {\n    /// @dev Allows taker to fill an order\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    function fillOrder(Order calldata order, bytes calldata signature) external;\n\n    /// @dev The same as fillOrder but allows sender to specify the target beneficiary address\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    /// @param target Address of the receiver\n    function fillOrderWithTarget(Order calldata order, bytes calldata signature, address target) external;\n\n    /// @dev Allows taker to fill an order partially\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    /// @param takerTokenFillAmount Maximum taker token to fill this order with.\n    function partialFillOrder(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev Same as `partialFillOrder` but it allows to specify the destination address\n    ///  @param order Order quote to fill\n    ///  @param signature Signature of the maker corresponding to the order\n    ///  @param takerTokenFillAmount Maximum taker token to fill this order with.\n    ///  @param target Address that will receive swap funds\n    function partialFillOrderWithTarget(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount,\n        address target\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev Same as `partialFillOrderWithTarget` but it allows to pass permit\n    ///  @param order Order quote to fill\n    ///  @param signature Signature of the maker corresponding to the order\n    ///  @param takerTokenFillAmount Maximum taker token to fill this order with.\n    ///  @param target Address that will receive swap funds\n    ///  @param permitTakerAsset Permit calldata for taker\n    ///  @param permitMakerAsset Permit calldata for maker\n    function partialFillOrderWithTargetPermit(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount,\n        address target,\n        bytes calldata permitTakerAsset,\n        bytes calldata permitMakerAsset\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev batch fills orders until the takerFillAmount is swapped\n    /// @dev skip the order if it fails\n    /// @param orderInfos OrderInfo to fill\n    /// @param takerFillAmount total taker amount to fill\n    /// @param target Address of receiver\n\n    function tryBatchFillOrderTakerAmount(\n        OrderInfo[] calldata orderInfos,\n        uint256 takerFillAmount,\n        address target\n    )\n        external;\n\n    /// @dev batch fills orders until the makerFillAmount is swapped\n    /// @dev skip the order if it fails\n    /// @param orderInfos OrderInfo to fill\n    /// @param makerFillAmount total maker amount to fill\n    /// @param target Address of receiver\n    function tryBatchFillOrderMakerAmount(\n        OrderInfo[] calldata orderInfos,\n        uint256 makerFillAmount,\n        address target\n    )\n        external;\n}\n"},"src/storage/AugustusStorage.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// @title AugustusStorage\n// @notice Inherited storage layout for AugustusV6,\n// contracts should inherit this contract to access the storage layout\ncontract AugustusStorage {\n    /*//////////////////////////////////////////////////////////////\n                               FEES\n    //////////////////////////////////////////////////////////////*/\n\n    // @dev Mapping of tokens to boolean indicating if token is blacklisted for fee collection\n    mapping(IERC20 token => bool isBlacklisted) public blacklistedTokens;\n\n    // @dev Fee wallet to directly transfer paraswap share to\n    address payable public feeWallet;\n\n    // @dev Fee wallet address to register the paraswap share to in the fee vault\n    address payable public feeWalletDelegate;\n\n    /*//////////////////////////////////////////////////////////////\n                                CONTROL\n    //////////////////////////////////////////////////////////////*/\n\n    // @dev Contract paused state\n    bool public paused;\n}\n"},"src/interfaces/IAugustusFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title IAugustusFees\n/// @notice Interface for the AugustusFees contract, which handles the fees for the Augustus aggregator\ninterface IAugustusFees {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emmited when the balance is not enough to pay the fees\n    error InsufficientBalanceToPayFees();\n\n    /// @notice Error emmited when the quotedAmount is bigger than the fromAmount\n    error InvalidQuotedAmount();\n\n    /*//////////////////////////////////////////////////////////////\n                                 PUBLIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Parses the `partnerAndFee` parameter to extract the partner address and fee data.\n    /// @dev `partnerAndFee` is a uint256 value where data is packed in a specific bit layout.\n    ///\n    ///      The bit layout for `partnerAndFee` is as follows:\n    ///      - The most significant 160 bits (positions 255 to 96) represent the partner address.\n    ///      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:\n    ///          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus\n    ///          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus\n    ///          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees\n    ///          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount\n    ///      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.\n    ///\n    /// @param partnerAndFee Packed uint256 containing both partner address and fee data.\n    /// @return partner The extracted partner address as a payable address.\n    /// @return feeData The extracted fee data containing the fee percentage and flags.\n    function parsePartnerAndFeeData(uint256 partnerAndFee)\n        external\n        pure\n        returns (address payable partner, uint256 feeData);\n}\n"},"src/vendor/libraries/LibDiamond.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/libraries/LibDiamond.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n * /*****************************************************************************\n */\nimport { IDiamondCut } from \"../interfaces/IDiamondCut.sol\";\n\n// Remember to add the loupe functions from DiamondLoupeFacet to the diamond.\n// The loupe functions are required by the EIP2535 Diamonds standard\n\nerror InitializationFunctionReverted(address _initializationContractAddress, bytes _calldata);\n\nlibrary LibDiamond {\n    bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\"diamond.standard.diamond.storage\");\n\n    struct FacetAddressAndPosition {\n        address facetAddress;\n        uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\n    }\n\n    struct FacetFunctionSelectors {\n        bytes4[] functionSelectors;\n        uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\n    }\n\n    struct DiamondStorage {\n        // maps function selector to the facet address and\n        // the position of the selector in the facetFunctionSelectors.selectors array\n        mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\n        // maps facet addresses to function selectors\n        mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\n        // facet addresses\n        address[] facetAddresses;\n        // Used to query if a contract implements an interface.\n        // Used to implement ERC-165.\n        mapping(bytes4 => bool) supportedInterfaces;\n        // owner of the contract\n        address contractOwner;\n    }\n\n    function diamondStorage() internal pure returns (DiamondStorage storage ds) {\n        bytes32 position = DIAMOND_STORAGE_POSITION;\n        assembly {\n            ds.slot := position\n        }\n    }\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    function setContractOwner(address _newOwner) internal {\n        DiamondStorage storage ds = diamondStorage();\n        address previousOwner = ds.contractOwner;\n        ds.contractOwner = _newOwner;\n        emit OwnershipTransferred(previousOwner, _newOwner);\n    }\n\n    function contractOwner() internal view returns (address contractOwner_) {\n        contractOwner_ = diamondStorage().contractOwner;\n    }\n\n    function enforceIsContractOwner() internal view {\n        require(msg.sender == diamondStorage().contractOwner, \"LibDiamond: Must be contract owner\");\n    }\n\n    event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\n\n    // Internal function version of diamondCut\n    function diamondCut(IDiamondCut.FacetCut[] memory _diamondCut, address _init, bytes memory _calldata) internal {\n        for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\n            IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\n            if (action == IDiamondCut.FacetCutAction.Add) {\n                addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else if (action == IDiamondCut.FacetCutAction.Replace) {\n                replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else if (action == IDiamondCut.FacetCutAction.Remove) {\n                removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else {\n                revert(\"LibDiamondCut: Incorrect FacetCutAction\");\n            }\n        }\n        emit DiamondCut(_diamondCut, _init, _calldata);\n        initializeDiamondCut(_init, _calldata);\n    }\n\n    function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        require(_facetAddress != address(0), \"LibDiamondCut: Add facet can't be address(0)\");\n        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\n        // add new facet address if it does not exist\n        if (selectorPosition == 0) {\n            addFacet(ds, _facetAddress);\n        }\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            require(oldFacetAddress == address(0), \"LibDiamondCut: Can't add function that already exists\");\n            addFunction(ds, selector, selectorPosition, _facetAddress);\n            selectorPosition++;\n        }\n    }\n\n    function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        require(_facetAddress != address(0), \"LibDiamondCut: Add facet can't be address(0)\");\n        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\n        // add new facet address if it does not exist\n        if (selectorPosition == 0) {\n            addFacet(ds, _facetAddress);\n        }\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            require(oldFacetAddress != _facetAddress, \"LibDiamondCut: Can't replace function with same function\");\n            removeFunction(ds, oldFacetAddress, selector);\n            addFunction(ds, selector, selectorPosition, _facetAddress);\n            selectorPosition++;\n        }\n    }\n\n    function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        // if function does not exist then do nothing and return\n        require(_facetAddress == address(0), \"LibDiamondCut: Remove facet address must be address(0)\");\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            removeFunction(ds, oldFacetAddress, selector);\n        }\n    }\n\n    function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\n        enforceHasContractCode(_facetAddress, \"LibDiamondCut: New facet has no code\");\n        ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\n        ds.facetAddresses.push(_facetAddress);\n    }\n\n    function addFunction(\n        DiamondStorage storage ds,\n        bytes4 _selector,\n        uint96 _selectorPosition,\n        address _facetAddress\n    )\n        internal\n    {\n        ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\n        ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\n        ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\n    }\n\n    function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal {\n        require(_facetAddress != address(0), \"LibDiamondCut: Can't remove function that doesn't exist\");\n        // an immutable function is a function defined directly in a diamond\n        require(_facetAddress != address(this), \"LibDiamondCut: Can't remove immutable function\");\n        // replace selector with last selector, then delete last selector\n        uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\n        uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\n        // if not the same then replace _selector with lastSelector\n        if (selectorPosition != lastSelectorPosition) {\n            bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\n            ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\n            ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\n        }\n        // delete the last selector\n        ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\n        delete ds.selectorToFacetAndPosition[_selector];\n\n        // if no more selectors for facet address then delete the facet address\n        if (lastSelectorPosition == 0) {\n            // replace facet address with last facet address and delete last facet address\n            uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\n            uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\n            if (facetAddressPosition != lastFacetAddressPosition) {\n                address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\n                ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\n                ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\n            }\n            ds.facetAddresses.pop();\n            delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\n        }\n    }\n\n    function initializeDiamondCut(address _init, bytes memory _calldata) internal {\n        if (_init == address(0)) {\n            return;\n        }\n        enforceHasContractCode(_init, \"LibDiamondCut: _init address has no code\");\n        (bool success, bytes memory error) = _init.delegatecall(_calldata);\n        if (!success) {\n            if (error.length > 0) {\n                // bubble up error\n                /// @solidity memory-safe-assembly\n                assembly {\n                    let returndata_size := mload(error)\n                    revert(add(32, error), returndata_size)\n                }\n            } else {\n                revert InitializationFunctionReverted(_init, _calldata);\n            }\n        }\n    }\n\n    function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\n        uint256 contractSize;\n        assembly {\n            contractSize := extcodesize(_contract)\n        }\n        require(contractSize > 0, _errorMessage);\n    }\n}\n"},"lib/solady/src/utils/SafeCastLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe integer casting library that reverts on overflow.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeCastLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeCast.sol)\nlibrary SafeCastLib {\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*                       CUSTOM ERRORS                        */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    error Overflow();\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*          UNSIGNED INTEGER SAFE CASTING OPERATIONS          */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toUint8(uint256 x) internal pure returns (uint8) {\n        if (x >= 1 << 8) _revertOverflow();\n        return uint8(x);\n    }\n\n    function toUint16(uint256 x) internal pure returns (uint16) {\n        if (x >= 1 << 16) _revertOverflow();\n        return uint16(x);\n    }\n\n    function toUint24(uint256 x) internal pure returns (uint24) {\n        if (x >= 1 << 24) _revertOverflow();\n        return uint24(x);\n    }\n\n    function toUint32(uint256 x) internal pure returns (uint32) {\n        if (x >= 1 << 32) _revertOverflow();\n        return uint32(x);\n    }\n\n    function toUint40(uint256 x) internal pure returns (uint40) {\n        if (x >= 1 << 40) _revertOverflow();\n        return uint40(x);\n    }\n\n    function toUint48(uint256 x) internal pure returns (uint48) {\n        if (x >= 1 << 48) _revertOverflow();\n        return uint48(x);\n    }\n\n    function toUint56(uint256 x) internal pure returns (uint56) {\n        if (x >= 1 << 56) _revertOverflow();\n        return uint56(x);\n    }\n\n    function toUint64(uint256 x) internal pure returns (uint64) {\n        if (x >= 1 << 64) _revertOverflow();\n        return uint64(x);\n    }\n\n    function toUint72(uint256 x) internal pure returns (uint72) {\n        if (x >= 1 << 72) _revertOverflow();\n        return uint72(x);\n    }\n\n    function toUint80(uint256 x) internal pure returns (uint80) {\n        if (x >= 1 << 80) _revertOverflow();\n        return uint80(x);\n    }\n\n    function toUint88(uint256 x) internal pure returns (uint88) {\n        if (x >= 1 << 88) _revertOverflow();\n        return uint88(x);\n    }\n\n    function toUint96(uint256 x) internal pure returns (uint96) {\n        if (x >= 1 << 96) _revertOverflow();\n        return uint96(x);\n    }\n\n    function toUint104(uint256 x) internal pure returns (uint104) {\n        if (x >= 1 << 104) _revertOverflow();\n        return uint104(x);\n    }\n\n    function toUint112(uint256 x) internal pure returns (uint112) {\n        if (x >= 1 << 112) _revertOverflow();\n        return uint112(x);\n    }\n\n    function toUint120(uint256 x) internal pure returns (uint120) {\n        if (x >= 1 << 120) _revertOverflow();\n        return uint120(x);\n    }\n\n    function toUint128(uint256 x) internal pure returns (uint128) {\n        if (x >= 1 << 128) _revertOverflow();\n        return uint128(x);\n    }\n\n    function toUint136(uint256 x) internal pure returns (uint136) {\n        if (x >= 1 << 136) _revertOverflow();\n        return uint136(x);\n    }\n\n    function toUint144(uint256 x) internal pure returns (uint144) {\n        if (x >= 1 << 144) _revertOverflow();\n        return uint144(x);\n    }\n\n    function toUint152(uint256 x) internal pure returns (uint152) {\n        if (x >= 1 << 152) _revertOverflow();\n        return uint152(x);\n    }\n\n    function toUint160(uint256 x) internal pure returns (uint160) {\n        if (x >= 1 << 160) _revertOverflow();\n        return uint160(x);\n    }\n\n    function toUint168(uint256 x) internal pure returns (uint168) {\n        if (x >= 1 << 168) _revertOverflow();\n        return uint168(x);\n    }\n\n    function toUint176(uint256 x) internal pure returns (uint176) {\n        if (x >= 1 << 176) _revertOverflow();\n        return uint176(x);\n    }\n\n    function toUint184(uint256 x) internal pure returns (uint184) {\n        if (x >= 1 << 184) _revertOverflow();\n        return uint184(x);\n    }\n\n    function toUint192(uint256 x) internal pure returns (uint192) {\n        if (x >= 1 << 192) _revertOverflow();\n        return uint192(x);\n    }\n\n    function toUint200(uint256 x) internal pure returns (uint200) {\n        if (x >= 1 << 200) _revertOverflow();\n        return uint200(x);\n    }\n\n    function toUint208(uint256 x) internal pure returns (uint208) {\n        if (x >= 1 << 208) _revertOverflow();\n        return uint208(x);\n    }\n\n    function toUint216(uint256 x) internal pure returns (uint216) {\n        if (x >= 1 << 216) _revertOverflow();\n        return uint216(x);\n    }\n\n    function toUint224(uint256 x) internal pure returns (uint224) {\n        if (x >= 1 << 224) _revertOverflow();\n        return uint224(x);\n    }\n\n    function toUint232(uint256 x) internal pure returns (uint232) {\n        if (x >= 1 << 232) _revertOverflow();\n        return uint232(x);\n    }\n\n    function toUint240(uint256 x) internal pure returns (uint240) {\n        if (x >= 1 << 240) _revertOverflow();\n        return uint240(x);\n    }\n\n    function toUint248(uint256 x) internal pure returns (uint248) {\n        if (x >= 1 << 248) _revertOverflow();\n        return uint248(x);\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*           SIGNED INTEGER SAFE CASTING OPERATIONS           */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toInt8(int256 x) internal pure returns (int8) {\n        int8 y = int8(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt16(int256 x) internal pure returns (int16) {\n        int16 y = int16(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt24(int256 x) internal pure returns (int24) {\n        int24 y = int24(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt32(int256 x) internal pure returns (int32) {\n        int32 y = int32(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt40(int256 x) internal pure returns (int40) {\n        int40 y = int40(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt48(int256 x) internal pure returns (int48) {\n        int48 y = int48(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt56(int256 x) internal pure returns (int56) {\n        int56 y = int56(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt64(int256 x) internal pure returns (int64) {\n        int64 y = int64(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt72(int256 x) internal pure returns (int72) {\n        int72 y = int72(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt80(int256 x) internal pure returns (int80) {\n        int80 y = int80(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt88(int256 x) internal pure returns (int88) {\n        int88 y = int88(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt96(int256 x) internal pure returns (int96) {\n        int96 y = int96(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt104(int256 x) internal pure returns (int104) {\n        int104 y = int104(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt112(int256 x) internal pure returns (int112) {\n        int112 y = int112(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt120(int256 x) internal pure returns (int120) {\n        int120 y = int120(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt128(int256 x) internal pure returns (int128) {\n        int128 y = int128(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt136(int256 x) internal pure returns (int136) {\n        int136 y = int136(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt144(int256 x) internal pure returns (int144) {\n        int144 y = int144(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt152(int256 x) internal pure returns (int152) {\n        int152 y = int152(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt160(int256 x) internal pure returns (int160) {\n        int160 y = int160(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt168(int256 x) internal pure returns (int168) {\n        int168 y = int168(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt176(int256 x) internal pure returns (int176) {\n        int176 y = int176(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt184(int256 x) internal pure returns (int184) {\n        int184 y = int184(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt192(int256 x) internal pure returns (int192) {\n        int192 y = int192(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt200(int256 x) internal pure returns (int200) {\n        int200 y = int200(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt208(int256 x) internal pure returns (int208) {\n        int208 y = int208(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt216(int256 x) internal pure returns (int216) {\n        int216 y = int216(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt224(int256 x) internal pure returns (int224) {\n        int224 y = int224(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt232(int256 x) internal pure returns (int232) {\n        int232 y = int232(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt240(int256 x) internal pure returns (int240) {\n        int240 y = int240(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt248(int256 x) internal pure returns (int248) {\n        int248 y = int248(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*               OTHER SAFE CASTING OPERATIONS                */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toInt256(uint256 x) internal pure returns (int256) {\n        if (x >= 1 << 255) _revertOverflow();\n        return int256(x);\n    }\n\n    function toUint256(int256 x) internal pure returns (uint256) {\n        if (x < 0) _revertOverflow();\n        return uint256(x);\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*                      PRIVATE HELPERS                       */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function _revertOverflow() private pure {\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Store the function selector of `Overflow()`.\n            mstore(0x00, 0x35278d12)\n            // Revert with (offset, size).\n            revert(0x1c, 0x04)\n        }\n    }\n}\n"},"src/interfaces/IAugustusFeeVault.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title IAugustusFeeVault\n/// @notice Interface for the AugustusFeeVault contract\ninterface IAugustusFeeVault {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted when withdraw amount is zero or exceeds the stored amount\n    error InvalidWithdrawAmount();\n\n    /// @notice Error emmitted when caller is not an approved augustus contract\n    error UnauthorizedCaller();\n\n    /// @notice Error emitted when an invalid parameter length is passed\n    error InvalidParameterLength();\n\n    /// @notice Error emitted when batch withdraw fails\n    error BatchCollectFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when an augustus contract approval status is set\n    /// @param augustus The augustus contract address\n    /// @param approved The approval status\n    event AugustusApprovalSet(address indexed augustus, bool approved);\n\n    /*//////////////////////////////////////////////////////////////\n                                STRUCTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Struct to register fees\n    /// @param addresses The addresses to register fees for\n    /// @param token The token to register fees for\n    /// @param fees The fees to register\n    struct FeeRegistration {\n        address[] addresses;\n        IERC20 token;\n        uint256[] fees;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                COLLECT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Allows partners to withdraw fees allocated to them and stored in the vault\n    /// @param token The token to withdraw fees in\n    /// @param amount The amount of fees to withdraw\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function withdrawSomeERC20(IERC20 token, uint256 amount, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw all fees allocated to them and stored in the vault for a given token\n    /// @param token The token to withdraw fees in\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function withdrawAllERC20(IERC20 token, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw all fees allocated to them and stored in the vault for multiple tokens\n    /// @param tokens The tokens to withdraw fees i\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function batchWithdrawAllERC20(IERC20[] calldata tokens, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw fees allocated to them and stored in the vault\n    /// @param tokens The tokens to withdraw fees in\n    /// @param amounts The amounts of fees to withdraw\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function batchWithdrawSomeERC20(\n        IERC20[] calldata tokens,\n        uint256[] calldata amounts,\n        address recipient\n    )\n        external\n        returns (bool success);\n\n    /*//////////////////////////////////////////////////////////////\n                            BALANCE GETTERS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Get the balance of a given token for a given partner\n    /// @param token The token to get the balance of\n    /// @param partner The partner to get the balance for\n    /// @return feeBalance The balance of the given token for the given partner\n    function getBalance(IERC20 token, address partner) external view returns (uint256 feeBalance);\n\n    /// @notice Get the balances of a given partner for multiple tokens\n    /// @param tokens The tokens to get the balances of\n    /// @param partner The partner to get the balances for\n    /// @return feeBalances The balances of the given tokens for the given partner\n    function batchGetBalance(\n        IERC20[] calldata tokens,\n        address partner\n    )\n        external\n        view\n        returns (uint256[] memory feeBalances);\n\n    /// @notice Returns the unallocated fees for a given token\n    /// @param token The token to get the unallocated fees for\n    /// @return unallocatedFees The unallocated fees for the given token\n    function getUnallocatedFees(IERC20 token) external view returns (uint256 unallocatedFees);\n\n    /*//////////////////////////////////////////////////////////////\n                                 OWNER\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Registers the given feeData to the vault\n    /// @param feeData The fee registration data\n    function registerFees(FeeRegistration memory feeData) external;\n\n    /// @notice Sets the augustus contract approval status\n    /// @param augustus The augustus contract address\n    /// @param approved The approval status\n    function setAugustusApproval(address augustus, bool approved) external;\n\n    /// @notice Sets the contract pause state\n    /// @param _isPaused The new pause state\n    function setContractPauseState(bool _isPaused) external;\n}\n"},"src/interfaces/IAugustusRFQRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { AugustusRFQData, OrderInfo } from \"../AugustusV6Types.sol\";\n\n/// @title IAugustusRFQRouter\n/// @notice Interface for direct swaps on AugustusRFQ\ninterface IAugustusRFQRouter is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when the passed msg.value is not equal to the fromAmount\n    error IncorrectEthAmount();\n\n    /*//////////////////////////////////////////////////////////////\n                             TRY BATCH FILL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ\n    /// the function that is executed is defined by the direction flag in the data param\n    /// @param data Struct containing common data for AugustusRFQ\n    /// @param orders An array containing AugustusRFQ orderInfo data\n    /// @param permit Permit data for the swap\n    /// @return spentAmount The amount of tokens spent\n    /// @return receivedAmount The amount of tokens received\n    function swapOnAugustusRFQTryBatchFill(\n        AugustusRFQData calldata data,\n        OrderInfo[] calldata orders,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount);\n}\n"},"src/vendor/interfaces/IDiamondCut.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/interfaces/IDiamondCut.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n * /*****************************************************************************\n */\ninterface IDiamondCut {\n    enum FacetCutAction {\n        Add,\n        Replace,\n        Remove\n    }\n    // Add=0, Replace=1, Remove=2\n\n    struct FacetCut {\n        address facetAddress;\n        FacetCutAction action;\n        bytes4[] functionSelectors;\n    }\n\n    /// @notice Add/replace/remove any number of functions and optionally execute\n    ///         a function with delegatecall\n    /// @param _diamondCut Contains the facet addresses and function selectors\n    /// @param _init The address of the contract or facet to execute _calldata\n    /// @param _calldata A function call, including function selector and arguments\n    ///                  _calldata is executed with delegatecall on _init\n    function diamondCut(FacetCut[] calldata _diamondCut, address _init, bytes calldata _calldata) external;\n\n    event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\n}\n"},"src/interfaces/IUniswapV3SwapCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title Callback for IUniswapV3PoolActions#swap\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\ninterface IUniswapV3SwapCallback {\n    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n    /// @dev In the implementation you must pay the pool tokens owed for the swap.\n    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\n    function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external;\n}\n"},"src/routers/general/AugustusRFQRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IAugustusRFQRouter } from \"../../interfaces/IAugustusRFQRouter.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { AugustusRFQData, OrderInfo } from \"../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusRFQUtils } from \"../../util/AugustusRFQUtils.sol\";\nimport { WETHUtils } from \"../../util/WETHUtils.sol\";\nimport { PauseUtils } from \"../../util/PauseUtils.sol\";\nimport { Permit2Utils } from \"../../util/Permit2Utils.sol\";\nimport { AugustusFees } from \"../../fees/AugustusFees.sol\";\n\n/// @title AugustusRFQRouter\n/// @notice A contract for executing direct AugustusRFQ swaps\nabstract contract AugustusRFQRouter is\n    IAugustusRFQRouter,\n    AugustusRFQUtils,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                             TRY BATCH FILL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IAugustusRFQRouter\n    // solhint-disable-next-line code-complexity\n    function swapOnAugustusRFQTryBatchFill(\n        AugustusRFQData calldata data,\n        OrderInfo[] calldata orders,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount)\n    {\n        // Dereference data\n        address payable beneficiary = data.beneficiary;\n        uint256 ordersLength = orders.length;\n        uint256 fromAmount = data.fromAmount;\n        uint256 toAmount = data.toAmount;\n        uint8 wrapApproveDirection = data.wrapApproveDirection;\n\n        // Decode wrapApproveDirection\n        // First 2 bits are for wrap\n        // Next 1 bit is for approve\n        // Last 1 bit is for direction\n\n        uint8 wrap;\n        bool approve;\n        bool direction;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            wrap := and(3, wrapApproveDirection)\n            approve := and(shr(2, wrapApproveDirection), 1)\n            direction := and(shr(3, wrapApproveDirection), 1)\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (toAmount == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if ordersLength is valid\n        if (ordersLength == 0) {\n            revert InvalidOrdersLength();\n        }\n\n        // Check if msg.sender is authorized to be the taker for all orders\n        for (uint256 i = 0; i < ordersLength; ++i) {\n            _checkAuthorization(orders[i].order.nonceAndMeta);\n        }\n\n        // Dereference srcToken and destToken\n        IERC20 srcToken = IERC20(orders[0].order.takerAsset);\n        IERC20 destToken = IERC20(orders[0].order.makerAsset);\n\n        // Check if we need to wrap or permit\n        if (wrap != 1) {\n            // If msg.value is not 0, revert\n            if (msg.value > 0) {\n                revert IncorrectEthAmount();\n            }\n\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), fromAmount);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), fromAmount);\n            }\n        } else {\n            // Check if msg.value is equal to fromAmount\n            if (fromAmount != msg.value) {\n                revert IncorrectEthAmount();\n            }\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: fromAmount }();\n        }\n\n        if (approve) {\n            // Approve srcToken to AugustusRFQ\n            srcToken.approve(address(AUGUSTUS_RFQ));\n        }\n\n        // Check if we need to execute a swapExactAmountIn or a swapExactAmountOut\n        if (!direction) {\n            // swapExactAmountIn\n            // Unwrap WETH if needed\n            if (wrap == 2) {\n                // Execute tryBatchFillOrderTakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderTakerAmount(orders, fromAmount, address(this));\n                // Check received amount\n                receivedAmount = IERC20(WETH).getBalance(address(this));\n                // Check if swap succeeded\n                if (receivedAmount < toAmount) {\n                    revert InsufficientReturnAmount();\n                }\n                // Unwrap WETH\n                WETH.withdraw(--receivedAmount);\n                // Transfer ETH to beneficiary\n                ERC20Utils.ETH.safeTransfer(beneficiary, receivedAmount);\n            } else {\n                // Check balance of beneficiary before swap\n                uint256 beforeBalance = destToken.getBalance(beneficiary);\n                // Execute tryBatchFillOrderTakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderTakerAmount(orders, fromAmount, beneficiary);\n                // set receivedAmount to afterBalance - beforeBalance\n                receivedAmount = destToken.getBalance(beneficiary) - beforeBalance;\n                // Check if swap succeeded\n                if (receivedAmount < toAmount) {\n                    revert InsufficientReturnAmount();\n                }\n            }\n\n            // Return spentAmount and receivedAmount\n            return (fromAmount, receivedAmount);\n        } else {\n            // swapExactAmountOut\n            // Unwrap WETH if needed\n            if (wrap == 2) {\n                // Execute tryBatchFillOrderMakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderMakerAmount(orders, toAmount, address(this));\n                // Check remaining WETH balance\n                receivedAmount = IERC20(WETH).getBalance(address(this));\n                // Unwrap WETH\n                WETH.withdraw(--receivedAmount);\n                // Transfer ETH to beneficiary\n                ERC20Utils.ETH.safeTransfer(beneficiary, receivedAmount);\n                // Set toAmount to receivedAmount\n                toAmount = receivedAmount;\n            } else {\n                // Execute tryBatchFillOrderMakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderMakerAmount(orders, toAmount, beneficiary);\n            }\n\n            // Check remaining amount\n            uint256 remainingAmount = srcToken.getBalance(address(this));\n\n            // Send remaining srcToken to msg.sender\n            if (remainingAmount > 1) {\n                // If srcToken was ETH\n                if (wrap == 1) {\n                    // Unwrap WETH\n                    WETH.withdraw(--remainingAmount);\n                    // Transfer ETH to msg.sender\n                    ERC20Utils.ETH.safeTransfer(msg.sender, remainingAmount);\n                } else {\n                    // Transfer remaining srcToken to msg.sender\n                    srcToken.safeTransfer(msg.sender, --remainingAmount);\n                }\n            }\n\n            // Return spentAmount and receivedAmount\n            return (fromAmount - remainingAmount, toAmount);\n        }\n    }\n}\n"},"src/interfaces/ICurveV1SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { CurveV1Data } from \"../AugustusV6Types.sol\";\n\n/// @title ICurveV1SwapExactAmountIn\n/// @notice Interface for direct swaps on Curve V1\ninterface ICurveV1SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Curve V1 pools\n    /// @param curveV1Data Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnCurveV1(\n        CurveV1Data calldata curveV1Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/ICurveV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { CurveV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title ICurveV2SwapExactAmountIn\n/// @notice Interface for direct swaps on Curve V2\ninterface ICurveV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Curve V2 pools\n    /// @param curveV2Data Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnCurveV2(\n        CurveV2Data calldata curveV2Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IGenericSwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { GenericData } from \"../AugustusV6Types.sol\";\n\n/// @title IGenericSwapExactAmountIn\n/// @notice Interface for executing a generic swapExactAmountIn through an Augustus executor\ninterface IGenericSwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a generic swapExactAmountIn using the given executorData on the given executor\n    /// @param executor The address of the executor contract to use\n    /// @param swapData Generic data containing the swap information\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @param executorData The data to execute on the executor\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountIn(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IGenericSwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { GenericData } from \"../AugustusV6Types.sol\";\n\n/// @title IGenericSwapExactAmountOut\n/// @notice Interface for executing a generic swapExactAmountOut through an Augustus executor\ninterface IGenericSwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a generic swapExactAmountOut using the given executorData on the given executor\n    /// @param executor The address of the executor contract to use\n    /// @param swapData Generic data containing the swap information\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @param executorData The data to execute on the executor\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received from the swap\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOut(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV2SwapExactAmountIn\n/// @notice Interface for direct swaps on Uniswap V2\ninterface IUniswapV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Uniswap V2 pools\n    /// @param uniData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV3SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV3SwapExactAmountIn\n/// @notice Interface for executing direct swapExactAmountIn on Uniswap V3\ninterface IUniswapV3SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Uniswap V3 pools\n    /// @param uniData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IBalancerV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IBalancerV2SwapExactAmountIn\n/// @notice Interface for executing swapExactAmountIn directly on Balancer V2 pools\ninterface IBalancerV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Balancer V2 pools\n    /// @param balancerData Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @param data The calldata to execute\n    /// the first 20 bytes are the beneficiary address and the left most bit is the approve flag\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV2SwapExactAmountOut\n/// @notice Interface for direct swapExactAmountOut on Uniswap V2\ninterface IUniswapV2SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Uniswap V2 pools\n    /// @param swapData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnUniswapV2(\n        UniswapV2Data calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV3SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV3SwapExactAmountOut\n/// @notice Interface for executing direct swapExactAmountOut on Uniswap V3\ninterface IUniswapV3SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Uniswap V3 pools\n    /// @param swapData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnUniswapV3(\n        UniswapV3Data calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IBalancerV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IBalancerV2SwapExactAmountOut\n/// @notice Interface for executing swapExactAmountOut directly on Balancer V2 pools\ninterface IBalancerV2SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Balancer V2 pools\n    /// @param balancerData Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @param data The calldata to execute\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { GenericUtils } from \"../../util/GenericUtils.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IGenericSwapExactAmountIn } from \"../../interfaces/IGenericSwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { GenericData } from \"../../AugustusV6Types.sol\";\n\n/// @title GenericSwapExactAmountIn\n/// @notice Router for executing generic swaps with exact amount in through an executor\nabstract contract GenericSwapExactAmountIn is IGenericSwapExactAmountIn, GenericUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IGenericSwapExactAmountIn\n    function swapExactAmountIn(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference swapData\n        IERC20 destToken = swapData.destToken;\n        IERC20 srcToken = swapData.srcToken;\n        uint256 amountIn = swapData.fromAmount;\n        uint256 minAmountOut = swapData.toAmount;\n        uint256 quotedAmountOut = swapData.quotedAmount;\n        address payable beneficiary = swapData.beneficiary;\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, executor, amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, executor, amountIn);\n            }\n        }\n\n        // Execute swap\n        _callSwapExactAmountInExecutor(executor, executorData, amountIn);\n\n        // Check balance after swap\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IGenericSwapExactAmountOut } from \"../../interfaces/IGenericSwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { GenericData } from \"../../AugustusV6Types.sol\";\n\n// Utils\nimport { GenericUtils } from \"../../util/GenericUtils.sol\";\n\n/// @title GenericSwapExactAmountOut\n/// @notice Router for executing generic swaps with exact amount out through an executor\nabstract contract GenericSwapExactAmountOut is IGenericSwapExactAmountOut, GenericUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IGenericSwapExactAmountOut\n    function swapExactAmountOut(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference swapData\n        IERC20 destToken = swapData.destToken;\n        IERC20 srcToken = swapData.srcToken;\n        uint256 maxAmountIn = swapData.fromAmount;\n        uint256 amountOut = swapData.toAmount;\n        uint256 quotedAmountIn = swapData.quotedAmount;\n        address payable beneficiary = swapData.beneficiary;\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check contract balance\n        uint256 balanceBefore = srcToken.getBalance(address(this));\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to executor if not ETH\n        if (srcToken.isETH(maxAmountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, executor, maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, executor, maxAmountIn);\n            }\n        } else {\n            // If srcToken is ETH, we have to deduct msg.value from balanceBefore\n            balanceBefore = balanceBefore - msg.value;\n        }\n\n        // Execute swap\n        _callSwapExactAmountOutExecutor(executor, executorData, maxAmountIn, amountOut);\n\n        // Check balance of destToken\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check balance of srcToken, deducting the balance before the swap if it is greater than 1\n        uint256 remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { ICurveV1SwapExactAmountIn } from \"../../../interfaces/ICurveV1SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { CurveV1Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusFees } from \"../../../fees/AugustusFees.sol\";\nimport { WETHUtils } from \"../../../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../../../util/Permit2Utils.sol\";\nimport { PauseUtils } from \"../../../util/PauseUtils.sol\";\n\n/// @title CurveV1SwapExactAmountIn\n/// @notice A contract for executing direct CurveV1 swaps\nabstract contract CurveV1SwapExactAmountIn is\n    ICurveV1SwapExactAmountIn,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc ICurveV1SwapExactAmountIn\n    function swapExactAmountInOnCurveV1(\n        CurveV1Data calldata curveV1Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference curveV1Data\n        IERC20 srcToken = curveV1Data.srcToken;\n        IERC20 destToken = curveV1Data.destToken;\n        uint256 amountIn = curveV1Data.fromAmount;\n        uint256 minAmountOut = curveV1Data.toAmount;\n        uint256 quotedAmountOut = curveV1Data.quotedAmount;\n        address payable beneficiary = curveV1Data.beneficiary;\n        uint256 curveAssets = curveV1Data.curveAssets;\n        uint256 curveData = curveV1Data.curveData;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Decode curveData\n        // 160 bits for curve exchange address\n        // 1 bit for approve flag\n        // 2 bits for wrap flag\n        // 2 bits for swap type flag\n\n        address exchange;\n        bool approveFlag;\n        uint256 wrapFlag;\n        uint256 swapType;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            exchange := and(curveData, 0xffffffffffffffffffffffffffffffffffffffff)\n            approveFlag := and(shr(160, curveData), 1)\n            wrapFlag := and(shr(161, curveData), 3)\n            swapType := and(shr(163, curveData), 3)\n        }\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to augustus if not ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                srcToken.approve(exchange);\n            }\n        } else {\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                IERC20(WETH).approve(exchange);\n            }\n        }\n\n        // Execute swap\n        _executeSwapOnCurveV1(exchange, wrapFlag, swapType, curveAssets, amountIn);\n\n        // Check balance after swap and unwrap if needed\n        if (wrapFlag == 2) {\n            // Received amount is WETH balance\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Received amount is destToken balance\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    function _executeSwapOnCurveV1(\n        address exchange,\n        uint256 wrapFlag,\n        uint256 swapType,\n        uint256 curveAssets,\n        uint256 fromAmount\n    )\n        private\n    {\n        // Load WETH address\n        address weth = address(WETH);\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Load free memory pointer\n            let ptr := mload(64)\n\n            //-----------------------------------------------------------------------------------\n            // Wrap ETH if needed\n            //-----------------------------------------------------------------------------------\n\n            // Check if wrap src flag is set\n            if eq(wrapFlag, 1) {\n                // Prepare call data for WETH.deposit()\n\n                // Store function selector and\n                mstore(ptr, 0xd0e30db000000000000000000000000000000000000000000000000000000000) // deposit()\n\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), weth, callvalue(), ptr, 4, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n\n            //-----------------------------------------------------------------------------------\n            // Execute swap\n            //-----------------------------------------------------------------------------------\n\n            // Prepare call data for external call\n\n            // Check swap type\n            switch swapType\n            // 0x01 for EXCHANGE_UNDERLYING\n            case 0x01 {\n                // Store function selector for function exchange_underlying(int128,int128,uint256,uint256)\n                mstore(ptr, 0xa6417ed600000000000000000000000000000000000000000000000000000000) // store selector\n                mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                mstore(add(ptr, 68), fromAmount) // store fromAmount\n                mstore(add(ptr, 100), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x00(default) for EXCHANGE\n            default {\n                // check send eth wrap flag\n                switch eq(wrapFlag, 0x03)\n                // if it is not set, store selector for function exchange(int128,int128,uint256,uint256)\n                case 1 {\n                    mstore(ptr, 0x3df0212400000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                    mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, callvalue(), ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n                // if it is set, store selector for function exchange(int128,int128,uint256,uint256)\n                default {\n                    mstore(ptr, 0x3df0212400000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                    mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n            }\n        }\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { ICurveV2SwapExactAmountIn } from \"../../../interfaces/ICurveV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { CurveV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusFees } from \"../../../fees/AugustusFees.sol\";\nimport { WETHUtils } from \"../../../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../../../util/Permit2Utils.sol\";\nimport { PauseUtils } from \"../../../util/PauseUtils.sol\";\n\n/// @title CurveV2SwapExactAmountIn\n/// @notice A contract for executing direct CurveV2 swaps\nabstract contract CurveV2SwapExactAmountIn is\n    ICurveV2SwapExactAmountIn,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc ICurveV2SwapExactAmountIn\n    function swapExactAmountInOnCurveV2(\n        CurveV2Data calldata curveV2Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference curveData\n        IERC20 srcToken = curveV2Data.srcToken;\n        IERC20 destToken = curveV2Data.destToken;\n        uint256 amountIn = curveV2Data.fromAmount;\n        uint256 minAmountOut = curveV2Data.toAmount;\n        uint256 quotedAmountOut = curveV2Data.quotedAmount;\n        address payable beneficiary = curveV2Data.beneficiary;\n        uint256 i = curveV2Data.i;\n        uint256 j = curveV2Data.j;\n        address poolAddress = curveV2Data.poolAddress;\n        uint256 curveData = curveV2Data.curveData;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Decode curveData\n        // 160 bits for curve exchange address\n        // 1 bit for approve flag\n        // 2 bits for wrap flag\n        // 2 bits for swap type flag\n\n        address exchange;\n        bool approveFlag;\n        uint256 wrapFlag;\n        uint256 swapType;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            exchange := and(curveData, 0xffffffffffffffffffffffffffffffffffffffff)\n            approveFlag := and(shr(160, curveData), 1)\n            wrapFlag := and(shr(161, curveData), 3)\n            swapType := and(shr(163, curveData), 3)\n        }\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to augustus if not ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                srcToken.approve(exchange);\n            }\n        } else {\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                IERC20(WETH).approve(exchange);\n            }\n        }\n\n        // Execute swap\n        _executeSwapOnCurveV2(exchange, wrapFlag, swapType, i, j, amountIn, poolAddress);\n\n        // Check balance after swap and unwrap if needed\n        if (wrapFlag == 2) {\n            // Received amount is WETH balance\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Received amount is destToken balance\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    function _executeSwapOnCurveV2(\n        address exchange,\n        uint256 wrapFlag,\n        uint256 swapType,\n        uint256 i,\n        uint256 j,\n        uint256 fromAmount,\n        address poolAddress\n    )\n        private\n    {\n        // Load WETH address\n        address weth = address(WETH);\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Load free memory pointer\n            let ptr := mload(64)\n\n            //-----------------------------------------------------------------------------------\n            // Wrap ETH if needed\n            //-----------------------------------------------------------------------------------\n\n            // Check if wrap src flag is set\n            if eq(wrapFlag, 1) {\n                // Prepare call data for WETH.deposit()\n\n                // Store function selector and\n                mstore(ptr, 0xd0e30db000000000000000000000000000000000000000000000000000000000) // deposit()\n\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), weth, callvalue(), ptr, 4, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n\n            //-----------------------------------------------------------------------------------\n            // Execute swap\n            //-----------------------------------------------------------------------------------\n\n            // Prepare call data for external call\n\n            // Check swap type\n            switch swapType\n            // 0x01 for EXCHANGE_UNDERLYING\n            case 0x01 {\n                // Store function selector for function exchange_underlying(uint256,uint256,uint256,uint256)\n                mstore(ptr, 0x65b2489b00000000000000000000000000000000000000000000000000000000) // store selector\n                mstore(add(ptr, 4), i) // store index i\n                mstore(add(ptr, 36), j) // store index j\n                mstore(add(ptr, 68), fromAmount) // store fromAmount\n                mstore(add(ptr, 100), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x02 for EXCHANGE_GENERIC_FACTORY_ZAP\n            case 0x02 {\n                // Store function selector for function exchange(address,uint256,uint256,uint256,uint256)\n                mstore(ptr, 0x64a1455800000000000000000000000000000000000000000000000000000000)\n                mstore(add(ptr, 4), poolAddress) // store poolAddress\n                mstore(add(ptr, 36), i) // store index i\n                mstore(add(ptr, 68), j) // store index j\n                mstore(add(ptr, 100), fromAmount) // store fromAmount\n                mstore(add(ptr, 132), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 164, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x00(default) for EXCHANGE\n            default {\n                // check send eth wrap flag\n                switch eq(wrapFlag, 0x03)\n                // if it is not set, store selector for function exchange(uint256,uint256,uint256,uint256,bool)\n                case 1 {\n                    mstore(ptr, 0x394747c500000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), i) // store index i\n                    mstore(add(ptr, 36), j) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    mstore(add(ptr, 132), 1) // store true\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, callvalue(), ptr, 164, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n                // if it is set, store selector for function exchange(uint256,uint256,uint256,uint256)\n                default {\n                    mstore(ptr, 0x5b41b90800000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), i) // store index i\n                    mstore(add(ptr, 36), j) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n            }\n        }\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV2SwapExactAmountIn } from \"../../../interfaces/IUniswapV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV2Utils } from \"../../../util/UniswapV2Utils.sol\";\n\n/// @title UniswapV2SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on UniswapV2 pools\nabstract contract UniswapV2SwapExactAmountIn is IUniswapV2SwapExactAmountIn, UniswapV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                                   SWAP\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV2SwapExactAmountIn\n    function swapExactAmountInOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 amountIn = uniData.fromAmount;\n        uint256 minAmountOut = uniData.toAmount;\n        uint256 quotedAmountOut = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Initialize payer\n        address payer = msg.sender;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if we need to wrap or permit\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n            }\n        } else {\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: amountIn }();\n            // Set srcToken to WETH\n            srcToken = WETH;\n            // Set payer to this contract\n            payer = address(this);\n        }\n\n        // Execute swap\n        _callUniswapV2PoolsSwapExactIn(amountIn, srcToken, pools, payer, permit);\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Check balance of WETH\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Othwerwise check balance of destToken\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV3SwapExactAmountIn } from \"../../../interfaces/IUniswapV3SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV3Utils } from \"../../../util/UniswapV3Utils.sol\";\n\n/// @title UniswapV3SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on Uniswap V3\nabstract contract UniswapV3SwapExactAmountIn is IUniswapV3SwapExactAmountIn, UniswapV3Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n    using SafeCastLib for uint256;\n\n    /*//////////////////////////////////////////////////////////////\n                                   SWAP\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV3SwapExactAmountIn\n    function swapExactAmountInOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 amountIn = uniData.fromAmount;\n        uint256 minAmountOut = uniData.toAmount;\n        uint256 quotedAmountOut = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Address that will pay for the swap\n        address fromAddress = msg.sender;\n\n        // Check if we need to wrap or permit\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n            }\n        } else {\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: amountIn }();\n            // Swap will be paid from this contract\n            fromAddress = address(this);\n        }\n\n        // Execute swap\n        receivedAmount = _callUniswapV3PoolsSwapExactAmountIn(amountIn.toInt256(), pools, fromAddress, permit);\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransferUniV3(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IBalancerV2SwapExactAmountIn } from \"../../../interfaces/IBalancerV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { BalancerV2Utils } from \"../../../util/BalancerV2Utils.sol\";\n\n/// @title BalancerV2SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on Balancer V2\nabstract contract BalancerV2SwapExactAmountIn is IBalancerV2SwapExactAmountIn, BalancerV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IBalancerV2SwapExactAmountIn\n    function swapExactAmountInOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference balancerData\n        uint256 quotedAmountOut = balancerData.quotedAmount;\n        uint256 beneficiaryAndApproveFlag = balancerData.beneficiaryAndApproveFlag;\n        uint256 amountIn = balancerData.fromAmount;\n        uint256 minAmountOut = balancerData.toAmount;\n\n        // Decode params\n        (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve) =\n            _decodeBalancerV2Params(beneficiaryAndApproveFlag, data);\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve is needed\n            if (approve) {\n                // Approve BALANCER_VAULT to spend srcToken\n                srcToken.approve(BALANCER_VAULT);\n            }\n        }\n\n        // Execute swap\n        _callBalancerV2(data);\n\n        // Check balance after swap\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV2SwapExactAmountOut } from \"../../../interfaces/IUniswapV2SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV2Utils } from \"../../../util/UniswapV2Utils.sol\";\n\n/// @title UniswapV2SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on UniswapV2 pools\nabstract contract UniswapV2SwapExactAmountOut is IUniswapV2SwapExactAmountOut, UniswapV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV2SwapExactAmountOut\n    function swapExactAmountOutOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 maxAmountIn = uniData.fromAmount;\n        uint256 amountOut = uniData.toAmount;\n        uint256 quotedAmountIn = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Init balanceBefore\n        uint256 balanceBefore;\n\n        // Check if srcToken is ETH\n        bool isFromETH = srcToken.isETH(maxAmountIn) != 0;\n\n        // Check if we need to wrap or permit\n        if (isFromETH) {\n            // Check WETH balance before\n            balanceBefore = IERC20(WETH).getBalance(address(this));\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: maxAmountIn }();\n            // Set srcToken to WETH\n            srcToken = WETH;\n        } else {\n            // Check srcToken balance before\n            balanceBefore = srcToken.getBalance(address(this));\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n            }\n        }\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Execute swap\n        _callUniswapV2PoolsSwapExactOut(amountOut, srcToken, pools);\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Make sure srcToken was not WETH\n            if (srcToken == WETH) {\n                revert ArbitrageNotSupported();\n            }\n            // Check balance of WETH\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Leave dust if receivedAmount > amountOut\n            if (receivedAmount > amountOut) {\n                --receivedAmount;\n            }\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Othwerwise check balance of destToken\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check balance of srcToken\n        uint256 remainingAmount = srcToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if srcToken is ETH and unwrap if there is remaining amount\n        if (isFromETH) {\n            // Check native balance before\n            uint256 nativeBalanceBefore = address(this).balance;\n            // If balanceBefore is greater than 1, deduct it from remainingAmount\n            remainingAmount = remainingAmount - (balanceBefore > 1 ? balanceBefore : 0);\n            // Withdraw remaining WETH if any\n            if (remainingAmount > 1) {\n                WETH.withdraw(remainingAmount - 1);\n            }\n            srcToken = ERC20Utils.ETH;\n            // If native balance before is greater than 1, deduct it from remainingAmount\n            remainingAmount = address(this).balance - (nativeBalanceBefore > 1 ? nativeBalanceBefore : 0);\n        } else {\n            // Otherwise, if balanceBefore is greater than 1, deduct it from remainingAmount\n            remainingAmount = remainingAmount - (balanceBefore > 1 ? balanceBefore : 0);\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV3SwapExactAmountOut } from \"../../../interfaces/IUniswapV3SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV3Utils } from \"../../../util/UniswapV3Utils.sol\";\n\n/// @title UniswapV3SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on UniswapV3 pools\nabstract contract UniswapV3SwapExactAmountOut is IUniswapV3SwapExactAmountOut, UniswapV3Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n    using SafeCastLib for uint256;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV3SwapExactAmountOut\n    function swapExactAmountOutOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 maxAmountIn = uniData.fromAmount;\n        uint256 amountOut = uniData.toAmount;\n        uint256 quotedAmountIn = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Address that will pay for the swap\n        address fromAddress = msg.sender;\n\n        // Check if srcToken is ETH\n        bool isFromETH = srcToken.isETH(maxAmountIn) != 0;\n\n        // If pools.length > 96, we are going to do a multi-pool swap\n        bool isMultiplePools = pools.length > 96;\n\n        // Init balance before variables\n        uint256 senderBalanceBefore;\n        uint256 balanceBefore;\n\n        // Check if we need to wrap or permit\n        if (isFromETH) {\n            // Check WETH balance before\n            balanceBefore = IERC20(WETH).getBalance(address(this));\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: maxAmountIn }();\n            // Swap will be paid from this contract\n            fromAddress = address(this);\n            // Set srcToken to WETH\n            srcToken = WETH;\n        } else {\n            // Check srcToken balance before\n            balanceBefore = srcToken.getBalance(address(this));\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                // if we're using multiple pools, we need to store the pre-swap balance of srcToken\n                if (isMultiplePools) {\n                    senderBalanceBefore = srcToken.getBalance(msg.sender);\n                }\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n                // Swap will be paid from this contract\n                fromAddress = address(this);\n            }\n        }\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Execute swap\n        (spentAmount, receivedAmount) =\n            _callUniswapV3PoolsSwapExactAmountOut((-amountOut.toInt256()), pools, fromAddress);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Make sure srcToken was not WETH\n            if (srcToken == WETH) {\n                revert ArbitrageNotSupported();\n            }\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n        }\n\n        // Iniiialize remainingAmount\n        uint256 remainingAmount;\n\n        // Check if payer is this contract\n        if (fromAddress == address(this)) {\n            // If srcTokenwas ETH, we need to withdraw remaining WETH if any\n            if (isFromETH) {\n                // Check native balance before\n                uint256 nativeBalanceBefore = address(this).balance;\n                // Check balance of WETH, If balanceBefore is greater than 1, deduct it from remainingAmount\n                remainingAmount = IERC20(WETH).getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n                // Withdraw remaining WETH if any\n                if (remainingAmount > 1) {\n                    // Unwrap WETH\n                    WETH.withdraw(remainingAmount - 1);\n                    // If native balance before is greater than 1, deduct it from remainingAmount\n                    remainingAmount = address(this).balance - (nativeBalanceBefore > 1 ? nativeBalanceBefore : 0);\n                }\n                // Set srcToken to ETH\n                srcToken = ERC20Utils.ETH;\n            } else {\n                // If we have executed multi-pool swap, we need to fetch the remaining amount from balance\n                if (isMultiplePools) {\n                    // Calculate spent amount and remaining amount, If balanceBefore is greater than 1, deduct it from\n                    // remainingAmount\n                    remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n                } else {\n                    // Otherwise, remaining amount is the difference between the spent amount and the remaining balance\n                    remainingAmount = maxAmountIn - spentAmount;\n                }\n            }\n\n            // Process fees using processSwapExactAmountOutFeesAndTransfer\n            return processSwapExactAmountOutFeesAndTransfer(\n                beneficiary,\n                srcToken,\n                destToken,\n                partnerAndFee,\n                maxAmountIn,\n                remainingAmount,\n                receivedAmount,\n                quotedAmountIn\n            );\n        } else {\n            // If we have executed multi-pool swap, we need to re-calculate the remaining amount and spent amount\n            if (isMultiplePools) {\n                // Calculate spent amount and remaining amount\n                remainingAmount = srcToken.getBalance(msg.sender);\n                spentAmount = senderBalanceBefore - remainingAmount;\n            }\n            // Process fees and transfer destToken and srcToken to feeVault or partner and\n            // feeWallet if needed\n            return processSwapExactAmountOutFeesAndTransferUniV3(\n                beneficiary,\n                srcToken,\n                destToken,\n                partnerAndFee,\n                maxAmountIn,\n                receivedAmount,\n                spentAmount,\n                quotedAmountIn\n            );\n        }\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IBalancerV2SwapExactAmountOut } from \"../../../interfaces/IBalancerV2SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { BalancerV2Utils } from \"../../../util/BalancerV2Utils.sol\";\n\n/// @title BalancerV2SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on BalancerV2 pools\nabstract contract BalancerV2SwapExactAmountOut is IBalancerV2SwapExactAmountOut, BalancerV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IBalancerV2SwapExactAmountOut\n    function swapExactAmountOutOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference balancerData\n        uint256 quotedAmountIn = balancerData.quotedAmount;\n        uint256 beneficiaryAndApproveFlag = balancerData.beneficiaryAndApproveFlag;\n        uint256 maxAmountIn = balancerData.fromAmount;\n        uint256 amountOut = balancerData.toAmount;\n\n        // Decode params\n        (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve) =\n            _decodeBalancerV2Params(beneficiaryAndApproveFlag, data);\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check contract balance\n        uint256 balanceBefore = srcToken.getBalance(address(this));\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(maxAmountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n            }\n            // Check if approve is needed\n            if (approve) {\n                // Approve BALANCER_VAULT to spend srcToken\n                srcToken.approve(BALANCER_VAULT);\n            }\n        } else {\n            // If srcToken is ETH, we have to deduct msg.value from balanceBefore\n            balanceBefore = balanceBefore - msg.value;\n        }\n\n        // Execute swap\n        _callBalancerV2(data);\n\n        // Check balance of destToken\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check balance of srcToken, deducting the balance before the swap if it is greater than 1\n        uint256 remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.22+commit.4fc1097e","compilerSettings":{"viaIR":true,"metadata":{"bytecodeHash":"none"},"libraries":{},"optimizer":{"runs":1000000,"enabled":true},"evmVersion":"shanghai","remappings":[":@create3/=lib/create3-factory/src/",":@openzeppelin/=lib/openzeppelin-contracts/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@prb/test/=lib/prb-test/src/",":@solady/=lib/solady/src/",":create3-factory/=lib/create3-factory/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":prb-test/=lib/prb-test/src/",":solady/=lib/solady/",":solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/",":solmate/=lib/create3-factory/lib/solmate/src/"]},"name":"AugustusV6","fullyQualifiedName":"src/AugustusV6.sol:AugustusV6"},"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"},{"name":"_diamondCutFacet","type":"address","internalType":"address"},{"name":"_weth","type":"address","internalType":"address"},{"name":"_balancerVault","type":"address","internalType":"address payable"},{"name":"_uniV3FactoryAndFF","type":"uint256","internalType":"uint256"},{"name":"_uniswapV3PoolInitCodeHash","type":"uint256","internalType":"uint256"},{"name":"_uniswapV2FactoryAndFF","type":"uint256","internalType":"uint256"},{"name":"_uniswapV2PoolInitCodeHash","type":"uint256","internalType":"uint256"},{"name":"_rfq","type":"address","internalType":"address"},{"name":"_feeVault","type":"address","internalType":"address payable"},{"name":"_permit2","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ArbitrageNotSupported","type":"error","inputs":[]},{"name":"CallbackTransferFailed","type":"error","inputs":[]},{"name":"ContractPaused","type":"error","inputs":[]},{"name":"DiamondFunctionDoesNotExist","type":"error","inputs":[]},{"name":"IncorrectEthAmount","type":"error","inputs":[]},{"name":"InitializationFunctionReverted","type":"error","inputs":[{"name":"_initializationContractAddress","type":"address","internalType":"address"},{"name":"_calldata","type":"bytes","internalType":"bytes"}]},{"name":"InsufficientBalanceToPayFees","type":"error","inputs":[]},{"name":"InsufficientReturnAmount","type":"error","inputs":[]},{"name":"InvalidCaller","type":"error","inputs":[]},{"name":"InvalidOrdersLength","type":"error","inputs":[]},{"name":"InvalidQuotedAmount","type":"error","inputs":[]},{"name":"InvalidSelector","type":"error","inputs":[]},{"name":"InvalidToAmount","type":"error","inputs":[]},{"name":"Permit2Failed","type":"error","inputs":[]},{"name":"UnauthorizedUser","type":"error","inputs":[]},{"name":"DiamondCut","type":"event","inputs":[{"name":"_diamondCut","type":"tuple[]","indexed":false,"components":[{"name":"facetAddress","type":"address","internalType":"address"},{"name":"action","type":"uint8","internalType":"enum IDiamondCut.FacetCutAction"},{"name":"functionSelectors","type":"bytes4[]","internalType":"bytes4[]"}],"internalType":"struct IDiamondCut.FacetCut[]"},{"name":"_init","type":"address","indexed":false,"internalType":"address"},{"name":"_calldata","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"name":"AUGUSTUS_RFQ","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAugustusRFQ"}],"stateMutability":"view"},{"name":"BALANCER_VAULT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"FEE_VAULT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAugustusFeeVault"}],"stateMutability":"view"},{"name":"MAX_FEE_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_REFERRAL_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_SLIPPAGE_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_SURPLUS_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARTNER_REFERRAL_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARTNER_SHARE_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PERMIT2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"SURPLUS_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V2_FACTORY_AND_FF","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V2_POOL_INIT_CODE_HASH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V3_FACTORY_AND_FF","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V3_POOL_INIT_CODE_HASH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"WETH","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IWETH"}],"stateMutability":"view"},{"name":"blacklistedTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"}],"outputs":[{"name":"isBlacklisted","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"feeWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"feeWalletDelegate","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"parsePartnerAndFeeData","type":"function","inputs":[{"name":"partnerAndFee","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"partner","type":"address","internalType":"address payable"},{"name":"feeData","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"swapExactAmountIn","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"swapData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct GenericData"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"executorData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnBalancerV2","type":"function","inputs":[{"name":"balancerData","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiaryAndApproveFlag","type":"uint256","internalType":"uint256"}],"internalType":"struct BalancerV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnCurveV1","type":"function","inputs":[{"name":"curveV1Data","type":"tuple","components":[{"name":"curveData","type":"uint256","internalType":"uint256"},{"name":"curveAssets","type":"uint256","internalType":"uint256"},{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct CurveV1Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnCurveV2","type":"function","inputs":[{"name":"curveV2Data","type":"tuple","components":[{"name":"curveData","type":"uint256","internalType":"uint256"},{"name":"i","type":"uint256","internalType":"uint256"},{"name":"j","type":"uint256","internalType":"uint256"},{"name":"poolAddress","type":"address","internalType":"address"},{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct CurveV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnUniswapV2","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnUniswapV3","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV3Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOut","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"swapData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct GenericData"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"executorData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnBalancerV2","type":"function","inputs":[{"name":"balancerData","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiaryAndApproveFlag","type":"uint256","internalType":"uint256"}],"internalType":"struct BalancerV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnUniswapV2","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnUniswapV3","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV3Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapOnAugustusRFQTryBatchFill","type":"function","inputs":[{"name":"data","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"wrapApproveDirection","type":"uint8","internalType":"uint8"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct AugustusRFQData"},{"name":"orders","type":"tuple[]","components":[{"name":"order","type":"tuple","components":[{"name":"nonceAndMeta","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint128","internalType":"uint128"},{"name":"makerAsset","type":"address","internalType":"address"},{"name":"takerAsset","type":"address","internalType":"address"},{"name":"maker","type":"address","internalType":"address"},{"name":"taker","type":"address","internalType":"address"},{"name":"makerAmount","type":"uint256","internalType":"uint256"},{"name":"takerAmount","type":"uint256","internalType":"uint256"}],"internalType":"struct Order"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"takerTokenFillAmount","type":"uint256","internalType":"uint256"},{"name":"permitTakerAsset","type":"bytes","internalType":"bytes"},{"name":"permitMakerAsset","type":"bytes","internalType":"bytes"}],"internalType":"struct OrderInfo[]"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"uniswapV3SwapCallback","type":"function","inputs":[{"name":"amount0Delta","type":"int256","internalType":"int256"},{"name":"amount1Delta","type":"int256","internalType":"int256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.22+commit.4fc1097e"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_diamondCutFacet","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address payable","name":"_balancerVault","type":"address"},{"internalType":"uint256","name":"_uniV3FactoryAndFF","type":"uint256"},{"internalType":"uint256","name":"_uniswapV3PoolInitCodeHash","type":"uint256"},{"internalType":"uint256","name":"_uniswapV2FactoryAndFF","type":"uint256"},{"internalType":"uint256","name":"_uniswapV2PoolInitCodeHash","type":"uint256"},{"internalType":"address","name":"_rfq","type":"address"},{"internalType":"address payable","name":"_feeVault","type":"address"},{"internalType":"address","name":"_permit2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArbitrageNotSupported","type":"error"},{"inputs":[],"name":"CallbackTransferFailed","type":"error"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[],"name":"DiamondFunctionDoesNotExist","type":"error"},{"inputs":[],"name":"IncorrectEthAmount","type":"error"},{"inputs":[{"internalType":"address","name":"_initializationContractAddress","type":"address"},{"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"InitializationFunctionReverted","type":"error"},{"inputs":[],"name":"InsufficientBalanceToPayFees","type":"error"},{"inputs":[],"name":"InsufficientReturnAmount","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"InvalidOrdersLength","type":"error"},{"inputs":[],"name":"InvalidQuotedAmount","type":"error"},{"inputs":[],"name":"InvalidSelector","type":"error"},{"inputs":[],"name":"InvalidToAmount","type":"error"},{"inputs":[],"name":"Permit2Failed","type":"error"},{"inputs":[],"name":"UnauthorizedUser","type":"error"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"indexed":false,"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"indexed":false,"internalType":"address","name":"_init","type":"address"},{"indexed":false,"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"DiamondCut","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"AUGUSTUS_RFQ","outputs":[{"internalType":"contract IAugustusRFQ","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BALANCER_VAULT","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_VAULT","outputs":[{"internalType":"contract IAugustusFeeVault","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARASWAP_REFERRAL_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARASWAP_SLIPPAGE_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARASWAP_SURPLUS_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNER_REFERRAL_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNER_SHARE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SURPLUS_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_FACTORY_AND_FF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_POOL_INIT_CODE_HASH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V3_FACTORY_AND_FF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V3_POOL_INIT_CODE_HASH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"blacklistedTokens","outputs":[{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWalletDelegate","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"partnerAndFee","type":"uint256"}],"name":"parsePartnerAndFeeData","outputs":[{"internalType":"address payable","name":"partner","type":"address"},{"internalType":"uint256","name":"feeData","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"executor","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"}],"internalType":"struct GenericData","name":"swapData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"executorData","type":"bytes"}],"name":"swapExactAmountIn","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"uint256","name":"beneficiaryAndApproveFlag","type":"uint256"}],"internalType":"struct BalancerV2Data","name":"balancerData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapExactAmountInOnBalancerV2","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"curveData","type":"uint256"},{"internalType":"uint256","name":"curveAssets","type":"uint256"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"}],"internalType":"struct CurveV1Data","name":"curveV1Data","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountInOnCurveV1","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"curveData","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"uint256","name":"j","type":"uint256"},{"internalType":"address","name":"poolAddress","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"}],"internalType":"struct CurveV2Data","name":"curveV2Data","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountInOnCurveV2","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"pools","type":"bytes"}],"internalType":"struct UniswapV2Data","name":"uniData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountInOnUniswapV2","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"pools","type":"bytes"}],"internalType":"struct UniswapV3Data","name":"uniData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountInOnUniswapV3","outputs":[{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"executor","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"}],"internalType":"struct GenericData","name":"swapData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"executorData","type":"bytes"}],"name":"swapExactAmountOut","outputs":[{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"uint256","name":"beneficiaryAndApproveFlag","type":"uint256"}],"internalType":"struct BalancerV2Data","name":"balancerData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapExactAmountOutOnBalancerV2","outputs":[{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"pools","type":"bytes"}],"internalType":"struct UniswapV2Data","name":"uniData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountOutOnUniswapV2","outputs":[{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"destToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"quotedAmount","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"pools","type":"bytes"}],"internalType":"struct UniswapV3Data","name":"uniData","type":"tuple"},{"internalType":"uint256","name":"partnerAndFee","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapExactAmountOutOnUniswapV3","outputs":[{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"internalType":"uint256","name":"paraswapShare","type":"uint256"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint8","name":"wrapApproveDirection","type":"uint8"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"address payable","name":"beneficiary","type":"address"}],"internalType":"struct AugustusRFQData","name":"data","type":"tuple"},{"components":[{"components":[{"internalType":"uint256","name":"nonceAndMeta","type":"uint256"},{"internalType":"uint128","name":"expiry","type":"uint128"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"taker","type":"address"},{"internalType":"uint256","name":"makerAmount","type":"uint256"},{"internalType":"uint256","name":"takerAmount","type":"uint256"}],"internalType":"struct Order","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"takerTokenFillAmount","type":"uint256"},{"internalType":"bytes","name":"permitTakerAsset","type":"bytes"},{"internalType":"bytes","name":"permitMakerAsset","type":"bytes"}],"internalType":"struct OrderInfo[]","name":"orders","type":"tuple[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"swapOnAugustusRFQTryBatchFill","outputs":[{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"receivedAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"InvalidOrdersLength()":[{"details":"Emitted when the orders length is 0"}],"InvalidSelector()":[{"details":"Emitted when the passed selector is invalid"}],"UnauthorizedUser()":[{"details":"Emitted when the msg.sender is not authorized to be the taker"}]},"kind":"dev","methods":{"parsePartnerAndFeeData(uint256)":{"details":"`partnerAndFee` is a uint256 value where data is packed in a specific bit layout.      The bit layout for `partnerAndFee` is as follows:      - The most significant 160 bits (positions 255 to 96) represent the partner address.      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.","params":{"partnerAndFee":"Packed uint256 containing both partner address and fee data."},"returns":{"feeData":"The extracted fee data containing the fee percentage and flags.","partner":"The extracted partner address as a payable address."}},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"executor":"The address of the executor contract to use","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","swapData":"Generic data containing the swap information"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"balancerData":"Struct containing data for the swap","data":"The calldata to execute the first 20 bytes are the beneficiary address and the left most bit is the approve flag","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"Permit data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"curveV1Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"Permit data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"curveV2Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"Permit data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","uniData":"struct containing data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","uniData":"struct containing data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"executor":"The address of the executor contract to use","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","swapData":"Generic data containing the swap information"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of tokens received from the swap","spentAmount":"The actual amount of tokens used to swap"}},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"balancerData":"Struct containing data for the swap","data":"The calldata to execute","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"Permit data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of tokens received","spentAmount":"The actual amount of tokens used to swap"}},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","swapData":"struct containing data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of tokens received","spentAmount":"The actual amount of tokens used to swap"}},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address","permit":"The permit data","swapData":"struct containing data for the swap"},"returns":{"paraswapShare":"The share of the fees for Paraswap","partnerShare":"The share of the fees for the partner","receivedAmount":"The amount of tokens received","spentAmount":"The actual amount of tokens used to swap"}},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"params":{"data":"Struct containing common data for AugustusRFQ","orders":"An array containing AugustusRFQ orderInfo data","permit":"Permit data for the swap"},"returns":{"receivedAmount":"The amount of tokens received","spentAmount":"The amount of tokens spent"}},"uniswapV3SwapCallback(int256,int256,bytes)":{"details":"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.","params":{"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.","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.","data":"Any data passed through by the caller via the IUniswapV3PoolActions#swap call"}}},"title":"AugustusV6","version":1},"userdoc":{"errors":{"ArbitrageNotSupported()":[{"notice":"Emmited when the srcToken and destToken are the same"}],"CallbackTransferFailed()":[{"notice":"Error emitted if the transfer of tokens to the pool inside the callback failed"}],"ContractPaused()":[{"notice":"Error emitted when the contract is paused"}],"IncorrectEthAmount()":[{"notice":"Emitted when the passed msg.value is not equal to the fromAmount"}],"InsufficientBalanceToPayFees()":[{"notice":"Error emmited when the balance is not enough to pay the fees"}],"InsufficientReturnAmount()":[{"notice":"Emitted when the returned amount is less than the minimum amount"}],"InvalidCaller()":[{"notice":"Error emitted if the caller is not a Uniswap V3 pool"}],"InvalidQuotedAmount()":[{"notice":"Error emmited when the quotedAmount is bigger than the fromAmount"}],"InvalidToAmount()":[{"notice":"Emitted when the specified toAmount is less than the minimum amount (2)"}]},"kind":"user","methods":{"parsePartnerAndFeeData(uint256)":{"notice":"Parses the `partnerAndFee` parameter to extract the partner address and fee data."},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountIn using the given executorData on the given executor"},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountIn on Balancer V2 pools"},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V1 pools"},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V2 pools"},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V2 pools"},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V3 pools"},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountOut using the given executorData on the given executor"},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountOut on Balancer V2 pools"},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V2 pools"},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V3 pools"},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"notice":"Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ the function that is executed is defined by the direction flag in the data param"},"uniswapV3SwapCallback(int256,int256,bytes)":{"notice":"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap."}},"notice":"The V6 implementation of the ParaSwap onchain aggregation protocol","version":1}},"settings":{"compilationTarget":{"src/AugustusV6.sol":"AugustusV6"},"evmVersion":"shanghai","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":1000000},"remappings":[":@create3/=lib/create3-factory/src/",":@openzeppelin/=lib/openzeppelin-contracts/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@prb/test/=lib/prb-test/src/",":@solady/=lib/solady/src/",":create3-factory/=lib/create3-factory/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":prb-test/=lib/prb-test/src/",":solady/=lib/solady/",":solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/",":solmate/=lib/create3-factory/lib/solmate/src/"],"viaIR":true},"sources":{"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70","license":"MIT","urls":["bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c","dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq"]},"lib/solady/src/utils/SafeCastLib.sol":{"keccak256":"0xd8319986d56aeefa8dd6d683c0827576dd31925c82b0c2e50eceac2421543f9b","license":"MIT","urls":["bzz-raw://016709ad671ed03535a35813a77c826086708bef03cbbe6339d1cbeefa098dfb","dweb:/ipfs/QmQn6Q7CQc2sA9Qtn9AEeD8AF2h1KKWCH9TjTqvGMyF79d"]},"src/AugustusV6.sol":{"keccak256":"0x4482fed923474cac377a7636b2674d247caaacc9c36bf6ee621a062d881e00e4","license":"MIT","urls":["bzz-raw://4911ed455fe30eb5f896d706fe34aa379349c5f29ffab1a3032c61454a0f9471","dweb:/ipfs/QmXVf9f3w8qRC9i1EAwJ1g7uxvfdTSEsXmusnFXHKRVdbh"]},"src/AugustusV6Types.sol":{"keccak256":"0xa959470acbca68c11029e2a5f36c1cb7b583d253661b8be7a382665e4b28bf52","license":"MIT","urls":["bzz-raw://8a8ecb510449954a2a6d867fcb672c22c4afc8f5903d3e741d285d1371606a0f","dweb:/ipfs/QmXwixPMbuXqYRKB1mtNTTci1nTEmkakudzFuoMx7JEWAN"]},"src/fees/AugustusFees.sol":{"keccak256":"0xc6232ba04c99609e1f624bdccce387b2cd42f97bbeaba19cff1b4ffb729ab22f","license":"MIT","urls":["bzz-raw://feb5d90e190a5c43197b76f0d2a5c3c520c4333d31872b69a207aa5a0820b847","dweb:/ipfs/QmUsprkinSacRnovJcnPXhWNAEbg43AC9pDwb8CxwLBJaL"]},"src/interfaces/IAugustusFeeVault.sol":{"keccak256":"0x52a4207054a66d36538ac8bdf2a8e6e0104270cc2b7c31f3cf04bf291a574c96","license":"MIT","urls":["bzz-raw://95d6adb7b9581a480473d893dd1ac758b75ad3815f05ea66fe4afbe6f9617192","dweb:/ipfs/QmTuc64CDU2jwVdh2KSuVjrVajEouBqn2P8TbTHbFiSmvh"]},"src/interfaces/IAugustusFees.sol":{"keccak256":"0x323665286a27c230cb154b891b1b83592edc03e7e49655a14c2474e89446b31e","license":"MIT","urls":["bzz-raw://93a4e8bdacc5f69c73e5a417fd75d38c156b967b855cefcd7227fb5e7844347d","dweb:/ipfs/QmTmN1gJbJMeUZkLsgj8u7fmhi9d8FFNg3UWMvNogmJenu"]},"src/interfaces/IAugustusRFQ.sol":{"keccak256":"0x104457cc319f6b42918096cb1b56668fdb2605cf743d5decb090ef369bb4276c","license":"ISC","urls":["bzz-raw://1a3ccefbe1eb50fb17659558d015cf18bfa870f854167c70332bc552ac847ff6","dweb:/ipfs/QmbwEZuUUb9PuK4AwF1vwsYatwTmznpXMwNceGzgpHSfYR"]},"src/interfaces/IAugustusRFQRouter.sol":{"keccak256":"0x02bb5eb5cec51f8a243754dcf56afbef11f43d17986aca25ae98a4006c64e754","license":"MIT","urls":["bzz-raw://779bb9ef3a49ce892039dc534595a46253dd5d990666f218571f0ddaa7baffa1","dweb:/ipfs/Qma5JMBrio59SXXsppU4Yzn1ExnhX8hgQ6Awhku3wmXxxp"]},"src/interfaces/IBalancerV2SwapExactAmountIn.sol":{"keccak256":"0x41d3334628ac6faba087c741c154bb8d15f8203a83771c2f9b4b461634e271bf","license":"MIT","urls":["bzz-raw://15780508ce836575564946058b7b8a244786a8e15fd13883ba3e21ff16e2e29e","dweb:/ipfs/QmQ3yKKKCYyGbdACoNHPAc8KvMY1wjRf6bKHBHJZ7pLi3R"]},"src/interfaces/IBalancerV2SwapExactAmountOut.sol":{"keccak256":"0x888e5ff59d809090073a725e0dbc6cbb596f6df4777f033af8aab814ea11d426","license":"MIT","urls":["bzz-raw://66f1e30657fc444a1034daf712546b1eff6523ee273200c91d4fe95f7587df7d","dweb:/ipfs/QmYcUypoQsSZHDoziqfdgyxiFWDv7DNHQcj37BW8qxZ9DV"]},"src/interfaces/ICurveV1SwapExactAmountIn.sol":{"keccak256":"0x87d49e6137bce8d8836963604c0a36328a9d722c7c695dc9f2d3209647719a97","license":"MIT","urls":["bzz-raw://3135a3da0ac7e0848d1419bf281434aed58c9e9763e59be13bcaa666cf14e7bf","dweb:/ipfs/QmP78X5b2KCfKU6ig3yzw3ygWWdu2i9GL853DXFKiC4wVN"]},"src/interfaces/ICurveV2SwapExactAmountIn.sol":{"keccak256":"0xb4adc1ed33cd402d75bce01ba9f1777a0bfcffa8920e1e279f18d2e67c38c8f0","license":"MIT","urls":["bzz-raw://c08d4c1a29b7565cb098a45d6cbbfca26064c4205c9b1a1057d28e098eab2513","dweb:/ipfs/QmcM3uqXDby9cWdWE9mdw8rdPU4rwCyi8sgSQc2znDJZUK"]},"src/interfaces/IErrors.sol":{"keccak256":"0x4aabaa7f2d5ae0c5aff48ee9e4910676bc69b9ecb81f7b64a5cdaee3219ef1d0","license":"MIT","urls":["bzz-raw://6e60b00aadf252ab8b36285daf333b2fddfa384ef111b62005cfcaccc3cea304","dweb:/ipfs/QmdGnXfspr7fzrLKn4DyQo9GKUhkC7EvZbeW9yUGTzjNQ7"]},"src/interfaces/IGenericSwapExactAmountIn.sol":{"keccak256":"0xc5c543e95160ee2bd9eb096122f17310653a940b105e300c2f0ec763d7c99809","license":"MIT","urls":["bzz-raw://a67adf9a55080173a2c0ac07fa0c8528ae78edcdc7a43c9fb9c2a08dcc215619","dweb:/ipfs/QmagPJhBqBAAd53Dz7NsxKerm3CkUm59uVc46r4Wu1qmiW"]},"src/interfaces/IGenericSwapExactAmountOut.sol":{"keccak256":"0x6ca25f3bbe4afa6869ed4876cd49a033e62c937f24641a71953d60015c15c326","license":"MIT","urls":["bzz-raw://415cc98ae52a866448353b901f988f6e014582b5cab60ab820f7f65af23a2142","dweb:/ipfs/Qmdr5QxfM5jcXJ19J6Yhkxpp7Mo856rhXVZZYr8gBmXeLg"]},"src/interfaces/IUniswapV2SwapExactAmountIn.sol":{"keccak256":"0x753438be2f8b64f6b3c6ca87ffd2541dcb952ceddf3cb67e36aadcf580f16994","license":"MIT","urls":["bzz-raw://01e54e8736f5926d2930ea6ac2061e21803c77447ccce60f4dee6b5fe7442af8","dweb:/ipfs/QmaAfLj5MgveLUBwYpttXLuRjwB3wgz7dy89yJUuf96hSW"]},"src/interfaces/IUniswapV2SwapExactAmountOut.sol":{"keccak256":"0x7965ec68163a8f89fc791c24dc9fc93a0bfed78e9a2569dd414ac2a7997f7878","license":"MIT","urls":["bzz-raw://a7116c9c6e76d349427319ba5230e4ebc465002b2d6cc25bc1efea19e84451fb","dweb:/ipfs/QmfCZYdSkMy7LustZ3h2Rwkcjv5XiGcRxWY1dycjAk322M"]},"src/interfaces/IUniswapV3SwapCallback.sol":{"keccak256":"0xdb88a7a8512344385faba1c8e32597ca6ff13f289233a2af3f44843969d9d6b4","license":"MIT","urls":["bzz-raw://b407a045f774a21cb248acf380d7d6ffc5389ad1351da30465aad22f0eb5ade8","dweb:/ipfs/QmTzwexPbNQrrDdB5UjrHZUL3Je9ABB4msuiSuZE33WAyo"]},"src/interfaces/IUniswapV3SwapExactAmountIn.sol":{"keccak256":"0x6cfbde8f313a2776ec2ccbdcf5f65155636e7fa90b6ca8fb953ed52280e61690","license":"MIT","urls":["bzz-raw://544d39b4175931339d340a7f08dbdc2acff882a11664de0e38580468714667bb","dweb:/ipfs/QmeA1hjjKjMepUQJA2DeiaPMm9UrHWftUF2bBSzN9r3esT"]},"src/interfaces/IUniswapV3SwapExactAmountOut.sol":{"keccak256":"0x0f38daf14ad757236355af8bc2c7ba8d46c79563cedf1de9c7c834893c9f11d4","license":"MIT","urls":["bzz-raw://0eb1232b826b1becc3c78088443ff77b0db83064342a342e3f720d086557fd2f","dweb:/ipfs/QmfKCdpJYhVajdLjT8pj6UHrasMEqWzaVDL7WB2jw1Z5Ri"]},"src/interfaces/IWETH.sol":{"keccak256":"0xb723f77a2c00d31efe0b76f310c82289a20843abdc27b9b600160488a3be7b9c","license":"MIT","urls":["bzz-raw://295fe59c622b44d80ae5045ee3123a0119c369023cb25a37a782b32098619592","dweb:/ipfs/QmPLaB4XwMswj6ajojNphBR5HmqXZr7BVnZVaeNcP54ch7"]},"src/libraries/ERC20Utils.sol":{"keccak256":"0x8071d40f4d188f2e9f8764de8c837a3e8662a1c40b3a9eeec5bf85e9fbf4d101","license":"MIT","urls":["bzz-raw://7e0deb6f7d722deef41628a92ac9593db12fda8788003b77fe47d44d6a7339c2","dweb:/ipfs/QmXCPz3WmYFjREKAhxBh43FxVgam6F8sDrEWwYnCA1Tmp3"]},"src/routers/Routers.sol":{"keccak256":"0xae444af74dce087f0e6840fcfe355a11a93b9915b1844815fbbcecbc64cd5f25","license":"MIT","urls":["bzz-raw://ff30da22312f0abb5e8c487c0615c7dbd66d48859b86c0f7c25eedf0b1f76ccc","dweb:/ipfs/QmRZyXz3hcDcgYZohhJGvrT9NonGTwvbppumAjCUiYsh6W"]},"src/routers/general/AugustusRFQRouter.sol":{"keccak256":"0xa70644adeb2f24929410ca74bffda30a525503b41f75ca7c3a082b86319682ef","license":"MIT","urls":["bzz-raw://b5228700285cfffd98eb66cafe07873045f6fe4cfc2caad21099850ad9607d44","dweb:/ipfs/QmVN2rLMXW3jkwq4kD6SNmJTjxWV9VqJx126QVTNMsMiHe"]},"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol":{"keccak256":"0xad619a842f217be9ce9b29a859cdcf919ecbdedfc3e4fa3fdc9ac86d670d4c96","license":"MIT","urls":["bzz-raw://c0c391e57dbf77bdf7155802d8c70c6085e06ad02c142b88fc2acc0489346af6","dweb:/ipfs/QmUoThG4AiWYwZTWk2KDkKp1q1CQP2319JbG2Du6nWG9oy"]},"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol":{"keccak256":"0x32068b65027d40a2ac495557ce1b2c48348690b86706c345f15b9e7bfcab9afd","license":"MIT","urls":["bzz-raw://839a9115a5076f92712a439e015c12891b6e8c13e8b37223b02cdc1c401f63b0","dweb:/ipfs/QmVp3ykYJNW1UfZxJbC5Xr48AJJXQxfaAhh86DtXb7JHi1"]},"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol":{"keccak256":"0xed409927c05d26d24bcd6bf9c264d245cfd555795eb8a7d2ed93382f647532d9","license":"MIT","urls":["bzz-raw://22add8f868f211e73ff3d85e159e32a13e5a6d92bba8aa596f0cb56938143862","dweb:/ipfs/QmWm43WXcnCRysWaX3v4HGUc8vn3Kr9KTo5DwRp6TkfJTs"]},"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol":{"keccak256":"0x286f9a907890a85e18f3dd90f55366ce99f727b7c2fd1d9df93aff7c0307e31f","license":"MIT","urls":["bzz-raw://3368c9a9e4611258e2ab5b35694b58d4a62924b1eb5ff8671cc8dc6477f90b2c","dweb:/ipfs/QmaZMmGMfgc2eqHBGAGGQEpwbFBbJczHeKzWvtZQc8GMWG"]},"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol":{"keccak256":"0x87c16cfd464249dc41f5574524fe4240ebf6b0fe68eadf6b7122da0cdc173977","license":"MIT","urls":["bzz-raw://55632ff937589233800a4356d967df2b3fdd33cfed7ce163d178d613aa51d9d9","dweb:/ipfs/QmZKzoStnjysdrEyb7KGvFpnhn6fL3na33xjQFC6i2Ns84"]},"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol":{"keccak256":"0x4c45b30e4987de0fd7de7a53ab9ae7914341b2003e15000fd45cb1f2e9fbd721","license":"MIT","urls":["bzz-raw://8971b30125ec6aa10eb62a684f6da1b2cdb204c1c33c38c19c66c9ea76312890","dweb:/ipfs/QmNfgM6Y7AVEVUuNY9SrKNnEhnHghiGfeCySMvQuZWmmgM"]},"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol":{"keccak256":"0x6508241959d8b5a2b6b61ddd90d6785704a605cc44b8be22f791dece1d66be49","license":"MIT","urls":["bzz-raw://7ad9ed7fa5dbb92c9515feb9566e6b874ab050d46d2ae4206cf2a4ed67e44d8c","dweb:/ipfs/QmYwSmRMRwz8dH1uJyWd2HTmfpuAaZTZpDuDezQbX4TMhi"]},"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol":{"keccak256":"0x897470e2f6ac48d028b1c9ac7e78b173e24a013c20b9abbe5223001ffbb9ec86","license":"MIT","urls":["bzz-raw://50475af9701f783f80c142241abd796613f4c01c68a0b15523861b31fb521ef2","dweb:/ipfs/QmeVzgbbvkW4zpeYmShymPH4cU8L3UgxU6ubSrpPMM2XnU"]},"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol":{"keccak256":"0x65ceaaae0760397ce7b4bf94bc8d9581830eecf1272df91df9f7c4d2d9e759ed","license":"MIT","urls":["bzz-raw://8fe15108bbebe275de10a75dabc8fac43cad08dd2e69f984e35dcec3fb392e0d","dweb:/ipfs/QmUtwB94TaJaL8PM5fXtoJ67hsYNrHFesxDmkvuS4LZ1vQ"]},"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol":{"keccak256":"0x81da6359b7874158f732bf6d096bec52d7e10cf913b96b9307d0736fe84e82be","license":"MIT","urls":["bzz-raw://4887d58e19e4b2377df7e82100f5d694045104ddbe1bbab828d7f79f6738d7c1","dweb:/ipfs/QmZ8JpusKmfN34qp3ujmzkM3VfJqZjzqVAoqjG6uThr3vz"]},"src/storage/AugustusStorage.sol":{"keccak256":"0x0a8edc1431c017a3ea0f00532ad846b86f48bfb1b0d94ccd7cc35c8bc414acdc","license":"MIT","urls":["bzz-raw://ff60ae6ffc66206ce0b5d6724bce96f49f52adc825dfac5828e6abb87fe8258c","dweb:/ipfs/QmQFHY59FnVvPY5cvq48QGQfSxcrJhXaEZ9JekRou1QCqi"]},"src/util/AugustusRFQUtils.sol":{"keccak256":"0xa8cd8a487ca79310c302252502745d1fe0c98c04278f10346eb8aa4ec164fb8f","license":"MIT","urls":["bzz-raw://206c0ff0940fdf7050b1e152a67e6b6a2326790db8a1fcdb62e3e3d01b43b89c","dweb:/ipfs/QmUFbGg9pq2CTw7cGfvMfWyDMusVb7yFicx9sFkYb3qQvL"]},"src/util/BalancerV2Utils.sol":{"keccak256":"0x22d2b65dc33fc81cd9c877d897bc19b3f63b40d88dfc32c4db9a161400299897","license":"MIT","urls":["bzz-raw://7b96bbaa2da06335131dadd031886753d8fa4e727a68aa14ccf160ad45fe92b7","dweb:/ipfs/QmWsS3JZiZyYm8kCiQvJbPygijhqW14xzTDKHHrCm9zXy5"]},"src/util/GenericUtils.sol":{"keccak256":"0x353cd5dbda30a55ff156ae49f8c25259cb3378b70ef68329ced7bd792c32db33","license":"MIT","urls":["bzz-raw://d39fc895923a070b841138ad676d7006d7de1e387e61ea4a1388445c9f40cb8b","dweb:/ipfs/QmTDewZhpHK5kJfHRdKonndQVRi4fg1ZAQCKCaGLDnKXkD"]},"src/util/PauseUtils.sol":{"keccak256":"0xd2347162fe89454db62eeff3c622f3a40f16dd344d38ce719afaa273c2bc5046","license":"MIT","urls":["bzz-raw://75d6a3801f407217b83b465f85b6c51ccc5cf982d084abe522743aa8719d45e8","dweb:/ipfs/QmREgw9TowNdM87yZ9e8TjPYA5pfAJ4vyjJgwioitKyQoi"]},"src/util/Permit2Utils.sol":{"keccak256":"0x50845d12342adb29da6aa01ea598480d9823030023d6c4754365c25d812f5ba6","license":"MIT","urls":["bzz-raw://3baf6684d841308e58e821dc4e1e522070970da0e2ada301b166c93d0e466270","dweb:/ipfs/QmeAFoMqaTu4bQfAqE1Pp8nxmj63bukXndso1uSNBntWC3"]},"src/util/UniswapV2Utils.sol":{"keccak256":"0xfdaa515d4035581d62ee8154faa0a5632fe3c6a48c304093d535c85c8b781f21","license":"MIT","urls":["bzz-raw://c06ebc1ab5e3162cb2a93830a3ec90b0d41d321bde996db504a5457eb9b5c378","dweb:/ipfs/QmWpuV3DPuaYYJFuZ9tPdhhFqHb4M6ttLcRZnvwvvkKZAj"]},"src/util/UniswapV3Utils.sol":{"keccak256":"0x8e002bb8089802c10cb2d8c57a68eed0036317fe3b16b7c07fc47ad3270e8186","license":"MIT","urls":["bzz-raw://4fe18d6eac887bff71dabc17f20ffb19f15e564de4e5ea265c6216132b15a049","dweb:/ipfs/QmU8XJvXFo4za2bcbMnBjkXLmhv1DPZRhZ6NbJGC7WkvKN"]},"src/util/WETHUtils.sol":{"keccak256":"0xfe8ae748c2d01462f3e7e074ce769ad2c7639f4ceb412e1f3428843eb6b8ab95","license":"MIT","urls":["bzz-raw://81f6a7e734eafea80b1a5c8b209fd990addded4d72b46a172b51d624c4961fc0","dweb:/ipfs/QmYodAHf57uniM5FkS5EPmntQyZzk27fkpnFCasqYpraTK"]},"src/vendor/Diamond.sol":{"keccak256":"0x946cbdeb940ad3b7e1309c2f3b093f5f49b3bb6fd6ad6fa66a300ad0c8a3988d","license":"MIT","urls":["bzz-raw://4d64e0fa26bfabf0047426d243a9c960335f75593ed93068de593d06cd3868b5","dweb:/ipfs/QmTwE9hQydyMJZTsVi4jGzCgET693exKj5N24QB8W2DjxT"]},"src/vendor/interfaces/IDiamondCut.sol":{"keccak256":"0x759bc1eeb6135d0d3bf2b9e0ef5ab29b6a3ea6d6870840125c4825bdb892e7d0","license":"MIT","urls":["bzz-raw://b8accf86ede1723898824314a6a9cc6691c521aa98566664736ed33ac7746cfe","dweb:/ipfs/Qmf64Cqj2Lv6EtEPZBqtxwEeJmx5TztquH9CEgY1o3rHyk"]},"src/vendor/libraries/LibDiamond.sol":{"keccak256":"0x01d2f4f42e90ae4bbb7c91d5ebc6f60cc5df6602de9be18c63ca1f7fdde02a33","license":"MIT","urls":["bzz-raw://eb6da0f04aec9770e95f9250290056fec3de82fc22929ea1d6ec0753b443faaf","dweb:/ipfs/QmUfRxcnYr6z9cebk6RRnsyPYXeVCF3rQSfEM4NVFiKdQ8"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address_payable":{"label":"address payable","encoding":"inplace","numberOfBytes":"20"},"t_contract(IERC20)77":{"label":"contract IERC20","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_contract(IERC20)77,t_bool)":{"key":"t_contract(IERC20)77","label":"mapping(contract IERC20 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_contract(IERC20)77,t_bool)","astId":7933,"label":"blacklistedTokens","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"1","type":"t_address_payable","astId":7935,"label":"feeWallet","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"2","type":"t_address_payable","astId":7937,"label":"feeWalletDelegate","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"2","type":"t_bool","astId":7939,"label":"paused","offset":20,"contract":"src/AugustusV6.sol:AugustusV6"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","errors":{"InvalidCaller()":[{"notice":"Error emitted if the caller is not a Uniswap V3 pool"}],"ContractPaused()":[{"notice":"Error emitted when the contract is paused"}],"InvalidToAmount()":[{"notice":"Emitted when the specified toAmount is less than the minimum amount (2)"}],"IncorrectEthAmount()":[{"notice":"Emitted when the passed msg.value is not equal to the fromAmount"}],"InvalidQuotedAmount()":[{"notice":"Error emmited when the quotedAmount is bigger than the fromAmount"}],"ArbitrageNotSupported()":[{"notice":"Emmited when the srcToken and destToken are the same"}],"CallbackTransferFailed()":[{"notice":"Error emitted if the transfer of tokens to the pool inside the callback failed"}],"InsufficientReturnAmount()":[{"notice":"Emitted when the returned amount is less than the minimum amount"}],"InsufficientBalanceToPayFees()":[{"notice":"Error emmited when the balance is not enough to pay the fees"}]},"notice":"The V6 implementation of the ParaSwap onchain aggregation protocol","methods":{"parsePartnerAndFeeData(uint256)":{"notice":"Parses the `partnerAndFee` parameter to extract the partner address and fee data."},"uniswapV3SwapCallback(int256,int256,bytes)":{"notice":"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap."},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountIn on Balancer V2 pools"},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountOut on Balancer V2 pools"},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountIn using the given executorData on the given executor"},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountOut using the given executorData on the given executor"},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V2 pools"},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V3 pools"},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V2 pools"},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V3 pools"},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V1 pools"},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V2 pools"},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"notice":"Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ the function that is executed is defined by the direction flag in the data param"}},"version":1},"devdoc":{"kind":"dev","title":"AugustusV6","errors":{"InvalidSelector()":[{"details":"Emitted when the passed selector is invalid"}],"UnauthorizedUser()":[{"details":"Emitted when the msg.sender is not authorized to be the taker"}],"InvalidOrdersLength()":[{"details":"Emitted when the orders length is 0"}]},"methods":{"parsePartnerAndFeeData(uint256)":{"params":{"partnerAndFee":"Packed uint256 containing both partner address and fee data."},"details":"`partnerAndFee` is a uint256 value where data is packed in a specific bit layout.      The bit layout for `partnerAndFee` is as follows:      - The most significant 160 bits (positions 255 to 96) represent the partner address.      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.","returns":{"feeData":"The extracted fee data containing the fee percentage and flags.","partner":"The extracted partner address as a payable address."}},"uniswapV3SwapCallback(int256,int256,bytes)":{"params":{"data":"Any data passed through by the caller via the IUniswapV3PoolActions#swap call","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.","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."},"details":"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."},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"data":"The calldata to execute the first 20 bytes are the beneficiary address and the left most bit is the approve flag","permit":"Permit data for the swap","balancerData":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"data":"The calldata to execute","permit":"Permit data for the swap","balancerData":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"permit":"The permit data","executor":"The address of the executor contract to use","swapData":"Generic data containing the swap information","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"permit":"The permit data","executor":"The address of the executor contract to use","swapData":"Generic data containing the swap information","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received from the swap"}},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","uniData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","uniData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","swapData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","swapData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"permit":"Permit data for the swap","curveV1Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"permit":"Permit data for the swap","curveV2Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"params":{"data":"Struct containing common data for AugustusRFQ","orders":"An array containing AugustusRFQ orderInfo data","permit":"Permit data for the swap"},"returns":{"spentAmount":"The amount of tokens spent","receivedAmount":"The amount of tokens received"}}},"version":1},"sourceIds":{"src/AugustusV6.sol":{"id":2},"src/util/WETHUtils.sol":{"id":43},"src/vendor/Diamond.sol":{"id":44},"src/AugustusV6Types.sol":{"id":3},"src/routers/Routers.sol":{"id":23},"src/util/PauseUtils.sol":{"id":39},"src/interfaces/IWETH.sol":{"id":21},"src/fees/AugustusFees.sol":{"id":4},"src/util/GenericUtils.sol":{"id":38},"src/util/Permit2Utils.sol":{"id":40},"src/interfaces/IErrors.sol":{"id":13},"src/util/UniswapV2Utils.sol":{"id":41},"src/util/UniswapV3Utils.sol":{"id":42},"src/libraries/ERC20Utils.sol":{"id":22},"src/util/BalancerV2Utils.sol":{"id":37},"src/util/AugustusRFQUtils.sol":{"id":36},"src/interfaces/IAugustusRFQ.sol":{"id":7},"src/storage/AugustusStorage.sol":{"id":35},"src/interfaces/IAugustusFees.sol":{"id":6},"src/vendor/libraries/LibDiamond.sol":{"id":46},"lib/solady/src/utils/SafeCastLib.sol":{"id":1},"src/interfaces/IAugustusFeeVault.sol":{"id":5},"src/interfaces/IAugustusRFQRouter.sol":{"id":8},"src/vendor/interfaces/IDiamondCut.sol":{"id":45},"src/interfaces/IUniswapV3SwapCallback.sol":{"id":18},"src/routers/general/AugustusRFQRouter.sol":{"id":24},"src/interfaces/ICurveV1SwapExactAmountIn.sol":{"id":11},"src/interfaces/ICurveV2SwapExactAmountIn.sol":{"id":12},"src/interfaces/IGenericSwapExactAmountIn.sol":{"id":14},"src/interfaces/IGenericSwapExactAmountOut.sol":{"id":15},"src/interfaces/IUniswapV2SwapExactAmountIn.sol":{"id":16},"src/interfaces/IUniswapV3SwapExactAmountIn.sol":{"id":19},"src/interfaces/IBalancerV2SwapExactAmountIn.sol":{"id":9},"src/interfaces/IUniswapV2SwapExactAmountOut.sol":{"id":17},"src/interfaces/IUniswapV3SwapExactAmountOut.sol":{"id":20},"src/interfaces/IBalancerV2SwapExactAmountOut.sol":{"id":10},"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol":{"id":25},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":0},"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol":{"id":31},"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol":{"id":27},"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol":{"id":28},"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol":{"id":29},"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol":{"id":30},"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol":{"id":26},"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol":{"id":33},"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol":{"id":34},"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol":{"id":32}},"additionalInput":null,"stdJsonInput":{"sources":{"src/AugustusV6.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Vendor\nimport { Diamond } from \"./vendor/Diamond.sol\";\n\n// Routers\nimport { Routers } from \"./routers/Routers.sol\";\n\n//                  ______                                   __                     __  __    ____\n//                 /\\  _  \\                                 /\\ \\__                 /\\ \\/\\ \\  /'___\\\n//                 \\ \\ \\L\\ \\  __  __     __   __  __    ____\\ \\ ,_\\  __  __    ____\\ \\ \\ \\ \\/\\ \\__/\n//                  \\ \\  __ \\/\\ \\/\\ \\  /'_ `\\/\\ \\/\\ \\  /',__\\\\ \\ \\/ /\\ \\/\\ \\  /',__\\\\ \\ \\ \\ \\ \\  _``\\\n//                   \\ \\ \\/\\ \\ \\ \\_\\ \\/\\ \\L\\ \\ \\ \\_\\ \\/\\__, `\\\\ \\ \\_\\ \\ \\_\\ \\/\\__, `\\\\ \\ \\_/ \\ \\ \\L\\ \\\n//                    \\ \\_\\ \\_\\ \\____/\\ \\____ \\ \\____/\\/\\____/ \\ \\__\\\\ \\____/\\/\\____/ \\ `\\___/\\ \\____/\n//                     \\/_/\\/_/\\/___/  \\/___L\\ \\/___/  \\/___/   \\/__/ \\/___/  \\/___/   `\\/__/  \\/___/\n//                                       /\\____/\n//                                       \\_/__/\n\n/// @title AugustusV6\n/// @notice The V6 implementation of the ParaSwap onchain aggregation protocol\ncontract AugustusV6 is Diamond, Routers {\n    /*//////////////////////////////////////////////////////////////\n                              CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        /// @dev Diamond\n        address _owner,\n        address _diamondCutFacet,\n        /// @dev Direct Routers\n        address _weth,\n        address payable _balancerVault,\n        uint256 _uniV3FactoryAndFF,\n        uint256 _uniswapV3PoolInitCodeHash,\n        uint256 _uniswapV2FactoryAndFF,\n        uint256 _uniswapV2PoolInitCodeHash,\n        address _rfq,\n        /// @dev Fees\n        address payable _feeVault,\n        /// @dev Permit2\n        address _permit2\n    )\n        Diamond(_owner, _diamondCutFacet)\n        Routers(\n            _weth,\n            _uniV3FactoryAndFF,\n            _uniswapV3PoolInitCodeHash,\n            _uniswapV2FactoryAndFF,\n            _uniswapV2PoolInitCodeHash,\n            _balancerVault,\n            _permit2,\n            _rfq,\n            _feeVault\n        )\n    { }\n\n    /*//////////////////////////////////////////////////////////////\n                                EXTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Reverts if the caller is one of the following:\n    //         - an externally-owned account\n    //         - a contract in construction\n    //         - an address where a contract will be created\n    //         - an address where a contract lived, but was destroyed\n    receive() external payable override(Diamond) {\n        address addr = msg.sender;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            if iszero(extcodesize(addr)) { revert(0, 0) }\n        }\n    }\n}\n"},"src/util/WETHUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IWETH } from \"../interfaces/IWETH.sol\";\n\n/// @title WETHUtils\n/// @notice A contract containing common utilities for WETH\nabstract contract WETHUtils {\n    /*//////////////////////////////////////////////////////////////\n                                CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev WETH address\n    IWETH public immutable WETH;\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _weth) {\n        WETH = IWETH(_weth);\n    }\n}\n"},"src/vendor/Diamond.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/Diamond.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n *\n * Implementation of a diamond.\n * /*****************************************************************************\n */\nimport { LibDiamond } from \"./libraries/LibDiamond.sol\";\nimport { IDiamondCut } from \"./interfaces/IDiamondCut.sol\";\n\ncontract Diamond {\n    error DiamondFunctionDoesNotExist();\n\n    constructor(address _contractOwner, address _diamondCutFacet) payable {\n        LibDiamond.setContractOwner(_contractOwner);\n\n        // Add the diamondCut external function from the diamondCutFacet\n        IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\n        bytes4[] memory functionSelectors = new bytes4[](1);\n        functionSelectors[0] = IDiamondCut.diamondCut.selector;\n        cut[0] = IDiamondCut.FacetCut({\n            facetAddress: _diamondCutFacet,\n            action: IDiamondCut.FacetCutAction.Add,\n            functionSelectors: functionSelectors\n        });\n        LibDiamond.diamondCut(cut, address(0), \"\");\n    }\n\n    // Find facet for function that is called and execute the\n    // function if a facet is found and return any value.\n    fallback() external payable {\n        LibDiamond.DiamondStorage storage ds;\n        bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\n        // get diamond storage\n        assembly {\n            ds.slot := position\n        }\n        // get facet from function selector\n        address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\n        // revert if function does not exist\n        if (facet == address(0)) {\n            revert DiamondFunctionDoesNotExist();\n        }\n        // Execute external function from facet using delegatecall and return any value.\n        assembly {\n            // copy function selector and any arguments\n            calldatacopy(0, 0, calldatasize())\n            // execute function call using the facet\n            let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\n            // get any return value\n            returndatacopy(0, 0, returndatasize())\n            // return any return value or error back to the caller\n            switch result\n            case 0 { revert(0, returndatasize()) }\n            default { return(0, returndatasize()) }\n        }\n    }\n\n    receive() external payable virtual { }\n}\n"},"src/AugustusV6Types.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/*//////////////////////////////////////////////////////////////\n                        GENERIC SWAP DATA\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct containg data for generic swapExactAmountIn/swapExactAmountOut\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct GenericData {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            UNISWAPV2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for UniswapV2 swapExactAmountIn/swapExactAmountOut data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\n/// @param pools data consisting of concatenated token0 and token1 address for each pool with the direction flag being\n/// the right most bit of the packed token0-token1 pair bytes used in the path\nstruct UniswapV2Data {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n    bytes pools;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            UNISWAPV3\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for UniswapV3 swapExactAmountIn/swapExactAmountOut data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\n/// @param pools data consisting of concatenated token0-\n/// token1-fee bytes for each pool used in the path, with the direction flag being the left most bit of token0 in the\n/// concatenated bytes\nstruct UniswapV3Data {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n    bytes pools;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            CURVE V1\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for CurveV1 swapExactAmountIn data\n/// @param curveData Packed data for the Curve pool, first 160 bits is the target exchange address,\n/// the 161st bit is the approve flag, bits from (162 - 163) are used for the wrap flag,\n//// bits from (164 - 165) are used for the swapType flag and the last 91 bits are unused:\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Wrap Flag - a) 0 -> do not wrap b) 1 -> wrap native & srcToken == eth\n/// c) 2 -> unwrap and destToken == eth d) 3 - >srcToken == eth && do not wrap\n/// Swap Type Flag -  a) 0 -> EXCHANGE b) 1 -> EXCHANGE_UNDERLYING\n/// @param curveAssets Packed uint128 index i and uint128 index j of the pool\n/// The first 128 bits is the index i and the second 128 bits is the index j\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount that must be recieved\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The expected amount of destToken to be recieved\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct CurveV1Data {\n    uint256 curveData;\n    uint256 curveAssets;\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            CURVE V2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for CurveV2 swapExactAmountIn data\n/// @param curveData Packed data for the Curve pool, first 160 bits is the target exchange address,\n/// the 161st bit is the approve flag, bits from (162 - 163) are used for the wrap flag,\n//// bits from (164 - 165) are used for the swapType flag and the last 91 bits are unused\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Approve Flag - a) 0 -> do not approve b) 1 -> approve\n/// Wrap Flag - a) 0 -> do not wrap b) 1 -> wrap native & srcToken == eth\n/// c) 2 -> unwrap and destToken == eth d) 3 - >srcToken == eth && do not wrap\n/// Swap Type Flag -  a) 0 -> EXCHANGE b) 1 -> EXCHANGE_UNDERLYING c) 2 -> EXCHANGE_UNDERLYING_FACTORY_ZAP\n/// @param i The index of the srcToken\n/// @param j The index of the destToken\n/// The first 128 bits is the index i and the second 128 bits is the index j\n/// @param poolAddress The address of the CurveV2 pool (only used for EXCHANGE_UNDERLYING_FACTORY_ZAP)\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount that must be recieved\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The expected amount of destToken to be recieved\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiary The address to send the swapped tokens to\nstruct CurveV2Data {\n    uint256 curveData;\n    uint256 i;\n    uint256 j;\n    address poolAddress;\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            BALANCER V2\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for BalancerV2 swapExactAmountIn data\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param quotedAmount The quoted expected amount of destToken/srcToken\n/// = quotedAmountOut for swapExactAmountIn and quotedAmountIn for swapExactAmountOut\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiaryAndApproveFlag The beneficiary address and approve flag packed into one uint256,\n/// the first 20 bytes are the beneficiary address and the left most bit is the approve flag\nstruct BalancerV2Data {\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 quotedAmount;\n    bytes32 metadata;\n    uint256 beneficiaryAndApproveFlag;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            MAKERPSM\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Struct for Maker PSM swapExactAmountIn data\n/// @param srcToken The token to swap from\n/// @param destToken The token to swap to\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param toll Used to calculate gem amount for the swapExactAmountIn\n/// @param to18ConversionFactor Used to calculate gem amount for the swapExactAmountIn\n/// @param gemJoinAddress The address of the gemJoin contract\n/// @param exchange The address of the exchange contract\n/// @param metadata Packed uuid and additional metadata\n/// @param beneficiaryDirectionApproveFlag The beneficiary address, swap direction and approve flag packed\n/// into one uint256, the first 20 bytes are the beneficiary address, the left most bit is the approve flag and the\n/// second left most bit is the swap direction flag, 0 for swapExactAmountIn and 1 for swapExactAmountOut\nstruct MakerPSMData {\n    IERC20 srcToken;\n    IERC20 destToken;\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint256 toll;\n    uint256 to18ConversionFactor;\n    address exchange;\n    address gemJoinAddress;\n    bytes32 metadata;\n    uint256 beneficiaryDirectionApproveFlag;\n}\n\n/*//////////////////////////////////////////////////////////////\n                            AUGUSTUS RFQ\n//////////////////////////////////////////////////////////////*/\n\n/// @notice Order struct for Augustus RFQ\n/// @param nonceAndMeta The nonce and meta data packed into one uint256,\n/// the first 160 bits is the user address and the last 96 bits is the nonce\n/// @param expiry The expiry of the order\n/// @param makerAsset The address of the maker asset\n/// @param takerAsset The address of the taker asset\n/// @param maker The address of the maker\n/// @param taker The address of the taker, if the taker is address(0) anyone can take the order\n/// @param makerAmount The amount of makerAsset\n/// @param takerAmount The amount of takerAsset\nstruct Order {\n    uint256 nonceAndMeta;\n    uint128 expiry;\n    address makerAsset;\n    address takerAsset;\n    address maker;\n    address taker;\n    uint256 makerAmount;\n    uint256 takerAmount;\n}\n\n/// @notice Struct containing order info for Augustus RFQ\n/// @param order The order struct\n/// @param signature The signature for the order\n/// @param takerTokenFillAmount The amount of takerToken to fill\n/// @param permitTakerAsset The permit data for the taker asset\n/// @param permitMakerAsset The permit data for the maker asset\nstruct OrderInfo {\n    Order order;\n    bytes signature;\n    uint256 takerTokenFillAmount;\n    bytes permitTakerAsset;\n    bytes permitMakerAsset;\n}\n\n/// @notice Struct containing common data for executing swaps on Augustus RFQ\n/// @param fromAmount The amount of srcToken to swap\n/// = amountIn for swapExactAmountIn and maxAmountIn for swapExactAmountOut\n/// @param toAmount The minimum amount of destToken to receive\n/// = minAmountOut for swapExactAmountIn and amountOut for swapExactAmountOut\n/// @param wrapApproveDirection The wrap, approve and direction flag packed into one uint8,\n/// the first 2 bits is wrap flag (10 for wrap dest, 01 for wrap src, 00 for no wrap), the next bit is the approve flag\n/// (1 for approve, 0 for no approve) and the last bit is the direction flag (0 for swapExactAmountIn and 1 for\n/// swapExactAmountOut)\n/// @param metadata Packed uuid and additional metadata\nstruct AugustusRFQData {\n    uint256 fromAmount;\n    uint256 toAmount;\n    uint8 wrapApproveDirection;\n    bytes32 metadata;\n    address payable beneficiary;\n}\n"},"src/routers/Routers.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// DirectSwapExactAmountIn\nimport { BalancerV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol\";\nimport { CurveV1SwapExactAmountIn } from \"./swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol\";\nimport { CurveV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol\";\nimport { UniswapV2SwapExactAmountIn } from \"./swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol\";\nimport { UniswapV3SwapExactAmountIn } from \"./swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol\";\n\n// DirectSwapExactAmountOut\nimport { BalancerV2SwapExactAmountOut } from \"./swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol\";\nimport { UniswapV2SwapExactAmountOut } from \"./swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol\";\nimport { UniswapV3SwapExactAmountOut } from \"./swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol\";\n\n// Fees\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// GenericSwapExactAmountIn\nimport { GenericSwapExactAmountIn } from \"./swapExactAmountIn/GenericSwapExactAmountIn.sol\";\n\n// GenericSwapExactAmountOut\nimport { GenericSwapExactAmountOut } from \"./swapExactAmountOut/GenericSwapExactAmountOut.sol\";\n\n// General\nimport { AugustusRFQRouter } from \"./general/AugustusRFQRouter.sol\";\n\n// Utils\nimport { AugustusRFQUtils } from \"../util/AugustusRFQUtils.sol\";\nimport { BalancerV2Utils } from \"../util/BalancerV2Utils.sol\";\nimport { UniswapV2Utils } from \"../util/UniswapV2Utils.sol\";\nimport { UniswapV3Utils } from \"../util/UniswapV3Utils.sol\";\nimport { WETHUtils } from \"../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../util/Permit2Utils.sol\";\n\n/// @title Routers\n/// @notice A wrapper for all router contracts\ncontract Routers is\n    AugustusFees,\n    AugustusRFQRouter,\n    BalancerV2SwapExactAmountOut,\n    BalancerV2SwapExactAmountIn,\n    CurveV1SwapExactAmountIn,\n    CurveV2SwapExactAmountIn,\n    GenericSwapExactAmountOut,\n    GenericSwapExactAmountIn,\n    UniswapV2SwapExactAmountOut,\n    UniswapV2SwapExactAmountIn,\n    UniswapV3SwapExactAmountOut,\n    UniswapV3SwapExactAmountIn\n{\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        address _weth,\n        uint256 _uniswapV3FactoryAndFF,\n        uint256 _uniswapV3PoolInitCodeHash,\n        uint256 _uniswapV2FactoryAndFF,\n        uint256 _uniswapV2PoolInitCodeHash,\n        address payable _balancerVault,\n        address _permit2,\n        address _rfq,\n        address payable _feeVault\n    )\n        AugustusFees(_feeVault)\n        AugustusRFQUtils(_rfq)\n        BalancerV2Utils(_balancerVault)\n        Permit2Utils(_permit2)\n        UniswapV2Utils(_uniswapV2FactoryAndFF, _uniswapV2PoolInitCodeHash)\n        UniswapV3Utils(_uniswapV3FactoryAndFF, _uniswapV3PoolInitCodeHash)\n        WETHUtils(_weth)\n    { }\n}\n"},"src/util/PauseUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Storage\nimport { AugustusStorage } from \"../storage/AugustusStorage.sol\";\n\n/// @title PauseUtils\n/// @notice Provides a modifier to check if the contract is paused\nabstract contract PauseUtils is AugustusStorage {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted when the contract is paused\n    error ContractPaused();\n\n    /*//////////////////////////////////////////////////////////////\n                               MODIFIERS\n    //////////////////////////////////////////////////////////////*/\n\n    // Check if the contract is paused, if it is, revert\n    modifier whenNotPaused() {\n        if (paused) {\n            revert ContractPaused();\n        }\n        _;\n    }\n}\n"},"src/interfaces/IWETH.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title IWETH\n/// @notice An interface for WETH IERC20\ninterface IWETH is IERC20 {\n    function deposit() external payable;\n    function withdraw(uint256 amount) external;\n}\n"},"src/fees/AugustusFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IAugustusFeeVault } from \"../interfaces/IAugustusFeeVault.sol\";\nimport { IAugustusFees } from \"../interfaces/IAugustusFees.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../libraries/ERC20Utils.sol\";\n\n// Storage\nimport { AugustusStorage } from \"../storage/AugustusStorage.sol\";\n\n/// @title AugustusFees\n/// @notice Contract for handling fees\ncontract AugustusFees is AugustusStorage, IAugustusFees {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Fee share constants\n    uint256 public constant PARTNER_SHARE_PERCENT = 8500;\n    uint256 public constant MAX_FEE_PERCENT = 200;\n    uint256 public constant SURPLUS_PERCENT = 100;\n    uint256 public constant PARASWAP_REFERRAL_SHARE = 5000;\n    uint256 public constant PARTNER_REFERRAL_SHARE = 2500;\n    uint256 public constant PARASWAP_SURPLUS_SHARE = 5000;\n    uint256 public constant PARASWAP_SLIPPAGE_SHARE = 10_000;\n    uint256 public constant MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI = 11;\n\n    /// @dev Masks for unpacking feeData\n    uint256 private constant FEE_PERCENT_IN_BASIS_POINTS_MASK = 0x3FFF;\n    uint256 private constant IS_USER_SURPLUS_MASK = 1 << 90;\n    uint256 private constant IS_DIRECT_TRANSFER_MASK = 1 << 91;\n    uint256 private constant IS_CAP_SURPLUS_MASK = 1 << 92;\n    uint256 private constant IS_SKIP_BLACKLIST_MASK = 1 << 93;\n    uint256 private constant IS_REFERRAL_MASK = 1 << 94;\n    uint256 private constant IS_TAKE_SURPLUS_MASK = 1 << 95;\n\n    /// @dev A contact that stores fees collected by the protocol\n    IAugustusFeeVault public immutable FEE_VAULT; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                              CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _feeVault) {\n        FEE_VAULT = IAugustusFeeVault(_feeVault);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       SWAP EXACT AMOUNT IN FEES\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Process swapExactAmountIn fees and transfer the received amount to the beneficiary\n    /// @param destToken The received token from the swapExactAmountIn\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountIn\n    /// @param quotedAmount The quoted expected amount of destToken\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountInFeesAndTransfer(\n        address beneficiary,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // calculate the surplus, we expect there to be 1 wei dust left which we should\n        // not take into account when determining if there is surplus, we only take the\n        // surplus if it is greater than MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (receivedAmount > quotedAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = receivedAmount - quotedAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // calculate remainingAmount\n        uint256 remainingAmount = receivedAmount - surplus;\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[destToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the received amount to the beneficiary, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n                return (receivedAmount - 1, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (receivedAmount, quotedAmount + surplus)\n                uint256 feeBase = receivedAmount > quotedAmount + surplus ? quotedAmount + surplus : receivedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from destToken\n                returnAmount = _distributeFees(\n                    receivedAmount,\n                    destToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the return amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from destToken\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary, keeping 1 wei dust\n                    _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                    return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from destToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary, keeping 1 wei dust\n                    _transferAndLeaveDust(destToken, beneficiary, returnAmount);\n                    return (returnAmount - 1, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus and transfer the rest to the beneficiary\n        // if there is no positive slippage, transfer the received amount to the beneficiary\n        if (surplus > 0) {\n            // If the token is blacklisted, send the received amount to the beneficiary\n            // we won't process fees\n            if (blacklistedTokens[destToken]) {\n                // transfer the received amount to the beneficiary, keeping 1 wei dust\n                _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n                return (receivedAmount - 1, 0, 0);\n            }\n            // transfer the remaining amount to the beneficiary, keeping 1 wei dust\n            _transferAndLeaveDust(destToken, beneficiary, remainingAmount);\n            // transfer the surplus to the fee wallet\n            destToken.safeTransfer(feeWallet, surplus);\n            return (remainingAmount - 1, surplus, 0);\n        } else {\n            // transfer the received amount to the beneficiary, keeping 1 wei dust\n            _transferAndLeaveDust(destToken, beneficiary, receivedAmount);\n            return (receivedAmount - 1, 0, 0);\n        }\n    }\n\n    /// @notice Process swapExactAmountIn fees and transfer the received amount to the beneficiary\n    /// @param destToken The received token from the swapExactAmountIn\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountIn\n    /// @param quotedAmount The quoted expected amount of destToken\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountInFeesAndTransferUniV3(\n        address beneficiary,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (receivedAmount > quotedAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = receivedAmount - quotedAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // calculate remainingAmount\n        uint256 remainingAmount = receivedAmount - surplus;\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[destToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the received amount to the beneficiary, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (receivedAmount, quotedAmount + surplus)\n                uint256 feeBase = receivedAmount > quotedAmount + surplus ? quotedAmount + surplus : receivedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from destToken\n                returnAmount = _distributeFees(\n                    receivedAmount,\n                    destToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the return amount to the beneficiary\n                destToken.safeTransfer(beneficiary, returnAmount);\n                return (returnAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from destToken\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary\n                    destToken.safeTransfer(beneficiary, returnAmount);\n                    return (returnAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from destToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        receivedAmount,\n                        destToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the return amount to the beneficiary,\n                    destToken.safeTransfer(beneficiary, returnAmount);\n                    return (returnAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus and transfer the rest to the beneficiary\n        // if there is no positive slippage, transfer the received amount to the beneficiary\n        if (surplus > 0) {\n            // If the token is blacklisted, send the received amount to the beneficiary\n            // we won't process fees\n            if (blacklistedTokens[destToken]) {\n                // transfer the received amount to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (receivedAmount, 0, 0);\n            }\n            // transfer the remaining amount to the beneficiary\n            destToken.safeTransfer(beneficiary, remainingAmount);\n            // transfer the surplus to the fee wallet\n            destToken.safeTransfer(feeWallet, surplus);\n            return (remainingAmount, surplus, 0);\n        } else {\n            // transfer the received amount to the beneficiary\n            destToken.safeTransfer(beneficiary, receivedAmount);\n            return (receivedAmount, 0, 0);\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                       SWAP EXACT AMOUNT OUT FEES\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Process swapExactAmountOut fees and transfer the received amount and remaining amount to the\n    /// beneficiary\n    /// @param srcToken The token used to swapExactAmountOut\n    /// @param destToken The token received from the swapExactAmountOut\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param maxAmountIn The amount of srcToken passed to the swapExactAmountOut\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountOut\n    /// @param quotedAmount The quoted expected amount of srcToken to be used to swapExactAmountOut\n    /// @return spentAmount The amount of srcToken used to swapExactAmountOut\n    /// @return outAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountOutFeesAndTransfer(\n        address beneficiary,\n        IERC20 srcToken,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 maxAmountIn,\n        uint256 remainingAmount,\n        uint256 receivedAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 spentAmount, uint256 outAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // calculate the amount used to swapExactAmountOut\n        spentAmount = maxAmountIn - (remainingAmount > 0 ? remainingAmount - 1 : remainingAmount);\n\n        // initialize the surplus\n        uint256 surplus;\n\n        // initialize the return amount\n        uint256 returnAmount;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // check if the quotedAmount is bigger than the maxAmountIn\n        if (quotedAmount > maxAmountIn) {\n            revert InvalidQuotedAmount();\n        }\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (quotedAmount > spentAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = quotedAmount - spentAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[srcToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // send the remaining amount to the msg.sender, we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the remaining amount to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, --receivedAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (spentAmount, quotedAmount)\n                uint256 feeBase = spentAmount < quotedAmount ? spentAmount : quotedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from srcToken\n                returnAmount = _distributeFees(\n                    remainingAmount,\n                    srcToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                );\n                // transfer the rest to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, --receivedAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from srcToken\n                    returnAmount = _distributeFees(\n                        remainingAmount,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the rest to msg.sender\n                    returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, --receivedAmount);\n                    return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    // distrubite fees from srcToken, partner takes 50% of the surplus\n                    // and paraswap takes the other 50%\n                    returnAmount = _distributeFees(\n                        remainingAmount,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    );\n                    // transfer the rest to msg.sender\n                    returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, returnAmount);\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, --receivedAmount);\n                    return (maxAmountIn - returnAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // transfer the received amount of destToken to the beneficiary\n        destToken.safeTransfer(beneficiary, --receivedAmount);\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus, and transfer the rest to msg.sender\n        // if there is no positive slippage, transfer the remaining amount to msg.sender\n        if (surplus > 0) {\n            // If the token is blacklisted, send the remaining amount to the msg.sender\n            // we won't process fees\n            if (blacklistedTokens[srcToken]) {\n                // transfer the remaining amount to msg.sender\n                returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n                return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n            }\n            // transfer the surplus to the fee wallet\n            srcToken.safeTransfer(feeWallet, surplus);\n            // transfer the remaining amount to msg.sender\n            returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount - surplus);\n            return (maxAmountIn - returnAmount, receivedAmount, surplus, 0);\n        } else {\n            // transfer the remaining amount to msg.sender\n            returnAmount = _transferIfGreaterThanOne(srcToken, msg.sender, remainingAmount);\n            return (maxAmountIn - returnAmount, receivedAmount, 0, 0);\n        }\n    }\n\n    /// @notice Process swapExactAmountOut fees for UniV3 swapExactAmountOut, doing a transferFrom user to the fee\n    /// vault or partner and feeWallet\n    /// @param beneficiary The user's address\n    /// @param srcToken The token used to swapExactAmountOut\n    /// @param destToken The token received from the swapExactAmountOut\n    /// @param partnerAndFee Packed partner and fee data\n    /// @param maxAmountIn The amount of srcToken passed to the swapExactAmountOut\n    /// @param receivedAmount The amount of destToken received from the swapExactAmountOut\n    /// @param spentAmount The amount of srcToken used to swapExactAmountOut\n    /// @param quotedAmount The quoted expected amount of srcToken to be used to swapExactAmountOut\n    /// @return totalSpentAmount The total amount of srcToken used to swapExactAmountOut\n    /// @return returnAmount The amount of destToken transfered to the beneficiary\n    /// @return paraswapFeeShare The share of the fees for Paraswap\n    /// @return partnerFeeShare The share of the fees for the partner\n    function processSwapExactAmountOutFeesAndTransferUniV3(\n        address beneficiary,\n        IERC20 srcToken,\n        IERC20 destToken,\n        uint256 partnerAndFee,\n        uint256 maxAmountIn,\n        uint256 receivedAmount,\n        uint256 spentAmount,\n        uint256 quotedAmount\n    )\n        internal\n        returns (uint256 totalSpentAmount, uint256 returnAmount, uint256 paraswapFeeShare, uint256 partnerFeeShare)\n    {\n        // initialize the surplus\n        uint256 surplus;\n\n        // calculate remaining amount\n        uint256 remainingAmount = maxAmountIn - spentAmount;\n\n        // parse partner and fee data\n        (address payable partner, uint256 feeData) = parsePartnerAndFeeData(partnerAndFee);\n\n        // check if the quotedAmount is bigger than the fromAmount\n        if (quotedAmount > maxAmountIn) {\n            revert InvalidQuotedAmount();\n        }\n\n        // calculate the surplus, we do not take the surplus into account if it is less than\n        // MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\n        if (quotedAmount > spentAmount + MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI) {\n            surplus = quotedAmount - spentAmount;\n            // if the cap surplus flag is passed, we cap the surplus to 1% of the quoted amount\n            if (feeData & IS_CAP_SURPLUS_MASK != 0) {\n                uint256 cappedSurplus = (SURPLUS_PERCENT * quotedAmount) / 10_000;\n                surplus = surplus > cappedSurplus ? cappedSurplus : surplus;\n            }\n        }\n\n        // if partner address is not 0x0\n        if (partner != address(0x0)) {\n            // Check if skip blacklist flag is true\n            bool skipBlacklist = feeData & IS_SKIP_BLACKLIST_MASK != 0;\n            // Check if token is blacklisted\n            bool isBlacklisted = blacklistedTokens[srcToken];\n            // If the token is blacklisted and the skipBlacklist flag is false,\n            // we won't process fees\n            if (!skipBlacklist && isBlacklisted) {\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (spentAmount, receivedAmount, 0, 0);\n            }\n            // Check if direct transfer flag is true\n            bool isDirectTransfer = feeData & IS_DIRECT_TRANSFER_MASK != 0;\n            // partner takes fixed fees feePercent is greater than 0\n            uint256 feePercent = _getAdjustedFeePercent(feeData);\n            if (feePercent > 0) {\n                // fee base = min (spentAmount, quotedAmount)\n                uint256 feeBase = spentAmount < quotedAmount ? spentAmount : quotedAmount;\n                // calculate fixed fees\n                uint256 fee = (feeBase * feePercent) / 10_000;\n                partnerFeeShare = (fee * PARTNER_SHARE_PERCENT) / 10_000;\n                paraswapFeeShare = fee - partnerFeeShare;\n                // distrubite fees from srcToken\n                totalSpentAmount = _distributeFeesUniV3(\n                    remainingAmount,\n                    msg.sender,\n                    srcToken,\n                    partner,\n                    partnerFeeShare,\n                    paraswapFeeShare,\n                    skipBlacklist,\n                    isBlacklisted,\n                    isDirectTransfer\n                ) + spentAmount;\n                // transfer the received amount of destToken to the beneficiary\n                destToken.safeTransfer(beneficiary, receivedAmount);\n                return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n            }\n            // if slippage is postive and referral flag is true\n            else if (feeData & IS_REFERRAL_MASK != 0) {\n                if (surplus > 0) {\n                    // the split is 50% for paraswap, 25% for the referrer and 25% for the user\n                    paraswapFeeShare = (surplus * PARASWAP_REFERRAL_SHARE) / 10_000;\n                    partnerFeeShare = (surplus * PARTNER_REFERRAL_SHARE) / 10_000;\n                    // distribute fees from srcToken\n                    totalSpentAmount = _distributeFeesUniV3(\n                        remainingAmount,\n                        msg.sender,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    ) + spentAmount;\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, receivedAmount);\n                    return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n            // if slippage is positive and takeSurplus flag is true\n            else if (feeData & IS_TAKE_SURPLUS_MASK != 0) {\n                if (surplus > 0) {\n                    // paraswap takes 50% of the surplus and partner takes the other 50%\n                    paraswapFeeShare = (surplus * PARASWAP_SURPLUS_SHARE) / 10_000;\n                    partnerFeeShare = surplus - paraswapFeeShare;\n                    // If user surplus flag is true, transfer the partner share to the user instead of the partner\n                    if (feeData & IS_USER_SURPLUS_MASK != 0) {\n                        partnerFeeShare = 0;\n                        // Transfer the paraswap share directly to the fee wallet\n                        isDirectTransfer = true;\n                    }\n                    //  partner takes 50% of the surplus and paraswap takes the other 50%\n                    // distrubite fees from srcToken\n                    totalSpentAmount = _distributeFeesUniV3(\n                        remainingAmount,\n                        msg.sender,\n                        srcToken,\n                        partner,\n                        partnerFeeShare,\n                        paraswapFeeShare,\n                        skipBlacklist,\n                        isBlacklisted,\n                        isDirectTransfer\n                    ) + spentAmount;\n                    // transfer the received amount of destToken to the beneficiary\n                    destToken.safeTransfer(beneficiary, receivedAmount);\n                    return (totalSpentAmount, receivedAmount, paraswapFeeShare, partnerFeeShare);\n                }\n            }\n        }\n\n        // transfer the received amount of destToken to the beneficiary\n        destToken.safeTransfer(beneficiary, receivedAmount);\n\n        // if slippage is positive and partner address is 0x0 or fee percent is 0\n        // paraswap will take the surplus\n        if (surplus > 0) {\n            // If the token is blacklisted, we won't process fees\n            if (blacklistedTokens[srcToken]) {\n                return (spentAmount, receivedAmount, 0, 0);\n            }\n            // transfer the surplus to the fee wallet\n            srcToken.safeTransferFrom(msg.sender, feeWallet, surplus);\n        }\n        return (spentAmount + surplus, receivedAmount, surplus, 0);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 PUBLIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IAugustusFees\n    function parsePartnerAndFeeData(uint256 partnerAndFee)\n        public\n        pure\n        returns (address payable partner, uint256 feeData)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            partner := shr(96, partnerAndFee)\n            feeData := and(partnerAndFee, 0xFFFFFFFFFFFFFFFFFFFFFFFF)\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Distribute fees to the partner and paraswap\n    /// @param currentBalance The current balance of the token before distributing the fees\n    /// @param token The token to distribute the fees for\n    /// @param partner The partner address\n    /// @param partnerShare The partner share\n    /// @param paraswapShare The paraswap share\n    /// @param skipBlacklist Whether to skip the blacklist and transfer the fees directly to the partner\n    /// @param isBlacklisted Whether the token is blacklisted\n    /// @param directTransfer Whether to transfer the fees directly to the partner instead of the fee vault\n    /// @return newBalance The new balance of the token after distributing the fees\n    function _distributeFees(\n        uint256 currentBalance,\n        IERC20 token,\n        address payable partner,\n        uint256 partnerShare,\n        uint256 paraswapShare,\n        bool skipBlacklist,\n        bool isBlacklisted,\n        bool directTransfer\n    )\n        private\n        returns (uint256 newBalance)\n    {\n        uint256 totalFees = partnerShare + paraswapShare;\n        if (totalFees == 0) {\n            return currentBalance;\n        } else {\n            if (skipBlacklist && isBlacklisted) {\n                // totalFees should be just the partner share, paraswap does not take fees\n                // on blacklisted tokens, the rest of the fees are sent to sender based on\n                // newBalance = currentBalance - totalFees\n                totalFees = partnerShare;\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (partnerShare > 0) {\n                    token.safeTransfer(partner, partnerShare);\n                }\n            } else {\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (directTransfer) {\n                    // transfer the fees directly to the partner and paraswap\n                    if (paraswapShare > 0) {\n                        token.safeTransfer(feeWallet, paraswapShare);\n                    }\n                    if (partnerShare > 0) {\n                        token.safeTransfer(partner, partnerShare);\n                    }\n                } else {\n                    // transfer the fees to the fee vault\n                    token.safeTransfer(address(FEE_VAULT), totalFees);\n                    // Setup fee registration data\n                    address[] memory feeAddresses = new address[](2);\n                    uint256[] memory feeAmounts = new uint256[](2);\n                    feeAddresses[0] = partner;\n                    feeAmounts[0] = partnerShare;\n                    feeAddresses[1] = feeWalletDelegate;\n                    feeAmounts[1] = paraswapShare;\n                    IAugustusFeeVault.FeeRegistration memory feeData =\n                        IAugustusFeeVault.FeeRegistration({ token: token, addresses: feeAddresses, fees: feeAmounts });\n                    // Register the fees\n                    FEE_VAULT.registerFees(feeData);\n                }\n            }\n        }\n        newBalance = currentBalance - totalFees;\n    }\n\n    /// @notice Distribute fees for UniV3\n    /// @param currentBalance The current balance of the token before distributing the fees\n    /// @param payer The user's address\n    /// @param token The token to distribute the fees for\n    /// @param partner The partner address\n    /// @param partnerShare The partner share\n    /// @param paraswapShare The paraswap share\n    /// @param skipBlacklist Whether to skip the blacklist and transfer the fees directly to the partner\n    /// @param isBlacklisted Whether the token is blacklisted\n    /// @param directTransfer Whether to transfer the fees directly to the partner instead of the fee vault\n    /// @return totalFees The total fees distributed\n    function _distributeFeesUniV3(\n        uint256 currentBalance,\n        address payer,\n        IERC20 token,\n        address payable partner,\n        uint256 partnerShare,\n        uint256 paraswapShare,\n        bool skipBlacklist,\n        bool isBlacklisted,\n        bool directTransfer\n    )\n        private\n        returns (uint256 totalFees)\n    {\n        totalFees = partnerShare + paraswapShare;\n        if (totalFees != 0) {\n            if (skipBlacklist && isBlacklisted) {\n                // totalFees should be just the partner share, paraswap does not take fees\n                // on blacklisted tokens, the rest of the fees will remain on the payer's address\n                totalFees = partnerShare;\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                // transfer the fees to the partner\n                if (partnerShare > 0) {\n                    // transfer the fees to the partner\n                    token.safeTransferFrom(payer, partner, partnerShare);\n                }\n            } else {\n                // revert if the balance is not enough to pay the fees\n                if (totalFees > currentBalance) {\n                    revert InsufficientBalanceToPayFees();\n                }\n                if (directTransfer) {\n                    // transfer the fees directly to the partner and paraswap\n                    if (paraswapShare > 0) {\n                        token.safeTransferFrom(payer, feeWallet, paraswapShare);\n                    }\n                    if (partnerShare > 0) {\n                        token.safeTransferFrom(payer, partner, partnerShare);\n                    }\n                } else {\n                    // transfer the fees to the fee vault\n                    token.safeTransferFrom(payer, address(FEE_VAULT), totalFees);\n                    // Setup fee registration data\n                    address[] memory feeAddresses = new address[](2);\n                    uint256[] memory feeAmounts = new uint256[](2);\n                    feeAddresses[0] = partner;\n                    feeAmounts[0] = partnerShare;\n                    feeAddresses[1] = feeWalletDelegate;\n                    feeAmounts[1] = paraswapShare;\n                    IAugustusFeeVault.FeeRegistration memory feeData =\n                        IAugustusFeeVault.FeeRegistration({ token: token, addresses: feeAddresses, fees: feeAmounts });\n                    // Register the fees\n                    FEE_VAULT.registerFees(feeData);\n                }\n            }\n            // othwerwise do not transfer the fees\n        }\n        return totalFees;\n    }\n\n    /// @notice Get the adjusted fee percent by masking feePercent with FEE_PERCENT_IN_BASIS_POINTS_MASK,\n    /// if the fee percent is bigger than MAX_FEE_PERCENT, then set it to MAX_FEE_PERCENT\n    /// @param feePercent The fee percent\n    /// @return adjustedFeePercent The adjusted fee percent\n    function _getAdjustedFeePercent(uint256 feePercent) private pure returns (uint256) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            feePercent := and(feePercent, FEE_PERCENT_IN_BASIS_POINTS_MASK)\n            // if feePercent is bigger than MAX_FEE_PERCENT, then set it to MAX_FEE_PERCENT\n            if gt(feePercent, MAX_FEE_PERCENT) { feePercent := MAX_FEE_PERCENT }\n        }\n        return feePercent;\n    }\n\n    /// @notice Transfers amount to recipient if the amount is bigger than 1, leaving 1 wei dust on the contract\n    /// @param token The token to transfer\n    /// @param recipient The address to transfer to\n    /// @param amount The amount to transfer\n    function _transferIfGreaterThanOne(\n        IERC20 token,\n        address recipient,\n        uint256 amount\n    )\n        private\n        returns (uint256 amountOut)\n    {\n        if (amount > 1) {\n            unchecked {\n                --amount;\n            }\n            token.safeTransfer(recipient, amount);\n            return amount;\n        }\n        return 0;\n    }\n\n    /// @notice Transfer amount to beneficiary, leaving 1 wei dust on the contract\n    /// @param token The token to transfer\n    /// @param beneficiary The address to transfer to\n    /// @param amount The amount to transfer\n    function _transferAndLeaveDust(IERC20 token, address beneficiary, uint256 amount) private {\n        unchecked {\n            --amount;\n        }\n        token.safeTransfer(beneficiary, amount);\n    }\n}\n"},"src/util/GenericUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Utils\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title GenericUtils\n/// @notice A contract containing common utilities for Generic swaps\nabstract contract GenericUtils is AugustusFees, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                                INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Call executor with executorData and amountIn\n    function _callSwapExactAmountInExecutor(\n        address executor,\n        bytes calldata executorData,\n        uint256 amountIn\n    )\n        internal\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // get the length of the executorData\n            // + 4 bytes for the selector\n            // + 32 bytes for fromAmount\n            // + 32 bytes for sender\n            let totalLength := add(executorData.length, 68)\n            calldatacopy(add(0x7c, 4), executorData.offset, executorData.length) // store the executorData\n            mstore(add(0x7c, add(4, executorData.length)), amountIn) // store the amountIn\n            mstore(add(0x7c, add(36, executorData.length)), caller()) // store the sender\n            // call executor and forward call value\n            if iszero(call(gas(), executor, callvalue(), 0x7c, totalLength, 0, 0)) {\n                returndatacopy(0x7c, 0, returndatasize()) // copy the revert data to memory\n                revert(0x7c, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n\n    /// @dev Call executor with executorData, maxAmountIn, amountOut\n    function _callSwapExactAmountOutExecutor(\n        address executor,\n        bytes calldata executorData,\n        uint256 maxAmountIn,\n        uint256 amountOut\n    )\n        internal\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // get the length of the executorData\n            // + 4 bytes for the selector\n            // + 32 bytes for fromAmount\n            // + 32 bytes for toAmount\n            // + 32 bytes for sender\n            let totalLength := add(executorData.length, 100)\n            calldatacopy(add(0x7c, 4), executorData.offset, executorData.length) // store the executorData\n            mstore(add(0x7c, add(4, executorData.length)), maxAmountIn) // store the maxAmountIn\n            mstore(add(0x7c, add(36, executorData.length)), amountOut) // store the amountOut\n            mstore(add(0x7c, add(68, executorData.length)), caller()) // store the sender\n            // call executor and forward call value\n            if iszero(call(gas(), executor, callvalue(), 0x7c, totalLength, 0, 0)) {\n                returndatacopy(0x7c, 0, returndatasize()) // copy the revert data to memory\n                revert(0x7c, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n}\n"},"src/util/Permit2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title Permit2Utils\n/// @notice A contract containing common utilities for Permit2\nabstract contract Permit2Utils {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    error Permit2Failed();\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Permit2 address\n    address public immutable PERMIT2; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                                CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _permit2) {\n        PERMIT2 = _permit2;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Parses data and executes permit2.permitTransferFrom, reverts if it fails\n    function permit2TransferFrom(bytes calldata data, address recipient, uint256 amount) internal {\n        address targetAddress = PERMIT2;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Get free memory pointer\n            let ptr := mload(64)\n            // Store function selector\n            mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000) // permitTransferFrom()\n            // Copy data to memory\n            calldatacopy(add(ptr, 4), data.offset, data.length)\n            // Store recipient\n            mstore(add(ptr, 132), recipient)\n            // Store amount\n            mstore(add(ptr, 164), amount)\n            // Store owner\n            mstore(add(ptr, 196), caller())\n            // Call permit2.permitTransferFrom and revert if call failed\n            if iszero(call(gas(), targetAddress, 0, ptr, add(data.length, 4), 0, 0)) {\n                mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store error selector\n                    // error Permit2Failed()\n                revert(0, 4)\n            }\n        }\n    }\n}\n"},"src/interfaces/IErrors.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title IErrors\n/// @notice Common interface for errors\ninterface IErrors {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when the returned amount is less than the minimum amount\n    error InsufficientReturnAmount();\n\n    /// @notice Emitted when the specified toAmount is less than the minimum amount (2)\n    error InvalidToAmount();\n\n    /// @notice Emmited when the srcToken and destToken are the same\n    error ArbitrageNotSupported();\n}\n"},"src/util/UniswapV2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Utils\nimport { WETHUtils } from \"./WETHUtils.sol\";\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title UniswapV2Utils\n/// @notice A contract containing common utilities for UniswapV2 swaps\nabstract contract UniswapV2Utils is AugustusFees, WETHUtils, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Used to caluclate pool address\n    uint256 public immutable UNISWAP_V2_POOL_INIT_CODE_HASH;\n\n    /// @dev Right padded FF + UniswapV2Factory address\n    uint256 public immutable UNISWAP_V2_FACTORY_AND_FF;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(uint256 _uniswapV2FactoryAndFF, uint256 _uniswapV2PoolInitCodeHash) {\n        UNISWAP_V2_FACTORY_AND_FF = _uniswapV2FactoryAndFF;\n        UNISWAP_V2_POOL_INIT_CODE_HASH = _uniswapV2PoolInitCodeHash;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Loops through UniswapV2 pools in backword direction and swaps exact amount out\n    function _callUniswapV2PoolsSwapExactOut(uint256 amountOut, IERC20 srcToken, bytes calldata pools) internal {\n        uint256 uniswapV2FactoryAndFF = UNISWAP_V2_FACTORY_AND_FF;\n        uint256 uniswapV2PoolInitCodeHash = UNISWAP_V2_POOL_INIT_CODE_HASH;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            function calculatePoolAddress(\n                poolMemoryPtr, poolCalldataPtr, _uniswapV2FactoryAndFF, _uniswapV2PoolInitCodeHash\n            ) {\n                // Calculate the pool address\n                // We can do this by first calling the keccak256 function on the passed pool values and then\n                // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                // keccak256(abi.encodePacked(token0, token1)), POOL_INIT_CODE_HASH));\n                // The first 20 bytes of the computed address are the pool address\n\n                // Store 0xff + factory address (right padded)\n                mstore(poolMemoryPtr, _uniswapV2FactoryAndFF)\n\n                // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                let token0ptr := add(poolMemoryPtr, 21)\n\n                // Copy pool data (skip last bit) to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                calldatacopy(token0ptr, poolCalldataPtr, 40)\n\n                // Calculate keccak256(abi.encode(address(token0), address(token1))\n                mstore(token0ptr, keccak256(token0ptr, 40))\n\n                // Store POOL_INIT_CODE_HASH\n                mstore(add(token0ptr, 32), _uniswapV2PoolInitCodeHash)\n\n                // Calculate address(keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                // keccak256(abi.encode(token0, token1), POOL_INIT_CODE_HASH)));\n                mstore(poolMemoryPtr, and(keccak256(poolMemoryPtr, 85), 0xffffffffffffffffffffffffffffffffffffffff)) // 21\n                    // + 32 + 32\n            }\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 64)\n\n            // Initilize memory pointers\n            let amounts := mload(64) // pointer for amounts array\n            let poolAddresses := add(amounts, add(mul(poolCount, 32), 32)) // pointer for pools array\n            let emptyPtr := add(poolAddresses, mul(poolCount, 32)) // pointer for empty memory\n\n            // Initialize fromAmount\n            let fromAmount := 0\n\n            // Set the final amount in the amounts array to amountOut\n            mstore(add(amounts, mul(poolCount, 0x20)), amountOut)\n\n            //---------------------------------//\n            // Calculate Pool Addresses and Amounts\n            //---------------------------------//\n\n            // Calculate pool addresses\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                calculatePoolAddress(\n                    add(poolAddresses, mul(i, 32)),\n                    add(pools.offset, mul(i, 64)),\n                    uniswapV2FactoryAndFF,\n                    uniswapV2PoolInitCodeHash\n                )\n            }\n\n            // Rerverse loop through pools and calculate amounts\n            for { let i := poolCount } gt(i, 0) { i := sub(i, 1) } {\n                // Use previous pool data to calculate amount in\n                let indexSub1 := sub(i, 1)\n\n                // Get pool address\n                let poolAddress := mload(add(poolAddresses, mul(indexSub1, 32)))\n\n                // Get direction\n                let direction := and(1, calldataload(add(add(pools.offset, mul(indexSub1, 64)), 32)))\n\n                // Get amount\n                let amount := mload(add(amounts, mul(i, 32)))\n\n                //---------------------------------//\n                // Calculate Amount In\n                //---------------------------------//\n\n                //---------------------------------//\n                // Get Reserves\n                //---------------------------------//\n\n                // Store the selector\n                mstore(emptyPtr, 0x0902f1ac00000000000000000000000000000000000000000000000000000000) // 'getReserves()'\n                // selector\n\n                // Perform the external 'getReserves' call - outputs directly to ptr\n                if iszero(staticcall(gas(), poolAddress, emptyPtr, 4, emptyPtr, 64)) {\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is true, getReserves returns (reserve0, reserve1)\n                // If direction is false, getReserves returns (reserve1, reserve0) -> swap the values\n\n                // Load the reserve0 value returned by the 'getReserves' call.\n                let reserve1 := mload(emptyPtr)\n\n                // Load the reserve1 value returned by the 'getReserves' call.\n                let reserve0 := mload(add(emptyPtr, 32))\n\n                // Check if direction is true\n                if direction {\n                    // swap reserve0 and reserve1\n                    let temp := reserve0\n                    reserve0 := reserve1\n                    reserve1 := temp\n                }\n\n                //---------------------------------//\n\n                // Calculate numerator = reserve0 * amountOut * 10000\n                let numerator := mul(mul(reserve0, amount), 10000)\n\n                // Calculate denominator = (reserve1 - amountOut) * 9970\n                let denominator := mul(sub(reserve1, amount), 9970)\n\n                // Calculate amountIn = numerator / denominator + 1\n                fromAmount := add(div(numerator, denominator), 1)\n\n                // Store amountIn for the previous pool\n                mstore(add(amounts, mul(indexSub1, 32)), fromAmount)\n            }\n\n            //---------------------------------//\n\n            // Initialize variables\n            let poolAddress := 0\n            let nextPoolAddress := 0\n\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Loop for each pool\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(poolAddress) {\n                    // If it is the first pool, we need to transfer amount of srcToken to poolAddress\n                    // Load first pool address\n                    poolAddress := mload(poolAddresses)\n\n                    //---------------------------------//\n                    // Transfer amount of srcToken to poolAddress\n                    //---------------------------------//\n\n                    // Transfer fromAmount of srcToken to poolAddress\n                    mstore(emptyPtr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                        // selector\n                        // (function transfer(address recipient, uint256 amount))\n                    mstore(add(emptyPtr, 4), poolAddress) // store the recipient\n                    mstore(add(emptyPtr, 36), fromAmount) // store the amount\n                    pop(call(gas(), srcToken, 0, emptyPtr, 68, 0, 32)) // call transfer\n\n                    //---------------------------------//\n                }\n\n                // Adjust toAddress depending on if it is the last pool in the array\n                let toAddress := address()\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    // Load next pool address\n                    nextPoolAddress := mload(add(poolAddresses, mul(add(i, 1), 32)))\n\n                    // Adjust toAddress to next pool address\n                    toAddress := nextPoolAddress\n                }\n\n                // Check direction\n                let direction := and(1, calldataload(add(add(pools.offset, mul(i, 64)), 32)))\n\n                // if direction is 1, amount0out is 0 and amount1out is amount[i+1]\n                // if direction is 0, amount0out is amount[i+1] and amount1out is 0\n\n                // Load amount[i+1]\n                let amount := mload(add(amounts, mul(add(i, 1), 32)))\n\n                // Initialize amount0Out and amount1Out\n                let amount0Out := amount\n                let amount1Out := 0\n\n                // Check if direction is true\n                if direction {\n                    // swap amount0Out and amount1Out\n                    let temp := amount0Out\n                    amount0Out := amount1Out\n                    amount1Out := temp\n                }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                // Load the 'swap' selector, amount0Out, amount1Out, toAddress and data(\"\") into memory.\n                mstore(emptyPtr, 0x022c0d9f00000000000000000000000000000000000000000000000000000000)\n                // 'swap()' selector\n                mstore(add(emptyPtr, 4), amount0Out) // amount0Out\n                mstore(add(emptyPtr, 36), amount1Out) // amount1Out\n                mstore(add(emptyPtr, 68), toAddress) // toAddress\n                mstore(add(emptyPtr, 100), 0x80) // data length\n                mstore(add(emptyPtr, 132), 0) // data\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, emptyPtr, 164, 0, 64)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                //---------------------------------//\n\n                // Set poolAddress to nextPoolAddress\n                poolAddress := nextPoolAddress\n            }\n\n            //---------------------------------//\n        }\n    }\n\n    /// @dev Loops through UniswapV2 pools and swaps exact amount in\n    function _callUniswapV2PoolsSwapExactIn(\n        uint256 fromAmount,\n        IERC20 srcToken,\n        bytes calldata pools,\n        address payer,\n        bytes calldata permit2\n    )\n        internal\n    {\n        uint256 uniswapV2FactoryAndFF = UNISWAP_V2_FACTORY_AND_FF;\n        uint256 uniswapV2PoolInitCodeHash = UNISWAP_V2_POOL_INIT_CODE_HASH;\n        address permit2Address = PERMIT2;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 64)\n\n            // Initialize variables\n            let p := 0\n            let poolAddress := 0\n            let nextPoolAddress := 0\n            let direction := 0\n\n            // Loop for each pool\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(p) {\n                    //---------------------------------//\n                    // Calculate Pool Address\n                    //---------------------------------//\n\n                    // Calculate the pool address\n                    // We can do this by first calling the keccak256 function on the passed pool values and then\n                    // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encodePacked(token0,token1)), POOL_INIT_CODE_HASH));\n                    // The first 20 bytes of the computed address are the pool address\n\n                    // Get free memory pointer\n                    let ptr := mload(64)\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV2FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy pool data (skip last bit) to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF\n                    // SIZE)\n                    calldatacopy(token0ptr, pools.offset, 40)\n\n                    // Calculate keccak256(abi.encodePacked(address(token0), address(token1))\n                    mstore(token0ptr, keccak256(token0ptr, 40))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV2PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n\n                    //---------------------------------//\n                    // Transfer fromAmount of srcToken to poolAddress\n                    //---------------------------------//\n\n                    switch eq(payer, address())\n                    // if payer is this contract, transfer fromAmount of srcToken to poolAddress\n                    case 1 {\n                        // Transfer fromAmount of srcToken to poolAddress\n                        mstore(ptr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (function transfer(address recipient, uint256 amount))\n                        mstore(add(ptr, 4), poolAddress) // store the recipient\n                        mstore(add(ptr, 36), fromAmount) // store the amount\n                        pop(call(gas(), srcToken, 0, ptr, 68, 0, 32)) // call transfer\n                    }\n                    // othwerwise transferFrom fromAmount of srcToken to poolAddress from payer\n                    default {\n                        switch gt(permit2.length, 256)\n                        case 0 {\n                            // Transfer fromAmount of srcToken to poolAddress\n                            mstore(ptr, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store\n                                // the selector\n                            // (function transferFrom(address sender, address recipient,\n                            // uint256 amount))\n                            mstore(add(ptr, 4), payer) // store the sender\n                            mstore(add(ptr, 36), poolAddress) // store the recipient\n                            mstore(add(ptr, 68), fromAmount) // store the amount\n                            pop(call(gas(), srcToken, 0, ptr, 100, 0, 32)) // call transferFrom\n                        }\n                        default {\n                            // Otherwise Permit2.permitTransferFrom\n                            // Store function selector\n                            mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000)\n                            // permitTransferFrom()\n                            calldatacopy(add(ptr, 4), permit2.offset, permit2.length) // Copy data to memory\n                            mstore(add(ptr, 132), poolAddress) // Store recipient\n                            mstore(add(ptr, 164), fromAmount) // Store amount\n                            mstore(add(ptr, 196), payer) // Store payer\n                            // Call permit2.permitTransferFrom and revert if call failed\n                            if iszero(call(gas(), permit2Address, 0, ptr, add(permit2.length, 4), 0, 0)) {\n                                mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store\n                                    // error selector\n                                    // error Permit2Failed()\n                                revert(0, 4)\n                            }\n                        }\n                    }\n\n                    //---------------------------------//\n                }\n\n                // Direction is the first bit of the pool data\n                direction := and(1, calldataload(add(add(pools.offset, mul(i, 64)), 32)))\n\n                //---------------------------------//\n                // Calculate Amount Out\n                //---------------------------------//\n\n                //---------------------------------//\n                // Get Reserves\n                //---------------------------------//\n\n                // Get free memory pointer\n                let ptr := mload(64)\n\n                // Store the selector\n                mstore(ptr, 0x0902f1ac00000000000000000000000000000000000000000000000000000000) // 'getReserves()'\n                // selector\n\n                // Perform the external 'getReserves' call - outputs directly to ptr\n                if iszero(staticcall(gas(), poolAddress, ptr, 4, ptr, 64)) {\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is true, getReserves returns (reserve0, reserve1)\n                // If direction is false, getReserves returns (reserve1, reserve0) -> swap the values\n\n                // Load the reserve0 value returned by the 'getReserves' call.\n                let reserve1 := mload(ptr)\n\n                // Load the reserve1 value returned by the 'getReserves' call.\n                let reserve0 := mload(add(ptr, 32))\n\n                // Check if direction is true\n                if direction {\n                    // swap reserve0 and reserve1\n                    let temp := reserve0\n                    reserve0 := reserve1\n                    reserve1 := temp\n                }\n\n                //---------------------------------//\n\n                // Calculate amount based on fee\n                let amountWithFee := mul(fromAmount, 9970)\n\n                // Calculate numerator = amountWithFee * reserve1\n                let numerator := mul(amountWithFee, reserve1)\n\n                // Calculate denominator = reserve0 * 10000 + amountWithFee\n                let denominator := add(mul(reserve0, 10000), amountWithFee)\n\n                // Calculate amountOut = numerator / denominator\n                let amountOut := div(numerator, denominator)\n\n                fromAmount := amountOut\n\n                // if direction is true, amount0Out is 0 and amount1Out is fromAmount,\n                // otherwise amount0Out is fromAmount and amount1Out is 0\n\n                let amount0Out := fromAmount\n                let amount1Out := 0\n\n                // swap amount0Out and amount1Out if direction is false\n                if direction {\n                    amount0Out := 0\n                    amount1Out := fromAmount\n                }\n\n                //---------------------------------//\n\n                // Adjust toAddress depending on if it is the last pool in the array\n                let toAddress := address()\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    //---------------------------------//\n                    // Calculate Next Pool Address\n                    //---------------------------------//\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV2FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy next pool data to free memory pointer + 21 bytes (UNISWAP_V2_FACTORY_AND_FF SIZE)\n                    calldatacopy(token0ptr, add(pools.offset, mul(add(i, 1), 64)), 40)\n\n                    // Calculate keccak256(abi.encodePacked(address(token0), address(token1))\n                    mstore(token0ptr, keccak256(token0ptr, 40))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV2PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    nextPoolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    // Adjust toAddress to next pool address\n                    toAddress := nextPoolAddress\n\n                    //---------------------------------//\n                }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                // Load the 'swap' selector, amount0Out, amount1Out, toAddress and data(\"\") into memory.\n                mstore(ptr, 0x022c0d9f00000000000000000000000000000000000000000000000000000000)\n                // 'swap()' selector\n                mstore(add(ptr, 4), amount0Out) // amount0Out\n                mstore(add(ptr, 36), amount1Out) // amount1Out\n                mstore(add(ptr, 68), toAddress) // toAddress\n                mstore(add(ptr, 100), 0x80) // data length\n                mstore(add(ptr, 132), 0) // data\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, 164, 0, 64)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                //---------------------------------//\n\n                // Set poolAddress to nextPoolAddress\n                poolAddress := nextPoolAddress\n            }\n\n            //---------------------------------//\n        }\n    }\n}\n"},"src/util/UniswapV3Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IUniswapV3SwapCallback } from \"../interfaces/IUniswapV3SwapCallback.sol\";\n\n// Libraries\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Utils\nimport { WETHUtils } from \"./WETHUtils.sol\";\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title UniswapV3Utils\n/// @notice A contract containing common utilities for UniswapV3 swaps\nabstract contract UniswapV3Utils is IUniswapV3SwapCallback, AugustusFees, WETHUtils, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using SafeCastLib for int256;\n\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted if the caller is not a Uniswap V3 pool\n    error InvalidCaller();\n    /// @notice Error emitted if the transfer of tokens to the pool inside the callback failed\n    error CallbackTransferFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Used to caluclate pool address\n    uint256 public immutable UNISWAP_V3_POOL_INIT_CODE_HASH;\n\n    /// @dev Right padded FF + UniswapV3Factory address\n    uint256 public immutable UNISWAP_V3_FACTORY_AND_FF;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 private constant UNISWAP_V3_MIN_SQRT = 4_295_128_740;\n    uint256 private constant UNISWAP_V3_MAX_SQRT = 1_461_446_703_485_210_103_287_273_052_203_988_822_378_723_970_341;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(uint256 _uniswapV3FactoryAndFF, uint256 _uniswapV3PoolInitCodeHash) {\n        UNISWAP_V3_FACTORY_AND_FF = _uniswapV3FactoryAndFF;\n        UNISWAP_V3_POOL_INIT_CODE_HASH = _uniswapV3PoolInitCodeHash;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                EXTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    // @inheritdoc IUniswapV3SwapCallback\n    function uniswapV3SwapCallback(\n        int256 amount0Delta,\n        int256 amount1Delta,\n        bytes calldata data\n    )\n        external\n        whenNotPaused\n    {\n        // Initialize variables\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n        address permit2Address = PERMIT2;\n        address poolAddress;\n\n        // 160 (single pool data) + 352 (permit2 length)\n        bool isPermit2 = data.length == 512;\n\n        // Check if the caller is a UniswapV3Pool deployed by the canonical UniswapV3Factory\n        //solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Pool address\n            poolAddress := caller()\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            // We need make sure the caller is a UniswapV3Pool deployed by the canonical UniswapV3Factory\n            // 1. Prepare data for calculating the pool address\n            // Store ff+factory address, Load token0, token1, fee from bytes calldata and store pool init code hash\n\n            // Store 0xff + factory address (right padded)\n            mstore(ptr, uniswapV3FactoryAndFF)\n\n            // Store data offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n            let token0Offset := add(ptr, 21)\n\n            // Copy token0, token1, fee to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE) + 1 byte\n            // (direction)\n            calldatacopy(add(token0Offset, 1), add(data.offset, 65), 95)\n\n            // 2. Calculate the pool address\n            // We can do this by first calling the keccak256 function on the fetched values and then\n            // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            // The first 20 bytes of the computed address are the pool address\n\n            // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n            mstore(token0Offset, keccak256(token0Offset, 96))\n            // Store POOL_INIT_CODE_HASH\n            mstore(add(token0Offset, 32), uniswapV3PoolInitCodeHash)\n            // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address), keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n            // Get the first 20 bytes of the computed address\n            let computedAddress := and(mload(ptr), 0xffffffffffffffffffffffffffffffffffffffff)\n\n            // Check if the caller matches the computed address (and revert if not)\n            if xor(poolAddress, computedAddress) {\n                mstore(0, 0x48f5c3ed00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error InvalidCaller())\n                revert(0, 4) // revert with error selector\n            }\n        }\n\n        // Check if data length is greater than 160 bytes (1 pool)\n        // If the data length is greater than 160 bytes, we know that we are executing a multi-hop swapExactAmountOut\n        // by recursively calling swapExactAmountOut on the next pool, until we reach the last pool in the data and\n        // then we will transfer the tokens to the pool\n        if (data.length > 160 && !isPermit2) {\n            // Initialize recursive variables\n            address payer;\n            // solhint-disable-next-line no-inline-assembly\n            assembly {\n                // Copy payer address from calldata\n                payer := calldataload(164)\n            }\n            // Recursive call swapExactAmountOut\n            _callUniswapV3PoolsSwapExactAmountOut(amount0Delta > 0 ? -amount0Delta : -amount1Delta, data, payer);\n        } else {\n            // solhint-disable-next-line no-inline-assembly\n            assembly {\n                // Token to send to the pool\n                let token\n                // Amount to send to the pool\n                let amount\n\n                // Get free memory pointer\n                let ptr := mload(64)\n\n                // If the caller is the computed address, then we can safely assume that the caller is a UniswapV3Pool\n                // deployed by the canonical UniswapV3Factory\n\n                // 3. Transfer amount to the pool\n\n                // Check if amount0Delta or amount1Delta is positive and which token we need to send to the pool\n                if sgt(amount0Delta, 0) {\n                    // If amount0Delta is positive, we need to send amount0Delta token0 to the pool\n                    token := and(calldataload(add(data.offset, 64)), 0xffffffffffffffffffffffffffffffffffffffff)\n                    amount := amount0Delta\n                }\n                if sgt(amount1Delta, 0) {\n                    // If amount1Delta is positive, we need to send amount1Delta token1 to the pool\n                    token := calldataload(add(data.offset, 96))\n                    amount := amount1Delta\n                }\n\n                // Based on the data passed to the callback, we know the fromAddress that will pay for the\n                // swap, if it is this contract, we will execute the transfer() function,\n                // otherwise, we will execute transferFrom()\n\n                // Check if fromAddress is this contract\n                let fromAddress := calldataload(164)\n\n                switch eq(fromAddress, address())\n                // If fromAddress is this contract, execute transfer()\n                case 1 {\n                    // Prepare external call data\n                    mstore(ptr, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the\n                        // selector\n                        // (function transfer(address recipient, uint256 amount))\n                    mstore(add(ptr, 4), poolAddress) // store the recipient\n                    mstore(add(ptr, 36), amount) // store the amount\n                    let success := call(gas(), token, 0, ptr, 68, 0, 32) // call transfer\n                    if success {\n                        switch returndatasize()\n                        // check the return data size\n                        case 0 { success := gt(extcodesize(token), 0) }\n                        default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                    }\n\n                    if iszero(success) {\n                        mstore(0, 0x1bbb4abe00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (error CallbackTransferFailed())\n                        revert(0, 4) // revert with error selector\n                    }\n                }\n                // If fromAddress is not this contract, execute transferFrom() or permitTransferFrom()\n                default {\n                    switch isPermit2\n                    // If permit2 is not present, execute transferFrom()\n                    case 0 {\n                        mstore(ptr, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store the\n                            // selector\n                            // (function transferFrom(address sender, address recipient,\n                            // uint256 amount))\n                        mstore(add(ptr, 4), fromAddress) // store the sender\n                        mstore(add(ptr, 36), poolAddress) // store the recipient\n                        mstore(add(ptr, 68), amount) // store the amount\n                        let success := call(gas(), token, 0, ptr, 100, 0, 32) // call transferFrom\n                        if success {\n                            switch returndatasize()\n                            // check the return data size\n                            case 0 { success := gt(extcodesize(token), 0) }\n                            default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                        }\n                        if iszero(success) {\n                            mstore(0, 0x1bbb4abe00000000000000000000000000000000000000000000000000000000) // store the\n                                // selector\n                                // (error CallbackTransferFailed())\n                            revert(0, 4) // revert with error selector\n                        }\n                    }\n                    // If permit2 is present, execute permitTransferFrom()\n                    default {\n                        // Otherwise Permit2.permitTransferFrom\n                        // Store function selector\n                        mstore(ptr, 0x30f28b7a00000000000000000000000000000000000000000000000000000000)\n                        // permitTransferFrom()\n                        calldatacopy(add(ptr, 4), 292, 352) // Copy data to memory\n                        mstore(add(ptr, 132), poolAddress) // Store pool address as recipient\n                        mstore(add(ptr, 164), amount) // Store amount as amount\n                        mstore(add(ptr, 196), fromAddress) // Store payer\n                        // Call permit2.permitTransferFrom and revert if call failed\n                        if iszero(call(gas(), permit2Address, 0, ptr, 356, 0, 0)) {\n                            mstore(0, 0x6b836e6b00000000000000000000000000000000000000000000000000000000) // Store\n                                // error selector\n                                // error Permit2Failed()\n                            revert(0, 4)\n                        }\n                    }\n                }\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Loops through pools and performs swaps\n    function _callUniswapV3PoolsSwapExactAmountIn(\n        int256 fromAmount,\n        bytes calldata pools,\n        address fromAddress,\n        bytes calldata permit2\n    )\n        internal\n        returns (uint256 receivedAmount)\n    {\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Loop Swap Through Pools\n            //---------------------------------//\n\n            // Calculate pool count\n            let poolCount := div(pools.length, 96)\n\n            // Initialize variables\n            let p := 0\n            let poolAddress := 0\n            let nextPoolAddress := 0\n            let direction := 0\n            let isPermit2 := gt(permit2.length, 256)\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            // Loop through pools\n            for { let i := 0 } lt(i, poolCount) { i := add(i, 1) } {\n                // Check if it is the first pool\n                if iszero(p) {\n                    //---------------------------------//\n                    // Calculate Pool Address\n                    //---------------------------------//\n\n                    // Calculate the pool address\n                    // We can do this by first calling the keccak256 function on the passed pool values and then\n                    // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    // The first 20 bytes of the computed address are the pool address\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV3FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy pool data (skip first byte) to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF\n                    // SIZE)\n                    calldatacopy(add(token0ptr, 1), add(pools.offset, 1), 95)\n\n                    // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n                    mstore(token0ptr, keccak256(token0ptr, 96))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n                }\n\n                // Direction is the first bit of the pool data\n                direction := shr(255, calldataload(add(pools.offset, mul(i, 96))))\n\n                // Check if it is not the last pool\n                if lt(add(i, 1), poolCount) {\n                    //---------------------------------//\n                    // Calculate Next Pool Address\n                    //---------------------------------//\n\n                    // Store 0xff + factory address (right padded)\n                    mstore(ptr, uniswapV3FactoryAndFF)\n\n                    // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    let token0ptr := add(ptr, 21)\n\n                    // Copy next pool data to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n                    calldatacopy(add(token0ptr, 1), add(add(pools.offset, 1), mul(add(i, 1), 96)), 95)\n\n                    // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n                    mstore(token0ptr, keccak256(token0ptr, 96))\n\n                    // Store POOL_INIT_CODE_HASH\n                    mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n                    // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n                    // keccak256(abi.encode(token0,\n                    // token1, fee)), POOL_INIT_CODE_HASH));\n                    mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n                    // Load pool\n                    p := mload(ptr)\n\n                    // Get the first 20 bytes of the computed address\n                    nextPoolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n                    //---------------------------------//\n                }\n\n                // Adjust fromAddress and fromAmount if it's not the first pool\n                if gt(i, 0) { fromAddress := address() }\n\n                //---------------------------------//\n                // Perform Swap\n                //---------------------------------//\n\n                //---------------------------------//\n                // Return based on direction\n                //---------------------------------//\n\n                // Initialize data length\n                let dataLength := 0xa0\n\n                // Initialize total data length\n                let totalDataLength := 356\n\n                // If permit2 is present include permit2 data length in total data length\n                if eq(isPermit2, 1) {\n                    totalDataLength := add(totalDataLength, permit2.length)\n                    dataLength := add(dataLength, permit2.length)\n                }\n\n                // Return amount0 or amount1 depending on direction\n                switch direction\n                case 0 {\n                    // Prepare external call data\n                    // Store swap selector (0x128acb08)\n                    mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                    // Store toAddress\n                    mstore(add(ptr, 4), address())\n                    // Store direction\n                    mstore(add(ptr, 36), 0)\n                    // Store fromAmount\n                    mstore(add(ptr, 68), fromAmount)\n                    // Store sqrtPriceLimitX96\n                    mstore(add(ptr, 100), UNISWAP_V3_MAX_SQRT)\n                    // Store data offset\n                    mstore(add(ptr, 132), 0xa0)\n                    /// Store data length\n                    mstore(add(ptr, 164), dataLength)\n                    // Store fromAddress\n                    mstore(add(ptr, 228), fromAddress)\n                    // Store token0, token1, fee\n                    calldatacopy(add(ptr, 260), add(pools.offset, mul(i, 96)), 96)\n                    // If permit2 is present, store permit2 data\n                    if eq(isPermit2, 1) {\n                        // Store permit2 data\n                        calldatacopy(add(ptr, 356), permit2.offset, permit2.length)\n                    }\n                    // Perform the external 'swap' call\n                    if iszero(call(gas(), poolAddress, 0, ptr, totalDataLength, ptr, 32)) {\n                        // store return value directly to free memory pointer\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                    // If direction is 0, return amount0\n                    fromAmount := mload(ptr)\n                }\n                default {\n                    // Prepare external call data\n                    // Store swap selector (0x128acb08)\n                    mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                    // Store toAddress\n                    mstore(add(ptr, 4), address())\n                    // Store direction\n                    mstore(add(ptr, 36), 1)\n                    // Store fromAmount\n                    mstore(add(ptr, 68), fromAmount)\n                    // Store sqrtPriceLimitX96\n                    mstore(add(ptr, 100), UNISWAP_V3_MIN_SQRT)\n                    // Store data offset\n                    mstore(add(ptr, 132), 0xa0)\n                    /// Store data length\n                    mstore(add(ptr, 164), dataLength)\n                    // Store fromAddress\n                    mstore(add(ptr, 228), fromAddress)\n                    // Store token0, token1, fee\n                    calldatacopy(add(ptr, 260), add(pools.offset, mul(i, 96)), 96)\n                    // If permit2 is present, store permit2 data\n                    if eq(isPermit2, 1) {\n                        // Store permit2 data\n                        calldatacopy(add(ptr, 356), permit2.offset, permit2.length)\n                    }\n                    // Perform the external 'swap' call\n                    if iszero(call(gas(), poolAddress, 0, ptr, totalDataLength, ptr, 64)) {\n                        // store return value directly to free memory pointer\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n\n                    // If direction is 1, return amount1\n                    fromAmount := mload(add(ptr, 32))\n                }\n                //---------------------------------//\n\n                //---------------------------------//\n\n                // The next pool address was already calculated so we can set it as the current pool address for the\n                // next iteration of the loop\n                poolAddress := nextPoolAddress\n\n                // fromAmount = -fromAmount\n                fromAmount := sub(0, fromAmount)\n            }\n\n            //---------------------------------//\n        }\n        return fromAmount.toUint256();\n    }\n\n    /// @dev Recursively loops through pools and performs swaps\n    function _callUniswapV3PoolsSwapExactAmountOut(\n        int256 fromAmount,\n        bytes calldata pools,\n        address fromAddress\n    )\n        internal\n        returns (uint256 spentAmount, uint256 receivedAmount)\n    {\n        uint256 uniswapV3FactoryAndFF = UNISWAP_V3_FACTORY_AND_FF;\n        uint256 uniswapV3PoolInitCodeHash = UNISWAP_V3_POOL_INIT_CODE_HASH;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            //---------------------------------//\n            // Adjust data received from recursive call\n            //---------------------------------//\n\n            // Initialize variables\n            let poolsStartOffset := pools.offset\n            let poolsLength := pools.length\n            let previousPoolAddress := 0\n\n            // Check if pools length is not divisible by 96\n            if gt(mod(pools.length, 96), 0) {\n                // Check if pools length is greater than 128 bytes (1 pool)\n                if gt(pools.length, 160) {\n                    // Get the previous pool address from the first 20 bytes of pool data\n                    previousPoolAddress := and(calldataload(pools.offset), 0xffffffffffffffffffffffffffffffffffffffff)\n                    // Relculate the offset to skip data\n                    poolsStartOffset := add(pools.offset, 160)\n                    // Recalculate the length to skip data\n                    poolsLength := sub(pools.length, 160)\n                }\n            }\n\n            // Get free memory pointer\n            let ptr := mload(64)\n\n            //---------------------------------//\n            // Calculate Pool Address\n            //---------------------------------//\n\n            // Calculate the pool address\n            // We can do this by first calling the keccak256 function on the passed pool values and then\n            // calculating keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            // The first 20 bytes of the computed address are the pool address\n\n            // Store 0xff + factory address (right padded)\n            mstore(ptr, uniswapV3FactoryAndFF)\n\n            // Store pools offset + 21 bytes (UNISWAP_V3_FACTORY_AND_FF SIZE)\n            let token0ptr := add(ptr, 21)\n\n            // Copy pool data (skip first byte) to free memory pointer + 21 bytes (UNISWAP_V3_FACTORY_AND_FF\n            // SIZE)\n            calldatacopy(add(token0ptr, 1), add(poolsStartOffset, 1), 95)\n\n            // Calculate keccak256(abi.encode(address(token0), address(token1), fee))\n            mstore(token0ptr, keccak256(token0ptr, 96))\n\n            // Store POOL_INIT_CODE_HASH\n            mstore(add(token0ptr, 32), uniswapV3PoolInitCodeHash)\n\n            // Calculate keccak256(abi.encodePacked(hex'ff', address(factory_address),\n            // keccak256(abi.encode(token0,\n            // token1, fee)), POOL_INIT_CODE_HASH));\n            mstore(ptr, keccak256(ptr, 85)) // 21 + 32 + 32\n\n            // Load pool\n            let p := mload(ptr)\n\n            // Get the first 20 bytes of the computed address\n            let poolAddress := and(p, 0xffffffffffffffffffffffffffffffffffffffff)\n\n            //---------------------------------//\n\n            //---------------------------------//\n            // Adjust toAddress\n            //---------------------------------//\n\n            let toAddress := address()\n\n            // If it's not the first entry to recursion, we use the pool address from the previous pool as\n            // the toAddress\n            if xor(previousPoolAddress, 0) { toAddress := previousPoolAddress }\n\n            //---------------------------------//\n\n            // Direction is the first bit of the pool data\n            let direction := shr(255, calldataload(poolsStartOffset))\n\n            //---------------------------------//\n            // Perform Swap\n            //---------------------------------//\n\n            //---------------------------------//\n            // Return based on direction\n            //---------------------------------//\n\n            // Return amount0 or amount1 depending on direction\n            switch direction\n            case 0 {\n                // Prepare external call data\n                // Store swap selector (0x128acb08)\n                mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                // Store toAddress\n                mstore(add(ptr, 4), toAddress)\n                // Store direction\n                mstore(add(ptr, 36), 0)\n                // Store fromAmount\n                mstore(add(ptr, 68), fromAmount)\n                // Store sqrtPriceLimitX96\n                mstore(add(ptr, 100), UNISWAP_V3_MAX_SQRT)\n                // Store data offset\n                mstore(add(ptr, 132), 0xa0)\n                /// Store data length\n                mstore(add(ptr, 164), add(64, poolsLength))\n                // Store poolAddress\n                mstore(add(ptr, 196), poolAddress)\n                // Store fromAddress\n                mstore(add(ptr, 228), fromAddress)\n                // Store token0, token1, fee\n                calldatacopy(add(ptr, 260), poolsStartOffset, poolsLength)\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, add(poolsLength, 260), ptr, 64)) {\n                    // store return value directly to free memory pointer\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n                // If direction is 0, return amount0 as fromAmount\n                fromAmount := mload(ptr)\n                // return amount1 as spentAmount\n                spentAmount := mload(add(ptr, 32))\n            }\n            default {\n                // Prepare external call data\n                // Store swap selector (0x128acb08)\n                mstore(ptr, 0x128acb0800000000000000000000000000000000000000000000000000000000)\n                // Store toAddress\n                mstore(add(ptr, 4), toAddress)\n                // Store direction\n                mstore(add(ptr, 36), 1)\n                // Store fromAmount\n                mstore(add(ptr, 68), fromAmount)\n                // Store sqrtPriceLimitX96\n                mstore(add(ptr, 100), UNISWAP_V3_MIN_SQRT)\n                // Store data offset\n                mstore(add(ptr, 132), 0xa0)\n                /// Store data length\n                mstore(add(ptr, 164), add(64, poolsLength))\n                // Store poolAddress\n                mstore(add(ptr, 196), poolAddress)\n                // Store fromAddress\n                mstore(add(ptr, 228), fromAddress)\n                // Store token0, token1, fee\n                calldatacopy(add(ptr, 260), poolsStartOffset, poolsLength)\n\n                // Perform the external 'swap' call\n                if iszero(call(gas(), poolAddress, 0, ptr, add(poolsLength, 260), ptr, 64)) {\n                    // store return value directly to free memory pointer\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n\n                // If direction is 1, return amount1 as fromAmount\n                fromAmount := mload(add(ptr, 32))\n                // return amount0 as spentAmount\n                spentAmount := mload(ptr)\n            }\n            //---------------------------------//\n\n            //---------------------------------//\n\n            // fromAmount = -fromAmount\n            fromAmount := sub(0, fromAmount)\n        }\n        return (spentAmount, fromAmount.toUint256());\n    }\n}\n"},"src/libraries/ERC20Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title ERC20Utils\n/// @notice Optimized functions for ERC20 tokens\nlibrary ERC20Utils {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    error IncorrectEthAmount();\n    error PermitFailed();\n    error TransferFromFailed();\n    error TransferFailed();\n    error ApprovalFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    IERC20 internal constant ETH = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);\n\n    /*//////////////////////////////////////////////////////////////\n                                APPROVE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Vendored from Solady by @vectorized - SafeTransferLib.approveWithRetry\n    /// https://github.com/Vectorized/solady/src/utils/SafeTransferLib.sol#L325\n    /// Instead of approving a specific amount, this function approves for uint256(-1) (type(uint256).max).\n    function approve(IERC20 token, address to) internal {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(0x14, to) // Store the `to` argument.\n            mstore(0x34, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) // Store the `amount`\n                // argument (type(uint256).max).\n            mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n            // Perform the approval, retrying upon failure.\n            if iszero(\n                and( // The arguments of `and` are evaluated from right to left.\n                    or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.\n                    call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n                )\n            ) {\n                mstore(0x34, 0) // Store 0 for the `amount`.\n                mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n                pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n                mstore(0x34, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) // Store\n                    // type(uint256).max for the `amount`.\n                // Retry the approval, reverting upon failure.\n                if iszero(\n                    and(\n                        or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.\n                        call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n                    )\n                ) {\n                    mstore(0, 0x8164f84200000000000000000000000000000000000000000000000000000000)\n                    // store the selector (error ApprovalFailed())\n                    revert(0, 4) // revert with error selector\n                }\n            }\n            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PERMIT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes an ERC20 permit and reverts if invalid length is provided\n    function permit(IERC20 token, bytes calldata data) internal {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // check the permit length\n            switch data.length\n            // 32 * 7 = 224 EIP2612 Permit\n            case 224 {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0xd505accf00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // function permit(address owner, address spender, uint256\n                    // amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n                calldatacopy(add(x, 4), data.offset, 224) // store the args\n                pop(call(gas(), token, 0, x, 228, 0, 32)) // call ERC20 permit, skip checking return data\n            }\n            // 32 * 8 = 256 DAI-Style Permit\n            case 256 {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0x8fcbaf0c00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // function permit(address holder, address spender, uint256\n                    // nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s)\n                calldatacopy(add(x, 4), data.offset, 256) // store the args\n                pop(call(gas(), token, 0, x, 260, 0, 32)) // call ERC20 permit, skip checking return data\n            }\n            default {\n                mstore(0, 0xb78cb0dd00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error PermitFailed())\n                revert(0, 4)\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 ETH\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Returns 1 if the token is ETH, 0 if not ETH\n    function isETH(IERC20 token, uint256 amount) internal view returns (uint256 fromETH) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // If token is ETH\n            if eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) {\n                // if msg.value is not equal to fromAmount, then revert\n                if xor(amount, callvalue()) {\n                    mstore(0, 0x8b6ebb4d00000000000000000000000000000000000000000000000000000000) // store the selector\n                        // (error IncorrectEthAmount())\n                    revert(0, 4) // revert with error selector\n                }\n                // return 1 if ETH\n                fromETH := 1\n            }\n            // If token is not ETH\n            if xor(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) {\n                // if msg.value is not equal to 0, then revert\n                if gt(callvalue(), 0) {\n                    mstore(0, 0x8b6ebb4d00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error IncorrectEthAmount())\n                    revert(0, 4) // revert with error selector\n                }\n            }\n        }\n        // return 0 if not ETH\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                TRANSFER\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes transfer and reverts if it fails, works for both ETH and ERC20 transfers\n    function safeTransfer(IERC20 token, address recipient, uint256 amount) internal returns (bool success) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            switch eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)\n            // ETH\n            case 1 {\n                // transfer ETH\n                // Cap gas at 10000 to avoid reentrancy\n                success := call(10000, recipient, amount, 0, 0, 0, 0)\n            }\n            // ERC20\n            default {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (function transfer(address recipient, uint256 amount))\n                mstore(add(x, 4), recipient) // store the recipient\n                mstore(add(x, 36), amount) // store the amount\n                success := call(gas(), token, 0, x, 68, 0, 32) // call transfer\n                if success {\n                    switch returndatasize()\n                    // check the return data size\n                    case 0 { success := gt(extcodesize(token), 0) }\n                    default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n                }\n            }\n            if iszero(success) {\n                mstore(0, 0x90b8ec1800000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error TransferFailed())\n                revert(0, 4) // revert with error selector\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             TRANSFER FROM\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Executes transferFrom and reverts if it fails\n    function safeTransferFrom(\n        IERC20 srcToken,\n        address sender,\n        address recipient,\n        uint256 amount\n    )\n        internal\n        returns (bool success)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            let x := mload(64) // get the free memory pointer\n            mstore(x, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // store the selector\n                // (function transferFrom(address sender, address recipient,\n                // uint256 amount))\n            mstore(add(x, 4), sender) // store the sender\n            mstore(add(x, 36), recipient) // store the recipient\n            mstore(add(x, 68), amount) // store the amount\n            success := call(gas(), srcToken, 0, x, 100, 0, 32) // call transferFrom\n            if success {\n                switch returndatasize()\n                // check the return data size\n                case 0 { success := gt(extcodesize(srcToken), 0) }\n                default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\n            }\n            if iszero(success) {\n                mstore(x, 0x7939f42400000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (error TransferFromFailed())\n                revert(x, 4) // revert with error selector\n            }\n        }\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                BALANCE\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Returns the balance of an account, works for both ETH and ERC20 tokens\n    function getBalance(IERC20 token, address account) internal view returns (uint256 balanceOf) {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            switch eq(token, 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)\n            // ETH\n            case 1 { balanceOf := balance(account) }\n            // ERC20\n            default {\n                let x := mload(64) // get the free memory pointer\n                mstore(x, 0x70a0823100000000000000000000000000000000000000000000000000000000) // store the selector\n                    // (function balanceOf(address account))\n                mstore(add(x, 4), account) // store the account\n                let success := staticcall(gas(), token, x, 36, x, 32) // call balanceOf\n                if success { balanceOf := mload(x) } // load the balance\n            }\n        }\n    }\n}\n"},"src/util/BalancerV2Utils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { AugustusFees } from \"../fees/AugustusFees.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Utils\nimport { Permit2Utils } from \"./Permit2Utils.sol\";\nimport { PauseUtils } from \"./PauseUtils.sol\";\n\n/// @title BalancerV2Utils\n/// @notice A contract containing common utilities for BalancerV2 swaps\nabstract contract BalancerV2Utils is AugustusFees, Permit2Utils, PauseUtils {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Emitted when the passed selector is invalid\n    error InvalidSelector();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev BalancerV2 vault address\n    address payable public immutable BALANCER_VAULT; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address payable _balancerVault) {\n        BALANCER_VAULT = _balancerVault;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Decode srcToken, destToken from balancerData, beneficiary and approve flag from beneficiaryAndApproveFlag\n    function _decodeBalancerV2Params(\n        uint256 beneficiaryAndApproveFlag,\n        bytes calldata balancerData\n    )\n        internal\n        pure\n        returns (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve)\n    {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // Parse beneficiaryAndApproveFlag\n            beneficiary := and(beneficiaryAndApproveFlag, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            approve := shr(255, beneficiaryAndApproveFlag)\n            // Load calldata without selector\n            let callDataWithoutSelector := add(4, balancerData.offset)\n            // Check selector\n            switch calldataload(balancerData.offset)\n            // If the selector is for swap(tuple singleSwap,tuple funds,uint256 limit,uint256 deadline)\n            case 0x52bbbe2900000000000000000000000000000000000000000000000000000000 {\n                // Load srcToken from singleSswap.assetIn\n                srcToken := calldataload(add(callDataWithoutSelector, 288))\n                // Load destToken from singleSswap.assetOut\n                destToken := calldataload(add(callDataWithoutSelector, 320))\n            }\n            // If the selector is for batchSwap(uint8 kind,tuple[] swaps,address[] assets,tuple funds,int256[]\n            // limits,uint256 deadline)\n            case 0x945bcec900000000000000000000000000000000000000000000000000000000 {\n                // Load assetOffset from balancerData\n                let assetsOffset := calldataload(add(callDataWithoutSelector, 64))\n                // Load assetCount at assetOffset\n                let assetsCount := calldataload(add(callDataWithoutSelector, assetsOffset))\n                // Get swapExactAmountIn type from first 32 bytes of balancerData\n                let swapType := calldataload(callDataWithoutSelector)\n                // Set fromAmount, srcToken, toAmount and destToken based on swapType\n                switch eq(swapType, 1)\n                case 1 {\n                    // Load srcToken as the last asset in balancerData.assets\n                    srcToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, mul(assetsCount, 32))))\n                    // Load destToken as the first asset in balancerData.assets\n                    destToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, 32)))\n                }\n                default {\n                    // Load srcToken as the first asset in balancerData.assets\n                    srcToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, 32)))\n                    // Load destToken as the last asset in balancerData.assets\n                    destToken := calldataload(add(callDataWithoutSelector, add(assetsOffset, mul(assetsCount, 32))))\n                }\n            }\n            default {\n                // If the selector is invalid, revert\n                mstore(0, 0x7352d91c00000000000000000000000000000000000000000000000000000000) // store the\n                    // selector for error InvalidSelector();\n                revert(0, 4)\n            }\n            // Balancer users 0x0 as ETH address so we need to convert it\n            if eq(srcToken, 0) { srcToken := 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE }\n            if eq(destToken, 0) { destToken := 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE }\n        }\n        return (srcToken, destToken, beneficiary, approve);\n    }\n\n    /// @dev Call balancerVault with data\n    function _callBalancerV2(bytes calldata balancerData) internal {\n        address payable targetAddress = BALANCER_VAULT;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // Load free memory pointer\n            let ptr := mload(64)\n            // Copy the balancerData to memory\n            calldatacopy(ptr, balancerData.offset, balancerData.length)\n            // Execute the call on balancerVault\n            if iszero(call(gas(), targetAddress, callvalue(), ptr, balancerData.length, 0, 0)) {\n                returndatacopy(ptr, 0, returndatasize()) // copy the revert data to memory\n                revert(ptr, returndatasize()) // revert with the revert data\n            }\n        }\n    }\n}\n"},"src/util/AugustusRFQUtils.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IAugustusRFQ } from \"../interfaces/IAugustusRFQ.sol\";\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../libraries/ERC20Utils.sol\";\n\n/// @title AugustusRFQUtils\n/// @notice A contract containing common utilities for AugustusRFQ swaps\ncontract AugustusRFQUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Emitted when the msg.sender is not authorized to be the taker\n    error UnauthorizedUser();\n\n    /// @dev Emitted when the orders length is 0\n    error InvalidOrdersLength();\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTANTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev AugustusRFQ address\n    IAugustusRFQ public immutable AUGUSTUS_RFQ; // solhint-disable-line var-name-mixedcase\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _augustusRFQ) {\n        AUGUSTUS_RFQ = IAugustusRFQ(_augustusRFQ);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                 INTERNAL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @dev Check if the msg.sender is authorized to be the taker\n    function _checkAuthorization(uint256 nonceAndMeta) internal view {\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Parse nonceAndMeta\n            if xor(and(nonceAndMeta, 0xffffffffffffffffffffffffffffffffffffffff), 0) {\n                // If the taker is not 0, we check if the msg.sender is authorized\n                if xor(and(nonceAndMeta, 0xffffffffffffffffffffffffffffffffffffffff), caller()) {\n                    // The taker does not match the originalSender, revert\n                    mstore(0, 0x02a43f8b00000000000000000000000000000000000000000000000000000000) // function\n                        // selector for error UnauthorizedUser();\n                    revert(0, 4)\n                }\n            }\n        }\n    }\n}\n"},"src/interfaces/IAugustusRFQ.sol":{"content":"// SPDX-License-Identifier: ISC\n\npragma solidity 0.8.22;\npragma abicoder v2;\n\n// Types\nimport { Order, OrderInfo } from \"../AugustusV6Types.sol\";\n\ninterface IAugustusRFQ {\n    /// @dev Allows taker to fill an order\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    function fillOrder(Order calldata order, bytes calldata signature) external;\n\n    /// @dev The same as fillOrder but allows sender to specify the target beneficiary address\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    /// @param target Address of the receiver\n    function fillOrderWithTarget(Order calldata order, bytes calldata signature, address target) external;\n\n    /// @dev Allows taker to fill an order partially\n    /// @param order Order quote to fill\n    /// @param signature Signature of the maker corresponding to the order\n    /// @param takerTokenFillAmount Maximum taker token to fill this order with.\n    function partialFillOrder(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev Same as `partialFillOrder` but it allows to specify the destination address\n    ///  @param order Order quote to fill\n    ///  @param signature Signature of the maker corresponding to the order\n    ///  @param takerTokenFillAmount Maximum taker token to fill this order with.\n    ///  @param target Address that will receive swap funds\n    function partialFillOrderWithTarget(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount,\n        address target\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev Same as `partialFillOrderWithTarget` but it allows to pass permit\n    ///  @param order Order quote to fill\n    ///  @param signature Signature of the maker corresponding to the order\n    ///  @param takerTokenFillAmount Maximum taker token to fill this order with.\n    ///  @param target Address that will receive swap funds\n    ///  @param permitTakerAsset Permit calldata for taker\n    ///  @param permitMakerAsset Permit calldata for maker\n    function partialFillOrderWithTargetPermit(\n        Order calldata order,\n        bytes calldata signature,\n        uint256 takerTokenFillAmount,\n        address target,\n        bytes calldata permitTakerAsset,\n        bytes calldata permitMakerAsset\n    )\n        external\n        returns (uint256 makerTokenFilledAmount);\n\n    /// @dev batch fills orders until the takerFillAmount is swapped\n    /// @dev skip the order if it fails\n    /// @param orderInfos OrderInfo to fill\n    /// @param takerFillAmount total taker amount to fill\n    /// @param target Address of receiver\n\n    function tryBatchFillOrderTakerAmount(\n        OrderInfo[] calldata orderInfos,\n        uint256 takerFillAmount,\n        address target\n    )\n        external;\n\n    /// @dev batch fills orders until the makerFillAmount is swapped\n    /// @dev skip the order if it fails\n    /// @param orderInfos OrderInfo to fill\n    /// @param makerFillAmount total maker amount to fill\n    /// @param target Address of receiver\n    function tryBatchFillOrderMakerAmount(\n        OrderInfo[] calldata orderInfos,\n        uint256 makerFillAmount,\n        address target\n    )\n        external;\n}\n"},"src/storage/AugustusStorage.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n// @title AugustusStorage\n// @notice Inherited storage layout for AugustusV6,\n// contracts should inherit this contract to access the storage layout\ncontract AugustusStorage {\n    /*//////////////////////////////////////////////////////////////\n                               FEES\n    //////////////////////////////////////////////////////////////*/\n\n    // @dev Mapping of tokens to boolean indicating if token is blacklisted for fee collection\n    mapping(IERC20 token => bool isBlacklisted) public blacklistedTokens;\n\n    // @dev Fee wallet to directly transfer paraswap share to\n    address payable public feeWallet;\n\n    // @dev Fee wallet address to register the paraswap share to in the fee vault\n    address payable public feeWalletDelegate;\n\n    /*//////////////////////////////////////////////////////////////\n                                CONTROL\n    //////////////////////////////////////////////////////////////*/\n\n    // @dev Contract paused state\n    bool public paused;\n}\n"},"src/interfaces/IAugustusFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title IAugustusFees\n/// @notice Interface for the AugustusFees contract, which handles the fees for the Augustus aggregator\ninterface IAugustusFees {\n    /*//////////////////////////////////////////////////////////////\n                                ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emmited when the balance is not enough to pay the fees\n    error InsufficientBalanceToPayFees();\n\n    /// @notice Error emmited when the quotedAmount is bigger than the fromAmount\n    error InvalidQuotedAmount();\n\n    /*//////////////////////////////////////////////////////////////\n                                 PUBLIC\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Parses the `partnerAndFee` parameter to extract the partner address and fee data.\n    /// @dev `partnerAndFee` is a uint256 value where data is packed in a specific bit layout.\n    ///\n    ///      The bit layout for `partnerAndFee` is as follows:\n    ///      - The most significant 160 bits (positions 255 to 96) represent the partner address.\n    ///      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:\n    ///          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus\n    ///          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus\n    ///          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees\n    ///          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount\n    ///      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.\n    ///\n    /// @param partnerAndFee Packed uint256 containing both partner address and fee data.\n    /// @return partner The extracted partner address as a payable address.\n    /// @return feeData The extracted fee data containing the fee percentage and flags.\n    function parsePartnerAndFeeData(uint256 partnerAndFee)\n        external\n        pure\n        returns (address payable partner, uint256 feeData);\n}\n"},"src/vendor/libraries/LibDiamond.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/libraries/LibDiamond.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n * /*****************************************************************************\n */\nimport { IDiamondCut } from \"../interfaces/IDiamondCut.sol\";\n\n// Remember to add the loupe functions from DiamondLoupeFacet to the diamond.\n// The loupe functions are required by the EIP2535 Diamonds standard\n\nerror InitializationFunctionReverted(address _initializationContractAddress, bytes _calldata);\n\nlibrary LibDiamond {\n    bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\"diamond.standard.diamond.storage\");\n\n    struct FacetAddressAndPosition {\n        address facetAddress;\n        uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\n    }\n\n    struct FacetFunctionSelectors {\n        bytes4[] functionSelectors;\n        uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\n    }\n\n    struct DiamondStorage {\n        // maps function selector to the facet address and\n        // the position of the selector in the facetFunctionSelectors.selectors array\n        mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\n        // maps facet addresses to function selectors\n        mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\n        // facet addresses\n        address[] facetAddresses;\n        // Used to query if a contract implements an interface.\n        // Used to implement ERC-165.\n        mapping(bytes4 => bool) supportedInterfaces;\n        // owner of the contract\n        address contractOwner;\n    }\n\n    function diamondStorage() internal pure returns (DiamondStorage storage ds) {\n        bytes32 position = DIAMOND_STORAGE_POSITION;\n        assembly {\n            ds.slot := position\n        }\n    }\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    function setContractOwner(address _newOwner) internal {\n        DiamondStorage storage ds = diamondStorage();\n        address previousOwner = ds.contractOwner;\n        ds.contractOwner = _newOwner;\n        emit OwnershipTransferred(previousOwner, _newOwner);\n    }\n\n    function contractOwner() internal view returns (address contractOwner_) {\n        contractOwner_ = diamondStorage().contractOwner;\n    }\n\n    function enforceIsContractOwner() internal view {\n        require(msg.sender == diamondStorage().contractOwner, \"LibDiamond: Must be contract owner\");\n    }\n\n    event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\n\n    // Internal function version of diamondCut\n    function diamondCut(IDiamondCut.FacetCut[] memory _diamondCut, address _init, bytes memory _calldata) internal {\n        for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\n            IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\n            if (action == IDiamondCut.FacetCutAction.Add) {\n                addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else if (action == IDiamondCut.FacetCutAction.Replace) {\n                replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else if (action == IDiamondCut.FacetCutAction.Remove) {\n                removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\n            } else {\n                revert(\"LibDiamondCut: Incorrect FacetCutAction\");\n            }\n        }\n        emit DiamondCut(_diamondCut, _init, _calldata);\n        initializeDiamondCut(_init, _calldata);\n    }\n\n    function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        require(_facetAddress != address(0), \"LibDiamondCut: Add facet can't be address(0)\");\n        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\n        // add new facet address if it does not exist\n        if (selectorPosition == 0) {\n            addFacet(ds, _facetAddress);\n        }\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            require(oldFacetAddress == address(0), \"LibDiamondCut: Can't add function that already exists\");\n            addFunction(ds, selector, selectorPosition, _facetAddress);\n            selectorPosition++;\n        }\n    }\n\n    function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        require(_facetAddress != address(0), \"LibDiamondCut: Add facet can't be address(0)\");\n        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\n        // add new facet address if it does not exist\n        if (selectorPosition == 0) {\n            addFacet(ds, _facetAddress);\n        }\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            require(oldFacetAddress != _facetAddress, \"LibDiamondCut: Can't replace function with same function\");\n            removeFunction(ds, oldFacetAddress, selector);\n            addFunction(ds, selector, selectorPosition, _facetAddress);\n            selectorPosition++;\n        }\n    }\n\n    function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\n        require(_functionSelectors.length > 0, \"LibDiamondCut: No selectors in facet to cut\");\n        DiamondStorage storage ds = diamondStorage();\n        // if function does not exist then do nothing and return\n        require(_facetAddress == address(0), \"LibDiamondCut: Remove facet address must be address(0)\");\n        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\n            bytes4 selector = _functionSelectors[selectorIndex];\n            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\n            removeFunction(ds, oldFacetAddress, selector);\n        }\n    }\n\n    function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\n        enforceHasContractCode(_facetAddress, \"LibDiamondCut: New facet has no code\");\n        ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\n        ds.facetAddresses.push(_facetAddress);\n    }\n\n    function addFunction(\n        DiamondStorage storage ds,\n        bytes4 _selector,\n        uint96 _selectorPosition,\n        address _facetAddress\n    )\n        internal\n    {\n        ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\n        ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\n        ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\n    }\n\n    function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal {\n        require(_facetAddress != address(0), \"LibDiamondCut: Can't remove function that doesn't exist\");\n        // an immutable function is a function defined directly in a diamond\n        require(_facetAddress != address(this), \"LibDiamondCut: Can't remove immutable function\");\n        // replace selector with last selector, then delete last selector\n        uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\n        uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\n        // if not the same then replace _selector with lastSelector\n        if (selectorPosition != lastSelectorPosition) {\n            bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\n            ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\n            ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\n        }\n        // delete the last selector\n        ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\n        delete ds.selectorToFacetAndPosition[_selector];\n\n        // if no more selectors for facet address then delete the facet address\n        if (lastSelectorPosition == 0) {\n            // replace facet address with last facet address and delete last facet address\n            uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\n            uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\n            if (facetAddressPosition != lastFacetAddressPosition) {\n                address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\n                ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\n                ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\n            }\n            ds.facetAddresses.pop();\n            delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\n        }\n    }\n\n    function initializeDiamondCut(address _init, bytes memory _calldata) internal {\n        if (_init == address(0)) {\n            return;\n        }\n        enforceHasContractCode(_init, \"LibDiamondCut: _init address has no code\");\n        (bool success, bytes memory error) = _init.delegatecall(_calldata);\n        if (!success) {\n            if (error.length > 0) {\n                // bubble up error\n                /// @solidity memory-safe-assembly\n                assembly {\n                    let returndata_size := mload(error)\n                    revert(add(32, error), returndata_size)\n                }\n            } else {\n                revert InitializationFunctionReverted(_init, _calldata);\n            }\n        }\n    }\n\n    function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\n        uint256 contractSize;\n        assembly {\n            contractSize := extcodesize(_contract)\n        }\n        require(contractSize > 0, _errorMessage);\n    }\n}\n"},"lib/solady/src/utils/SafeCastLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe integer casting library that reverts on overflow.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeCastLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeCast.sol)\nlibrary SafeCastLib {\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*                       CUSTOM ERRORS                        */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    error Overflow();\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*          UNSIGNED INTEGER SAFE CASTING OPERATIONS          */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toUint8(uint256 x) internal pure returns (uint8) {\n        if (x >= 1 << 8) _revertOverflow();\n        return uint8(x);\n    }\n\n    function toUint16(uint256 x) internal pure returns (uint16) {\n        if (x >= 1 << 16) _revertOverflow();\n        return uint16(x);\n    }\n\n    function toUint24(uint256 x) internal pure returns (uint24) {\n        if (x >= 1 << 24) _revertOverflow();\n        return uint24(x);\n    }\n\n    function toUint32(uint256 x) internal pure returns (uint32) {\n        if (x >= 1 << 32) _revertOverflow();\n        return uint32(x);\n    }\n\n    function toUint40(uint256 x) internal pure returns (uint40) {\n        if (x >= 1 << 40) _revertOverflow();\n        return uint40(x);\n    }\n\n    function toUint48(uint256 x) internal pure returns (uint48) {\n        if (x >= 1 << 48) _revertOverflow();\n        return uint48(x);\n    }\n\n    function toUint56(uint256 x) internal pure returns (uint56) {\n        if (x >= 1 << 56) _revertOverflow();\n        return uint56(x);\n    }\n\n    function toUint64(uint256 x) internal pure returns (uint64) {\n        if (x >= 1 << 64) _revertOverflow();\n        return uint64(x);\n    }\n\n    function toUint72(uint256 x) internal pure returns (uint72) {\n        if (x >= 1 << 72) _revertOverflow();\n        return uint72(x);\n    }\n\n    function toUint80(uint256 x) internal pure returns (uint80) {\n        if (x >= 1 << 80) _revertOverflow();\n        return uint80(x);\n    }\n\n    function toUint88(uint256 x) internal pure returns (uint88) {\n        if (x >= 1 << 88) _revertOverflow();\n        return uint88(x);\n    }\n\n    function toUint96(uint256 x) internal pure returns (uint96) {\n        if (x >= 1 << 96) _revertOverflow();\n        return uint96(x);\n    }\n\n    function toUint104(uint256 x) internal pure returns (uint104) {\n        if (x >= 1 << 104) _revertOverflow();\n        return uint104(x);\n    }\n\n    function toUint112(uint256 x) internal pure returns (uint112) {\n        if (x >= 1 << 112) _revertOverflow();\n        return uint112(x);\n    }\n\n    function toUint120(uint256 x) internal pure returns (uint120) {\n        if (x >= 1 << 120) _revertOverflow();\n        return uint120(x);\n    }\n\n    function toUint128(uint256 x) internal pure returns (uint128) {\n        if (x >= 1 << 128) _revertOverflow();\n        return uint128(x);\n    }\n\n    function toUint136(uint256 x) internal pure returns (uint136) {\n        if (x >= 1 << 136) _revertOverflow();\n        return uint136(x);\n    }\n\n    function toUint144(uint256 x) internal pure returns (uint144) {\n        if (x >= 1 << 144) _revertOverflow();\n        return uint144(x);\n    }\n\n    function toUint152(uint256 x) internal pure returns (uint152) {\n        if (x >= 1 << 152) _revertOverflow();\n        return uint152(x);\n    }\n\n    function toUint160(uint256 x) internal pure returns (uint160) {\n        if (x >= 1 << 160) _revertOverflow();\n        return uint160(x);\n    }\n\n    function toUint168(uint256 x) internal pure returns (uint168) {\n        if (x >= 1 << 168) _revertOverflow();\n        return uint168(x);\n    }\n\n    function toUint176(uint256 x) internal pure returns (uint176) {\n        if (x >= 1 << 176) _revertOverflow();\n        return uint176(x);\n    }\n\n    function toUint184(uint256 x) internal pure returns (uint184) {\n        if (x >= 1 << 184) _revertOverflow();\n        return uint184(x);\n    }\n\n    function toUint192(uint256 x) internal pure returns (uint192) {\n        if (x >= 1 << 192) _revertOverflow();\n        return uint192(x);\n    }\n\n    function toUint200(uint256 x) internal pure returns (uint200) {\n        if (x >= 1 << 200) _revertOverflow();\n        return uint200(x);\n    }\n\n    function toUint208(uint256 x) internal pure returns (uint208) {\n        if (x >= 1 << 208) _revertOverflow();\n        return uint208(x);\n    }\n\n    function toUint216(uint256 x) internal pure returns (uint216) {\n        if (x >= 1 << 216) _revertOverflow();\n        return uint216(x);\n    }\n\n    function toUint224(uint256 x) internal pure returns (uint224) {\n        if (x >= 1 << 224) _revertOverflow();\n        return uint224(x);\n    }\n\n    function toUint232(uint256 x) internal pure returns (uint232) {\n        if (x >= 1 << 232) _revertOverflow();\n        return uint232(x);\n    }\n\n    function toUint240(uint256 x) internal pure returns (uint240) {\n        if (x >= 1 << 240) _revertOverflow();\n        return uint240(x);\n    }\n\n    function toUint248(uint256 x) internal pure returns (uint248) {\n        if (x >= 1 << 248) _revertOverflow();\n        return uint248(x);\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*           SIGNED INTEGER SAFE CASTING OPERATIONS           */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toInt8(int256 x) internal pure returns (int8) {\n        int8 y = int8(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt16(int256 x) internal pure returns (int16) {\n        int16 y = int16(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt24(int256 x) internal pure returns (int24) {\n        int24 y = int24(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt32(int256 x) internal pure returns (int32) {\n        int32 y = int32(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt40(int256 x) internal pure returns (int40) {\n        int40 y = int40(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt48(int256 x) internal pure returns (int48) {\n        int48 y = int48(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt56(int256 x) internal pure returns (int56) {\n        int56 y = int56(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt64(int256 x) internal pure returns (int64) {\n        int64 y = int64(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt72(int256 x) internal pure returns (int72) {\n        int72 y = int72(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt80(int256 x) internal pure returns (int80) {\n        int80 y = int80(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt88(int256 x) internal pure returns (int88) {\n        int88 y = int88(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt96(int256 x) internal pure returns (int96) {\n        int96 y = int96(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt104(int256 x) internal pure returns (int104) {\n        int104 y = int104(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt112(int256 x) internal pure returns (int112) {\n        int112 y = int112(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt120(int256 x) internal pure returns (int120) {\n        int120 y = int120(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt128(int256 x) internal pure returns (int128) {\n        int128 y = int128(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt136(int256 x) internal pure returns (int136) {\n        int136 y = int136(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt144(int256 x) internal pure returns (int144) {\n        int144 y = int144(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt152(int256 x) internal pure returns (int152) {\n        int152 y = int152(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt160(int256 x) internal pure returns (int160) {\n        int160 y = int160(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt168(int256 x) internal pure returns (int168) {\n        int168 y = int168(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt176(int256 x) internal pure returns (int176) {\n        int176 y = int176(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt184(int256 x) internal pure returns (int184) {\n        int184 y = int184(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt192(int256 x) internal pure returns (int192) {\n        int192 y = int192(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt200(int256 x) internal pure returns (int200) {\n        int200 y = int200(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt208(int256 x) internal pure returns (int208) {\n        int208 y = int208(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt216(int256 x) internal pure returns (int216) {\n        int216 y = int216(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt224(int256 x) internal pure returns (int224) {\n        int224 y = int224(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt232(int256 x) internal pure returns (int232) {\n        int232 y = int232(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt240(int256 x) internal pure returns (int240) {\n        int240 y = int240(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    function toInt248(int256 x) internal pure returns (int248) {\n        int248 y = int248(x);\n        if (x != y) _revertOverflow();\n        return y;\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*               OTHER SAFE CASTING OPERATIONS                */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function toInt256(uint256 x) internal pure returns (int256) {\n        if (x >= 1 << 255) _revertOverflow();\n        return int256(x);\n    }\n\n    function toUint256(int256 x) internal pure returns (uint256) {\n        if (x < 0) _revertOverflow();\n        return uint256(x);\n    }\n\n    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n    /*                      PRIVATE HELPERS                       */\n    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n    function _revertOverflow() private pure {\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Store the function selector of `Overflow()`.\n            mstore(0x00, 0x35278d12)\n            // Revert with (offset, size).\n            revert(0x1c, 0x04)\n        }\n    }\n}\n"},"src/interfaces/IAugustusFeeVault.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\n\n/// @title IAugustusFeeVault\n/// @notice Interface for the AugustusFeeVault contract\ninterface IAugustusFeeVault {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Error emitted when withdraw amount is zero or exceeds the stored amount\n    error InvalidWithdrawAmount();\n\n    /// @notice Error emmitted when caller is not an approved augustus contract\n    error UnauthorizedCaller();\n\n    /// @notice Error emitted when an invalid parameter length is passed\n    error InvalidParameterLength();\n\n    /// @notice Error emitted when batch withdraw fails\n    error BatchCollectFailed();\n\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when an augustus contract approval status is set\n    /// @param augustus The augustus contract address\n    /// @param approved The approval status\n    event AugustusApprovalSet(address indexed augustus, bool approved);\n\n    /*//////////////////////////////////////////////////////////////\n                                STRUCTS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Struct to register fees\n    /// @param addresses The addresses to register fees for\n    /// @param token The token to register fees for\n    /// @param fees The fees to register\n    struct FeeRegistration {\n        address[] addresses;\n        IERC20 token;\n        uint256[] fees;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                COLLECT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Allows partners to withdraw fees allocated to them and stored in the vault\n    /// @param token The token to withdraw fees in\n    /// @param amount The amount of fees to withdraw\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function withdrawSomeERC20(IERC20 token, uint256 amount, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw all fees allocated to them and stored in the vault for a given token\n    /// @param token The token to withdraw fees in\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function withdrawAllERC20(IERC20 token, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw all fees allocated to them and stored in the vault for multiple tokens\n    /// @param tokens The tokens to withdraw fees i\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function batchWithdrawAllERC20(IERC20[] calldata tokens, address recipient) external returns (bool success);\n\n    /// @notice Allows partners to withdraw fees allocated to them and stored in the vault\n    /// @param tokens The tokens to withdraw fees in\n    /// @param amounts The amounts of fees to withdraw\n    /// @param recipient The address to send the fees to\n    /// @return success Whether the transfer was successful or not\n    function batchWithdrawSomeERC20(\n        IERC20[] calldata tokens,\n        uint256[] calldata amounts,\n        address recipient\n    )\n        external\n        returns (bool success);\n\n    /*//////////////////////////////////////////////////////////////\n                            BALANCE GETTERS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Get the balance of a given token for a given partner\n    /// @param token The token to get the balance of\n    /// @param partner The partner to get the balance for\n    /// @return feeBalance The balance of the given token for the given partner\n    function getBalance(IERC20 token, address partner) external view returns (uint256 feeBalance);\n\n    /// @notice Get the balances of a given partner for multiple tokens\n    /// @param tokens The tokens to get the balances of\n    /// @param partner The partner to get the balances for\n    /// @return feeBalances The balances of the given tokens for the given partner\n    function batchGetBalance(\n        IERC20[] calldata tokens,\n        address partner\n    )\n        external\n        view\n        returns (uint256[] memory feeBalances);\n\n    /// @notice Returns the unallocated fees for a given token\n    /// @param token The token to get the unallocated fees for\n    /// @return unallocatedFees The unallocated fees for the given token\n    function getUnallocatedFees(IERC20 token) external view returns (uint256 unallocatedFees);\n\n    /*//////////////////////////////////////////////////////////////\n                                 OWNER\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Registers the given feeData to the vault\n    /// @param feeData The fee registration data\n    function registerFees(FeeRegistration memory feeData) external;\n\n    /// @notice Sets the augustus contract approval status\n    /// @param augustus The augustus contract address\n    /// @param approved The approval status\n    function setAugustusApproval(address augustus, bool approved) external;\n\n    /// @notice Sets the contract pause state\n    /// @param _isPaused The new pause state\n    function setContractPauseState(bool _isPaused) external;\n}\n"},"src/interfaces/IAugustusRFQRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { AugustusRFQData, OrderInfo } from \"../AugustusV6Types.sol\";\n\n/// @title IAugustusRFQRouter\n/// @notice Interface for direct swaps on AugustusRFQ\ninterface IAugustusRFQRouter is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                                 ERRORS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Emitted when the passed msg.value is not equal to the fromAmount\n    error IncorrectEthAmount();\n\n    /*//////////////////////////////////////////////////////////////\n                             TRY BATCH FILL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ\n    /// the function that is executed is defined by the direction flag in the data param\n    /// @param data Struct containing common data for AugustusRFQ\n    /// @param orders An array containing AugustusRFQ orderInfo data\n    /// @param permit Permit data for the swap\n    /// @return spentAmount The amount of tokens spent\n    /// @return receivedAmount The amount of tokens received\n    function swapOnAugustusRFQTryBatchFill(\n        AugustusRFQData calldata data,\n        OrderInfo[] calldata orders,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount);\n}\n"},"src/vendor/interfaces/IDiamondCut.sol":{"content":"// SPDX-License-Identifier: MIT\n/**\n * Vendored on October 12, 2023 from:\n * https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/interfaces/IDiamondCut.sol\n */\npragma solidity ^0.8.0;\n\n/**\n * \\\n * Author: Nick Mudge (https://twitter.com/mudgen)\n * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\n * /*****************************************************************************\n */\ninterface IDiamondCut {\n    enum FacetCutAction {\n        Add,\n        Replace,\n        Remove\n    }\n    // Add=0, Replace=1, Remove=2\n\n    struct FacetCut {\n        address facetAddress;\n        FacetCutAction action;\n        bytes4[] functionSelectors;\n    }\n\n    /// @notice Add/replace/remove any number of functions and optionally execute\n    ///         a function with delegatecall\n    /// @param _diamondCut Contains the facet addresses and function selectors\n    /// @param _init The address of the contract or facet to execute _calldata\n    /// @param _calldata A function call, including function selector and arguments\n    ///                  _calldata is executed with delegatecall on _init\n    function diamondCut(FacetCut[] calldata _diamondCut, address _init, bytes calldata _calldata) external;\n\n    event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\n}\n"},"src/interfaces/IUniswapV3SwapCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n/// @title Callback for IUniswapV3PoolActions#swap\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\ninterface IUniswapV3SwapCallback {\n    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n    /// @dev In the implementation you must pay the pool tokens owed for the swap.\n    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\n    function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external;\n}\n"},"src/routers/general/AugustusRFQRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IAugustusRFQRouter } from \"../../interfaces/IAugustusRFQRouter.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { AugustusRFQData, OrderInfo } from \"../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusRFQUtils } from \"../../util/AugustusRFQUtils.sol\";\nimport { WETHUtils } from \"../../util/WETHUtils.sol\";\nimport { PauseUtils } from \"../../util/PauseUtils.sol\";\nimport { Permit2Utils } from \"../../util/Permit2Utils.sol\";\nimport { AugustusFees } from \"../../fees/AugustusFees.sol\";\n\n/// @title AugustusRFQRouter\n/// @notice A contract for executing direct AugustusRFQ swaps\nabstract contract AugustusRFQRouter is\n    IAugustusRFQRouter,\n    AugustusRFQUtils,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                             TRY BATCH FILL\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IAugustusRFQRouter\n    // solhint-disable-next-line code-complexity\n    function swapOnAugustusRFQTryBatchFill(\n        AugustusRFQData calldata data,\n        OrderInfo[] calldata orders,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount)\n    {\n        // Dereference data\n        address payable beneficiary = data.beneficiary;\n        uint256 ordersLength = orders.length;\n        uint256 fromAmount = data.fromAmount;\n        uint256 toAmount = data.toAmount;\n        uint8 wrapApproveDirection = data.wrapApproveDirection;\n\n        // Decode wrapApproveDirection\n        // First 2 bits are for wrap\n        // Next 1 bit is for approve\n        // Last 1 bit is for direction\n\n        uint8 wrap;\n        bool approve;\n        bool direction;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            wrap := and(3, wrapApproveDirection)\n            approve := and(shr(2, wrapApproveDirection), 1)\n            direction := and(shr(3, wrapApproveDirection), 1)\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (toAmount == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if ordersLength is valid\n        if (ordersLength == 0) {\n            revert InvalidOrdersLength();\n        }\n\n        // Check if msg.sender is authorized to be the taker for all orders\n        for (uint256 i = 0; i < ordersLength; ++i) {\n            _checkAuthorization(orders[i].order.nonceAndMeta);\n        }\n\n        // Dereference srcToken and destToken\n        IERC20 srcToken = IERC20(orders[0].order.takerAsset);\n        IERC20 destToken = IERC20(orders[0].order.makerAsset);\n\n        // Check if we need to wrap or permit\n        if (wrap != 1) {\n            // If msg.value is not 0, revert\n            if (msg.value > 0) {\n                revert IncorrectEthAmount();\n            }\n\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), fromAmount);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), fromAmount);\n            }\n        } else {\n            // Check if msg.value is equal to fromAmount\n            if (fromAmount != msg.value) {\n                revert IncorrectEthAmount();\n            }\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: fromAmount }();\n        }\n\n        if (approve) {\n            // Approve srcToken to AugustusRFQ\n            srcToken.approve(address(AUGUSTUS_RFQ));\n        }\n\n        // Check if we need to execute a swapExactAmountIn or a swapExactAmountOut\n        if (!direction) {\n            // swapExactAmountIn\n            // Unwrap WETH if needed\n            if (wrap == 2) {\n                // Execute tryBatchFillOrderTakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderTakerAmount(orders, fromAmount, address(this));\n                // Check received amount\n                receivedAmount = IERC20(WETH).getBalance(address(this));\n                // Check if swap succeeded\n                if (receivedAmount < toAmount) {\n                    revert InsufficientReturnAmount();\n                }\n                // Unwrap WETH\n                WETH.withdraw(--receivedAmount);\n                // Transfer ETH to beneficiary\n                ERC20Utils.ETH.safeTransfer(beneficiary, receivedAmount);\n            } else {\n                // Check balance of beneficiary before swap\n                uint256 beforeBalance = destToken.getBalance(beneficiary);\n                // Execute tryBatchFillOrderTakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderTakerAmount(orders, fromAmount, beneficiary);\n                // set receivedAmount to afterBalance - beforeBalance\n                receivedAmount = destToken.getBalance(beneficiary) - beforeBalance;\n                // Check if swap succeeded\n                if (receivedAmount < toAmount) {\n                    revert InsufficientReturnAmount();\n                }\n            }\n\n            // Return spentAmount and receivedAmount\n            return (fromAmount, receivedAmount);\n        } else {\n            // swapExactAmountOut\n            // Unwrap WETH if needed\n            if (wrap == 2) {\n                // Execute tryBatchFillOrderMakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderMakerAmount(orders, toAmount, address(this));\n                // Check remaining WETH balance\n                receivedAmount = IERC20(WETH).getBalance(address(this));\n                // Unwrap WETH\n                WETH.withdraw(--receivedAmount);\n                // Transfer ETH to beneficiary\n                ERC20Utils.ETH.safeTransfer(beneficiary, receivedAmount);\n                // Set toAmount to receivedAmount\n                toAmount = receivedAmount;\n            } else {\n                // Execute tryBatchFillOrderMakerAmount\n                AUGUSTUS_RFQ.tryBatchFillOrderMakerAmount(orders, toAmount, beneficiary);\n            }\n\n            // Check remaining amount\n            uint256 remainingAmount = srcToken.getBalance(address(this));\n\n            // Send remaining srcToken to msg.sender\n            if (remainingAmount > 1) {\n                // If srcToken was ETH\n                if (wrap == 1) {\n                    // Unwrap WETH\n                    WETH.withdraw(--remainingAmount);\n                    // Transfer ETH to msg.sender\n                    ERC20Utils.ETH.safeTransfer(msg.sender, remainingAmount);\n                } else {\n                    // Transfer remaining srcToken to msg.sender\n                    srcToken.safeTransfer(msg.sender, --remainingAmount);\n                }\n            }\n\n            // Return spentAmount and receivedAmount\n            return (fromAmount - remainingAmount, toAmount);\n        }\n    }\n}\n"},"src/interfaces/ICurveV1SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { CurveV1Data } from \"../AugustusV6Types.sol\";\n\n/// @title ICurveV1SwapExactAmountIn\n/// @notice Interface for direct swaps on Curve V1\ninterface ICurveV1SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Curve V1 pools\n    /// @param curveV1Data Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnCurveV1(\n        CurveV1Data calldata curveV1Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/ICurveV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { CurveV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title ICurveV2SwapExactAmountIn\n/// @notice Interface for direct swaps on Curve V2\ninterface ICurveV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Curve V2 pools\n    /// @param curveV2Data Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnCurveV2(\n        CurveV2Data calldata curveV2Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IGenericSwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { GenericData } from \"../AugustusV6Types.sol\";\n\n/// @title IGenericSwapExactAmountIn\n/// @notice Interface for executing a generic swapExactAmountIn through an Augustus executor\ninterface IGenericSwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a generic swapExactAmountIn using the given executorData on the given executor\n    /// @param executor The address of the executor contract to use\n    /// @param swapData Generic data containing the swap information\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @param executorData The data to execute on the executor\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountIn(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IGenericSwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { GenericData } from \"../AugustusV6Types.sol\";\n\n/// @title IGenericSwapExactAmountOut\n/// @notice Interface for executing a generic swapExactAmountOut through an Augustus executor\ninterface IGenericSwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a generic swapExactAmountOut using the given executorData on the given executor\n    /// @param executor The address of the executor contract to use\n    /// @param swapData Generic data containing the swap information\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @param executorData The data to execute on the executor\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received from the swap\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOut(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV2SwapExactAmountIn\n/// @notice Interface for direct swaps on Uniswap V2\ninterface IUniswapV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Uniswap V2 pools\n    /// @param uniData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV3SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV3SwapExactAmountIn\n/// @notice Interface for executing direct swapExactAmountIn on Uniswap V3\ninterface IUniswapV3SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Uniswap V3 pools\n    /// @param uniData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IBalancerV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IBalancerV2SwapExactAmountIn\n/// @notice Interface for executing swapExactAmountIn directly on Balancer V2 pools\ninterface IBalancerV2SwapExactAmountIn is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountIn on Balancer V2 pools\n    /// @param balancerData Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @param data The calldata to execute\n    /// the first 20 bytes are the beneficiary address and the left most bit is the approve flag\n    /// @return receivedAmount The amount of destToken received after fees\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountInOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV2SwapExactAmountOut\n/// @notice Interface for direct swapExactAmountOut on Uniswap V2\ninterface IUniswapV2SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Uniswap V2 pools\n    /// @param swapData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnUniswapV2(\n        UniswapV2Data calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IUniswapV3SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../AugustusV6Types.sol\";\n\n/// @title IUniswapV3SwapExactAmountOut\n/// @notice Interface for executing direct swapExactAmountOut on Uniswap V3\ninterface IUniswapV3SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Uniswap V3 pools\n    /// @param swapData struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit The permit data\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnUniswapV3(\n        UniswapV3Data calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/interfaces/IBalancerV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IErrors } from \"./IErrors.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../AugustusV6Types.sol\";\n\n/// @title IBalancerV2SwapExactAmountOut\n/// @notice Interface for executing swapExactAmountOut directly on Balancer V2 pools\ninterface IBalancerV2SwapExactAmountOut is IErrors {\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Executes a swapExactAmountOut on Balancer V2 pools\n    /// @param balancerData Struct containing data for the swap\n    /// @param partnerAndFee packed partner address and fee percentage, the first 12 bytes is the feeData and the last\n    /// 20 bytes is the partner address\n    /// @param permit Permit data for the swap\n    /// @param data The calldata to execute\n    /// @return spentAmount The actual amount of tokens used to swap\n    /// @return receivedAmount The amount of tokens received\n    /// @return paraswapShare The share of the fees for Paraswap\n    /// @return partnerShare The share of the fees for the partner\n    function swapExactAmountOutOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare);\n}\n"},"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Contracts\nimport { GenericUtils } from \"../../util/GenericUtils.sol\";\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IGenericSwapExactAmountIn } from \"../../interfaces/IGenericSwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { GenericData } from \"../../AugustusV6Types.sol\";\n\n/// @title GenericSwapExactAmountIn\n/// @notice Router for executing generic swaps with exact amount in through an executor\nabstract contract GenericSwapExactAmountIn is IGenericSwapExactAmountIn, GenericUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IGenericSwapExactAmountIn\n    function swapExactAmountIn(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference swapData\n        IERC20 destToken = swapData.destToken;\n        IERC20 srcToken = swapData.srcToken;\n        uint256 amountIn = swapData.fromAmount;\n        uint256 minAmountOut = swapData.toAmount;\n        uint256 quotedAmountOut = swapData.quotedAmount;\n        address payable beneficiary = swapData.beneficiary;\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, executor, amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, executor, amountIn);\n            }\n        }\n\n        // Execute swap\n        _callSwapExactAmountInExecutor(executor, executorData, amountIn);\n\n        // Check balance after swap\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IGenericSwapExactAmountOut } from \"../../interfaces/IGenericSwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { GenericData } from \"../../AugustusV6Types.sol\";\n\n// Utils\nimport { GenericUtils } from \"../../util/GenericUtils.sol\";\n\n/// @title GenericSwapExactAmountOut\n/// @notice Router for executing generic swaps with exact amount out through an executor\nabstract contract GenericSwapExactAmountOut is IGenericSwapExactAmountOut, GenericUtils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IGenericSwapExactAmountOut\n    function swapExactAmountOut(\n        address executor,\n        GenericData calldata swapData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata executorData\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference swapData\n        IERC20 destToken = swapData.destToken;\n        IERC20 srcToken = swapData.srcToken;\n        uint256 maxAmountIn = swapData.fromAmount;\n        uint256 amountOut = swapData.toAmount;\n        uint256 quotedAmountIn = swapData.quotedAmount;\n        address payable beneficiary = swapData.beneficiary;\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check contract balance\n        uint256 balanceBefore = srcToken.getBalance(address(this));\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to executor if not ETH\n        if (srcToken.isETH(maxAmountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, executor, maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, executor, maxAmountIn);\n            }\n        } else {\n            // If srcToken is ETH, we have to deduct msg.value from balanceBefore\n            balanceBefore = balanceBefore - msg.value;\n        }\n\n        // Execute swap\n        _callSwapExactAmountOutExecutor(executor, executorData, maxAmountIn, amountOut);\n\n        // Check balance of destToken\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check balance of srcToken, deducting the balance before the swap if it is greater than 1\n        uint256 remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { ICurveV1SwapExactAmountIn } from \"../../../interfaces/ICurveV1SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { CurveV1Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusFees } from \"../../../fees/AugustusFees.sol\";\nimport { WETHUtils } from \"../../../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../../../util/Permit2Utils.sol\";\nimport { PauseUtils } from \"../../../util/PauseUtils.sol\";\n\n/// @title CurveV1SwapExactAmountIn\n/// @notice A contract for executing direct CurveV1 swaps\nabstract contract CurveV1SwapExactAmountIn is\n    ICurveV1SwapExactAmountIn,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc ICurveV1SwapExactAmountIn\n    function swapExactAmountInOnCurveV1(\n        CurveV1Data calldata curveV1Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference curveV1Data\n        IERC20 srcToken = curveV1Data.srcToken;\n        IERC20 destToken = curveV1Data.destToken;\n        uint256 amountIn = curveV1Data.fromAmount;\n        uint256 minAmountOut = curveV1Data.toAmount;\n        uint256 quotedAmountOut = curveV1Data.quotedAmount;\n        address payable beneficiary = curveV1Data.beneficiary;\n        uint256 curveAssets = curveV1Data.curveAssets;\n        uint256 curveData = curveV1Data.curveData;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Decode curveData\n        // 160 bits for curve exchange address\n        // 1 bit for approve flag\n        // 2 bits for wrap flag\n        // 2 bits for swap type flag\n\n        address exchange;\n        bool approveFlag;\n        uint256 wrapFlag;\n        uint256 swapType;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            exchange := and(curveData, 0xffffffffffffffffffffffffffffffffffffffff)\n            approveFlag := and(shr(160, curveData), 1)\n            wrapFlag := and(shr(161, curveData), 3)\n            swapType := and(shr(163, curveData), 3)\n        }\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to augustus if not ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                srcToken.approve(exchange);\n            }\n        } else {\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                IERC20(WETH).approve(exchange);\n            }\n        }\n\n        // Execute swap\n        _executeSwapOnCurveV1(exchange, wrapFlag, swapType, curveAssets, amountIn);\n\n        // Check balance after swap and unwrap if needed\n        if (wrapFlag == 2) {\n            // Received amount is WETH balance\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Received amount is destToken balance\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    function _executeSwapOnCurveV1(\n        address exchange,\n        uint256 wrapFlag,\n        uint256 swapType,\n        uint256 curveAssets,\n        uint256 fromAmount\n    )\n        private\n    {\n        // Load WETH address\n        address weth = address(WETH);\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Load free memory pointer\n            let ptr := mload(64)\n\n            //-----------------------------------------------------------------------------------\n            // Wrap ETH if needed\n            //-----------------------------------------------------------------------------------\n\n            // Check if wrap src flag is set\n            if eq(wrapFlag, 1) {\n                // Prepare call data for WETH.deposit()\n\n                // Store function selector and\n                mstore(ptr, 0xd0e30db000000000000000000000000000000000000000000000000000000000) // deposit()\n\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), weth, callvalue(), ptr, 4, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n\n            //-----------------------------------------------------------------------------------\n            // Execute swap\n            //-----------------------------------------------------------------------------------\n\n            // Prepare call data for external call\n\n            // Check swap type\n            switch swapType\n            // 0x01 for EXCHANGE_UNDERLYING\n            case 0x01 {\n                // Store function selector for function exchange_underlying(int128,int128,uint256,uint256)\n                mstore(ptr, 0xa6417ed600000000000000000000000000000000000000000000000000000000) // store selector\n                mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                mstore(add(ptr, 68), fromAmount) // store fromAmount\n                mstore(add(ptr, 100), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x00(default) for EXCHANGE\n            default {\n                // check send eth wrap flag\n                switch eq(wrapFlag, 0x03)\n                // if it is not set, store selector for function exchange(int128,int128,uint256,uint256)\n                case 1 {\n                    mstore(ptr, 0x3df0212400000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                    mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, callvalue(), ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n                // if it is set, store selector for function exchange(int128,int128,uint256,uint256)\n                default {\n                    mstore(ptr, 0x3df0212400000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), shr(128, curveAssets)) // store index i\n                    mstore(add(ptr, 36), and(curveAssets, 0xffffffffffffffffffffffffffffffff)) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n            }\n        }\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { ICurveV2SwapExactAmountIn } from \"../../../interfaces/ICurveV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { CurveV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { AugustusFees } from \"../../../fees/AugustusFees.sol\";\nimport { WETHUtils } from \"../../../util/WETHUtils.sol\";\nimport { Permit2Utils } from \"../../../util/Permit2Utils.sol\";\nimport { PauseUtils } from \"../../../util/PauseUtils.sol\";\n\n/// @title CurveV2SwapExactAmountIn\n/// @notice A contract for executing direct CurveV2 swaps\nabstract contract CurveV2SwapExactAmountIn is\n    ICurveV2SwapExactAmountIn,\n    AugustusFees,\n    WETHUtils,\n    Permit2Utils,\n    PauseUtils\n{\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc ICurveV2SwapExactAmountIn\n    function swapExactAmountInOnCurveV2(\n        CurveV2Data calldata curveV2Data,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference curveData\n        IERC20 srcToken = curveV2Data.srcToken;\n        IERC20 destToken = curveV2Data.destToken;\n        uint256 amountIn = curveV2Data.fromAmount;\n        uint256 minAmountOut = curveV2Data.toAmount;\n        uint256 quotedAmountOut = curveV2Data.quotedAmount;\n        address payable beneficiary = curveV2Data.beneficiary;\n        uint256 i = curveV2Data.i;\n        uint256 j = curveV2Data.j;\n        address poolAddress = curveV2Data.poolAddress;\n        uint256 curveData = curveV2Data.curveData;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Decode curveData\n        // 160 bits for curve exchange address\n        // 1 bit for approve flag\n        // 2 bits for wrap flag\n        // 2 bits for swap type flag\n\n        address exchange;\n        bool approveFlag;\n        uint256 wrapFlag;\n        uint256 swapType;\n\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            exchange := and(curveData, 0xffffffffffffffffffffffffffffffffffffffff)\n            approveFlag := and(shr(160, curveData), 1)\n            wrapFlag := and(shr(161, curveData), 3)\n            swapType := and(shr(163, curveData), 3)\n        }\n\n        // Check if srcToken is ETH\n        // Transfer srcToken to augustus if not ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                srcToken.approve(exchange);\n            }\n        } else {\n            // Check if approve flag is set\n            if (approveFlag) {\n                // Approve exchange\n                IERC20(WETH).approve(exchange);\n            }\n        }\n\n        // Execute swap\n        _executeSwapOnCurveV2(exchange, wrapFlag, swapType, i, j, amountIn, poolAddress);\n\n        // Check balance after swap and unwrap if needed\n        if (wrapFlag == 2) {\n            // Received amount is WETH balance\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Received amount is destToken balance\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                                PRIVATE\n    //////////////////////////////////////////////////////////////*/\n\n    function _executeSwapOnCurveV2(\n        address exchange,\n        uint256 wrapFlag,\n        uint256 swapType,\n        uint256 i,\n        uint256 j,\n        uint256 fromAmount,\n        address poolAddress\n    )\n        private\n    {\n        // Load WETH address\n        address weth = address(WETH);\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            // Load free memory pointer\n            let ptr := mload(64)\n\n            //-----------------------------------------------------------------------------------\n            // Wrap ETH if needed\n            //-----------------------------------------------------------------------------------\n\n            // Check if wrap src flag is set\n            if eq(wrapFlag, 1) {\n                // Prepare call data for WETH.deposit()\n\n                // Store function selector and\n                mstore(ptr, 0xd0e30db000000000000000000000000000000000000000000000000000000000) // deposit()\n\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), weth, callvalue(), ptr, 4, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n\n            //-----------------------------------------------------------------------------------\n            // Execute swap\n            //-----------------------------------------------------------------------------------\n\n            // Prepare call data for external call\n\n            // Check swap type\n            switch swapType\n            // 0x01 for EXCHANGE_UNDERLYING\n            case 0x01 {\n                // Store function selector for function exchange_underlying(uint256,uint256,uint256,uint256)\n                mstore(ptr, 0x65b2489b00000000000000000000000000000000000000000000000000000000) // store selector\n                mstore(add(ptr, 4), i) // store index i\n                mstore(add(ptr, 36), j) // store index j\n                mstore(add(ptr, 68), fromAmount) // store fromAmount\n                mstore(add(ptr, 100), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x02 for EXCHANGE_GENERIC_FACTORY_ZAP\n            case 0x02 {\n                // Store function selector for function exchange(address,uint256,uint256,uint256,uint256)\n                mstore(ptr, 0x64a1455800000000000000000000000000000000000000000000000000000000)\n                mstore(add(ptr, 4), poolAddress) // store poolAddress\n                mstore(add(ptr, 36), i) // store index i\n                mstore(add(ptr, 68), j) // store index j\n                mstore(add(ptr, 100), fromAmount) // store fromAmount\n                mstore(add(ptr, 132), 1) // store 1\n                // Perform the external call with the prepared calldata\n                // Check the outcome of the call and handle failure\n                if iszero(call(gas(), exchange, 0, ptr, 164, 0, 0)) {\n                    // The call failed; we retrieve the exact error message and revert with it\n                    returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                    revert(0, returndatasize()) // Revert with the error message\n                }\n            }\n            // 0x00(default) for EXCHANGE\n            default {\n                // check send eth wrap flag\n                switch eq(wrapFlag, 0x03)\n                // if it is not set, store selector for function exchange(uint256,uint256,uint256,uint256,bool)\n                case 1 {\n                    mstore(ptr, 0x394747c500000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), i) // store index i\n                    mstore(add(ptr, 36), j) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    mstore(add(ptr, 132), 1) // store true\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, callvalue(), ptr, 164, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n                // if it is set, store selector for function exchange(uint256,uint256,uint256,uint256)\n                default {\n                    mstore(ptr, 0x5b41b90800000000000000000000000000000000000000000000000000000000) // store selector\n                    mstore(add(ptr, 4), i) // store index i\n                    mstore(add(ptr, 36), j) // store index j\n                    mstore(add(ptr, 68), fromAmount) // store fromAmount\n                    mstore(add(ptr, 100), 1) // store 1\n                    // Perform the external call with the prepared calldata\n                    // Check the outcome of the call and handle failure\n                    if iszero(call(gas(), exchange, 0, ptr, 132, 0, 0)) {\n                        // The call failed; we retrieve the exact error message and revert with it\n                        returndatacopy(0, 0, returndatasize()) // Copy the error message to the start of memory\n                        revert(0, returndatasize()) // Revert with the error message\n                    }\n                }\n            }\n        }\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV2SwapExactAmountIn } from \"../../../interfaces/IUniswapV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV2Utils } from \"../../../util/UniswapV2Utils.sol\";\n\n/// @title UniswapV2SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on UniswapV2 pools\nabstract contract UniswapV2SwapExactAmountIn is IUniswapV2SwapExactAmountIn, UniswapV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                                   SWAP\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV2SwapExactAmountIn\n    function swapExactAmountInOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 amountIn = uniData.fromAmount;\n        uint256 minAmountOut = uniData.toAmount;\n        uint256 quotedAmountOut = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Initialize payer\n        address payer = msg.sender;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if we need to wrap or permit\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n            }\n        } else {\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: amountIn }();\n            // Set srcToken to WETH\n            srcToken = WETH;\n            // Set payer to this contract\n            payer = address(this);\n        }\n\n        // Execute swap\n        _callUniswapV2PoolsSwapExactIn(amountIn, srcToken, pools, payer, permit);\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Check balance of WETH\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount - 1);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Othwerwise check balance of destToken\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV3SwapExactAmountIn } from \"../../../interfaces/IUniswapV3SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV3Utils } from \"../../../util/UniswapV3Utils.sol\";\n\n/// @title UniswapV3SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on Uniswap V3\nabstract contract UniswapV3SwapExactAmountIn is IUniswapV3SwapExactAmountIn, UniswapV3Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n    using SafeCastLib for uint256;\n\n    /*//////////////////////////////////////////////////////////////\n                                   SWAP\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV3SwapExactAmountIn\n    function swapExactAmountInOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 amountIn = uniData.fromAmount;\n        uint256 minAmountOut = uniData.toAmount;\n        uint256 quotedAmountOut = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Address that will pay for the swap\n        address fromAddress = msg.sender;\n\n        // Check if we need to wrap or permit\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n            }\n        } else {\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: amountIn }();\n            // Swap will be paid from this contract\n            fromAddress = address(this);\n        }\n\n        // Execute swap\n        receivedAmount = _callUniswapV3PoolsSwapExactAmountIn(amountIn.toInt256(), pools, fromAddress, permit);\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransferUniV3(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IBalancerV2SwapExactAmountIn } from \"../../../interfaces/IBalancerV2SwapExactAmountIn.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { BalancerV2Utils } from \"../../../util/BalancerV2Utils.sol\";\n\n/// @title BalancerV2SwapExactAmountIn\n/// @notice A contract for executing direct swapExactAmountIn on Balancer V2\nabstract contract BalancerV2SwapExactAmountIn is IBalancerV2SwapExactAmountIn, BalancerV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                          SWAP EXACT AMOUNT IN\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IBalancerV2SwapExactAmountIn\n    function swapExactAmountInOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference balancerData\n        uint256 quotedAmountOut = balancerData.quotedAmount;\n        uint256 beneficiaryAndApproveFlag = balancerData.beneficiaryAndApproveFlag;\n        uint256 amountIn = balancerData.fromAmount;\n        uint256 minAmountOut = balancerData.toAmount;\n\n        // Decode params\n        (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve) =\n            _decodeBalancerV2Params(beneficiaryAndApproveFlag, data);\n\n        // Check if toAmount is valid\n        if (minAmountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(amountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), amountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), amountIn);\n            }\n            // Check if approve is needed\n            if (approve) {\n                // Approve BALANCER_VAULT to spend srcToken\n                srcToken.approve(BALANCER_VAULT);\n            }\n        }\n\n        // Execute swap\n        _callBalancerV2(data);\n\n        // Check balance after swap\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < minAmountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken to beneficiary\n        return processSwapExactAmountInFeesAndTransfer(\n            beneficiary, destToken, partnerAndFee, receivedAmount, quotedAmountOut\n        );\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV2SwapExactAmountOut } from \"../../../interfaces/IUniswapV2SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { UniswapV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV2Utils } from \"../../../util/UniswapV2Utils.sol\";\n\n/// @title UniswapV2SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on UniswapV2 pools\nabstract contract UniswapV2SwapExactAmountOut is IUniswapV2SwapExactAmountOut, UniswapV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV2SwapExactAmountOut\n    function swapExactAmountOutOnUniswapV2(\n        UniswapV2Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 maxAmountIn = uniData.fromAmount;\n        uint256 amountOut = uniData.toAmount;\n        uint256 quotedAmountIn = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Init balanceBefore\n        uint256 balanceBefore;\n\n        // Check if srcToken is ETH\n        bool isFromETH = srcToken.isETH(maxAmountIn) != 0;\n\n        // Check if we need to wrap or permit\n        if (isFromETH) {\n            // Check WETH balance before\n            balanceBefore = IERC20(WETH).getBalance(address(this));\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: maxAmountIn }();\n            // Set srcToken to WETH\n            srcToken = WETH;\n        } else {\n            // Check srcToken balance before\n            balanceBefore = srcToken.getBalance(address(this));\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n            }\n        }\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Execute swap\n        _callUniswapV2PoolsSwapExactOut(amountOut, srcToken, pools);\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Make sure srcToken was not WETH\n            if (srcToken == WETH) {\n                revert ArbitrageNotSupported();\n            }\n            // Check balance of WETH\n            receivedAmount = IERC20(WETH).getBalance(address(this));\n            // Leave dust if receivedAmount > amountOut\n            if (receivedAmount > amountOut) {\n                --receivedAmount;\n            }\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n            // Set receivedAmount to this contract's balance\n            receivedAmount = address(this).balance;\n        } else {\n            // Othwerwise check balance of destToken\n            receivedAmount = destToken.getBalance(address(this));\n        }\n\n        // Check balance of srcToken\n        uint256 remainingAmount = srcToken.getBalance(address(this));\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if srcToken is ETH and unwrap if there is remaining amount\n        if (isFromETH) {\n            // Check native balance before\n            uint256 nativeBalanceBefore = address(this).balance;\n            // If balanceBefore is greater than 1, deduct it from remainingAmount\n            remainingAmount = remainingAmount - (balanceBefore > 1 ? balanceBefore : 0);\n            // Withdraw remaining WETH if any\n            if (remainingAmount > 1) {\n                WETH.withdraw(remainingAmount - 1);\n            }\n            srcToken = ERC20Utils.ETH;\n            // If native balance before is greater than 1, deduct it from remainingAmount\n            remainingAmount = address(this).balance - (nativeBalanceBefore > 1 ? nativeBalanceBefore : 0);\n        } else {\n            // Otherwise, if balanceBefore is greater than 1, deduct it from remainingAmount\n            remainingAmount = remainingAmount - (balanceBefore > 1 ? balanceBefore : 0);\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IUniswapV3SwapExactAmountOut } from \"../../../interfaces/IUniswapV3SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\nimport { SafeCastLib } from \"@solady/utils/SafeCastLib.sol\";\n\n// Types\nimport { UniswapV3Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { UniswapV3Utils } from \"../../../util/UniswapV3Utils.sol\";\n\n/// @title UniswapV3SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on UniswapV3 pools\nabstract contract UniswapV3SwapExactAmountOut is IUniswapV3SwapExactAmountOut, UniswapV3Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n    using SafeCastLib for uint256;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IUniswapV3SwapExactAmountOut\n    function swapExactAmountOutOnUniswapV3(\n        UniswapV3Data calldata uniData,\n        uint256 partnerAndFee,\n        bytes calldata permit\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference uniData\n        IERC20 srcToken = uniData.srcToken;\n        IERC20 destToken = uniData.destToken;\n        uint256 maxAmountIn = uniData.fromAmount;\n        uint256 amountOut = uniData.toAmount;\n        uint256 quotedAmountIn = uniData.quotedAmount;\n        address payable beneficiary = uniData.beneficiary;\n        bytes calldata pools = uniData.pools;\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Address that will pay for the swap\n        address fromAddress = msg.sender;\n\n        // Check if srcToken is ETH\n        bool isFromETH = srcToken.isETH(maxAmountIn) != 0;\n\n        // If pools.length > 96, we are going to do a multi-pool swap\n        bool isMultiplePools = pools.length > 96;\n\n        // Init balance before variables\n        uint256 senderBalanceBefore;\n        uint256 balanceBefore;\n\n        // Check if we need to wrap or permit\n        if (isFromETH) {\n            // Check WETH balance before\n            balanceBefore = IERC20(WETH).getBalance(address(this));\n            // If it is ETH. wrap it to WETH\n            WETH.deposit{ value: maxAmountIn }();\n            // Swap will be paid from this contract\n            fromAddress = address(this);\n            // Set srcToken to WETH\n            srcToken = WETH;\n        } else {\n            // Check srcToken balance before\n            balanceBefore = srcToken.getBalance(address(this));\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                // if we're using multiple pools, we need to store the pre-swap balance of srcToken\n                if (isMultiplePools) {\n                    senderBalanceBefore = srcToken.getBalance(msg.sender);\n                }\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n                // Swap will be paid from this contract\n                fromAddress = address(this);\n            }\n        }\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Execute swap\n        (spentAmount, receivedAmount) =\n            _callUniswapV3PoolsSwapExactAmountOut((-amountOut.toInt256()), pools, fromAddress);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Check if destToken is ETH and unwrap\n        if (address(destToken) == address(ERC20Utils.ETH)) {\n            // Make sure srcToken was not WETH\n            if (srcToken == WETH) {\n                revert ArbitrageNotSupported();\n            }\n            // Unwrap WETH\n            WETH.withdraw(receivedAmount);\n        }\n\n        // Iniiialize remainingAmount\n        uint256 remainingAmount;\n\n        // Check if payer is this contract\n        if (fromAddress == address(this)) {\n            // If srcTokenwas ETH, we need to withdraw remaining WETH if any\n            if (isFromETH) {\n                // Check native balance before\n                uint256 nativeBalanceBefore = address(this).balance;\n                // Check balance of WETH, If balanceBefore is greater than 1, deduct it from remainingAmount\n                remainingAmount = IERC20(WETH).getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n                // Withdraw remaining WETH if any\n                if (remainingAmount > 1) {\n                    // Unwrap WETH\n                    WETH.withdraw(remainingAmount - 1);\n                    // If native balance before is greater than 1, deduct it from remainingAmount\n                    remainingAmount = address(this).balance - (nativeBalanceBefore > 1 ? nativeBalanceBefore : 0);\n                }\n                // Set srcToken to ETH\n                srcToken = ERC20Utils.ETH;\n            } else {\n                // If we have executed multi-pool swap, we need to fetch the remaining amount from balance\n                if (isMultiplePools) {\n                    // Calculate spent amount and remaining amount, If balanceBefore is greater than 1, deduct it from\n                    // remainingAmount\n                    remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n                } else {\n                    // Otherwise, remaining amount is the difference between the spent amount and the remaining balance\n                    remainingAmount = maxAmountIn - spentAmount;\n                }\n            }\n\n            // Process fees using processSwapExactAmountOutFeesAndTransfer\n            return processSwapExactAmountOutFeesAndTransfer(\n                beneficiary,\n                srcToken,\n                destToken,\n                partnerAndFee,\n                maxAmountIn,\n                remainingAmount,\n                receivedAmount,\n                quotedAmountIn\n            );\n        } else {\n            // If we have executed multi-pool swap, we need to re-calculate the remaining amount and spent amount\n            if (isMultiplePools) {\n                // Calculate spent amount and remaining amount\n                remainingAmount = srcToken.getBalance(msg.sender);\n                spentAmount = senderBalanceBefore - remainingAmount;\n            }\n            // Process fees and transfer destToken and srcToken to feeVault or partner and\n            // feeWallet if needed\n            return processSwapExactAmountOutFeesAndTransferUniV3(\n                beneficiary,\n                srcToken,\n                destToken,\n                partnerAndFee,\n                maxAmountIn,\n                receivedAmount,\n                spentAmount,\n                quotedAmountIn\n            );\n        }\n    }\n}\n"},"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.22;\n\n// Interfaces\nimport { IERC20 } from \"@openzeppelin/token/ERC20/IERC20.sol\";\nimport { IBalancerV2SwapExactAmountOut } from \"../../../interfaces/IBalancerV2SwapExactAmountOut.sol\";\n\n// Libraries\nimport { ERC20Utils } from \"../../../libraries/ERC20Utils.sol\";\n\n// Types\nimport { BalancerV2Data } from \"../../../AugustusV6Types.sol\";\n\n// Utils\nimport { BalancerV2Utils } from \"../../../util/BalancerV2Utils.sol\";\n\n/// @title BalancerV2SwapExactAmountOut\n/// @notice A contract for executing direct swapExactAmountOut on BalancerV2 pools\nabstract contract BalancerV2SwapExactAmountOut is IBalancerV2SwapExactAmountOut, BalancerV2Utils {\n    /*//////////////////////////////////////////////////////////////\n                               LIBRARIES\n    //////////////////////////////////////////////////////////////*/\n\n    using ERC20Utils for IERC20;\n\n    /*//////////////////////////////////////////////////////////////\n                         SWAP EXACT AMOUNT OUT\n    //////////////////////////////////////////////////////////////*/\n\n    /// @inheritdoc IBalancerV2SwapExactAmountOut\n    function swapExactAmountOutOnBalancerV2(\n        BalancerV2Data calldata balancerData,\n        uint256 partnerAndFee,\n        bytes calldata permit,\n        bytes calldata data\n    )\n        external\n        payable\n        whenNotPaused\n        returns (uint256 spentAmount, uint256 receivedAmount, uint256 paraswapShare, uint256 partnerShare)\n    {\n        // Dereference balancerData\n        uint256 quotedAmountIn = balancerData.quotedAmount;\n        uint256 beneficiaryAndApproveFlag = balancerData.beneficiaryAndApproveFlag;\n        uint256 maxAmountIn = balancerData.fromAmount;\n        uint256 amountOut = balancerData.toAmount;\n\n        // Decode params\n        (IERC20 srcToken, IERC20 destToken, address payable beneficiary, bool approve) =\n            _decodeBalancerV2Params(beneficiaryAndApproveFlag, data);\n\n        // Make sure srcToken and destToken are different\n        if (srcToken == destToken) {\n            revert ArbitrageNotSupported();\n        }\n\n        // Check if toAmount is valid\n        if (amountOut == 0) {\n            revert InvalidToAmount();\n        }\n\n        // Check if beneficiary is valid\n        if (beneficiary == address(0)) {\n            beneficiary = payable(msg.sender);\n        }\n\n        // Check contract balance\n        uint256 balanceBefore = srcToken.getBalance(address(this));\n\n        // Check if srcToken is ETH\n        if (srcToken.isETH(maxAmountIn) == 0) {\n            // Check the length of the permit field,\n            // if < 257 and > 0 we should execute regular permit\n            // and if it is >= 257 we execute permit2\n            if (permit.length < 257) {\n                // Permit if needed\n                if (permit.length > 0) {\n                    srcToken.permit(permit);\n                }\n                srcToken.safeTransferFrom(msg.sender, address(this), maxAmountIn);\n            } else {\n                // Otherwise Permit2.permitTransferFrom\n                permit2TransferFrom(permit, address(this), maxAmountIn);\n            }\n            // Check if approve is needed\n            if (approve) {\n                // Approve BALANCER_VAULT to spend srcToken\n                srcToken.approve(BALANCER_VAULT);\n            }\n        } else {\n            // If srcToken is ETH, we have to deduct msg.value from balanceBefore\n            balanceBefore = balanceBefore - msg.value;\n        }\n\n        // Execute swap\n        _callBalancerV2(data);\n\n        // Check balance of destToken\n        receivedAmount = destToken.getBalance(address(this));\n\n        // Check balance of srcToken, deducting the balance before the swap if it is greater than 1\n        uint256 remainingAmount = srcToken.getBalance(address(this)) - (balanceBefore > 1 ? balanceBefore : 0);\n\n        // Check if swap succeeded\n        if (receivedAmount < amountOut) {\n            revert InsufficientReturnAmount();\n        }\n\n        // Process fees and transfer destToken and srcToken to beneficiary\n        return processSwapExactAmountOutFeesAndTransfer(\n            beneficiary,\n            srcToken,\n            destToken,\n            partnerAndFee,\n            maxAmountIn,\n            remainingAmount,\n            receivedAmount,\n            quotedAmountIn\n        );\n    }\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"bytecodeHash":"none"},"libraries":{},"optimizer":{"runs":1000000,"enabled":true},"evmVersion":"shanghai","remappings":[":@create3/=lib/create3-factory/src/",":@openzeppelin/=lib/openzeppelin-contracts/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@prb/test/=lib/prb-test/src/",":@solady/=lib/solady/src/",":create3-factory/=lib/create3-factory/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":prb-test/=lib/prb-test/src/",":solady/=lib/solady/",":solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/",":solmate/=lib/create3-factory/lib/solmate/src/"]}},"stdJsonOutput":{"sources":{"src/AugustusV6.sol":{"id":2},"src/util/WETHUtils.sol":{"id":43},"src/vendor/Diamond.sol":{"id":44},"src/AugustusV6Types.sol":{"id":3},"src/routers/Routers.sol":{"id":23},"src/util/PauseUtils.sol":{"id":39},"src/interfaces/IWETH.sol":{"id":21},"src/fees/AugustusFees.sol":{"id":4},"src/util/GenericUtils.sol":{"id":38},"src/util/Permit2Utils.sol":{"id":40},"src/interfaces/IErrors.sol":{"id":13},"src/util/UniswapV2Utils.sol":{"id":41},"src/util/UniswapV3Utils.sol":{"id":42},"src/libraries/ERC20Utils.sol":{"id":22},"src/util/BalancerV2Utils.sol":{"id":37},"src/util/AugustusRFQUtils.sol":{"id":36},"src/interfaces/IAugustusRFQ.sol":{"id":7},"src/storage/AugustusStorage.sol":{"id":35},"src/interfaces/IAugustusFees.sol":{"id":6},"src/vendor/libraries/LibDiamond.sol":{"id":46},"lib/solady/src/utils/SafeCastLib.sol":{"id":1},"src/interfaces/IAugustusFeeVault.sol":{"id":5},"src/interfaces/IAugustusRFQRouter.sol":{"id":8},"src/vendor/interfaces/IDiamondCut.sol":{"id":45},"src/interfaces/IUniswapV3SwapCallback.sol":{"id":18},"src/routers/general/AugustusRFQRouter.sol":{"id":24},"src/interfaces/ICurveV1SwapExactAmountIn.sol":{"id":11},"src/interfaces/ICurveV2SwapExactAmountIn.sol":{"id":12},"src/interfaces/IGenericSwapExactAmountIn.sol":{"id":14},"src/interfaces/IGenericSwapExactAmountOut.sol":{"id":15},"src/interfaces/IUniswapV2SwapExactAmountIn.sol":{"id":16},"src/interfaces/IUniswapV3SwapExactAmountIn.sol":{"id":19},"src/interfaces/IBalancerV2SwapExactAmountIn.sol":{"id":9},"src/interfaces/IUniswapV2SwapExactAmountOut.sol":{"id":17},"src/interfaces/IUniswapV3SwapExactAmountOut.sol":{"id":20},"src/interfaces/IBalancerV2SwapExactAmountOut.sol":{"id":10},"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol":{"id":25},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":0},"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol":{"id":31},"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol":{"id":27},"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol":{"id":28},"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol":{"id":29},"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol":{"id":30},"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol":{"id":26},"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol":{"id":33},"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol":{"id":34},"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol":{"id":32}},"contracts":{"src/AugustusV6.sol":{"AugustusV6":{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"},{"name":"_diamondCutFacet","type":"address","internalType":"address"},{"name":"_weth","type":"address","internalType":"address"},{"name":"_balancerVault","type":"address","internalType":"address payable"},{"name":"_uniV3FactoryAndFF","type":"uint256","internalType":"uint256"},{"name":"_uniswapV3PoolInitCodeHash","type":"uint256","internalType":"uint256"},{"name":"_uniswapV2FactoryAndFF","type":"uint256","internalType":"uint256"},{"name":"_uniswapV2PoolInitCodeHash","type":"uint256","internalType":"uint256"},{"name":"_rfq","type":"address","internalType":"address"},{"name":"_feeVault","type":"address","internalType":"address payable"},{"name":"_permit2","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ArbitrageNotSupported","type":"error","inputs":[]},{"name":"CallbackTransferFailed","type":"error","inputs":[]},{"name":"ContractPaused","type":"error","inputs":[]},{"name":"DiamondFunctionDoesNotExist","type":"error","inputs":[]},{"name":"IncorrectEthAmount","type":"error","inputs":[]},{"name":"InitializationFunctionReverted","type":"error","inputs":[{"name":"_initializationContractAddress","type":"address","internalType":"address"},{"name":"_calldata","type":"bytes","internalType":"bytes"}]},{"name":"InsufficientBalanceToPayFees","type":"error","inputs":[]},{"name":"InsufficientReturnAmount","type":"error","inputs":[]},{"name":"InvalidCaller","type":"error","inputs":[]},{"name":"InvalidOrdersLength","type":"error","inputs":[]},{"name":"InvalidQuotedAmount","type":"error","inputs":[]},{"name":"InvalidSelector","type":"error","inputs":[]},{"name":"InvalidToAmount","type":"error","inputs":[]},{"name":"Permit2Failed","type":"error","inputs":[]},{"name":"UnauthorizedUser","type":"error","inputs":[]},{"name":"DiamondCut","type":"event","inputs":[{"name":"_diamondCut","type":"tuple[]","indexed":false,"components":[{"name":"facetAddress","type":"address","internalType":"address"},{"name":"action","type":"uint8","internalType":"enum IDiamondCut.FacetCutAction"},{"name":"functionSelectors","type":"bytes4[]","internalType":"bytes4[]"}],"internalType":"struct IDiamondCut.FacetCut[]"},{"name":"_init","type":"address","indexed":false,"internalType":"address"},{"name":"_calldata","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"name":"AUGUSTUS_RFQ","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAugustusRFQ"}],"stateMutability":"view"},{"name":"BALANCER_VAULT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"FEE_VAULT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAugustusFeeVault"}],"stateMutability":"view"},{"name":"MAX_FEE_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_REFERRAL_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_SLIPPAGE_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARASWAP_SURPLUS_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARTNER_REFERRAL_SHARE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PARTNER_SHARE_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PERMIT2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"SURPLUS_PERCENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V2_FACTORY_AND_FF","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V2_POOL_INIT_CODE_HASH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V3_FACTORY_AND_FF","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UNISWAP_V3_POOL_INIT_CODE_HASH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"WETH","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IWETH"}],"stateMutability":"view"},{"name":"blacklistedTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"}],"outputs":[{"name":"isBlacklisted","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"feeWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"feeWalletDelegate","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address payable"}],"stateMutability":"view"},{"name":"parsePartnerAndFeeData","type":"function","inputs":[{"name":"partnerAndFee","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"partner","type":"address","internalType":"address payable"},{"name":"feeData","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"swapExactAmountIn","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"swapData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct GenericData"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"executorData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnBalancerV2","type":"function","inputs":[{"name":"balancerData","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiaryAndApproveFlag","type":"uint256","internalType":"uint256"}],"internalType":"struct BalancerV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnCurveV1","type":"function","inputs":[{"name":"curveV1Data","type":"tuple","components":[{"name":"curveData","type":"uint256","internalType":"uint256"},{"name":"curveAssets","type":"uint256","internalType":"uint256"},{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct CurveV1Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnCurveV2","type":"function","inputs":[{"name":"curveV2Data","type":"tuple","components":[{"name":"curveData","type":"uint256","internalType":"uint256"},{"name":"i","type":"uint256","internalType":"uint256"},{"name":"j","type":"uint256","internalType":"uint256"},{"name":"poolAddress","type":"address","internalType":"address"},{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct CurveV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnUniswapV2","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountInOnUniswapV3","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV3Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOut","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"swapData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct GenericData"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"executorData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnBalancerV2","type":"function","inputs":[{"name":"balancerData","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiaryAndApproveFlag","type":"uint256","internalType":"uint256"}],"internalType":"struct BalancerV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnUniswapV2","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV2Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapExactAmountOutOnUniswapV3","type":"function","inputs":[{"name":"uniData","type":"tuple","components":[{"name":"srcToken","type":"address","internalType":"contract IERC20"},{"name":"destToken","type":"address","internalType":"contract IERC20"},{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"quotedAmount","type":"uint256","internalType":"uint256"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"},{"name":"pools","type":"bytes","internalType":"bytes"}],"internalType":"struct UniswapV3Data"},{"name":"partnerAndFee","type":"uint256","internalType":"uint256"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"},{"name":"paraswapShare","type":"uint256","internalType":"uint256"},{"name":"partnerShare","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"swapOnAugustusRFQTryBatchFill","type":"function","inputs":[{"name":"data","type":"tuple","components":[{"name":"fromAmount","type":"uint256","internalType":"uint256"},{"name":"toAmount","type":"uint256","internalType":"uint256"},{"name":"wrapApproveDirection","type":"uint8","internalType":"uint8"},{"name":"metadata","type":"bytes32","internalType":"bytes32"},{"name":"beneficiary","type":"address","internalType":"address payable"}],"internalType":"struct AugustusRFQData"},{"name":"orders","type":"tuple[]","components":[{"name":"order","type":"tuple","components":[{"name":"nonceAndMeta","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint128","internalType":"uint128"},{"name":"makerAsset","type":"address","internalType":"address"},{"name":"takerAsset","type":"address","internalType":"address"},{"name":"maker","type":"address","internalType":"address"},{"name":"taker","type":"address","internalType":"address"},{"name":"makerAmount","type":"uint256","internalType":"uint256"},{"name":"takerAmount","type":"uint256","internalType":"uint256"}],"internalType":"struct Order"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"takerTokenFillAmount","type":"uint256","internalType":"uint256"},{"name":"permitTakerAsset","type":"bytes","internalType":"bytes"},{"name":"permitMakerAsset","type":"bytes","internalType":"bytes"}],"internalType":"struct OrderInfo[]"},{"name":"permit","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"spentAmount","type":"uint256","internalType":"uint256"},{"name":"receivedAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"uniswapV3SwapCallback","type":"function","inputs":[{"name":"amount0Delta","type":"int256","internalType":"int256"},{"name":"amount1Delta","type":"int256","internalType":"int256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_diamondCutFacet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"_balancerVault\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_uniV3FactoryAndFF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_uniswapV3PoolInitCodeHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_uniswapV2FactoryAndFF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_uniswapV2PoolInitCodeHash\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rfq\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"_feeVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_permit2\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ArbitrageNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallbackTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DiamondFunctionDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectEthAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_initializationContractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"InitializationFunctionReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalanceToPayFees\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientReturnAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrdersLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidQuotedAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSelector\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Permit2Failed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedUser\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"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\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"AUGUSTUS_RFQ\",\"outputs\":[{\"internalType\":\"contract IAugustusRFQ\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BALANCER_VAULT\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_VAULT\",\"outputs\":[{\"internalType\":\"contract IAugustusFeeVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_FEE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PARASWAP_REFERRAL_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PARASWAP_SLIPPAGE_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PARASWAP_SURPLUS_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PARTNER_REFERRAL_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PARTNER_SHARE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SURPLUS_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNISWAP_V2_FACTORY_AND_FF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNISWAP_V2_POOL_INIT_CODE_HASH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNISWAP_V3_FACTORY_AND_FF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNISWAP_V3_POOL_INIT_CODE_HASH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"contract IWETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"blacklistedTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isBlacklisted\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeWallet\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeWalletDelegate\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"}],\"name\":\"parsePartnerAndFeeData\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeData\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct GenericData\",\"name\":\"swapData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"executorData\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"beneficiaryAndApproveFlag\",\"type\":\"uint256\"}],\"internalType\":\"struct BalancerV2Data\",\"name\":\"balancerData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountInOnBalancerV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"curveData\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"curveAssets\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct CurveV1Data\",\"name\":\"curveV1Data\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountInOnCurveV1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"curveData\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"j\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"poolAddress\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct CurveV2Data\",\"name\":\"curveV2Data\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountInOnCurveV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pools\",\"type\":\"bytes\"}],\"internalType\":\"struct UniswapV2Data\",\"name\":\"uniData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountInOnUniswapV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pools\",\"type\":\"bytes\"}],\"internalType\":\"struct UniswapV3Data\",\"name\":\"uniData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountInOnUniswapV3\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct GenericData\",\"name\":\"swapData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"executorData\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"beneficiaryAndApproveFlag\",\"type\":\"uint256\"}],\"internalType\":\"struct BalancerV2Data\",\"name\":\"balancerData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountOutOnBalancerV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pools\",\"type\":\"bytes\"}],\"internalType\":\"struct UniswapV2Data\",\"name\":\"uniData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountOutOnUniswapV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quotedAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"pools\",\"type\":\"bytes\"}],\"internalType\":\"struct UniswapV3Data\",\"name\":\"uniData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"partnerAndFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapExactAmountOutOnUniswapV3\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paraswapShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"partnerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"wrapApproveDirection\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct AugustusRFQData\",\"name\":\"data\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonceAndMeta\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"expiry\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"takerTokenFillAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permitTakerAsset\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permitMakerAsset\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderInfo[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"swapOnAugustusRFQTryBatchFill\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"InvalidOrdersLength()\":[{\"details\":\"Emitted when the orders length is 0\"}],\"InvalidSelector()\":[{\"details\":\"Emitted when the passed selector is invalid\"}],\"UnauthorizedUser()\":[{\"details\":\"Emitted when the msg.sender is not authorized to be the taker\"}]},\"kind\":\"dev\",\"methods\":{\"parsePartnerAndFeeData(uint256)\":{\"details\":\"`partnerAndFee` is a uint256 value where data is packed in a specific bit layout.      The bit layout for `partnerAndFee` is as follows:      - The most significant 160 bits (positions 255 to 96) represent the partner address.      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.\",\"params\":{\"partnerAndFee\":\"Packed uint256 containing both partner address and fee data.\"},\"returns\":{\"feeData\":\"The extracted fee data containing the fee percentage and flags.\",\"partner\":\"The extracted partner address as a payable address.\"}},\"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)\":{\"params\":{\"executor\":\"The address of the executor contract to use\",\"executorData\":\"The data to execute on the executor\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"swapData\":\"Generic data containing the swap information\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)\":{\"params\":{\"balancerData\":\"Struct containing data for the swap\",\"data\":\"The calldata to execute the first 20 bytes are the beneficiary address and the left most bit is the approve flag\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"Permit data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)\":{\"params\":{\"curveV1Data\":\"Struct containing data for the swap\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"Permit data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)\":{\"params\":{\"curveV2Data\":\"Struct containing data for the swap\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"Permit data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"params\":{\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"uniData\":\"struct containing data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"params\":{\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"uniData\":\"struct containing data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of destToken received after fees\"}},\"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)\":{\"params\":{\"executor\":\"The address of the executor contract to use\",\"executorData\":\"The data to execute on the executor\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"swapData\":\"Generic data containing the swap information\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of tokens received from the swap\",\"spentAmount\":\"The actual amount of tokens used to swap\"}},\"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)\":{\"params\":{\"balancerData\":\"Struct containing data for the swap\",\"data\":\"The calldata to execute\",\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"Permit data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of tokens received\",\"spentAmount\":\"The actual amount of tokens used to swap\"}},\"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"params\":{\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"swapData\":\"struct containing data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of tokens received\",\"spentAmount\":\"The actual amount of tokens used to swap\"}},\"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"params\":{\"partnerAndFee\":\"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address\",\"permit\":\"The permit data\",\"swapData\":\"struct containing data for the swap\"},\"returns\":{\"paraswapShare\":\"The share of the fees for Paraswap\",\"partnerShare\":\"The share of the fees for the partner\",\"receivedAmount\":\"The amount of tokens received\",\"spentAmount\":\"The actual amount of tokens used to swap\"}},\"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)\":{\"params\":{\"data\":\"Struct containing common data for AugustusRFQ\",\"orders\":\"An array containing AugustusRFQ orderInfo data\",\"permit\":\"Permit data for the swap\"},\"returns\":{\"receivedAmount\":\"The amount of tokens received\",\"spentAmount\":\"The amount of tokens spent\"}},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"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.\",\"params\":{\"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.\",\"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.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"title\":\"AugustusV6\",\"version\":1},\"userdoc\":{\"errors\":{\"ArbitrageNotSupported()\":[{\"notice\":\"Emmited when the srcToken and destToken are the same\"}],\"CallbackTransferFailed()\":[{\"notice\":\"Error emitted if the transfer of tokens to the pool inside the callback failed\"}],\"ContractPaused()\":[{\"notice\":\"Error emitted when the contract is paused\"}],\"IncorrectEthAmount()\":[{\"notice\":\"Emitted when the passed msg.value is not equal to the fromAmount\"}],\"InsufficientBalanceToPayFees()\":[{\"notice\":\"Error emmited when the balance is not enough to pay the fees\"}],\"InsufficientReturnAmount()\":[{\"notice\":\"Emitted when the returned amount is less than the minimum amount\"}],\"InvalidCaller()\":[{\"notice\":\"Error emitted if the caller is not a Uniswap V3 pool\"}],\"InvalidQuotedAmount()\":[{\"notice\":\"Error emmited when the quotedAmount is bigger than the fromAmount\"}],\"InvalidToAmount()\":[{\"notice\":\"Emitted when the specified toAmount is less than the minimum amount (2)\"}]},\"kind\":\"user\",\"methods\":{\"parsePartnerAndFeeData(uint256)\":{\"notice\":\"Parses the `partnerAndFee` parameter to extract the partner address and fee data.\"},\"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)\":{\"notice\":\"Executes a generic swapExactAmountIn using the given executorData on the given executor\"},\"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)\":{\"notice\":\"Executes a swapExactAmountIn on Balancer V2 pools\"},\"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountIn on Curve V1 pools\"},\"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountIn on Curve V2 pools\"},\"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountIn on Uniswap V2 pools\"},\"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountIn on Uniswap V3 pools\"},\"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)\":{\"notice\":\"Executes a generic swapExactAmountOut using the given executorData on the given executor\"},\"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)\":{\"notice\":\"Executes a swapExactAmountOut on Balancer V2 pools\"},\"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountOut on Uniswap V2 pools\"},\"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)\":{\"notice\":\"Executes a swapExactAmountOut on Uniswap V3 pools\"},\"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)\":{\"notice\":\"Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ the function that is executed is defined by the direction flag in the data param\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"notice\":\"The V6 implementation of the ParaSwap onchain aggregation protocol\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/AugustusV6.sol\":\"AugustusV6\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@create3/=lib/create3-factory/src/\",\":@openzeppelin/=lib/openzeppelin-contracts/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@prb/test/=lib/prb-test/src/\",\":@solady/=lib/solady/src/\",\":create3-factory/=lib/create3-factory/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":prb-test/=lib/prb-test/src/\",\":solady/=lib/solady/\",\":solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/\",\":solmate/=lib/create3-factory/lib/solmate/src/\"],\"viaIR\":true},\"sources\":{\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"lib/solady/src/utils/SafeCastLib.sol\":{\"keccak256\":\"0xd8319986d56aeefa8dd6d683c0827576dd31925c82b0c2e50eceac2421543f9b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://016709ad671ed03535a35813a77c826086708bef03cbbe6339d1cbeefa098dfb\",\"dweb:/ipfs/QmQn6Q7CQc2sA9Qtn9AEeD8AF2h1KKWCH9TjTqvGMyF79d\"]},\"src/AugustusV6.sol\":{\"keccak256\":\"0x4482fed923474cac377a7636b2674d247caaacc9c36bf6ee621a062d881e00e4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4911ed455fe30eb5f896d706fe34aa379349c5f29ffab1a3032c61454a0f9471\",\"dweb:/ipfs/QmXVf9f3w8qRC9i1EAwJ1g7uxvfdTSEsXmusnFXHKRVdbh\"]},\"src/AugustusV6Types.sol\":{\"keccak256\":\"0xa959470acbca68c11029e2a5f36c1cb7b583d253661b8be7a382665e4b28bf52\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8a8ecb510449954a2a6d867fcb672c22c4afc8f5903d3e741d285d1371606a0f\",\"dweb:/ipfs/QmXwixPMbuXqYRKB1mtNTTci1nTEmkakudzFuoMx7JEWAN\"]},\"src/fees/AugustusFees.sol\":{\"keccak256\":\"0xc6232ba04c99609e1f624bdccce387b2cd42f97bbeaba19cff1b4ffb729ab22f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://feb5d90e190a5c43197b76f0d2a5c3c520c4333d31872b69a207aa5a0820b847\",\"dweb:/ipfs/QmUsprkinSacRnovJcnPXhWNAEbg43AC9pDwb8CxwLBJaL\"]},\"src/interfaces/IAugustusFeeVault.sol\":{\"keccak256\":\"0x52a4207054a66d36538ac8bdf2a8e6e0104270cc2b7c31f3cf04bf291a574c96\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://95d6adb7b9581a480473d893dd1ac758b75ad3815f05ea66fe4afbe6f9617192\",\"dweb:/ipfs/QmTuc64CDU2jwVdh2KSuVjrVajEouBqn2P8TbTHbFiSmvh\"]},\"src/interfaces/IAugustusFees.sol\":{\"keccak256\":\"0x323665286a27c230cb154b891b1b83592edc03e7e49655a14c2474e89446b31e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://93a4e8bdacc5f69c73e5a417fd75d38c156b967b855cefcd7227fb5e7844347d\",\"dweb:/ipfs/QmTmN1gJbJMeUZkLsgj8u7fmhi9d8FFNg3UWMvNogmJenu\"]},\"src/interfaces/IAugustusRFQ.sol\":{\"keccak256\":\"0x104457cc319f6b42918096cb1b56668fdb2605cf743d5decb090ef369bb4276c\",\"license\":\"ISC\",\"urls\":[\"bzz-raw://1a3ccefbe1eb50fb17659558d015cf18bfa870f854167c70332bc552ac847ff6\",\"dweb:/ipfs/QmbwEZuUUb9PuK4AwF1vwsYatwTmznpXMwNceGzgpHSfYR\"]},\"src/interfaces/IAugustusRFQRouter.sol\":{\"keccak256\":\"0x02bb5eb5cec51f8a243754dcf56afbef11f43d17986aca25ae98a4006c64e754\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://779bb9ef3a49ce892039dc534595a46253dd5d990666f218571f0ddaa7baffa1\",\"dweb:/ipfs/Qma5JMBrio59SXXsppU4Yzn1ExnhX8hgQ6Awhku3wmXxxp\"]},\"src/interfaces/IBalancerV2SwapExactAmountIn.sol\":{\"keccak256\":\"0x41d3334628ac6faba087c741c154bb8d15f8203a83771c2f9b4b461634e271bf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://15780508ce836575564946058b7b8a244786a8e15fd13883ba3e21ff16e2e29e\",\"dweb:/ipfs/QmQ3yKKKCYyGbdACoNHPAc8KvMY1wjRf6bKHBHJZ7pLi3R\"]},\"src/interfaces/IBalancerV2SwapExactAmountOut.sol\":{\"keccak256\":\"0x888e5ff59d809090073a725e0dbc6cbb596f6df4777f033af8aab814ea11d426\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://66f1e30657fc444a1034daf712546b1eff6523ee273200c91d4fe95f7587df7d\",\"dweb:/ipfs/QmYcUypoQsSZHDoziqfdgyxiFWDv7DNHQcj37BW8qxZ9DV\"]},\"src/interfaces/ICurveV1SwapExactAmountIn.sol\":{\"keccak256\":\"0x87d49e6137bce8d8836963604c0a36328a9d722c7c695dc9f2d3209647719a97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3135a3da0ac7e0848d1419bf281434aed58c9e9763e59be13bcaa666cf14e7bf\",\"dweb:/ipfs/QmP78X5b2KCfKU6ig3yzw3ygWWdu2i9GL853DXFKiC4wVN\"]},\"src/interfaces/ICurveV2SwapExactAmountIn.sol\":{\"keccak256\":\"0xb4adc1ed33cd402d75bce01ba9f1777a0bfcffa8920e1e279f18d2e67c38c8f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c08d4c1a29b7565cb098a45d6cbbfca26064c4205c9b1a1057d28e098eab2513\",\"dweb:/ipfs/QmcM3uqXDby9cWdWE9mdw8rdPU4rwCyi8sgSQc2znDJZUK\"]},\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x4aabaa7f2d5ae0c5aff48ee9e4910676bc69b9ecb81f7b64a5cdaee3219ef1d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e60b00aadf252ab8b36285daf333b2fddfa384ef111b62005cfcaccc3cea304\",\"dweb:/ipfs/QmdGnXfspr7fzrLKn4DyQo9GKUhkC7EvZbeW9yUGTzjNQ7\"]},\"src/interfaces/IGenericSwapExactAmountIn.sol\":{\"keccak256\":\"0xc5c543e95160ee2bd9eb096122f17310653a940b105e300c2f0ec763d7c99809\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a67adf9a55080173a2c0ac07fa0c8528ae78edcdc7a43c9fb9c2a08dcc215619\",\"dweb:/ipfs/QmagPJhBqBAAd53Dz7NsxKerm3CkUm59uVc46r4Wu1qmiW\"]},\"src/interfaces/IGenericSwapExactAmountOut.sol\":{\"keccak256\":\"0x6ca25f3bbe4afa6869ed4876cd49a033e62c937f24641a71953d60015c15c326\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://415cc98ae52a866448353b901f988f6e014582b5cab60ab820f7f65af23a2142\",\"dweb:/ipfs/Qmdr5QxfM5jcXJ19J6Yhkxpp7Mo856rhXVZZYr8gBmXeLg\"]},\"src/interfaces/IUniswapV2SwapExactAmountIn.sol\":{\"keccak256\":\"0x753438be2f8b64f6b3c6ca87ffd2541dcb952ceddf3cb67e36aadcf580f16994\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01e54e8736f5926d2930ea6ac2061e21803c77447ccce60f4dee6b5fe7442af8\",\"dweb:/ipfs/QmaAfLj5MgveLUBwYpttXLuRjwB3wgz7dy89yJUuf96hSW\"]},\"src/interfaces/IUniswapV2SwapExactAmountOut.sol\":{\"keccak256\":\"0x7965ec68163a8f89fc791c24dc9fc93a0bfed78e9a2569dd414ac2a7997f7878\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7116c9c6e76d349427319ba5230e4ebc465002b2d6cc25bc1efea19e84451fb\",\"dweb:/ipfs/QmfCZYdSkMy7LustZ3h2Rwkcjv5XiGcRxWY1dycjAk322M\"]},\"src/interfaces/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0xdb88a7a8512344385faba1c8e32597ca6ff13f289233a2af3f44843969d9d6b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b407a045f774a21cb248acf380d7d6ffc5389ad1351da30465aad22f0eb5ade8\",\"dweb:/ipfs/QmTzwexPbNQrrDdB5UjrHZUL3Je9ABB4msuiSuZE33WAyo\"]},\"src/interfaces/IUniswapV3SwapExactAmountIn.sol\":{\"keccak256\":\"0x6cfbde8f313a2776ec2ccbdcf5f65155636e7fa90b6ca8fb953ed52280e61690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://544d39b4175931339d340a7f08dbdc2acff882a11664de0e38580468714667bb\",\"dweb:/ipfs/QmeA1hjjKjMepUQJA2DeiaPMm9UrHWftUF2bBSzN9r3esT\"]},\"src/interfaces/IUniswapV3SwapExactAmountOut.sol\":{\"keccak256\":\"0x0f38daf14ad757236355af8bc2c7ba8d46c79563cedf1de9c7c834893c9f11d4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0eb1232b826b1becc3c78088443ff77b0db83064342a342e3f720d086557fd2f\",\"dweb:/ipfs/QmfKCdpJYhVajdLjT8pj6UHrasMEqWzaVDL7WB2jw1Z5Ri\"]},\"src/interfaces/IWETH.sol\":{\"keccak256\":\"0xb723f77a2c00d31efe0b76f310c82289a20843abdc27b9b600160488a3be7b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://295fe59c622b44d80ae5045ee3123a0119c369023cb25a37a782b32098619592\",\"dweb:/ipfs/QmPLaB4XwMswj6ajojNphBR5HmqXZr7BVnZVaeNcP54ch7\"]},\"src/libraries/ERC20Utils.sol\":{\"keccak256\":\"0x8071d40f4d188f2e9f8764de8c837a3e8662a1c40b3a9eeec5bf85e9fbf4d101\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7e0deb6f7d722deef41628a92ac9593db12fda8788003b77fe47d44d6a7339c2\",\"dweb:/ipfs/QmXCPz3WmYFjREKAhxBh43FxVgam6F8sDrEWwYnCA1Tmp3\"]},\"src/routers/Routers.sol\":{\"keccak256\":\"0xae444af74dce087f0e6840fcfe355a11a93b9915b1844815fbbcecbc64cd5f25\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff30da22312f0abb5e8c487c0615c7dbd66d48859b86c0f7c25eedf0b1f76ccc\",\"dweb:/ipfs/QmRZyXz3hcDcgYZohhJGvrT9NonGTwvbppumAjCUiYsh6W\"]},\"src/routers/general/AugustusRFQRouter.sol\":{\"keccak256\":\"0xa70644adeb2f24929410ca74bffda30a525503b41f75ca7c3a082b86319682ef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b5228700285cfffd98eb66cafe07873045f6fe4cfc2caad21099850ad9607d44\",\"dweb:/ipfs/QmVN2rLMXW3jkwq4kD6SNmJTjxWV9VqJx126QVTNMsMiHe\"]},\"src/routers/swapExactAmountIn/GenericSwapExactAmountIn.sol\":{\"keccak256\":\"0xad619a842f217be9ce9b29a859cdcf919ecbdedfc3e4fa3fdc9ac86d670d4c96\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0c391e57dbf77bdf7155802d8c70c6085e06ad02c142b88fc2acc0489346af6\",\"dweb:/ipfs/QmUoThG4AiWYwZTWk2KDkKp1q1CQP2319JbG2Du6nWG9oy\"]},\"src/routers/swapExactAmountIn/direct/BalancerV2SwapExactAmountIn.sol\":{\"keccak256\":\"0x32068b65027d40a2ac495557ce1b2c48348690b86706c345f15b9e7bfcab9afd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839a9115a5076f92712a439e015c12891b6e8c13e8b37223b02cdc1c401f63b0\",\"dweb:/ipfs/QmVp3ykYJNW1UfZxJbC5Xr48AJJXQxfaAhh86DtXb7JHi1\"]},\"src/routers/swapExactAmountIn/direct/CurveV1SwapExactAmountIn.sol\":{\"keccak256\":\"0xed409927c05d26d24bcd6bf9c264d245cfd555795eb8a7d2ed93382f647532d9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://22add8f868f211e73ff3d85e159e32a13e5a6d92bba8aa596f0cb56938143862\",\"dweb:/ipfs/QmWm43WXcnCRysWaX3v4HGUc8vn3Kr9KTo5DwRp6TkfJTs\"]},\"src/routers/swapExactAmountIn/direct/CurveV2SwapExactAmountIn.sol\":{\"keccak256\":\"0x286f9a907890a85e18f3dd90f55366ce99f727b7c2fd1d9df93aff7c0307e31f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3368c9a9e4611258e2ab5b35694b58d4a62924b1eb5ff8671cc8dc6477f90b2c\",\"dweb:/ipfs/QmaZMmGMfgc2eqHBGAGGQEpwbFBbJczHeKzWvtZQc8GMWG\"]},\"src/routers/swapExactAmountIn/direct/UniswapV2SwapExactAmountIn.sol\":{\"keccak256\":\"0x87c16cfd464249dc41f5574524fe4240ebf6b0fe68eadf6b7122da0cdc173977\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55632ff937589233800a4356d967df2b3fdd33cfed7ce163d178d613aa51d9d9\",\"dweb:/ipfs/QmZKzoStnjysdrEyb7KGvFpnhn6fL3na33xjQFC6i2Ns84\"]},\"src/routers/swapExactAmountIn/direct/UniswapV3SwapExactAmountIn.sol\":{\"keccak256\":\"0x4c45b30e4987de0fd7de7a53ab9ae7914341b2003e15000fd45cb1f2e9fbd721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8971b30125ec6aa10eb62a684f6da1b2cdb204c1c33c38c19c66c9ea76312890\",\"dweb:/ipfs/QmNfgM6Y7AVEVUuNY9SrKNnEhnHghiGfeCySMvQuZWmmgM\"]},\"src/routers/swapExactAmountOut/GenericSwapExactAmountOut.sol\":{\"keccak256\":\"0x6508241959d8b5a2b6b61ddd90d6785704a605cc44b8be22f791dece1d66be49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ad9ed7fa5dbb92c9515feb9566e6b874ab050d46d2ae4206cf2a4ed67e44d8c\",\"dweb:/ipfs/QmYwSmRMRwz8dH1uJyWd2HTmfpuAaZTZpDuDezQbX4TMhi\"]},\"src/routers/swapExactAmountOut/direct/BalancerV2SwapExactAmountOut.sol\":{\"keccak256\":\"0x897470e2f6ac48d028b1c9ac7e78b173e24a013c20b9abbe5223001ffbb9ec86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://50475af9701f783f80c142241abd796613f4c01c68a0b15523861b31fb521ef2\",\"dweb:/ipfs/QmeVzgbbvkW4zpeYmShymPH4cU8L3UgxU6ubSrpPMM2XnU\"]},\"src/routers/swapExactAmountOut/direct/UniswapV2SwapExactAmountOut.sol\":{\"keccak256\":\"0x65ceaaae0760397ce7b4bf94bc8d9581830eecf1272df91df9f7c4d2d9e759ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8fe15108bbebe275de10a75dabc8fac43cad08dd2e69f984e35dcec3fb392e0d\",\"dweb:/ipfs/QmUtwB94TaJaL8PM5fXtoJ67hsYNrHFesxDmkvuS4LZ1vQ\"]},\"src/routers/swapExactAmountOut/direct/UniswapV3SwapExactAmountOut.sol\":{\"keccak256\":\"0x81da6359b7874158f732bf6d096bec52d7e10cf913b96b9307d0736fe84e82be\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4887d58e19e4b2377df7e82100f5d694045104ddbe1bbab828d7f79f6738d7c1\",\"dweb:/ipfs/QmZ8JpusKmfN34qp3ujmzkM3VfJqZjzqVAoqjG6uThr3vz\"]},\"src/storage/AugustusStorage.sol\":{\"keccak256\":\"0x0a8edc1431c017a3ea0f00532ad846b86f48bfb1b0d94ccd7cc35c8bc414acdc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff60ae6ffc66206ce0b5d6724bce96f49f52adc825dfac5828e6abb87fe8258c\",\"dweb:/ipfs/QmQFHY59FnVvPY5cvq48QGQfSxcrJhXaEZ9JekRou1QCqi\"]},\"src/util/AugustusRFQUtils.sol\":{\"keccak256\":\"0xa8cd8a487ca79310c302252502745d1fe0c98c04278f10346eb8aa4ec164fb8f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://206c0ff0940fdf7050b1e152a67e6b6a2326790db8a1fcdb62e3e3d01b43b89c\",\"dweb:/ipfs/QmUFbGg9pq2CTw7cGfvMfWyDMusVb7yFicx9sFkYb3qQvL\"]},\"src/util/BalancerV2Utils.sol\":{\"keccak256\":\"0x22d2b65dc33fc81cd9c877d897bc19b3f63b40d88dfc32c4db9a161400299897\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b96bbaa2da06335131dadd031886753d8fa4e727a68aa14ccf160ad45fe92b7\",\"dweb:/ipfs/QmWsS3JZiZyYm8kCiQvJbPygijhqW14xzTDKHHrCm9zXy5\"]},\"src/util/GenericUtils.sol\":{\"keccak256\":\"0x353cd5dbda30a55ff156ae49f8c25259cb3378b70ef68329ced7bd792c32db33\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d39fc895923a070b841138ad676d7006d7de1e387e61ea4a1388445c9f40cb8b\",\"dweb:/ipfs/QmTDewZhpHK5kJfHRdKonndQVRi4fg1ZAQCKCaGLDnKXkD\"]},\"src/util/PauseUtils.sol\":{\"keccak256\":\"0xd2347162fe89454db62eeff3c622f3a40f16dd344d38ce719afaa273c2bc5046\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75d6a3801f407217b83b465f85b6c51ccc5cf982d084abe522743aa8719d45e8\",\"dweb:/ipfs/QmREgw9TowNdM87yZ9e8TjPYA5pfAJ4vyjJgwioitKyQoi\"]},\"src/util/Permit2Utils.sol\":{\"keccak256\":\"0x50845d12342adb29da6aa01ea598480d9823030023d6c4754365c25d812f5ba6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3baf6684d841308e58e821dc4e1e522070970da0e2ada301b166c93d0e466270\",\"dweb:/ipfs/QmeAFoMqaTu4bQfAqE1Pp8nxmj63bukXndso1uSNBntWC3\"]},\"src/util/UniswapV2Utils.sol\":{\"keccak256\":\"0xfdaa515d4035581d62ee8154faa0a5632fe3c6a48c304093d535c85c8b781f21\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c06ebc1ab5e3162cb2a93830a3ec90b0d41d321bde996db504a5457eb9b5c378\",\"dweb:/ipfs/QmWpuV3DPuaYYJFuZ9tPdhhFqHb4M6ttLcRZnvwvvkKZAj\"]},\"src/util/UniswapV3Utils.sol\":{\"keccak256\":\"0x8e002bb8089802c10cb2d8c57a68eed0036317fe3b16b7c07fc47ad3270e8186\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4fe18d6eac887bff71dabc17f20ffb19f15e564de4e5ea265c6216132b15a049\",\"dweb:/ipfs/QmU8XJvXFo4za2bcbMnBjkXLmhv1DPZRhZ6NbJGC7WkvKN\"]},\"src/util/WETHUtils.sol\":{\"keccak256\":\"0xfe8ae748c2d01462f3e7e074ce769ad2c7639f4ceb412e1f3428843eb6b8ab95\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81f6a7e734eafea80b1a5c8b209fd990addded4d72b46a172b51d624c4961fc0\",\"dweb:/ipfs/QmYodAHf57uniM5FkS5EPmntQyZzk27fkpnFCasqYpraTK\"]},\"src/vendor/Diamond.sol\":{\"keccak256\":\"0x946cbdeb940ad3b7e1309c2f3b093f5f49b3bb6fd6ad6fa66a300ad0c8a3988d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4d64e0fa26bfabf0047426d243a9c960335f75593ed93068de593d06cd3868b5\",\"dweb:/ipfs/QmTwE9hQydyMJZTsVi4jGzCgET693exKj5N24QB8W2DjxT\"]},\"src/vendor/interfaces/IDiamondCut.sol\":{\"keccak256\":\"0x759bc1eeb6135d0d3bf2b9e0ef5ab29b6a3ea6d6870840125c4825bdb892e7d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b8accf86ede1723898824314a6a9cc6691c521aa98566664736ed33ac7746cfe\",\"dweb:/ipfs/Qmf64Cqj2Lv6EtEPZBqtxwEeJmx5TztquH9CEgY1o3rHyk\"]},\"src/vendor/libraries/LibDiamond.sol\":{\"keccak256\":\"0x01d2f4f42e90ae4bbb7c91d5ebc6f60cc5df6602de9be18c63ca1f7fdde02a33\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eb6da0f04aec9770e95f9250290056fec3de82fc22929ea1d6ec0753b443faaf\",\"dweb:/ipfs/QmUfRxcnYr6z9cebk6RRnsyPYXeVCF3rQSfEM4NVFiKdQ8\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"InvalidCaller()":[{"notice":"Error emitted if the caller is not a Uniswap V3 pool"}],"ContractPaused()":[{"notice":"Error emitted when the contract is paused"}],"InvalidToAmount()":[{"notice":"Emitted when the specified toAmount is less than the minimum amount (2)"}],"IncorrectEthAmount()":[{"notice":"Emitted when the passed msg.value is not equal to the fromAmount"}],"InvalidQuotedAmount()":[{"notice":"Error emmited when the quotedAmount is bigger than the fromAmount"}],"ArbitrageNotSupported()":[{"notice":"Emmited when the srcToken and destToken are the same"}],"CallbackTransferFailed()":[{"notice":"Error emitted if the transfer of tokens to the pool inside the callback failed"}],"InsufficientReturnAmount()":[{"notice":"Emitted when the returned amount is less than the minimum amount"}],"InsufficientBalanceToPayFees()":[{"notice":"Error emmited when the balance is not enough to pay the fees"}]},"notice":"The V6 implementation of the ParaSwap onchain aggregation protocol","methods":{"parsePartnerAndFeeData(uint256)":{"notice":"Parses the `partnerAndFee` parameter to extract the partner address and fee data."},"uniswapV3SwapCallback(int256,int256,bytes)":{"notice":"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap."},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountIn on Balancer V2 pools"},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"notice":"Executes a swapExactAmountOut on Balancer V2 pools"},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountIn using the given executorData on the given executor"},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"notice":"Executes a generic swapExactAmountOut using the given executorData on the given executor"},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V2 pools"},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Uniswap V3 pools"},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V2 pools"},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"notice":"Executes a swapExactAmountOut on Uniswap V3 pools"},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V1 pools"},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"notice":"Executes a swapExactAmountIn on Curve V2 pools"},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"notice":"Executes a tryBatchFillTakerAmount or tryBatchFillMakerAmount call on AugustusRFQ the function that is executed is defined by the direction flag in the data param"}},"version":1},"devdoc":{"kind":"dev","title":"AugustusV6","errors":{"InvalidSelector()":[{"details":"Emitted when the passed selector is invalid"}],"UnauthorizedUser()":[{"details":"Emitted when the msg.sender is not authorized to be the taker"}],"InvalidOrdersLength()":[{"details":"Emitted when the orders length is 0"}]},"methods":{"parsePartnerAndFeeData(uint256)":{"params":{"partnerAndFee":"Packed uint256 containing both partner address and fee data."},"details":"`partnerAndFee` is a uint256 value where data is packed in a specific bit layout.      The bit layout for `partnerAndFee` is as follows:      - The most significant 160 bits (positions 255 to 96) represent the partner address.      - Bits 95 to 92 are reserved for flags indicating various fee processing conditions:          - 95th bit: `IS_TAKE_SURPLUS_MASK` - Partner takes surplus          - 94th bit: `IS_REFERRAL_MASK` - Referral takes surplus          - 93rd bit: `IS_SKIP_BLACKLIST_MASK` - Bypass token blacklist when processing fees          - 92nd bit: `IS_CAP_SURPLUS_MASK` - Cap surplus to 1% of quoted amount      - The least significant 16 bits (positions 15 to 0) encode the fee percentage.","returns":{"feeData":"The extracted fee data containing the fee percentage and flags.","partner":"The extracted partner address as a payable address."}},"uniswapV3SwapCallback(int256,int256,bytes)":{"params":{"data":"Any data passed through by the caller via the IUniswapV3PoolActions#swap call","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.","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."},"details":"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."},"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"data":"The calldata to execute the first 20 bytes are the beneficiary address and the left most bit is the approve flag","permit":"Permit data for the swap","balancerData":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)":{"params":{"data":"The calldata to execute","permit":"Permit data for the swap","balancerData":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"permit":"The permit data","executor":"The address of the executor contract to use","swapData":"Generic data containing the swap information","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)":{"params":{"permit":"The permit data","executor":"The address of the executor contract to use","swapData":"Generic data containing the swap information","executorData":"The data to execute on the executor","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received from the swap"}},"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","uniData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","uniData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","swapData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)":{"params":{"permit":"The permit data","swapData":"struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"spentAmount":"The actual amount of tokens used to swap","partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of tokens received"}},"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"permit":"Permit data for the swap","curveV1Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)":{"params":{"permit":"Permit data for the swap","curveV2Data":"Struct containing data for the swap","partnerAndFee":"packed partner address and fee percentage, the first 12 bytes is the feeData and the last 20 bytes is the partner address"},"returns":{"partnerShare":"The share of the fees for the partner","paraswapShare":"The share of the fees for Paraswap","receivedAmount":"The amount of destToken received after fees"}},"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)":{"params":{"data":"Struct containing common data for AugustusRFQ","orders":"An array containing AugustusRFQ orderInfo data","permit":"Permit data for the swap"},"returns":{"spentAmount":"The amount of tokens spent","receivedAmount":"The amount of tokens received"}}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address_payable":{"label":"address payable","encoding":"inplace","numberOfBytes":"20"},"t_contract(IERC20)77":{"label":"contract IERC20","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_contract(IERC20)77,t_bool)":{"key":"t_contract(IERC20)77","label":"mapping(contract IERC20 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_contract(IERC20)77,t_bool)","astId":7933,"label":"blacklistedTokens","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"1","type":"t_address_payable","astId":7935,"label":"feeWallet","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"2","type":"t_address_payable","astId":7937,"label":"feeWalletDelegate","offset":0,"contract":"src/AugustusV6.sol:AugustusV6"},{"slot":"2","type":"t_bool","astId":7939,"label":"paused","offset":20,"contract":"src/AugustusV6.sol:AugustusV6"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"34620009f057620070e3388190036101a0601f8201601f19168101906001600160401b03821190821017620009b2576101609282916040526101a03912620009f0576200004e6101a062000a34565b6200005b6101c062000a34565b90620000696101e062000a34565b906200007761020062000a34565b610220516102405161026051610280519294919390916200009a6102a062000a34565b96620000a86102c062000a34565b620000b56102e062000a34565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b039586166001600160a01b03198216811790925591949091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a36200012662000a14565b9960018b525f5b60208110620009c657506200014162000a14565b60018152602036818301376307e4c70760e21b6200015f8262000a49565b526200016a620009f4565b6001600160a01b0390921682525f602083015260408201526200018d8b62000a49565b52620001998a62000a49565b50604051986001600160401b0360208b01908111908b1117620009b25794898989898e94602085016040525f85525f995b86518b1015620006c2576020620001e28c8962000a6b565b5101516003811015620006ae57806200038957506001600160a01b036200020a8c8962000a6b565b5151169960406200021c8d8a62000a6b565b510151996200022e8b51151562000ac0565b6200023b8c151562000b21565b6001600160a01b038c165f9081525f80516020620070c383398151915260205260409020546001600160601b0316998a1562000378575b5f9a5b8c518c10156200034e576001600160e01b0319620002948d8f62000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b0316620002e357818f620002d490600194620002da9462000fda565b62000b83565b9b019a62000275565b60405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608490fd5b5094995094995094995094996001909b91969b5b0199949a95909a989398979297969196620001ca565b620003838d62000eff565b62000272565b6001819b939597999b9a929496989a145f146200053b5750918a97959391620003d39c9a99979593604060018060a01b03620003c68c8c62000a6b565b5151169e8f9b8b62000a6b565b5101519a620003e58c51151562000ac0565b620003f28b151562000b21565b6001600160a01b038b165f9081525f80516020620070c383398151915260205260409020546001600160601b03169a8b1562000529575b505f9a5b8c518c101562000511578f908d6200044e8e63ffffffff60e01b9262000a6b565b51165f8181525f805160206200708383398151915260205260409020546001600160a01b03169190838314620004a657600193828262000497620002d4946200049d9762000bf7565b62000fda565b9b019a6200042d565b60405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608490fd5b50949950949950949991969b50949960019062000362565b620005349062000eff565b8e62000429565b60020362000659576001600160a01b03620005578c8b62000a6b565b515116996040620005698d8c62000a6b565b5101519a6200057b8c51151562000ac0565b620005ee575f5b8b51811015620005d85780620005d18d620005a860019463ffffffff60e01b9262000a6b565b5116805f525f8051602062007083833981519152602052838060a01b0360405f20541662000bf7565b0162000582565b509295989b9194979a60019194979a5062000362565b60405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608490fd5b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608490fd5b634e487b7160e01b5f52602160045260245ffd5b8989898e898b60405191606083016060845282518091526080840190602060808260051b8701019401915f905b828210620009185750505050916200073881927f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673945f6020850152838203604085015262000a80565b0390a16001600160a01b0390811660805290811660a0521660c05260e05261010052610140526101205261018091825261016052604051615ff2918262001091833960805182818161063701528181612eb30152818161302c015281816131100152818161332e01526133c0015260a051828181610f1701528181615bef0152615e76015260c05182818161038d015281816104ec01528181610d2701528181610e1401528181611046015281816110ef01528181611215015281816114ac01528181611a8301528181611b8a01528181611e0301528181611ed5015281816125fb0152818161274a015281816128e301528181612f2d01528181613188015281816132540152818161344301528181613a9b01526155e3015260e05182818161093c015281816121c40152818161376801526158b8015261010051828181611572015281816117180152818161185d01526152d101526101205182818161150501528181614ece01528181615786015261581c0152610140518281816108cf01528181614ead0152818161574d01526157e901526101605182818161143f015281816120bc01528181613f8c01528181614ab70152614b3c01525181818161083e0152818161207f01528181613f5401528181614a780152614b040152f35b868603607f19018152835180516001600160a01b031687526020810151949693949293919260608301916003821015620006ae57604060809160209384870152015193606060408201528451809452019201905f905b8082106200098e57505050602080600192970192019201909291620006ef565b82516001600160e01b0319168452602093840193909201916001909101906200096e565b634e487b7160e01b5f52604160045260245ffd5b808c60208093620009d6620009f4565b925f84525f8385015260606040850152010152016200012d565b5f80fd5b60405190606082016001600160401b03811183821017620009b257604052565b60408051919082016001600160401b03811183821017620009b257604052565b51906001600160a01b0382168203620009f057565b80511562000a575760200190565b634e487b7160e01b5f52603260045260245ffd5b805182101562000a575760209160051b010190565b91908251928382525f5b84811062000aab575050825f602080949584010152601f8019910116010190565b60208183018101518483018201520162000a8a565b1562000ac857565b60405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608490fd5b1562000b2957565b60405162461bcd60e51b815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201526b65206164647265737328302960a01b6064820152608490fd5b6001600160601b0390811690811462000b9c5760010190565b634e487b7160e01b5f52601160045260245ffd5b919091805483101562000a57575f52601c60205f208360031c019260021b1690565b5f80516020620070a3833981519152805482101562000a57575f5260205f2001905f90565b6001600160a01b0390811691821562000e945730831462000e385763ffffffff60e01b809116805f525f805160206200708383398151915293602090858252604093845f205460a01c96825f525f80516020620070c383398151915294858552865f2054925f19998a850194851162000b9c57889187898888850362000da6575b9450505050505f52858552865f208054801562000d3c578a019062000c9e828262000bb0565b63ffffffff82549160031b1b19169055555f5283525f858120551562000cc7575b505050505050565b5f80516020620070a383398151915294855487810190811162000b9c57825f52848452816001875f2001549180830362000d50575b505050855495861562000d3c575f97600197019162000d1b8362000bd2565b909182549160031b1b1916905555855252822001555f808080808062000cbf565b634e487b7160e01b5f52603160045260245ffd5b62000d5b9062000bd2565b90549060031b1c1662000d918162000d738462000bd2565b90919060018060a01b038084549260031b9316831b921b1916179055565b5f528484526001865f2001555f818162000cfc565b62000de18562000e2c9762000dfe94845f5280875262000dc98d835f2062000bb0565b90549060031b1c60e01b9687955f52525f2062000bb0565b90919063ffffffff83549160031b9260e01c831b921b1916179055565b165f90815284885289902080546001600160a01b031660a09290921b6001600160a01b031916919091179055565b865f8087898862000c78565b60405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608490fd5b60405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608490fd5b62000f09620009f4565b602481527f4c69624469616d6f6e644375743a204e657720666163657420686173206e6f20602082015263636f646560e01b6040820152813b1562000fb057505f80516020620070a383398151915280546001600160a01b0383165f9081525f80516020620070c383398151915260205260409020600101819055919068010000000000000000831015620009b2578262000d7391600162000fae9501905562000bd2565b565b60405162461bcd60e51b81526020600482015290819062000fd690602483019062000a80565b0390fd5b6001600160e01b031981165f8181525f80516020620070838339815191526020819052604090912080546001600160a01b031660a09590951b6001600160a01b0319169490941790935590926001600160a01b03165f8181525f80516020620070c383398151915260205260409020805491949068010000000000000000831015620009b2578262000de1916001620010769501815562000bb0565b5f5260205260405f209060018060a01b031982541617905556fe6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f0000000000000000000000000000000000000000000000000000000000000000166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000000000000000000000000000000000000000000016613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f00000000000000000000000000000000000000000000000000000000000000001694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000000000000000000000000000000000000000000087169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000000000000000000000000000000000000000000016936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000000000000000000000000000000000000000000016809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f0000000000000000000000000000000000000000000000000000000000000000169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f00000000000000000000000000000000000000000000000000000000000000001685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f00000000000000000000000000000000000000000000000000000000000000001690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000000000000000000000000000000000000000000016611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000000000000000000000000000000000000000000016613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000000000000000000000000000000000000000000016611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f00000000000000000000000000000000000000000000000000000000000000008816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517f00000000000000000000000000000000000000000000000000000000000000008152610200841460158201605f6041880160168501376060812090527f000000000000000000000000000000000000000000000000000000000000000060358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f00000000000000000000000000000000000000000000000000000000000000001691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f00000000000000000000000000000000000000000000000000000000000000001692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000000000000000000000000000000000000000000016803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000000000000000000000000000000000000000000016906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f00000000000000000000000000000000000000000000000000000000000000001693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f00000000000000000000000000000000000000000000000000000000000000001685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f00000000000000000000000000000000000000000000000000000000000000001690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f00000000000000000000000000000000000000000000000000000000000000005af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947f0000000000000000000000000000000000000000000000000000000000000000865260158601605f6001860160168901376060812090527f0000000000000000000000000000000000000000000000000000000000000000603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f6001840160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000091604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f00000000000000000000000000000000000000000000000000000000000000005af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507f00000000000000000000000000000000000000000000000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f000000000000000000000000000000000000000000000000000000000000000060358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517f000000000000000000000000000000000000000000000000000000000000000081529850601589016028808a8337812090527f000000000000000000000000000000000000000000000000000000000000000060358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000000000000000000000000000000000000000001694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000000000000000000000000000000000000000001680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000ac8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d","sourceMap":"1085:1767:2:-:0;;;;;;;;;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;:::i;:::-;2310:16:46;1085:1767:2;;-1:-1:-1;;;;;1085:1767:2;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;2310:16:46;;1085:1767:2;;;2379:46:46;-1:-1:-1;;2379:46:46;1085:1767:2;;:::i;:::-;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;982:54:44;;;:::i;:::-;1085:1767:2;;;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;1055:178:44;;1085:1767:2;;1055:178:44;;1085:1767:2;1046:187:44;;;:::i;:::-;;;;;:::i;:::-;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;-1:-1:-1;3001:806:46;3059:12;1085:1767:2;;3026:31:46;;;;;1085:1767:2;3123:23:46;;;;:::i;:::-;;:30;1085:1767:2;;;;;;;3171:40:46;;;-1:-1:-1;;;;;;3244:23:46;;;;:::i;:::-;;1085:1767:2;;3282:23:46;1085:1767:2;3282:23:46;;;;:::i;:::-;;:41;;1085:1767:2;4023:85:46;1085:1767:2;;4031:29:46;;4023:85;:::i;:::-;4172:84;4180:27;;;4172:84;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;4433:21:46;;4429:79;;3167:630;-1:-1:-1;4517:469:46;4588:15;1085:1767:2;;4545:41:46;;;;;-1:-1:-1;;;;;;4637:33:46;1085:1767:2;;4637:33:46;:::i;:::-;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;;4929:13:46;;;;1085:1767:2;4929:13:46;4957:18;4929:13;;:::i;:::-;4957:18;:::i;:::-;4588:15;1085:1767:2;4522:21:46;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;4545:41:46;;;;;;;;;;;;;1085:1767:2;4545:41:46;;;;;3167:630;1085:1767:2;3006:18:46;;;;;;;;;;;;;;;;;4429:79;4483:13;;;:::i;:::-;4429:79;;3167:630;1085:1767:2;3349:44:46;;;;;;;;;;;;;;3345:452;1085:1767:2;;;;;;;;;;3468:23:46;1085:1767:2;;;;;;;;;;;;3430:23:46;;;;:::i;:::-;;1085:1767:2;;3468:23:46;;;;;:::i;:::-;;:41;;1085:1767:2;5102:85:46;1085:1767:2;;5110:29:46;;5102:85;:::i;:::-;5251:84;5259:27;;;5251:84;:::i;:::-;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;5512:21:46;;5508:79;;3345:452;5601:21;-1:-1:-1;5596:534:46;5667:15;1085:1767:2;;5624:41:46;;;;;1085:1767:2;;;5716:33:46;1085:1767:2;;;;5716:33:46;;:::i;:::-;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;1085:1767:2;;;5863:32:46;;;1085:1767:2;;;6006:8:46;;;;6073:13;6006:8;6101:18;6006:8;;:::i;:::-;6073:13;:::i;6101:18::-;5667:15;1085:1767:2;5601:21:46;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;5624:41:46;;;;;;;;;;;;;;;;1085:1767:2;5624:41:46;3167:630;;5508:79;5562:13;;;:::i;:::-;5508:79;;;3345:452;3545:33;3535:43;3545:33;;-1:-1:-1;;;;;3614:23:46;;;;:::i;:::-;;1085:1767:2;;3652:23:46;1085:1767:2;3652:23:46;;;;:::i;:::-;;:41;;1085:1767:2;6245:85:46;1085:1767:2;;6253:29:46;;6245:85;:::i;:::-;1085:1767:2;;-1:-1:-1;6634:15:46;1085:1767:2;;6591:41:46;;;;;1085:1767:2;6858:8:46;1085:1767:2;6683:33:46;1085:1767:2;;;;;6683:33:46;;:::i;:::-;1085:1767:2;;;-1:-1:-1;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;-1:-1:-1;1085:1767:2;;;6858:8:46;:::i;:::-;1085:1767:2;6568:21:46;;6591:41;;;;;;;;;;1085:1767:2;6591:41:46;;;;;3167:630;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;2310:16:46;1085:1767:2;;;;;;;;;;;;;;;;;;;;;3531:266:46;1085:1767:2;;-1:-1:-1;;;3733:49:46;;1085:1767:2;2310:16:46;3733:49;;1085:1767:2;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;3733:49:46;1085:1767:2;;;;-1:-1:-1;1085:1767:2;;2310:16:46;1085:1767:2;;-1:-1:-1;1085:1767:2;3026:31:46;;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;3821:41:46;1085:1767:2;-1:-1:-1;1085:1767:2;;;;;;;;;;;;:::i;:::-;3821:41:46;;;-1:-1:-1;;;;;1085:1767:2;;;;1516:41:36;1085:1767:2;;;;2308:40:4;1085:1767:2;;697:19:43;1085:1767:2;903:18:40;1085:1767:2;1311:31:37;1085:1767:2;1219:50:41;1085:1767:2;1279:59:41;2325:50:42;;;;1085:1767:2;2385:59:42;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1085:1767:2;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;:::i;:::-;;-1:-1:-1;1085:1767:2;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;1085:1767:2;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;1085:1767:2;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;-1:-1:-1;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;1085:1767:2;:::o;7657:2182:46:-;-1:-1:-1;;;;;1085:1767:2;;;;7776:27:46;;1085:1767:2;;7983:4:46;7958:30;;1085:1767:2;;;;;;;;;7801:1:46;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;7801:1:46;1085:1767:2;;;;;;7801:1:46;1085:1767:2;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;7801:1:46;1085:1767:2;;;;;;;;;;;;;;8407:40:46;;;;;;;;8403:387;;7657:2182;1085:1767:2;;;;;;7801:1:46;1085:1767:2;;;;;7801:1:46;1085:1767:2;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7801:1:46;1085:1767:2;;;7801:1:46;1085:1767:2;;;;9051:25:46;9047:786;;7657:2182;;;;;;;:::o;9047:786::-;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;;;7801:1:46;1085:1767:2;;;;;8256:25:46;1085:1767:2;7801:1:46;1085:1767:2;9291:61:46;1085:1767:2;9370:48:46;;;;9366:338;;9047:786;1085:1767:2;;;;;;;;;;7801:1:46;1085:1767:2;8256:25:46;1085:1767:2;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9761:61:46;1085:1767:2;9047:786:46;;;;;;;;1085:1767:2;;;;7801:1:46;1085:1767:2;;;;;7801:1:46;1085:1767:2;9366:338:46;9465:43;;;:::i;:::-;1085:1767:2;;;;;;;9526:58:46;:39;;;;:::i;:::-;:58;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;9526:58:46;7801:1;1085:1767:2;;;;8256:25:46;1085:1767:2;7801:1:46;1085:1767:2;9602:64:46;1085:1767:2;9366:338:46;;;;;8403:387;8579:76;1085:1767:2;8684:95:46;1085:1767:2;8579:91:46;1085:1767:2;;7801:1:46;1085:1767:2;;;;8485:80:46;1085:1767:2;;7801:1:46;1085:1767:2;8485:80:46;:::i;:::-;1085:1767:2;;;;;;;;;;;7801:1:46;1085:1767:2;;7801:1:46;1085:1767:2;8579:76:46;:::i;:::-;:91;1085:1767:2;;;;;;;;;;;;;;;;;;;;;8579:91:46;1085:1767:2;7801:1:46;1085:1767:2;;;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;8684:95:46;8403:387;;;;;;;;1085:1767:2;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;6890:316:46;1085:1767:2;;:::i;:::-;;;;;;;;;-1:-1:-1;;;1085:1767:2;;;;10719:71:46;;10807:16;1085:1767:2;;-1:-1:-1;;;;;;;;;;;;1085:1767:2;;-1:-1:-1;;;;;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;7064:61:46;1085:1767:2;;;;;;;;;;;;;;7064:25:46;1085:1767:2;;;;;;:::i;:::-;6890:316:46:o;1085:1767:2:-;;;-1:-1:-1;;;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;;;7212:439:46;-1:-1:-1;;;;;;1085:1767:2;;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;-1:-1:-1;;;;;1085:1767:2;;;;;;-1:-1:-1;;;;;;1085:1767:2;;;;;;;;7212:439:46;;-1:-1:-1;;;;;1085:1767:2;-1:-1:-1;1085:1767:2;;;-1:-1:-1;;;;;;;;;;;1085:1767:2;;;;;;;;;;;;;;;;;;;7491:25:46;1085:1767:2;;;;;;:::i;:::-;-1:-1:-1;1085:1767:2;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;7212:439:46:o","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436101561001d575b366135435761001b61353a565b005b5f3560e01c80631a01c5321461023757806342f3b24114610232578063523819fb1461022d57806355c0bff0146102285780635c8b5f44146102235780635c975abb1461021e5780635e94e28d1461021957806366c31b841461021457806367d817401461020f5780636a6f511a1461020a5780636afdd850146102055780637f45767514610200578063838bf44d146101fb578063876a02f6146101f65780638940192a146101f157806390a0c0ea146101ce5780639facd044146101ec578063a76f4eb6146101e7578063aad8a491146101e2578063ad5c4648146101dd578063b613cc8a146101d8578063bc163846146101d3578063c8e416dd146101ce578063d6ed22e6146101c9578063d85ca173146101c4578063da35bb0d146101bf578063e37ed256146101ba578063e3ead59e146101b5578063e65dc2f2146101b0578063e8bb3b6c146101ab578063ed386afa146101a6578063f25f4b56146101a1578063fa461e331461019c5763fe12941f0361000e5761236c565b612015565b611fc4565b611f8b565b611d3d565b611cec565b611be5565b611958565b6118b2565b611787565b61163a565b610f3b565b611528565b6114d0565b611462565b61140a565b610faf565b610f75565b610ecd565b610c20565b610be6565b610a15565b6108f2565b61089a565b610861565b610809565b610796565b6106e4565b610679565b6105ed565b6105b4565b61057a565b61026e565b9181601f8401121561026a5782359167ffffffffffffffff831161026a576020838186019501011161026a57565b5f80fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601610160811261026a576101201361026a576101443567ffffffffffffffff811161026a576102c46004913690830161023c565b9060ff60025460a01c16610547576102da6123be565b926102e36123cd565b906084359360a435946102f46123fb565b94833590871561051e5773ffffffffffffffffffffffffffffffffffffffff9889881615610516575b916002949391610385938b8316809260018560a01c169060038660a11c169861034688866135f5565b6104db57876101018210156104c95750806104b8575b505061036a8630338661386a565b505b6104a8575b50505b8460036024359360a31c169161390c565b0361049857847f0000000000000000000000000000000000000000000000000000000000000000166103bf6103ba3083613acb565b612442565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af180156104935761047a575b5047935b84106104525761044e61043160c435866101243586888b16613bb9565b604080519384526020840192909252908201529081906060820190565b0390f35b6040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761048d926124ae565b80610570565b5f610410565b6124e3565b6104a23083613acb565b93610414565b6104b191613660565b5f81610371565b6104c291856137b8565b5f8061035c565b90916104d692309161371f565b61036c565b50509150501561037457610511818c7f000000000000000000000000000000000000000000000000000000000000000016613660565b610374565b33975061031d565b846040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b826040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b5f91031261026a57565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516121348152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160648152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361026a57565b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5773ffffffffffffffffffffffffffffffffffffffff6004356106c98161065b565b165f525f602052602060ff60405f2054166040519015158152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060ff60025460a01c166040519015158152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160608383011261026a5760043567ffffffffffffffff9384821161026a5761010090828503011261026a57600401926024359260443591821161026a576107929160040161023c565b9091565b61079f36610727565b9060ff60029493945460a01c166107df5761044e936107bd9361256b565b6040805194855260208501939093529183015260608201529081906080820190565b60046040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405160c88152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b359061096b8261065b565b565b906101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261026a576004356109a58161065b565b9160e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc82011261026a57602491610104359167ffffffffffffffff916101243583811161026a57826109fa9160040161023c565b939093926101443591821161026a576107929160040161023c565b610a1e3661096d565b909192959360ff60025460a01c166107df57610a3c602087016123f1565b610a45876123f1565b604088013593606089013595610a5d60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c86168d861614610bbc578c8b1615610bb4575b8815610b8a57610a983086613acb565b99610aa389876135f5565b610b6f579282610ada9592858b80966101018f99105f14610b5f57505080610b4e575b5050610ad48482338a61386a565b50614865565b610b02610ae73084613acb565b96610af23084613acb565b906001811115610b465790612474565b948610610b1c5761044e9860806107bd99013597166144dd565b60046040517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b505f90612474565b610b5891896137b8565b5f80610ac6565b9091610b6a9361371f565b614865565b505097610ada928892610b8489933490612474565b9a614865565b60046040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b339a50610a88565b60046040517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516127108152f35b610c2936610727565b60ff60025460a01c166107df57610c3f846123f1565b92610c4c602086016123f1565b60409485870135606088013594610c6560c08a016123f1565b96610c7360e08b018b6124ee565b8895919515610ea45773ffffffffffffffffffffffffffffffffffffffff95868b1615610e9c575b3392610ca787826135f5565b610e1157610cc896610cc3916101018810610df1575b50613ef9565b61489b565b938410610dc85773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81831614610d20575b90610d0494939291608061044e9801359416614b83565b9251918252602082015260408101919091529081906060820190565b93929190847f00000000000000000000000000000000000000000000000000000000000000001694853b1561026a575f875180977f2e1a7d4d000000000000000000000000000000000000000000000000000000008252818381610d8c8a600483019190602083019252565b03925af180156104935761044e98610d0497608092610db5575b50985050909192939450610ced565b80610487610dc2926124ae565b5f610da6565b600486517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b878781610e00575b5050610cbd565b610e09926137b8565b5f8787610df9565b507f000000000000000000000000000000000000000000000000000000000000000087169250823b1561026a575f869360048e51809981937fd0e30db00000000000000000000000000000000000000000000000000000000083525af195861561049357610cc896610e89575b50610cc33093613ef9565b80610487610e96926124ae565b5f610e7e565b339a50610c9b565b60048b517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516113888152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040516109c48152f35b610fb836610727565b9260ff60025460a01c166107df57610fcf816123f1565b93610fdc602083016123f1565b936040948584013592606085013597610ff760c087016123f1565b9861100560e08801886124ee565b9190938115610ea45773ffffffffffffffffffffffffffffffffffffffff93848d1615611402575b61103789826135f5565b1580159b906113aa57505050827f000000000000000000000000000000000000000000000000000000000000000016936110713086613acb565b94803b1561026a578b517fd0e30db00000000000000000000000000000000000000000000000000000000081525f816004818d865af1801561049357611397575b50905b848716938583169185831461136e57906110d0918486614ea7565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee93840361135d57847f000000000000000000000000000000000000000000000000000000000000000016809114611334576111203082613acb565b90838211611324575b803b1561026a578c517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611311575b5047995b6111833083613acb565b928b106112e857156112bc57506111a6904794600181115f14610b465790612474565b60018111611206575b50916111e29795939160806111d761044e9c999795934790600181115f14610b465790612474565b965b013597166144dd565b93519283526020830191909152604082015260608101919091529081906080820190565b99969492909795939161123b817f0000000000000000000000000000000000000000000000000000000000000000169b612442565b9a803b1561026a578a517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481019c909c525f908c90602490829084905af19a8b15610493576111d76111e29a60809261044e9e6112a9575b50939597999c505050919395976111af565b806104876112b6926124ae565b5f611297565b91509160806112e26111e29a98969461044e9d9a9896600181115f14610b465790612474565b966111d9565b60048c517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b8061048761131e926124ae565b5f611175565b9061132e90612a14565b90611129565b60048c517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b506113683087613acb565b99611179565b60048e517f0d56c171000000000000000000000000000000000000000000000000000000008152fd5b806104876113a4926124ae565b5f6110b2565b6113b8969192963084613acb565b968a6101018210156113f05750806113df575b50506113d98930338561386a565b506110b5565b6113e991846137b8565b5f806113cb565b90916113fd92309161371f565b6110b5565b339c5061102d565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60a091011261026a57600490565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8101610100811261026a5760a01361026a5760049160a4359167ffffffffffffffff9160c43583811161026a57826116209160040161023c565b9390939260e43591821161026a576107929160040161023c565b611643366115c5565b949360ff60025460a01c166107df5784359060208601359261166981608089013561518d565b819b9294919973ffffffffffffffffffffffffffffffffffffffff9c8d80881690871614610bbc578915610b8a578d161561177f575b6116a93086613acb565b996116b489876135f5565b611766576116eb949392919089610101821015611754575080611743575b50506116e08830338861386a565b505b611712576152c2565b6116f8610ae73084613acb565b948610610b1c5761044e9860406107bd99013597166144dd565b61173e8c7f00000000000000000000000000000000000000000000000000000000000000001685613660565b6152c2565b61174d91876137b8565b5f806116d2565b909161176192309161371f565b6116e2565b50505096906117796116eb923490612474565b976152c2565b339a5061169f565b611790366115c5565b90949360ff60025460a01c166107df578435926020860135926117b788608089013561518d565b909a9291948b988815610b8a5773ffffffffffffffffffffffffffffffffffffffff809d16156118aa575b611804969798999a6117f482866135f5565b15611828575b50505050506152c2565b61180e3082613acb565b928310610b1c5761044e9560406104319601359416613bb9565b61010183101561189a578261184693611889575b505030338561386a565b505b611856575b808080806117fa565b611883908a7f00000000000000000000000000000000000000000000000000000000000000001690613660565b5f61184d565b61189391866137b8565b5f8061183c565b6118a592309161371f565b611848565b3399506117e2565b60e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576118e536611596565b67ffffffffffffffff60a43581811161026a573660238201121561026a57806004013582811161026a573660248260051b8401011161026a5760c43592831161026a576119469361193c602494369060040161023c565b9490930190612a3f565b60408051928352602083019190915290f35b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36016101a0811261026a576101601361026a576101843567ffffffffffffffff811161026a576119ae6004913690830161023c565b60ff60025460a01c16610547576119c36123d9565b926119cc6123e5565b9060c4359260e435946119dd612408565b946119e66123cd565b9184358815611bbc5773ffffffffffffffffffffffffffffffffffffffff998a891615611bb4575b918160029695938c611a7b969416809360018460a01c169060038560a11c1699611a3888866135f5565b611b795787610101821015611b67575080611b56575b5050611a5c8630338661386a565b505b611b46575b50505b604435918660036024359360a31c1691615431565b03611b3657847f000000000000000000000000000000000000000000000000000000000000000016611ab06103ba3083613acb565b90803b1561026a576040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152838101928352915f91839182908490829060200103925af1801561049357611b23575b5047935b84106104525761044e61043161010435866101643586888b16613bb9565b80610487611b30926124ae565b5f611b01565b611b403083613acb565b93611b05565b611b4f91613660565b5f82611a63565b611b6091856137b8565b5f80611a4e565b9091611b7492309161371f565b611a5e565b505091505015611a6657611baf828d7f000000000000000000000000000000000000000000000000000000000000000016613660565b611a66565b339850611a0e565b856040517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b611bee3661096d565b959260ff60029593955460a01c166107df57611c0c602087016123f1565b91611c16876123f1565b97604088013591606089013596611c2f60c08b016123f1565b9873ffffffffffffffffffffffffffffffffffffffff9b8c8b1615611ce4575b8915610b8a578281611c7698611c668980956135f5565b15611c9a575b5050505050615616565b611c803082613acb565b928310610b1c5761044e9560806104319601359416613bb9565b610101851015611cd45784611cb795611cc3575b5050339061386a565b505b5f84828280611c6c565b611ccd91836137b8565b5f80611cae565b611cdf94915061371f565b611cb9565b339a50611c4f565b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60025416604051908152f35b611d4636610727565b9160ff60025460a01c166107df57611d5d846123f1565b93611d6a602082016123f1565b906040948582013590606083013595611d8560c085016123f1565b98611d9360e08601866124ee565b9033928a15611f625773ffffffffffffffffffffffffffffffffffffffff9796959493929190888e1615611f5a575b611dcc87826135f5565b611ed257611de3966101018710611ec1575b61563c565b82821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee03611eb157817f000000000000000000000000000000000000000000000000000000000000000016611e306103ba3083613acb565b90803b1561026a5787517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092525f908290602490829084905af1801561049357611e9e575b5047945b8510610dc8579161044e9693916080610d04969401359416613bb9565b80610487611eab926124ae565b5f611e7d565b611ebb3084613acb565b94611e81565b8615611dde57611dde8787846137b8565b507f00000000000000000000000000000000000000000000000000000000000000008816959250853b1561026a578b51957fd0e30db00000000000000000000000000000000000000000000000000000000087525f8760048187855af196871561049357611de397611f47575b50309361563c565b80610487611f54926124ae565b5f611f3f565b339d50611dc2565b60048c517f8570bedf000000000000000000000000000000000000000000000000000000008152fd5b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576020604051600b8152f35b3461026a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b3461026a5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a576004602435813560443567ffffffffffffffff811161026a5761206a903690850161023c565b91909260ff60025460a01c16612343576040517f00000000000000000000000000000000000000000000000000000000000000008152610200841460158201605f6041880160168501376060812090527f000000000000000000000000000000000000000000000000000000000000000060358301526055822080925273ffffffffffffffffffffffffffffffffffffffff809216331861231c5760a0851180612314575b15612148575061001b9550505f821315612138575061212d9061253f565b915b60a43592613f31565b612142915061253f565b9161212f565b935093905f915f93604051965f8213612302575b50505f82136122f2575b505060a435923084146001146122a8571561221257507f30f28b7a0000000000000000000000000000000000000000000000000000000083525f928392610164926101606101248885013733608484015260a483015260c4820152827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec57005b7f6b836e6b000000000000000000000000000000000000000000000000000000005f525ffd5b92805f926020947f23b872dd000000000000000000000000000000000000000000000000000000006064945287830152336024830152604482015282855af19081612286575b501561226057005b7f1bbb4abe000000000000000000000000000000000000000000000000000000005f525ffd5b90503d156122a0575060015f5114601f3d11165b5f612258565b3b151561229a565b509260209250805f927fa9059cbb00000000000000000000000000000000000000000000000000000000604493523387830152602482015282855af1908161228657501561226057005b9092506060915001355f80612166565b90945060408201351692505f8061215c565b50801561210f565b867f48f5c3ed000000000000000000000000000000000000000000000000000000005f525ffd5b846040517fab35696f000000000000000000000000000000000000000000000000000000008152fd5b3461026a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026a5760406004356bffffffffffffffffffffffff8251918060601c8352166020820152f35b6044356123ca8161065b565b90565b6064356123ca8161065b565b6084356123ca8161065b565b60a4356123ca8161065b565b356123ca8161065b565b610104356123ca8161065b565b610144356123ca8161065b565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820191821161246f57565b612415565b9190820391821161246f57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b67ffffffffffffffff81116124c257604052565b612481565b6060810190811067ffffffffffffffff8211176124c257604052565b6040513d5f823e3d90fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561026a570180359067ffffffffffffffff821161026a5760200191813603831361026a57565b7f8000000000000000000000000000000000000000000000000000000000000000811461246f575f0390565b91612575836123f1565b91612582602085016123f1565b9061258f60c086016123f1565b9161259d60e08701876124ee565b97606088013515610b8a5773ffffffffffffffffffffffffffffffffffffffff851615612a0c575b336125d460408a0135896135f5565b1515975f97895f146129a0575050505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016946126263087613acb565b98863b1561026a5760405f8a60048351809481937fd0e30db000000000000000000000000000000000000000000000000000000000835201358c5af180156104935761298d575b503096925b73ffffffffffffffffffffffffffffffffffffffff851673ffffffffffffffffffffffffffffffffffffffff851614610bbc5787826126c5926126c06126bb60608f0135613ef9565b61253f565b613f31565b8099919360608c01358210610b1c5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee998a73ffffffffffffffffffffffffffffffffffffffff8916146128cc575b73ffffffffffffffffffffffffffffffffffffffff1630036128755750501561284257505050479361277573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001698610af2308b613acb565b94600186116127b4575b506127ac97505b73ffffffffffffffffffffffffffffffffffffffff6040608089013598013594166144dd565b929391929091565b90946127bf90612442565b97803b1561026a576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101999099525f908990602490829084905af1908115610493576127ac986128289261282f575b5047906001811115610b465790612474565b935f61277f565b8061048761283c926124ae565b5f612816565b6127ac9992965060601015612866575061286090610af23087613acb565b93612786565b61286091506040880135612474565b9399509750506127ac99506060106128af575b5073ffffffffffffffffffffffffffffffffffffffff604060808901359801359416614144565b6128c59196506128bf3388613acb565b90612474565b945f612888565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168073ffffffffffffffffffffffffffffffffffffffff891614610bbc57803b1561026a575f60405180927f2e1a7d4d0000000000000000000000000000000000000000000000000000000082528183816129658a600483019190602083019252565b03925af180156104935761297a575b50612708565b80610487612987926124ae565b5f612974565b8061048761299a926124ae565b5f61266d565b6129b29b9298939b9491943086613acb565b9b6101018110156129f157806129e0575b505060608211156126725791506129da3384613acb565b91612672565b6129ea91866137b8565b5f806129c3565b90612a0592995060408c013591309161371f565b3096612672565b3394506125c5565b801561246f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b9392919060ff60025460a01c166107df5761079294612db2565b3560ff8116810361026a5790565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9015612acd578035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b612a67565b9190811015612acd5760051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818136030182121561026a570190565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561026a57016020813591019167ffffffffffffffff821161026a57813603831361026a57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe093818652868601375f8582860101520116010190565b929493919060609180606086016060875252608090608086019260808260051b8801019481945f925b848410612bfc575050505050505060409173ffffffffffffffffffffffffffffffffffffffff9195602085015216910152565b909192939495967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a820301835287357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe818336030181121561026a5782016101808135835260209182810135906fffffffffffffffffffffffffffffffff821680920361026a5784612d82612d5b8695612d188f612cf18e612da1998b60019e0152612cca6040612cae818c01610960565b73ffffffffffffffffffffffffffffffffffffffff16908a0152565b612cd5818a01610960565b73ffffffffffffffffffffffffffffffffffffffff1690880152565b612cfc818801610960565b73ffffffffffffffffffffffffffffffffffffffff1690860152565b612d2860a0612cfc818801610960565b60c0808601359085015260e080860135908501526101009080612d4d83880188612b12565b929093870152850191612b62565b6101208085013590840152610140612d7581860186612b12565b9185840390860152612b62565b91612d936101609182810190612b12565b929091818503910152612b62565b990193019401929195949390612bc9565b9493929192612dc3608087016123f1565b91863594602088013594612dda6040809a01612a59565b9060019473ffffffffffffffffffffffffffffffffffffffff9586881615613532575b8815611f62578415613509575f5b8581106134ed575050612e45612e2c6060612e268789612a94565b016123f1565b73ffffffffffffffffffffffffffffffffffffffff1690565b90612e57612e2c8d612e26888a612a94565b936003811693600185149283613437573461340e5760019291908d6101018210156133fc5750806133eb575b5050612e918c30338761386a565b505b818160021c166133ba575b60031c166130fb5750506002036130165750827f00000000000000000000000000000000000000000000000000000000000000001691823b1561026a57612f1a92875f80948c51968795869485937f1c64b820000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613003575b50807f00000000000000000000000000000000000000000000000000000000000000001692612f583085613acb565b908110612fda57612f6890612a14565b95833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101879052925f908490602490829084905af191821561049357612fc2938793612fc7575b5016615350565b509190565b80610487612fd4926124ae565b5f612fbb565b600487517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b80610487613010926124ae565b5f612f29565b9190838599969916916130298385613acb565b947f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838a936130908b519a8b96879586947f1c64b82000000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af1918215610493576130b3946130ae936130e8575b50613acb565b612474565b9384106130bf57509190565b600490517fcea9e31d000000000000000000000000000000000000000000000000000000008152fd5b806104876130f5926124ae565b5f6130a8565b9793925099979593906002145f1461332757847f000000000000000000000000000000000000000000000000000000000000000016803b1561026a57613175935f80948b51968795869485937f01fb36ba000000000000000000000000000000000000000000000000000000008552309260048601612ba0565b03925af1801561049357613314575b50817f000000000000000000000000000000000000000000000000000000000000000016906131bb6131b63084613acb565b612a14565b91803b1561026a575f875180927f2e1a7d4d00000000000000000000000000000000000000000000000000000000825281838161320089600483019190602083019252565b03925af180156104935761321d9284928692612fc7575016615350565b50955b61322a3082613acb565b9360018511613245575b5050506132419250612474565b9190565b939493156132f3575061327a907f00000000000000000000000000000000000000000000000000000000000000001693612a14565b91833b1561026a57517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101839052925f908490602490829084905af192831561049357613241936132e0575b506132d68233615350565b505b5f8080613234565b806104876132ed926124ae565b5f6132cb565b92505061330e61330561324194612a14565b8093339061538b565b506132d8565b80610487613321926124ae565b5f613184565b84999392997f000000000000000000000000000000000000000000000000000000000000000016803b1561026a575f92838c936133928c51978896879586947f01fb36ba00000000000000000000000000000000000000000000000000000000865260048601612ba0565b03925af18015610493576133a7575b50613220565b806104876133b4926124ae565b5f6133a1565b6133e6897f00000000000000000000000000000000000000000000000000000000000000001685613660565b612e9e565b6133f591866137b8565b5f80612e83565b909161340992309161371f565b612e93565b60048f517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b5050348b036134c457877f00000000000000000000000000000000000000000000000000000000000000001690813b1561026a575f8c928f60049051809581937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1918215610493576001926134b1575b50612e93565b806104876134be926124ae565b5f6134ab565b60048d517f8b6ebb4d000000000000000000000000000000000000000000000000000000008152fd5b806135036134fd8493898b612ad2565b35615302565b01612e0b565b60048c517f91b3fafa000000000000000000000000000000000000000000000000000000008152fd5b339750612dfd565b333b1561026a57565b7fffffffff000000000000000000000000000000000000000000000000000000005f35165f527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205273ffffffffffffffffffffffffffffffffffffffff60405f20541680156135cb575f8091368280378136915af43d5f803e156135c7573d5ff35b3d5ffd5b60046040517f7a2ee929000000000000000000000000000000000000000000000000000000008152fd5b91905f9273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9182821461364e575b501861361f57565b3461362657565b7f8b6ebb4d000000000000000000000000000000000000000000000000000000005f5260045ffd5b9093503418613626576001925f613617565b906014527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90816034526f095ea7b300000000000000000000000090815f5260205f6044601082855af13d1560015f51141716156136c2575b5050505f603452565b60105f60449260209582958360345283528238868683865af1506034525af13d1560015f51141716156136f7575f80806136b9565b7f8164f842000000000000000000000000000000000000000000000000000000005f5260045ffd5b906004905f94859482604051957f30f28b7a00000000000000000000000000000000000000000000000000000000875285870137608485015260a48401523360c48401520190827f00000000000000000000000000000000000000000000000000000000000000005af11561379057565b7f6b836e6b000000000000000000000000000000000000000000000000000000005f5260045ffd5b918060e01461382e57610100146137f1577fb78cb0dd000000000000000000000000000000000000000000000000000000005f5260045ffd5b6101045f9182602094610100604051937f8fcbaf0c00000000000000000000000000000000000000000000000000000000855260048501375af150565b5060e45f918260209460e0604051937fd505accf00000000000000000000000000000000000000000000000000000000855260048501375af150565b93929091604051927f23b872dd00000000000000000000000000000000000000000000000000000000845260048401526024830152604482015260205f60648382875af192836138e7575b5082156138bf5750565b807f7939f4240000000000000000000000000000000000000000000000000000000060049252fd5b9092503d15613903575060015f5114601f3d1116915b5f6138b5565b3b1515916138fd565b919293906040519360018214613a57575b915f95608494928796946001146139fb5760031460011461399b577f3df02124000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b3d5f803e3d5ffd5b6fffffffffffffffffffffffffffffffff907f3df021240000000000000000000000000000000000000000000000000000000085528060801c600486015216602484015260448301526001606483015234905af161096b573d5f803e3d5ffd5b507fa6417ed6000000000000000000000000000000000000000000000000000000008452608081901c60048501526fffffffffffffffffffffffffffffffff16602484015260448301526001606483015283905af11561399357565b929093917fd0e30db00000000000000000000000000000000000000000000000000000000083525f806004853473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af115613993579193909261391d565b5f9291600173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee831414613b2f576020906024604051809481937f70a0823100000000000000000000000000000000000000000000000000000000835260048301525afa613b2a575b50565b519150565b31925050565b90600b820180921161246f57565b9190820180921161246f57565b908160640291606483040361246f57565b906113889182810292818404149015171561246f57565b906109c49182810292818404149015171561246f57565b906121349182810292818404149015171561246f57565b8181029291811591840414171561246f57565b9091949392613bda5f96906bffffffffffffffffffffffff8260601c921690565b9490613be582613b35565b8311613eb3575b613bf68884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216613cb5575b505086159050613c9b57613c4e613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b5460ff1690565b613c9b57508482613c6785613c8f94613c959796615968565b613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b9061538b565b50612442565b91905f90565b9250613cae93945082906103ba92615968565b905f905f90565b6b2000000000000000000000008199949395979699161594851594613cfa613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680613eac575b613e93576b0800000000000000000000008316151597613d2084615995565b938415613da1575050948a94613d8c94613d6e613d66613d949b9686613d849f9e9c979b613d51816103ba9e613b43565b871115613d9957613d6191613b43565b613ba6565b612710900490565b90613d7b613d6683613b8f565b9c8d8093612474565b9d8e93615ad2565b928391615968565b929190565b505084613ba6565b80929c99969794506b400000000000000000000000919a989593501615155f14613e0f575089613dd857505050505b5f8080613c13565b8698975091613d949693918a6103ba96613d8c95613e07613dff613d669f613d6690613b61565b9e8f94613b78565b9c8d92615ad2565b939291906b8000000000000000000000008516613e31575b5050505050613dd0565b8a15613e27579092948a92949998506b040000000000000000000000613e5f613d66613e689d9a999a613b61565b9b8c8095612474565b9a16613e87575b926103ba95928a889693613d949a99613d8c97615ad2565b5f995060019550613e6f565b505050509390506103ba9250839150613cae9495615968565b5086613d01565b9650613ebf8183612474565b966b100000000000000000000000861615613bec5796613ee1613d6683613b50565b9081811115613ef257505b96613bec565b9050613eec565b7f8000000000000000000000000000000000000000000000000000000000000000811015613f245790565b6335278d125f526004601cfd5b939192908094845f92606082066140ee575b50505f6040949596855197889586947f0000000000000000000000000000000000000000000000000000000000000000865260158601605f6001860160168901376060812090527f0000000000000000000000000000000000000000000000000000000000000000603587015273ffffffffffffffffffffffffffffffffffffffff6055872016968030916140e6575b50843560ff1c861461405d577f128acb0800000000000000000000000000000000000000000000000000000000875260048701526001602487015260448601526401000276a4606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca60208301519251925b5f03615d3d565b7f128acb080000000000000000000000000000000000000000000000000000000087526004870152846024870152604486015273fffd8963efd1fc6a506488495d951d5263988d25606486015260a0608486015281880160a48601528560c486015260e485015280610104928386013701925af115613993576123ca6020835193015192614056565b90505f613fd3565b60a0821115613f435760a0810197507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6090910195503573ffffffffffffffffffffffffffffffffffffffff1691505f6040613f43565b919093979594979692965f9761417561415d8884612474565b91906bffffffffffffffffffffffff8260601c921690565b909286116144b3578a9561418889613b35565b811161446d575b73ffffffffffffffffffffffffffffffffffffffff8416614249575b50505050916141bc9187949361538b565b50816141d4575b506141cd91613b43565b9291905f90565b9050614200613c478273ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b61423f576141cd91614238858093614230612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b90339061386a565b50916141c3565b509291505f908190565b6b200000000000000000000000829b93949b9a99959796989a161591821591614292613c478d73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9380614466575b614448576b08000000000000000000000082161515946142b883615995565b92831561431d575050906142d6918088105f14613d61575086613ba6565b6127109004996142e58b613b8f565b61271090046142f581809d612474565b9c8d923361430298615d47565b9061430c91613b43565b926143169261538b565b5093929190565b909d9b9c979b979a9899979695949392508d91506b4000000000000000000000008116156143995750614363575050505050916141bc918794935b91939481935f6141ab565b909192939998949695979a61437781613b61565b61271090049b6143878d92613b78565b61271090049b8c913361430298615d47565b946b800000000000000000000000869b9a999897929b166143c6575b505050505050906141bc9291614358565b909192939495969798996143df578c99989796956143b5565b988c929394959b9a96996b04000000000000000000000061440661440f9f613d6690613b61565b9e8f8096612474565b9d1661443c575b928c6143169a99989693614431969361443699963390615d47565b613b43565b9361538b565b5f9c5060019650614416565b5050505050509450919061445d93955061538b565b5091905f905f90565b5083614299565b9950614479888b612474565b996b10000000000000000000000082161561418f579961449b613d668c613b50565b90818111156144ac57505b9961418f565b90506144a6565b60046040517fb1c349e8000000000000000000000000000000000000000000000000000000008152fd5b979590939492968315155f1461485c576144ff6144f985612442565b87612474565b5f98606081901c906bffffffffffffffffffffffff1690928881116144b35761452783613b35565b8111614816575b73ffffffffffffffffffffffffffffffffffffffff84166145f8575b505050509061455b61456392612a14565b97889161538b565b5084156145df57614594613c478373ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b6145df576141cd92916145d7866128bf936145d1826145cb612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8661538b565b50612474565b903390615fa1565b6145f09394506128bf913390615fa1565b91905f905f90565b6b20000000000000000000000082161591821591614636613c478b73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b938061480f575b6147e7576b080000000000000000000000821615159461465c83615995565b9182614798575050506b4000000000000000000000008116156146f757508a61469557505050509061455b614563925b91925f8061454a565b8a6146a78996989c9b9a99959b613b61565b61271090049b6146b78d92613b78565b61271090049b6146c8968d92615ad2565b336146d292615fa1565b916146dc90612a14565b80976146e79261538b565b506146f191612474565b93929190565b9291936b8000000000000000000000008416614720575b50505050509061455b6145639261468c565b8b1561470e578b919293999695976b04000000000000000000000061474e613d666147579f9e9c989e613b61565b9d8e8095612474565b9b1661478c575b938a9b61477e9487946146f19c9d6145d7956145d19b9a6147849a615ad2565b94612a14565b98899161538b565b5f9a506001945061475e565b8b989a9d9c9b979e506147b593508082105f146147e05750613ba6565b6127109004996147c48b613b8f565b61271090046147d481809d612474565b9c6146c8968e93615ad2565b9050613ba6565b50505050505093926145f095965061477e6145d193614807923390615fa1565b96879161538b565b508361463d565b9950614822828b612474565b996b10000000000000000000000082161561452e5799614844613d668c613b50565b908181111561485557505b9961452e565b905061484f565b6144ff846144f9565b91805f958695606493607c95608037608083015260a08201523360c0820152019134905af11561489157565b3d5f607c3e3d607cfd5b94919392935f925f945f93604051975f975b6060860489106148ca57505050505050505050506123ca90615d3d565b909192939495969798809b9a8915614afe575b6060880460018c0110614a71575b8a614a69575b8a60a061016492896001610100821114614a5b575b506060830288013560ff1c156149be579460608086945f946040997f128acb080000000000000000000000000000000000000000000000000000000088523060048901526001602489015260448801526401000276a4606488015260a0608488015260a48701528960e487015202890161010485013760016101008b11146149b1575b5af1156139935760208a0151945b600187965f0399019796959a98999a9493929190946148ad565b8989610164850137614989565b9460608086945f946020997f128acb08000000000000000000000000000000000000000000000000000000008852306004890152866024890152604488015273fffd8963efd1fc6a506488495d951d5263988d25606488015260a0608488015260a48701528960e487015202890161010485013760016101008b1114614a4e575b5af11561399357895194614997565b8989610164850137614a3f565b809192940193019089614906565b3093506148f1565b97505096507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f60016060818c010285010160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916976148eb565b985050507f00000000000000000000000000000000000000000000000000000000000000008a5260158a01605f6001840160168d01376060812090527f000000000000000000000000000000000000000000000000000000000000000060358b015260558a20968a73ffffffffffffffffffffffffffffffffffffffff8916916148dd565b9091949392614ba45f96906bffffffffffffffffffffffff8260601c921690565b9490614baf82613b35565b8311614e2b575b614bc08884612474565b9573ffffffffffffffffffffffffffffffffffffffff8216614c67575b505086159050614c5057614c11613c478473ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b614c50575081614c26848793614c499561538b565b50613c89612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b5091905f90565b939450614c5f9250839161538b565b50905f905f90565b6b2000000000000000000000008199949395979699161594851594614cac613c478c73ffffffffffffffffffffffffffffffffffffffff165f525f60205260405f2090565b9680614e24575b614e0e576b0800000000000000000000008316151597614cd284615995565b938415614d2c57505093614d1699989793614d00613d66614d269995858f9a9699613d5181614d1e9c613b43565b90614d0d613d6683613b8f565b9b8c8093612474565b9c8d93615ad2565b92839161538b565b50929190565b80929c99969794506b400000000000000000000000919a989593501615155f14614d97575089614d6357505050505b5f8080614bdd565b869897509089614d26969795614d1e959493614d8f614d87613d66613d669f613b61565b9d8e94613b78565b9b8c92615ad2565b939291906b8000000000000000000000008516614db9575b5050505050614d5b565b8a15614daf579092948a92949998506b040000000000000000000000613e5f613d66614de79d9a999a613b61565b9a16614e02575b918987969492614d2698614d1e9795615ad2565b5f995060019550614dee565b5050505094959050849250614c5f93915061538b565b5086614cb3565b9650614e378183612474565b966b100000000000000000000000861615614bb65796614e59613d6683613b50565b9081811115614e6a57505b96614bb6565b9050614e64565b92918352602860158401918237602881209052603582015273ffffffffffffffffffffffffffffffffffffffff60558220169052565b929190917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000091604051917f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08260011c16935f97858501525f5b8360061c8110615169575050508060061c805b61507957505f935f965f955b8360061c8710614f5557505050505050505050565b8015615027575b308460061c600189011061500f575b60a46040925f928a6001810160051b8a01518b8b826020899560061b8d010135600116615004575b507f022c0d9f000000000000000000000000000000000000000000000000000000009082019091016020908101919091528b8d018d0160248101929092526044820192909252606481019290925260806084830152838201859052019083905af11561399357600188960195614f40565b935087925081614f93565b508486016001880160051b0160200151985088614f6b565b508385016020818101517fa9059cbb0000000000000000000000000000000000000000000000000000000092880180830193845260248101829052604490810185905290925f9190828c5af150614f5c565b8284017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600590811b820160209081015184831b8701517f0902f1ac00000000000000000000000000000000000000000000000000000000948901909201938452919950929160409160049082905afa156139935760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92602087808801010151906040888089010101519182602087870160061b8c010135851661515e575b50906126f28161271093030292020204018098838301901b8501520180614f34565b9092506126f261513c565b80615187838560019460061b8b0160208560051b8c8c010101614e71565b01614f21565b9190918235807f52bbbe2900000000000000000000000000000000000000000000000000000000146152b0577f945bcec90000000000000000000000000000000000000000000000000000000014615207577f7352d91c000000000000000000000000000000000000000000000000000000005f5260045ffd5b60448301359283810193600485013594600183600401351460011461529d5760059590951b01016004013592602401355b8015615282575b8315615266575b929173ffffffffffffffffffffffffffffffffffffffff82169160ff1c90565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9350615246565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61523f565b602401359460051b010160040135615238565b50610144830135926101240135615238565b905f80918060405194853783347f00000000000000000000000000000000000000000000000000000000000000005af1156152fa5750565b3d5f823e3d90fd5b73ffffffffffffffffffffffffffffffffffffffff16806153205750565b331861532857565b7f02a43f8b000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f8080938193612710f190811561536357565b7f90b8ec18000000000000000000000000000000000000000000000000000000005f5260045ffd5b929173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee841460011461541d5760446020925f92604051917fa9059cbb0000000000000000000000000000000000000000000000000000000083526004830152602482015282865af191826153f8575b505b811561536357565b9091503d15615414575060015f5114601f3d1116905b5f6153ee565b3b15159061540e565b5f809394508092918192612710f1906153f0565b929490936040519460019384821461559c575b905f988998979695949392806001146155515760021461550157506003146001146154b15790869392916084967f5b41b90800000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b60a4957f394747c5000000000000000000000000000000000000000000000000000000008652600486015260248501526044840152806064840152608483015234905af161096b573d5f803e3d5ffd5b889594939291509660a4977f64a14558000000000000000000000000000000000000000000000000000000008852600488015260248701526044860152606485015260848401525af11561399357565b50505090869392916084967f65b2489b00000000000000000000000000000000000000000000000000000000875260048701526024860152604485015260648401525af11561399357565b969594939291907fd0e30db00000000000000000000000000000000000000000000000000000000086525f806004883473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1156139935790919293949596615444565b906044835f958695607c9460803760808201523360a0820152019134905af11561489157565b9095929193955f955f945f985f965b8660061c8810615662575050505050505050505050565b89156157e3575b602090818960061b8b01013560011696604051927f0902f1ac000000000000000000000000000000000000000000000000000000008452604084600481865afa156139935783519084015190818a6157da575b506126f291612710838502910201920202049687905f906157d1575b30918a60061c60018d0110615744575b5f9360a493869386937f022c0d9f0000000000000000000000000000000000000000000000000000000060409952600486015260248501526044840152608060648401528160848401525af1156139935760018a97019661564b565b92939d509b50507f00000000000000000000000000000000000000000000000000000000000000008c5260158c0160288060018c0160061b8d018337812090527f000000000000000000000000000000000000000000000000000000000000000060358d015260558c209a73ffffffffffffffffffffffffffffffffffffffff8c169c8d919093926156e8565b50505f876156d8565b9150905f6156bc565b506040517f000000000000000000000000000000000000000000000000000000000000000081529850601589016028808a8337812090527f000000000000000000000000000000000000000000000000000000000000000060358a0152605589209873ffffffffffffffffffffffffffffffffffffffff8a1690308314600114615929576101008411156158e4577f30f28b7a0000000000000000000000000000000000000000000000000000000081525f806004928688858301378460848201528960a48201528560c482015283870190827f00000000000000000000000000000000000000000000000000000000000000005af1156121ec5750615669565b5f6064827f23b872dd000000000000000000000000000000000000000000000000000000006020945285600482015284602482015289604482015282895af150615669565b5f6044827fa9059cbb000000000000000000000000000000000000000000000000000000006020945284600482015289602482015282895af150615669565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613b2793019161538b565b613fff1660c881116159a45790565b5060c890565b6040519061096b826124c7565b604051906159c4826124c7565b600282526040366020840137565b805115612acd5760200190565b805160011015612acd5760400190565b9081518082526020808093019301915f5b828110615a0e575050505090565b835185529381019392810192600101615a00565b6020808252825160608284015280516080840181905293949360a084019392918201905f5b818110615aa8575050508473ffffffffffffffffffffffffffffffffffffffff6040926123ca96970151168284015201519060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828503019101526159ef565b825173ffffffffffffffffffffffffffffffffffffffff1686529483019491830191600101615a47565b96909591939294615ae38487613b43565b9283615af457505050505050505090565b9697959681615d35575b5015615b745750505082828111615b4a576123ca9481615b21575b505050612474565b73ffffffffffffffffffffffffffffffffffffffff615b4193169061538b565b505f8080615b19565b60046040517f3ff640db000000000000000000000000000000000000000000000000000000008152fd5b84829693979211615b4a5715615bcf57856123ca96615b9c575b5081615b2157505050612474565b615bc890615bc2612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b8361538b565b505f615b8e565b615cc09073ffffffffffffffffffffffffffffffffffffffff93929396877f00000000000000000000000000000000000000000000000000000000000000001694615c1b88878561538b565b50615c56615c276159b7565b99615c306159b7565b9616615c3b8b6159d2565b9073ffffffffffffffffffffffffffffffffffffffff169052565b615c5f856159d2565b52615c8e615c85612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b8a6159df565b615c97846159df565b52615ca06159aa565b96875273ffffffffffffffffffffffffffffffffffffffff166020870152565b6040850152803b1561026a57615d095f949185926040519687809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1928315610493576123ca93615d225750612474565b80610487615d2f926124ae565b5f6145d1565b90505f615afe565b5f8112613f245790565b969790929594919394615d5a8387613b43565b9889615d6d575b50505050505050505090565b819994959697989991615f99575b5015615dcf5750505082948311615b4a5782615da5575b505050505b5f8080808080808080615d61565b73ffffffffffffffffffffffffffffffffffffffff615dc594169161386a565b505f808080615d92565b9091968711615b4a5715615e515780615e1d575b5082615df3575b50505050615d97565b73ffffffffffffffffffffffffffffffffffffffff615e1394169161386a565b505f808080615dea565b615e4a90615e43612e2c60015473ffffffffffffffffffffffffffffffffffffffff1690565b838561386a565b505f615de3565b91615f289193949273ffffffffffffffffffffffffffffffffffffffff95615e9e88887f00000000000000000000000000000000000000000000000000000000000000001680988661386a565b50615ebe615eaa6159b7565b97615eb36159b7565b9616615c3b896159d2565b615ec7856159d2565b52615ef6615eed612e2c60025473ffffffffffffffffffffffffffffffffffffffff1690565b615c3b886159df565b615eff846159df565b52615f086159aa565b94855273ffffffffffffffffffffffffffffffffffffffff166020850152565b6040830152803b1561026a57615f715f929183926040519485809481937f45f32b0b00000000000000000000000000000000000000000000000000000000835260048301615a22565b03925af1801561049357615f86575b50615d97565b80610487615f93926124ae565b5f615f80565b90505f615d7b565b91909160018211615fb3575050505f90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff615fe1920192839161538b565b509056fea164736f6c6343000816000a","sourceMap":"1085:1767:2:-:0;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1673:20:27;;:::i;:::-;1722:21;;;:::i;:::-;1085:1767:2;1772:22:27;1085:1767:2;;1827:20:27;1085:1767:2;1947:23:27;;;:::i;:::-;1085:1767:2;;;2129:17:27;;;2125:72;;1085:1767:2;;;;;2252:25:27;2248:89;;1085:1767:2;2687:278:27;819:6:39;2687:278:27;;;4159:8;2687:278;;;;;;;;1085:1767:2;2687:278:27;;;;;;;;3067:24;;;;;:::i;:::-;;;3288:19;3304:3;3288:19;;3304:3;;;3367:17;;3363:87;;3284:407;3513:4;;3467:62;3513:4;;3493:10;3467:62;;:::i;:::-;;3284:407;3748:112;;3284:407;3063:997;;;1085:1767:2;2687:278:27;2002:23;1085:1767:2;2687:278:27;;;;4159:8;;:::i;:::-;4240:13;819:6:39;;4340:4:27;;1085:1767:2;4426:18:27;4333:38;4365:4;4333:38;;:::i;:::-;4426:18;:::i;:::-;4412:33;;;;;;1673:20;1085:1767:2;;4412:33:27;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;4412:33:27;;;;;;;;;;4236:468;4537:21;;4236:468;;4753:29;;4749:93;;1085:1767:2;4921:133:27;1883:24;1085:1767:2;;;;;;;;4921:133:27;:::i;:::-;1673:20;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;4749:93:27;1673:20;1085:1767:2;4805:26:27;;;;4412:33;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;4236:468::-;4658:35;4687:4;4658:35;;:::i;:::-;4236:468;;;3748:112;3836:8;;;:::i;:::-;3748:112;;;;3363:87;3424:6;;;;:::i;:::-;3363:87;;;;3284:407;3660:4;;3667:8;3660:4;;3667:8;;:::i;:::-;3284:407;;3063:997;3934:116;;;;;;3063:997;3934:116;4026:8;4012:4;;;1085:1767:2;4026:8:27;:::i;:::-;3063:997;;2248:89;2315:10;;-1:-1:-1;2248:89:27;;2125:72;1085:1767:2;1673:20:27;1085:1767:2;2169:17:27;;;;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;;;;;1023:4:4;1085:1767:2;;;;;;;;;;;;;;;;;1126:3:4;1085:1767:2;;;;;;;;;;;;;;;;;;1198:42:36;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;-1:-1:-1;1085:1767:2;-1:-1:-1;1085:1767:2;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;1103:18:35;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;;;;815:60:39;;1085:1767:2;1229:6576:34;;;;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;;;;;;;;1631:50:42;1085:1767:2;;;;;;;;;;;;;;;;;1075:3:4;1085:1767:2;;;;;;;;;;;;;;;;;890:50:41;1085:1767:2;;;;;;;;;;;;;;;;;;598:32:40;1085:1767:2;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1533:18:31;;;;;:::i;:::-;1579:17;;;:::i;:::-;1628:19;;;1085:1767:2;1677:17:31;;;;1085:1767:2;1790:20:31;;;;;;:::i;:::-;1085:1767:2;;;;;;;;;1883:21:31;1879:82;;1085:1767:2;;;2016:25:31;2012:89;;1085:1767:2;2153:14:31;;2149:69;;2286:34;2314:4;2286:34;;:::i;:::-;2423:27;;;;;:::i;:::-;;;2647:19;;3313:9;2647:19;;;;;;2663:3;2647:19;;;2643:403;2663:3;;;2726:17;;;2722:87;;2643:403;2852:10;;2826:60;2852:10;;;2826:60;;:::i;:::-;;3313:9;:::i;:::-;3561:76;3389:35;2314:4;3389:35;;:::i;:::-;2314:4;3561:34;2314:4;3561:34;;:::i;:::-;3599:37;3615:1;3599:17;;3615:1;;;3599:37;3561:76;:::i;:::-;3687:26;;;3683:90;;1085:1767:2;1729:21:31;;3865:257;1729:21;;1085:1767:2;;;3865:257:31;:::i;3683:90::-;1085:1767:2;1628:19:31;1085:1767:2;3736:26:31;;;;3599:37;;-1:-1:-1;3599:37:31;3561:76;:::i;2722:87::-;2783:6;;;;:::i;:::-;2722:87;;;;2643:403;3019:11;;;;;:::i;:::-;3313:9;:::i;2419:791::-;3190:9;;;3313;3190;;;3174:25;3190:9;;;3174:25;;:::i;:::-;2419:791;3313:9;:::i;2149:69::-;1085:1767:2;1628:19:31;1085:1767:2;2190:17:31;;;;2012:89;2079:10;;-1:-1:-1;2012:89:31;;1879:82;1085:1767:2;1628:19:31;1085:1767:2;1927:23:31;;;;1085:1767:2;;;;;;;;;;;;;;1363:6:4;1085:1767:2;;;;;;;:::i;:::-;;819:6:39;1085:1767:2;;;;815:60:39;;1560:16:30;;;:::i;:::-;1605:17;;;;;;:::i;:::-;1651:18;;;;;1085:1767:2;1702:16:30;;;1085:1767:2;1814:19:30;;;;;;:::i;:::-;1866:13;;;;;;;:::i;:::-;1932:17;;;;;1928:72;;1085:1767:2;;;;;2055:25:30;2051:89;;1085:1767:2;2218:10:30;2289:24;;;;;:::i;:::-;;;2895:85;2456:19;2932;2456;2472:3;2456:19;;2452:180;;2285:559;;2932:19;:::i;:::-;2895:85;:::i;:::-;3030:29;;;3026:93;;774:42:22;1085:1767:2;;;3181:45:30;3177:132;;2285:559;1754:20;3388:138;1754:20;;;;;1085:1767:2;1754:20:30;;1085:1767:2;;;3388:138:30;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;3177:132:30;3269:4;;;;;;1085:1767:2;3269:29:30;;;;;;-1:-1:-1;1085:1767:2;;3269:29:30;;1085:1767:2;3269:29:30;;;;;;;1085:1767:2;3269:29:30;;1085:1767:2;;;;;;;;3269:29:30;;;;;;;;;1085:1767:2;3269:29:30;3388:138;3269:29;1754:20;3269:29;;;3177:132;;;;;;;;;;;;;3269:29;;;;;;:::i;:::-;;;;3026:93;1085:1767:2;;;3082:26:30;;;;2452:180;2535:17;;;2531:87;;2452:180;;;;;2531:87;2592:6;;;:::i;:::-;2531:87;;;;;2285:559;-1:-1:-1;2707:4:30;1085:1767:2;;;-1:-1:-1;2707:33:30;;;;;-1:-1:-1;1085:1767:2;;;;;2707:33:30;;;;1085:1767:2;2707:33:30;;;;;;;;;2895:85;2707:33;;;2285:559;2828:4;2932:19;2828:4;2285:559;2932:19;:::i;2707:33::-;;;;;;:::i;:::-;;;;2051:89;2118:10;;-1:-1:-1;2051:89:30;;1928:72;1085:1767:2;;;1972:17:30;;;;1085:1767:2;;;;;;;;;;;;;;;1992:44:4;1085:1767:2;;;;;;;;;;;;;;;;;;1185:4:4;1085:1767:2;;;;;;;;;;;;;;;;;1244:4:4;1085:1767:2;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1505:16:33;;;:::i;:::-;1550:17;;;;;;:::i;:::-;1599:18;;;;;;1085:1767:2;1647:16:33;;;;1085:1767:2;1758:19:33;;;;;;:::i;:::-;1810:13;;;;;;;:::i;:::-;1876:14;;;;;1872:69;;1085:1767:2;;;;;1996:25:33;1992:89;;1085:1767:2;2206:27:33;;;;:::i;:::-;:32;;;;2295:1019;;;2388:4;;;;;1085:1767:2;2413:4:33;2381:38;2413:4;2381:38;;:::i;:::-;2478:36;;;;;;1085:1767:2;;;2478:36:33;;-1:-1:-1;2478:36:33;1085:1767:2;2478:36:33;;;;;;;;;;;2295:1019;2564:15;2295:1019;;1085:1767:2;;;;;;;3386:21:33;;;;3382:82;;3551:5;;;;;;:::i;:::-;774:42:22;;3620:45:33;;774:42:22;;3744:4:33;;1085:1767:2;3732:16:33;;;3728:85;;3880:38;3912:4;3880:38;;:::i;:::-;3992:26;;;;3988:81;;3616:782;4109:29;;;;;1085:1767:2;;;4109:29:33;;1085:1767:2;4109:29:33;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;4109:29:33;;;;;;;;3616:782;4230:21;;3616:782;;4471:34;4499:4;4471:34;;:::i;:::-;4555:26;;;4551:90;;4727:891;;;4829:21;4964:57;4829:21;;4983:37;4999:1;4983:17;;:37;4999:1;;;4983:37;4964:57;:::i;:::-;4999:1;5085:19;;5081:92;;4983:37;5186:25;;5710:257;5186:25;;;;1698:20;5333:75;1085:1767:2;5186:25:33;;;;5333:21;;5358:49;4999:1;5358:23;;:49;4999:1;;;5358:49;5333:75;:::i;:::-;4727:891;;1698:20;1085:1767:2;;;5710:257:33;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5081:92:33;5124:4;;;;;;;;;5138:19;5124:4;;1085:1767:2;5138:19:33;;:::i;:::-;5124:34;;;;;;1085:1767:2;;;5124:34:33;;1085:1767:2;5124:34:33;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5124:34:33;;;;;;;5333:75;5710:257;5124:34;1698:20;5124:34;1085:1767:2;5124:34:33;;;5081:92;;;;;;;;;;;;;;;;5124:34;;;;;;:::i;:::-;;;;4727:891;5569:37;;;1698:20;5550:57;5710:257;5569:37;;;;1085:1767:2;5569:37:33;;;;5585:1;5569:17;;:37;5585:1;;;5569:37;5550:57;:::i;:::-;4727:891;;;4551:90;1085:1767:2;;;4604:26:33;;;;4109:29;;;;;;:::i;:::-;;;;3988:81;4038:16;;;;:::i;:::-;3988:81;;;3728:85;1085:1767:2;;;3775:23:33;;;;3616:782;4381:4;4352:35;4381:4;4352:35;;:::i;:::-;3616:782;;;3382:82;1085:1767:2;;;3430:23:33;;;;2478:36;;;;;;:::i;:::-;;;;2295:1019;2671:34;2699:4;;;;;2671:34;;:::i;:::-;2895:19;;2911:3;2895:19;;2911:3;;;2974:17;;2970:87;;2891:413;2699:4;;3074:65;2699:4;;3100:10;3074:65;;:::i;:::-;;2295:1019;;2970:87;3031:6;;;;:::i;:::-;2970:87;;;;2891:413;2699:4;;3277:11;2699:4;;3277:11;;:::i;:::-;2295:1019;;1992:89;2059:10;;-1:-1:-1;1992:89:33;;1085:1767:2;;;;;;;;;;;;;;1513:55:42;1085:1767:2;;;;;;;;;;;;;;;;;;443:27:43;1085:1767:2;;;;;;;;;;;;;;;;;;772:55:41;1085:1767:2;;;;;;;;;;;;;;;;;;978:47:37;1085:1767:2;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;;1758:21:32;;;;1085:1767:2;1635:38:32;1655:3482:37;1635:38:32;;;;1085:1767:2;1655:3482:37;:::i;:::-;1815:149:32;;;;;1085:1767:2;;;;;;;;;;2037:21:32;2033:82;;2167:14;;2163:69;;1085:1767:2;;2287:25:32;2283:89;;1085:1767:2;2440:34:32;2468:4;2440:34;;:::i;:::-;2525:27;;;;;:::i;:::-;;;3565:4;;2749:19;;;;;2765:3;2749:19;;2765:3;;;2828:17;;2824:87;;2745:413;2468:4;;2928:65;2468:4;;2954:10;2928:65;;:::i;:::-;;2745:413;3213:138;;3565:4;:::i;:::-;3808:76;3636:35;2468:4;3636:35;;:::i;3808:76::-;3934:26;;;3930:90;;1085:1767:2;1564:25:32;;4112:257;1564:25;;1085:1767:2;;;4112:257:32;:::i;3213:138::-;3304:32;3321:14;;1085:1767:2;3304:32:32;;:::i;:::-;3565:4;:::i;2824:87::-;2885:6;;;;:::i;:::-;2824:87;;;;2745:413;2468:4;;3131:11;2468:4;;3131:11;;:::i;:::-;2745:413;;2521:994;3495:9;;;;;3479:25;3565:4;3495:9;;3479:25;;:::i;:::-;2521:994;3565:4;:::i;2283:89::-;2350:10;;-1:-1:-1;2283:89:32;;1085:1767:2;;;;:::i;:::-;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;;1725:21:26;;;;1085:1767:2;1602:38:26;1655:3482:37;1602:38:26;;;;1085:1767:2;1655:3482:37;:::i;:::-;1782:149:26;;;;;;1984:17;;;1980:72;;1085:1767:2;;;;2107:25:26;2103:89;;1085:1767:2;3119:4:26;2242:24;;;;;;;;;:::i;:::-;:29;2238:831;;1085:1767:2;3119:4:26;;;;;;:::i;:::-;3188:35;3217:4;3188:35;;:::i;:::-;3273:29;;;3269:93;;1085:1767:2;1531:25:26;;3441:133;1531:25;;1085:1767:2;;;3441:133:26;:::i;2238:831::-;2479:3;2463:19;;2479:3;;;2542:17;2642:62;2542:17;2538:87;;2459:407;2688:4;;;2668:10;2642:62;;:::i;:::-;;2459:407;2921:138;;2459:407;2238:831;;;;;;2921:138;3012:32;3029:14;;;1085:1767:2;3012:32:26;;:::i;:::-;2921:138;;;2538:87;2599:6;;;;:::i;:::-;2538:87;;;;2459:407;2842:8;2835:4;;2842:8;;:::i;:::-;2459:407;;2103:89;2170:10;;-1:-1:-1;2103:89:26;;1085:1767:2;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1656:22:24;1085:1767:2;;;;;;;;;:::i;:::-;;;;;1656:22:24;;:::i;:::-;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;:::i;:::-;;819:6:39;1085:1767:2;;;;815:60:39;;1671:20:28;;:::i;:::-;1720:21;;;:::i;:::-;1085:1767:2;1770:22:28;1085:1767:2;;1825:20:28;1085:1767:2;1945:23:28;;;:::i;:::-;2070;;;:::i;:::-;1085:1767:2;;;2197:17:28;;2193:72;;1085:1767:2;;;;;2320:25:28;2316:89;;1085:1767:2;2755:262:28;;819:6:39;2755:262:28;;;;4214:11;2755:262;;;;;;;1085:1767:2;2755:262:28;;;;;;;;3119:24;;;;;:::i;:::-;;;3340:19;3356:3;3340:19;;3356:3;;;3419:17;;3415:87;;3336:407;3565:4;;3519:62;3565:4;;3545:10;3519:62;;:::i;:::-;;3336:407;3800:112;;3336:407;3115:997;;;2025:13;1085:1767:2;;;2755:262:28;1990:13;1085:1767:2;2755:262:28;;;;4214:11;;:::i;:::-;4298:13;819:6:39;;4398:4:28;;1085:1767:2;4484:18:28;4391:38;4423:4;4391:38;;:::i;4484:18::-;4470:33;;;;;;2025:13;1085:1767:2;;4470:33:28;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;4470:33:28;;;;;;;;;;4294:468;4595:21;;4294:468;;4811:29;;4807:93;;1085:1767:2;4979:133:28;1881:24;1085:1767:2;;;;;;;;4979:133:28;:::i;4470:33::-;;;;;;:::i;:::-;;;;4294:468;4716:35;4745:4;4716:35;;:::i;:::-;4294:468;;;3800:112;3888:8;;;:::i;:::-;3800:112;;;;3415:87;3476:6;;;;:::i;:::-;3415:87;;;;3336:407;3712:4;;3719:8;3712:4;;3719:8;;:::i;:::-;3336:407;;3115:997;3986:116;;;;;;3115:997;3986:116;4078:8;4064:4;;;1085:1767:2;4078:8:28;:::i;:::-;3115:997;;2316:89;2383:10;;-1:-1:-1;2316:89:28;;2193:72;1085:1767:2;2025:13:28;1085:1767:2;2237:17:28;;;;1085:1767:2;;;;:::i;:::-;;;;819:6:39;1085:1767:2;;;;;;;815:60:39;;1508:18:25;;;;;:::i;:::-;1554:17;;;;:::i;:::-;1600:19;;;;1085:1767:2;1652:17:25;;;;1085:1767:2;1766:20:25;;;;;;:::i;:::-;1085:1767:2;;;;;;1842:25:25;1838:89;;1085:1767:2;1979:17:25;;1975:72;;2097:24;;2810:8;2097:24;;;;;;:::i;:::-;:29;2093:628;;1085:1767:2;2810:8:25;;;;;;:::i;:::-;2883:35;2912:4;2883:35;;:::i;:::-;2968:29;;;2964:93;;1085:1767:2;1705:21:25;;3136:133;1705:21;;1085:1767:2;;;3136:133:25;:::i;2093:628::-;2334:3;2318:19;;2334:3;;;2397:17;2497:57;2397:17;2393:87;;2314:397;2523:10;;;2497:57;;:::i;:::-;;2314:397;2093:628;;;;;;;2393:87;2454:6;;;;:::i;:::-;2393:87;;;;2314:397;2687:8;;;;;:::i;:::-;2314:397;;1838:89;1905:10;;-1:-1:-1;1838:89:25;;1085:1767:2;;;;;;;;;;;;;843:40:35;1085:1767:2;;;;;;;;;;;;:::i;:::-;;;819:6:39;1085:1767:2;;;;815:60:39;;1469:16:29;;;:::i;:::-;1514:17;;;;;;:::i;:::-;1560:18;;;;;;1085:1767:2;1611:16:29;;;;1085:1767:2;1723:19:29;;;;;;:::i;:::-;1775:13;;;;;;;:::i;:::-;1843:10;;1906:17;;;1902:72;;1085:1767:2;;;;;;;;;;;;2029:25:29;2025:89;;1085:1767:2;2174:24:29;;;;:::i;:::-;;;2877:6;2341:19;2357:3;2341:19;;2337:180;;2170:608;2877:6;:::i;:::-;1085:1767:2;;;774:42:22;2947:45:29;774:42:22;;3069:4:29;;1085:1767:2;3155:18:29;3062:38;3094:4;3062:38;;:::i;3155:18::-;3141:33;;;;;;1085:1767:2;;;3141:33:29;;1085:1767:2;3141:33:29;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;3141:33:29;;;;;;;;2943:491;3266:21;;2943:491;;3483:29;;3479:93;;1663:20;1085:1767:2;1663:20:29;;;;3651:133;1663:20;;;1085:1767:2;;;3651:133:29;:::i;3141:33::-;;;;;;:::i;:::-;;;;2943:491;3388:35;3417:4;3388:35;;:::i;:::-;2943:491;;;2337:180;2420:17;2416:87;2337:180;2416:87;2477:6;;;;;:::i;2170:608::-;-1:-1:-1;2592:4:29;1085:1767:2;;;2592:4:29;-1:-1:-1;2592:33:29;;;;;1085:1767:2;;2592:33:29;1085:1767:2;2592:33:29;;-1:-1:-1;2592:33:29;1085:1767:2;2592:33:29;;;;;;;;;;2877:6;2592:33;;;2170:608;2675:15;2762:4;2170:608;2877:6;:::i;2592:33::-;;;;;;:::i;:::-;;;;2025:89;1843:10;;-1:-1:-1;2025:89:29;;1902:72;1085:1767:2;;;1946:17:29;;;;1085:1767:2;;;;;;;;;;;;;;1437:2:4;1085:1767:2;;;;;;;;;;;;;;;;722:32:35;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;819:6:39;1085:1767:2;;;;815:60:39;;1085:1767:2;3354:2321:42;2920:25;3354:2321;;3192:3;3177:18;;3354:2321;;;;;;;;;;;1085:1767:2;3354:2321:42;;;;2991:30;3354:2321;;;;;;;;;;;;;;;;;;1085:1767:2;6046:17:42;;:31;;;1085:1767:2;6042:6304:42;;;-1:-1:-1;6407:100:42;;-1:-1:-1;;;6445:16:42;;-1:-1:-1;;;6464:13:42;;;;:::i;:::-;6445:48;;6226:119;;6407:100;;:::i;6445:48::-;6480:13;;;;:::i;:::-;6445:48;;;6042:6304;6598:5738;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;1085:1767:2;6598:5738:42;;-1:-1:-1;6598:5738:42;;;;6042:6304;6598:5738;;-1:-1:-1;6598:5738:42;;;;6042:6304;6598:5738;;;;;;;;;;;;;;;-1:-1:-1;6598:5738:42;;;-1:-1:-1;;;;6598:5738:42;;;;;;;;3354:2321;6598:5738;;;;;;;;;;;;3056:7;;6598:5738;;;;;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;;;;-1:-1:-1;6598:5738:42;1085:1767:2;6598:5738:42;;;;;;;;;3354:2321;1085:1767:2;6598:5738:42;;;1085:1767:2;6598:5738:42;;;;;;;;;;;;;;;;;;;-1:-1:-1;6598:5738:42;-1:-1:-1;6598:5738:42;;;-1:-1:-1;6598:5738:42;;;;;3354:2321;-1:-1:-1;6598:5738:42;;;;;;;;;;;;;;;;;;;1085:1767:2;6598:5738:42;;;-1:-1:-1;6598:5738:42;;1085:1767:2;6598:5738:42;;3354:2321;6598:5738;;;;1085:1767:2;6598:5738:42;;;;;;;;;;;;;;;;;;;;1085:1767:2;6598:5738:42;;;;;;;;;;;-1:-1:-1;1085:1767:2;6598:5738:42;;;;;-1:-1:-1;6598:5738:42;;;;6046:31;6067:10;;;6046:31;;3354:2321;;;-1:-1:-1;3354:2321:42;-1:-1:-1;3354:2321:42;815:60:39;1085:1767:2;;;848:16:39;;;;1085:1767:2;;;;;;;;;;;;;;36568:152:4;1085:1767:2;;36568:152:4;;;;1085:1767:2;;36568:152:4;1085:1767:2;;;;;;1673:20:27;1085:1767:2;;;;:::i;:::-;;:::o;:::-;1722:21:27;1085:1767:2;;;;:::i;:::-;1671:20:28;1085:1767:2;;;;:::i;:::-;1720:21:28;1085:1767:2;;;;:::i;:::-;;;;;:::i;:::-;1947:23:27;1085:1767:2;;;;:::i;:::-;1945:23:28;1085:1767:2;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;1229:6576:34:-;;1601:16;;;:::i;:::-;1646:17;;;;;;:::i;:::-;1854:19;;;;;;:::i;:::-;1906:13;;;;;;;:::i;:::-;1743:16;;;;1085:1767:2;1972:14:34;1968:69;;1085:1767:2;;;2092:25:34;2088:89;;1229:6576;2255:10;2329:27;1695:18;;;1085:1767:2;2329:27:34;;:::i;:::-;:32;;2571:21;-1:-1:-1;2649:1362:34;;;;;;2742:4;;;;1085:1767:2;2742:4:34;1085:1767:2;2767:4:34;2735:38;2767:4;2735:38;;:::i;:::-;2832:36;;;;;;1695:18;-1:-1:-1;1085:1767:2;2832:36:34;1085:1767:2;;2832:36:34;;;;1085:1767:2;2832:36:34;;1695:18;1085:1767:2;2832:36:34;;;;;;;;;2649:1362;2767:4;;3011:15;2649:1362;;1085:1767:2;;;;;;4083:21:34;4079:82;;1743:16;;4239:82;1743:16;4278:21;4279:20;1743:16;;;1085:1767:2;4279:20:34;:::i;:::-;4278:21;:::i;:::-;4239:82;:::i;:::-;4195:126;;;1743:16;;;;1085:1767:2;4371:26:34;;4367:90;;774:42:22;1085:1767:2;;;;;4519:45:34;4515:277;;2649:1362;1085:1767:2;;4944:4:34;4921:28;4944:4;;-1:-1:-1;;5042:1537:34;;;5152:21;;;;5325:4;5318:80;1085:1767:2;5325:4:34;1085:1767:2;4944:4:34;5318:38;4944:4;5318:38;;:::i;:80::-;5470:19;5376:1;5470:19;;5466:348;;5360:37;5870:25;6675:293;5870:25;;5042:1537;1085:1767:2;1695:18:34;1794:20;;;1085:1767:2;1695:18:34;;1085:1767:2;;;6675:293:34;:::i;:::-;6668:300;;;;;;:::o;5466:348::-;5562:19;;;;;:::i;:::-;5548:34;;;;;;1695:18;1085:1767:2;;5548:34:34;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5548:34:34;;;;;;;6675:293;5548:34;5720:75;5548:34;;;5466:348;-1:-1:-1;5720:21:34;;5376:1;5745:23;;5376:1;;;5745:49;5720:75;:::i;:::-;5466:348;;;;5548:34;;;;;;:::i;:::-;;;;5042:1537;6675:293;;2465:17;;-1:-1:-1;1743:16:34;-1:-1:-1;1743:16:34;;;4944:4;6260:76;4944:4;6260:34;4944:4;6260:34;;:::i;:76::-;6041:524;5042:1537;;6041:524;6521:25;1695:18;;;;;1085:1767:2;6521:25:34;:::i;4917:2882::-;2465:17;;;;;;7494:294;2465:17;;1743:16;-1:-1:-1;7113:235:34;;4917:2882;1794:20;1085:1767:2;1695:18:34;1794:20;;;1085:1767:2;1695:18:34;;1085:1767:2;;;7494:294:34;:::i;7113:235::-;7296:37;2255:10;;;7233:31;2255:10;7233:31;;:::i;:::-;7296:37;;:::i;:::-;7113:235;;;;4515:277;1085:1767:2;4643:4:34;1085:1767:2;;;;;4631:16:34;4627:85;;4752:29;;;;;-1:-1:-1;1695:18:34;1085:1767:2;4752:29:34;;1085:1767:2;4752:29:34;;;;;;;;;;1085:1767:2;;;;;;;;4752:29:34;;;;;;;;;;;4515:277;;;;4752:29;;;;;;:::i;:::-;;;;2832:36;;;;;;:::i;:::-;;;;2649:1362;3118:34;3146:4;;;;;;;;;3118:34;;:::i;:::-;3342:19;3358:3;3342:19;;3358:3;;;3421:17;3417:87;;3338:663;2465:17;;1743:16;2465:17;;3621:115;2649:1362;3621:115;2255:10;;3686:31;2255:10;3686:31;;:::i;:::-;3621:115;2649:1362;;3417:87;3478:6;;;;:::i;:::-;3417:87;;;;3338:663;1695:18;3873:11;1695:18;;;;;;1085:1767:2;3146:4:34;;3873:11;;:::i;:::-;3146:4;3338:663;2649:1362;;2088:89;2155:10;;-1:-1:-1;2088:89:34;;1085:1767:2;;;;;;;;:::o;780:112:39:-;;;;;1085:1767:2;819:6:39;1085:1767:2;;;;815:60:39;;1411:6290:24;;;:::i;1085:1767:2:-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;1411:6290:24;;;;;;1752:16;;;;;:::i;:::-;1085:1767:2;;;1889:13:24;;;;1085:1767:2;1941:25:24;;;;;;;:::i;:::-;2253:207;;1085:1767:2;;;;;;2515:25:24;2511:89;;1411:6290;2652:13;;2648:68;;2772:17;;2768:76;;1845:15;2950:16;;;;;;3128:9;;3121:34;3128:26;;:9;;;;:::i;:::-;:26;;:::i;:::-;1085:1767:2;;;;3121:34:24;3191:9;3184:34;3191:26;:9;;;;;:::i;3184:34::-;1085:1767:2;2253:207:24;1085:1767:2;;;2253:207:24;3279:9;;;;;;3353;3349:79;;2253:207;;3618:19;;;3634:3;3618:19;;3634:3;;;3697:17;;3693:87;;3614:411;3843:4;;3797:64;3843:4;;3823:10;3797:64;;:::i;:::-;;3614:411;2253:207;;;;;4315:124;;3275:1030;2253:207;;;;;-1:-1:-1;;2253:207:24;4636:9;2253:207;;4721:12;;;1085:1767:2;4721:76:24;;;;;;;1085:1767:2;;1845:15:24;1085:1767:2;;;;4721:76:24;;;;;;;1085:1767:2;4721:76:24;;4791:4;4721:76;;;;;:::i;:::-;;;;;;;;;;;4632:1283;4880:4;;;1085:1767:2;4791:4:24;4873:38;4791:4;4873:38;;:::i;:::-;4976:25;;;4972:105;;5139:16;;;:::i;:::-;5125:31;;;;;;1085:1767:2;;5125:31:24;;4721:76;5125:31;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;5125:31:24;;;;;;;5221:56;5125:31;;;;;4632:1283;1085:1767:2;;5221:56:24;:::i;:::-;;5982:35;;:::o;5125:31::-;;;;;;:::i;:::-;;;;4972:105;4721:76;1085:1767:2;;5032:26:24;;;;4721:76;;;;;;:::i;:::-;;;;4632:1283;1085:1767:2;;;;;;;;5400:33:24;;;;;:::i;:::-;5507:12;;1085:1767:2;5507:74:24;;;;;1845:15;1085:1767:2;;;;5507:74:24;1085:1767:2;;5507:74:24;;;;;;;1085:1767:2;5507:74:24;;;;;;:::i;:::-;;;;;;;;;;5686:49;5507:74;5686:33;5507:74;;;4632:1283;5686:33;;:::i;:::-;:49;:::i;:::-;5800:25;;;5796:105;;4632:1283;5982:35;;:::o;5796:105::-;5507:74;1085:1767:2;;5856:26:24;;;;5507:74;;;;;;:::i;:::-;;;;4532:3163;6123:9;;;;;;;;;2253:207;6123:9;6119:760;2253:207;;;6208:12;;1085:1767:2;6208:74:24;;;;;;1085:1767:2;1845:15:24;1085:1767:2;;;;6208:74:24;;;;;;;1085:1767:2;6208:74:24;;6276:4;6208:74;;;;;:::i;:::-;;;;;;;;;;;6119:760;6372:4;;;1085:1767:2;6276:4:24;6466:16;6365:38;6276:4;6365:38;;:::i;:::-;6466:16;:::i;:::-;6452:31;;;;;;1845:15;1085:1767:2;;6452:31:24;;1085:1767:2;6452:31:24;;;;;;;6208:74;6452:31;;1085:1767:2;;;;;;;;6452:31:24;;;;;;;;;6548:56;6452:31;;;;;;;1085:1767:2;;6548:56:24;:::i;:::-;;6119:760;;6957:34;6985:4;6957:34;;:::i;:::-;7063:19;2253:207;7063:19;;7059:511;;6119:760;7645:28;;;;;;;:::i;:::-;7637:47;;:::o;7059:511::-;7141:415;;;;;;7213:4;7227:17;7213:4;;1085:1767:2;7227:17:24;;:::i;:::-;7213:32;;;;;;1085:1767:2;;7213:32:24;;;;;1085:1767:2;;;;-1:-1:-1;;1085:1767:2;;;;;;-1:-1:-1;;7213:32:24;;;;;;;7645:28;7213:32;;;7141:415;7345:10;7317:56;7345:10;;7317:56;:::i;:::-;;7141:415;7059:511;;;;;7213:32;;;;;;:::i;:::-;;;;7141:415;7519:17;;;7485:52;7519:17;7645:28;7519:17;;:::i;:::-;7507:10;;;7485:52;;:::i;:::-;;7141:415;;6208:74;;;;;;:::i;:::-;;;;6119:760;6792:12;;;;;;1085:1767:2;6792:72:24;;;;;1845:15;1085:1767:2;;;;6792:72:24;1085:1767:2;;6792:72:24;;;;;;;1085:1767:2;6792:72:24;;;;;;:::i;:::-;;;;;;;;;;;6119:760;;;;6792:72;;;;;;:::i;:::-;;;;4315:124;4406:21;4414:12;;1085:1767:2;4406:21:24;;:::i;:::-;4315:124;;3693:87;3754:6;;;;:::i;:::-;3693:87;;;;3614:411;3992:4;;3999:10;3992:4;;3999:10;;:::i;:::-;3614:411;;3349:79;3393:20;1085:1767:2;;3393:20:24;;;;3275:1030;4130:9;;;4116:23;;4112:89;;4259:4;;1085:1767:2;4259:35:24;;;;;;1845:15;1085:1767:2;;;4259:35:24;1085:1767:2;;4259:35:24;;;;1085:1767:2;4259:35:24;;;;;;;;;2253:207;4259:35;;;3275:1030;;;;4259:35;;;;;;:::i;:::-;;;;4112:89;4166:20;1085:1767:2;;4166:20:24;;;;2968:3;3007:9;:28;:9;;;;;;:::i;:::-;1085:1767:2;3007:28:24;:::i;:::-;1085:1767:2;2935:13:24;;2768:76;2812:21;1085:1767:2;;2812:21:24;;;;2511:89;2578:10;;-1:-1:-1;2511:89:24;;2604:246:2;2674:10;2750:94;;;;2604:246::o;1418:1133:44:-;1748:7;-1:-1:-1;1748:7:44;;-1:-1:-1;809:45:46;;;;1085:1767:2;809:45:46;-1:-1:-1;809:45:46;;1085:1767:2;1828:19:44;;1824:86;;-1:-1:-1;2008:537:44;;;;;;;;;;;;-1:-1:-1;2008:537:44;;;;;;-1:-1:-1;2008:537:44;;;-1:-1:-1;2008:537:44;1824:86;1870:29;809:45:46;1085:1767:2;1870:29:44;;;;5398:1256:22;;;1085:1767:2;5549:1068:22;;;;;;;;5398:1256;5549:1068;;;;5398:1256::o;5549:1068::-;;;;5398:1256::o;5549:1068::-;;1085:1767:2;5549:1068:22;;1085:1767:2;5549:1068:22;;;;;;;;;;;;;;1275:1935;;1393:1811;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1275:1935;1393:1811;;;;;;1275:1935::o;1393:1811::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1200:1136:40;;1401:929;1200:1136;1401:929;1200:1136;;;1401:929;;;;;;;;;;;;;;;;;;;;;;;;;1328:7;;;1401:929;;;;;1200:1136::o;1401:929::-;;;;;;;3474:1685:22;;3600:1553;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3474:1685::o;3600:1553::-;;;;;;;;;;;;;;;;;;;;;;3474:1685::o;8759:1381::-;;;;;9009:1125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8759:1381;9009:1125;;;;;8759:1381;:::o;9009:1125::-;;;;;;;;;;-1:-1:-1;9009:1125:22;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360:27;;;;;5571:5029;;;;;;;;5246:5360;5571:5029;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360::o;5571:5029::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5571:5029:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5246:5360::o;5571:5029::-;;;;;;;;;;;;;1085:1767:2;5500:4:27;1085:1767:2;5571:5029:27;;;;;;;;;;;10409:855:22;1085:1767:2;;10409:855:22;10568:690;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10409:855::o;10568:690::-;;;-1:-1:-1;10409:855:22:o;10568:690::-;;;-1:-1:-1;;10409:855:22:o;1085:1767:2:-;;1437:2:4;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;:::o;1731:7:4:-;;;1126:3;1731:7;;1126:3;1731:7;;;;;:::o;:::-;;1185:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;1244:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;1023:4;1731:7;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;3155:7453::-;;;;;;3622:37;1085:1767:2;3622:37:4;36356:370;36568:152;;;;;;36356:370;;3622:37;3944:50;;;;;:::i;:::-;3927:67;;3923:461;;3155:7453;4457:24;;;;:::i;:::-;1085:1767:2;;;;4533:4823:4;;3155:7453;-1:-1:-1;;9628:11:4;;;-1:-1:-1;9628:11:4;;9784:28;;;1085:1767:2;;;;;;;;;;;;9784:28:4;1794:7;1085:1767:2;;;1794:7:4;9784:28;9780:266;;10189:15;;;;;10273:42;10189:15;10337:19;10189:15;;;:::i;:::-;10273:42;1607:7;10296:9;1607:7;1085:1767:2;;;;10273:42:4;;;:::i;:::-;;10337:19;:::i;:::-;10329:40;;1085:1767:2;10329:40:4;:::o;9780:266::-;9965:14;;10006:18;9965:14;;;;;;;;:::i;10006:18::-;9998:33;1085:1767:2;9998:33:4;1085:1767:2;9998:33:4;:::o;4533:4823::-;1794:7;4649:32;;;;;;;;;:37;;;;4766:28;;;;1085:1767:2;;;;;;;;;;;;4766:28:4;4974:31;;;;4533:4823;4970:269;;1671:7;5329:33;;:38;;5471:31;;;;:::i;:::-;5520:14;;;;;5664:22;;;;;6046:312;5664:22;5800:31;5801:20;6546:16;5664:22;;;5942:21;5664:22;;;;;;;6507:12;5664:22;;:::i;:::-;5647:39;;:81;;;5689:22;;;:::i;:::-;5801:20;:::i;:::-;4276:6;1731:7;;;;5800:31;5868:27;5867:38;5868:27;;;:::i;5867:38::-;5942:21;;;;;:::i;:::-;6046:312;;;;:::i;:::-;6507:12;;;;:::i;6546:16::-;6538:60;;;:::o;5647:81::-;;;;5801:20;:::i;5516:3830::-;6699:26;;;;;;;;1851:7;6699:26;;;;;;;:31;;6695:2651;1851:7;;;6754:11;;6750:991;;6695:2651;;;;;4533:4823;;;;;6750:991;6905:33;;;;;7670:16;6905:33;;;;7627:12;6905:33;7122:348;6905:33;6988:43;6904:44;6989:32;6905:33;;;;:::i;6904:44::-;6989:32;;;;:::i;6988:43::-;7122:348;;;;:::i;6695:2651::-;7845:30;;;;1912:7;7845:30;;7841:1505;;6695:2651;;;;;;;;7841:1505;7904:11;7900:1432;7841:1505;7900:1432;8048:32;;;;;;;;;1607:7;8047:43;8048:32;8130:26;8048:32;;;;;:::i;8047:43::-;8130:26;;;;;:::i;:::-;8297:30;;8293:240;;7900:1432;8713:348;9218:12;8713:348;;;;;;9261:16;8713:348;;;;;:::i;8293:240::-;1085:1767:2;;-1:-1:-1;8506:4:4;;-1:-1:-1;8293:240:4;;4970:269;5158:14;;;;;;;;;;;;;5199:18;5158:14;;;:::i;4974:31::-;;;;;3923:461;4020:29;;;;;;:::i;:::-;4163;1731:7;4163:29;;4159:215;3923:461;4159:215;4242:30;4241:41;4242:30;;;:::i;4241:41::-;4310:49;:23;;;;;;:49;;4159:215;3923:461;;4310:49;;;;;10954:139:1;11033:8;11028:13;;;11024:36;;10954:139;:::o;11024:36::-;11614:191;;;;;;22964:8034:42;;;;;23396:7542;;;;;;;;;;22964:8034;23396:7542;;;;;;;;;23228:25;;;;;;23396:7542;;;;;;;;;;;;;;;;;;23299:30;23396:7542;;;;;;;;;;;;;;;22964:8034;23396:7542;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30968:22;23396:7542;;;;;;;;;;30968:22;:::i;23396:7542::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30968:22;23396:7542;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23396:7542:42;;;;;-1:-1:-1;23396:7542:42;;;;-1:-1:-1;23396:7542:42;;;;29008:7129:4;;;;;;;;;;;1085:1767:2;29571:25:4;29690:37;29571:25;;;;:::i;:::-;29690:37;36356:370;36568:152;;;;;;36356:370;;29690:37;29809:26;;;;29805:85;;30059:49;;;;;:::i;:::-;30044:64;;30040:455;;29008:7129;1085:1767:2;;;30546:4909:4;;29008:7129;35537:51;;;;;;;;;;;:::i;:::-;;35727:11;35723:340;;29008:7129;36080:21;;;;:::i;:::-;36072:58;;;1085:1767:2;29008:7129:4;:::o;35723:340::-;35824:27;;;;;1085:1767:2;;;;;;;;;;;;35824:27:4;35820:108;;36080:21;1607:7;35995:57;1607:7;;;35995:57;1607:7;36033:9;1607:7;1085:1767:2;;;;35995:57:4;36021:10;;35995:57;;:::i;:::-;;35723:340;;;35820:108;-1:-1:-1;35871:42:4;;-1:-1:-1;1085:1767:2;;;;35871:42:4:o;30546:4909::-;1794:7;30662:32;;;;;;;;;;;;;:37;;;;30779:27;;;;1085:1767:2;;;;;;;;;;;;30779:27:4;30941:31;;;;30546:4909;30937:261;;1671:7;31288:33;;:38;;31430:31;;;;:::i;:::-;31479:14;;;;;31593:55;;;31721:20;31593:55;:26;;;:55;:26;;;:55;;31721:20;:::i;:::-;4276:6;1731:7;;31788:27;;;;:::i;:::-;4276:6;1731:7;;31862:21;;;;;:::i;:::-;32048:10;;;;31969:349;;;:::i;:::-;:363;;;;:::i;:::-;32430:51;;;;:::i;:::-;;32499:76;;;;:::o;31475:3970::-;32676:26;;;;;;;;;;;;;;;;-1:-1:-1;32676:26:4;;-1:-1:-1;1851:7:4;32676:26;;:31;1851:7;;32731:11;32727:1052;;32672:2773;;;;;;35537:51;32672:2773;;;;;30546:4909;;;;;;;;32727:1052;32882:33;;;;;;;;;;;;;;:::i;:::-;4276:6;1731:7;;32966:32;;;;;:::i;:::-;4276:6;1731:7;;33189:10;;;;33102:389;;;:::i;32672:2773::-;33883:30;1912:7;33883:30;;;;;;;;;33879:1566;;32672:2773;;;;;;;;35537:51;32672:2773;;;;33879:1566;33942:11;;;;;;;;;;33938:1493;;33879:1566;;;;;;;;33938:1493;34086:32;;;;;;;;;;1607:7;34085:43;34168:26;34086:32;;;;:::i;34085:43::-;34168:26;;;;;:::i;:::-;34335:30;;34331:240;;33938:1493;34841:10;;35263:51;34841:10;;;;;34754:389;34841:10;;34754:403;34841:10;;;34754:389;;:::i;:::-;:403;:::i;:::-;35263:51;;:::i;34331:240::-;1085:1767:2;;-1:-1:-1;34544:4:4;;-1:-1:-1;34331:240:4;;30937:261;31072:51;;;;;;;;;;;;;;;:::i;:::-;;31141:42;;1085:1767:2;31141:42:4;1085:1767:2;31141:42:4;:::o;30941:31::-;;;;;30040:455;30134:26;;;;;;:::i;:::-;30274:29;1731:7;30274:29;;30270:215;30040:455;30270:215;30353:30;30352:41;30353:30;;;:::i;30352:41::-;30421:49;:23;;;;;;:49;;30270:215;30040:455;;30421:49;;;;;29805:85;29858:21;1085:1767:2;;29858:21:4;;;;19412:8539;;;;;;;;19930:19;;;:59;:19;;;19915:75;19952:19;;;:::i;:::-;19915:75;;:::i;:::-;1085:1767:2;;36568:152:4;;;;;;;20335:26;;;;;20331:85;;20585:49;;;:::i;:::-;20570:64;;20566:455;;19930:59;1085:1767:2;;;21072:5440:4;;19930:59;26630:16;;;;;;26594:53;26630:16;;:::i;:::-;26594:53;;;;:::i;:::-;-1:-1:-1;26912:11:4;;;;27068:27;;;1085:1767:2;;;;;;;;;;;;27068:27:4;27064:283;;27639:26;1607:7;;27591:25;1607:7;27543:74;1607:7;27414:41;1607:7;27414:41;1607:7;27436:9;1607:7;1085:1767:2;;;;27414:41:4;;;:::i;:::-;;27591:25;:::i;:::-;27579:10;;27543:74;;:::i;27064:283::-;27283:26;27229:10;;;27193:64;27229:10;;27193:64;;:::i;27283:26::-;27275:57;;1085:1767:2;27275:57:4;1085:1767:2;27275:57:4;:::o;21072:5440::-;1794:7;21188:32;;:37;;;;21305:27;;;;1085:1767:2;;;;;;;;;;;;21305:27:4;21512:31;;;;21072:5440;21508:438;;1671:7;22036:33;;:38;;22178:31;;;;:::i;:::-;22227:14;;22223:1217;;-1:-1:-1;;;1851:7:4;23521:26;;:31;1851:7;;23576:11;;23572:1158;;23517:2985;;;;;26630:16;26594:53;23517:2985;;21072:5440;;;;;;23572:1158;23727:33;;;;;;;;;;;;:::i;:::-;4276:6;1731:7;;23811:32;;;;;:::i;:::-;4276:6;1731:7;;23943:348;;;;;;:::i;:::-;24419:10;24383:61;;;:::i;:::-;24586:16;;;;:::i;:::-;24550:53;;;;;:::i;:::-;;24633:26;;;:::i;:::-;24625:86;;;;:::o;23517:2985::-;24834:30;;;1912:7;24834:30;;24830:1672;;23517:2985;;;;;;;26630:16;26594:53;23517:2985;;;24830:1672;24893:11;24889:1599;24830:1672;24889:1599;25037:32;;;;;;;;1607:7;25036:43;25037:32;25119:26;25037:32;;;;;;:::i;25036:43::-;25119:26;;;;;:::i;:::-;25286:30;;25282:240;;24889:1599;25701:348;;;26141:61;25701:348;;;26391:26;25701:348;;;;26308:53;25701:348;;26344:16;25701:348;;:::i;26141:61::-;26344:16;;:::i;:::-;26308:53;;;;:::i;25282:240::-;1085:1767:2;;-1:-1:-1;25495:4:4;;-1:-1:-1;25282:240:4;;22223:1217;22341:55;;;;;;;;;22469:20;22341:55;;:26;;;:55;:26;;;:55;22469:20;:::i;:::-;4276:6;1731:7;;22536:27;;;;:::i;:::-;4276:6;1731:7;;22610:21;;;;;:::i;:::-;22713:312;;;;;;:::i;22341:55::-;;;22469:20;:::i;21508:438::-;21677:10;;;;;;;;21882:26;21677:10;;;21641:64;21803:53;21677:10;21839:16;21677:10;;21641:64;;:::i;21839:16::-;21803:53;;;;:::i;21512:31::-;;;;;20566:455;20660:26;;;;;;:::i;:::-;20800:29;1731:7;20800:29;;20796:215;20566:455;20796:215;20879:30;20878:41;20879:30;;;:::i;20878:41::-;20947:49;:23;;;;;;:49;;20796:215;20566:455;;20947:49;;;;;19930:59;19915:75;19930:59;;;1808:1258:38;;;2061:999;1808:1258;;;2061:999;1808:1258;2061:999;1808:1258;2061:999;;;;;;;;;;;;;;;;;;;;;;;;1808:1258::o;2061:999::-;;;;;;;;12589:10305:42;;;;;;13030:9819;;;;;;;;;;;;;;;;;;;22865:22;;;;;;;;;;;;;:::i;13030:9819::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13030:9819:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13030:9819:42;;;12863:25;;;;;;13030:9819;;;;;;;;;;;;;;;;;;;;;;;;12934:30;13030:9819;;;;;;;;;;;;;;;;12863:25;;;;;13030:9819;;;;;;;;;;;;;;;;;;12934:30;13030:9819;;;;;;;;;;;;;;;11220:7108:4;;;;;;11692:37;1085:1767:2;11692:37:4;36356:370;36568:152;;;;;;36356:370;;11692:37;11901:50;;;;;:::i;:::-;11884:67;;11880:461;;11220:7108;12414:24;;;;:::i;:::-;1085:1767:2;;;;12490:4688:4;;11220:7108;-1:-1:-1;;17450:11:4;;;-1:-1:-1;17450:11:4;;17606:28;;;1085:1767:2;;;;;;;;;;;;17606:28:4;17602:232;;17911:52;;;;;;18031:42;17911:52;;:::i;:::-;;18031:42;1607:7;18054:9;1607:7;1085:1767:2;;;;18031:42:4;;18087:36;;1085:1767:2;18087:36:4;:::o;17602:232::-;17721:51;;;;;;;;;:::i;:::-;;17790:29;1085:1767:2;17790:29:4;1085:1767:2;17790:29:4;:::o;12490:4688::-;1794:7;12606:32;;;;;;;;;:37;;;;12723:28;;;;1085:1767:2;;;;;;;;;;;;12723:28:4;12931:31;;;;12490:4688;12927:235;;1671:7;13252:33;;:38;;13394:31;;;;:::i;:::-;13443:14;;;;;13587:22;;;13865:21;13587:22;;;;13723:31;13724:20;14364:49;13587:22;;;;;;;;;13969:312;13587:22;;:::i;13723:31::-;13791:27;13790:38;13791:27;;;:::i;13790:38::-;13865:21;;;;;:::i;:::-;13969:312;;;;:::i;:::-;14364:49;;;;:::i;:::-;;14431:56;;;:::o;13439:3729::-;14588:26;;;;;;;;1851:7;14588:26;;;;;;;:31;;14584:2584;1851:7;;;14643:11;;14639:957;;14584:2584;;;;;12490:4688;;;;;14639:957;14794:33;;;;;;15450:49;14794:33;;;15011:348;14794:33;;;14877:43;14793:44;14794:33;14878:32;14794:33;;:::i;14793:44::-;14878:32;;;;:::i;14877:43::-;15011:348;;;;:::i;14584:2584::-;15700:30;;;;1912:7;15700:30;;15696:1472;;14584:2584;;;;;;;;15696:1472;15759:11;15755:1399;15696:1472;15755:1399;15903:32;;;;;;;;;1607:7;15902:43;15903:32;15985:26;15903:32;;;;;:::i;15985:26::-;16152:30;;16148:240;;15755:1399;16568:348;;;;;;17008:49;16568:348;;;;;:::i;16148:240::-;1085:1767:2;;-1:-1:-1;16361:4:4;;-1:-1:-1;16148:240:4;;12927:235;13049:51;;;;;;;;;;;;;;;;:::i;12931:31::-;;;;;11880:461;11977:29;;;;;;:::i;:::-;12120;1731:7;12120:29;;12116:215;11880:461;12116:215;12199:30;12198:41;12199:30;;;:::i;12198:41::-;12267:49;:23;;;;;;:49;;12116:215;11880:461;;12267:49;;;;;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1622:10048::-;;;;;1772:25;1843:30;1939:9725;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1622:10048;;;;;;;;;:::o;1939:9725::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;-1:-1:-1;1939:9725:41;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1939:9725:41;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1939:9725:41;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1655:3482:37;;;;1969:3102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5080:50;1969:3102;;;;;;;1655:3482;:::o;1969:3102::-;;;-1:-1:-1;1969:3102:37;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1969:3102:37;;;;;;;;;;5185:747;;5370:556;5185:747;;5370:556;;;;;;;;5290:14;5370:556;;;;;5185:747;:::o;5370:556::-;;;;;;;;1818:775:36;1949:638;;;;;1818:775;:::o;1949:638::-;;;;;1818:775::o;1949:638::-;;;;;;;6935:1577:22;7104:1402;6935:1577;;;;;7104:1402;;;;;;;6935:1577::o;7104:1402::-;;;;;;;6935:1577;;;7104:1402;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6935:1577::o;7104:1402::-;;;-1:-1:-1;7104:1402:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366:28;;;;;5667:5997;;;;;;;;;;5304:6366;5667:5997;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5304:6366::o;5667:5997::-;;;;;;;;;;;;;;;;1085:1767:2;5596:4:28;1085:1767:2;5667:5997:28;;;;;;;;;;;;;;646:1087:38;;868:859;646:1087;868:859;646:1087;;;868:859;646:1087;868:859;;;;;;;;;;;;;;;;;;;;646:1087::o;11745:12295:41:-;;;;;;;12201:11833;;;;;;;;;;;;;;;;11745:12295;;;;;;;;;;;:::o;12201:11833::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11992:25;;;;;;;;12201:11833;;;;;;;;;;;;;;;;;;;;12063:30;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12201:11833:41;;11992:25;12201:11833;;;-1:-1:-1;12201:11833:41;;;;;;;;;;;;12063:30;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12128:7;;;12201:11833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45347:198:4;;1085:1767:2;45499:39:4;45347:198;1085:1767:2;45499:39:4;;:::i;44017:467::-;44166:285;;;;;;;44017:467;:::o;44166:285::-;;;44017:467;:::o;1085:1767:2:-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;39608:1:4;1085:1767:2;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;39810:1:4;1085:1767:2;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1085:1767:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37617:2649:4;;;;;;;;37968:28;;;;:::i;:::-;38010:14;;;;38040:21;;;;;;;;;:::o;38006:2205::-;38096:30;;;;;;;38006:2205;-1:-1:-1;38092:2109:4;;;38387:24;;;;38504:26;;;38500:110;;40233:26;38631:16;;38627:104;;38092:2109;;;;40233:26;:::i;38627:104::-;1085:1767:2;38671:41:4;1085:1767:2;;38671:41:4;;:::i;:::-;;38627:104;;;;;38500:110;38561:30;1085:1767:2;;38561:30:4;;;;38092:2109;38844:26;;;;;;;38840:110;;38967:1220;;;39091:17;40233:26;39091:17;39087:116;;38967:1220;39228:16;;39224:112;;38967:1220;;;40233:26;:::i;39087:116::-;39136:44;1607:7;39136:44;1607:7;39155:9;1607:7;1085:1767:2;;;;39136:44:4;;;:::i;:::-;;39087:116;;;38967:1220;39980:94;1085:1767:2;;;;;39467:9:4;;;1085:1767:2;39440:49:4;;;;;;:::i;:::-;;39700:25;39594:16;;:::i;:::-;39662;;;:::i;:::-;1085:1767:2;;39700:25:4;;;:::i;:::-;1085:1767:2;;;;;;39700:25:4;39747:28;;;:::i;:::-;1085:1767:2;39797:35:4;;1607:7;39608:1;1607:7;1085:1767:2;;;;39797:35:4;;;;:::i;:::-;39854:29;;;:::i;:::-;1085:1767:2;;;:::i;:::-;;;;;;39980:94:4;;;1085:1767:2;;39980:94:4;;;;1085:1767:2;40137:31:4;;;;;;38023:1;1085:1767:2;;;;39980:94:4;1085:1767:2;40137:31:4;;;;;;1085:1767:2;40137:31:4;;;;;;:::i;:::-;;;;;;;;;;40233:26;40137:31;;;38967:1220;5686:49:24;:::i;40137:31:4:-;;;;;;:::i;:::-;;;;38096:30;;;;;;11099:133:1;11178:1;11174:5;;11170:28;;11099:133;:::o;40969:2744:4:-;;;;;;;;;;41339:28;;;;:::i;:::-;41381:14;;41377:2304;;40969:2744;43690:16;;;;;;;;;40969:2744;:::o;41377:2304::-;41415:30;;;;;;;;;;;41377:2304;-1:-1:-1;41411:2209:4;;;41654:24;;;;41771:26;;;41767:110;;41950:16;41946:171;;41411:2209;;;;;;41377:2304;;;;;;;;;;;41946:171;1085:1767:2;42046:52:4;1085:1767:2;;42046:52:4;;:::i;:::-;;41946:171;;;;;;41411:2209;42230:26;;;;;42226:110;;42353:1253;;;42477:17;42473:127;;42353:1253;42625:16;;42621:123;;42353:1253;;;;;41411:2209;;42621:123;1085:1767:2;42669:52:4;1085:1767:2;;42669:52:4;;:::i;:::-;;42621:123;;;;;;42473:127;42522:55;1607:7;42522:55;1607:7;42552:9;1607:7;1085:1767:2;;;;42522:55:4;;;;:::i;:::-;;42473:127;;;42353:1253;1085:1767:2;43399:94:4;1085:1767:2;;;;;42886:9:4;42848:60;42886:9;;;1085:1767:2;42848:60:4;;;;:::i;:::-;;43119:25;43013:16;;:::i;:::-;43081;;;:::i;:::-;1085:1767:2;;43119:25:4;;;:::i;:::-;43166:28;;;:::i;:::-;1085:1767:2;43216:35:4;;1607:7;43027:1;1607:7;1085:1767:2;;;;43216:35:4;;;;:::i;:::-;43273:29;;;:::i;:::-;1085:1767:2;;;:::i;:::-;;;;;;43399:94:4;;;1085:1767:2;;43399:94:4;;;;1085:1767:2;43556:31:4;;;;;;41394:1;1085:1767:2;;;;43399:94:4;1085:1767:2;43556:31:4;;;;;;1085:1767:2;43556:31:4;;;;;;:::i;:::-;;;;;;;;;;;42353:1253;;41411:2209;;43556:31;;;;;;:::i;:::-;;;;41415:30;;;;;;44743:373;;;;44936:1;44927:10;;44923:169;;45101:8;;;45108:1;44743:373;:::o;44923:169::-;1085:1767:2;45017:37:4;1085:1767:2;;45017:37:4;;;;:::i;:::-;;45068:13;:::o","linkReferences":{},"immutableReferences":{"1899":[{"start":3863,"length":32},{"start":23535,"length":32},{"start":24182,"length":32}],"7963":[{"start":1591,"length":32},{"start":11955,"length":32},{"start":12332,"length":32},{"start":12560,"length":32},{"start":13102,"length":32},{"start":13248,"length":32}],"8007":[{"start":5490,"length":32},{"start":5912,"length":32},{"start":6237,"length":32},{"start":21201,"length":32}],"8127":[{"start":2364,"length":32},{"start":8644,"length":32},{"start":14184,"length":32},{"start":22712,"length":32}],"8178":[{"start":5381,"length":32},{"start":20174,"length":32},{"start":22406,"length":32},{"start":22556,"length":32}],"8181":[{"start":2255,"length":32},{"start":20141,"length":32},{"start":22349,"length":32},{"start":22505,"length":32}],"8285":[{"start":5183,"length":32},{"start":8380,"length":32},{"start":16268,"length":32},{"start":19127,"length":32},{"start":19260,"length":32}],"8288":[{"start":2110,"length":32},{"start":8319,"length":32},{"start":16212,"length":32},{"start":19064,"length":32},{"start":19204,"length":32}],"8441":[{"start":909,"length":32},{"start":1260,"length":32},{"start":3367,"length":32},{"start":3604,"length":32},{"start":4166,"length":32},{"start":4335,"length":32},{"start":4629,"length":32},{"start":5292,"length":32},{"start":6787,"length":32},{"start":7050,"length":32},{"start":7683,"length":32},{"start":7893,"length":32},{"start":9723,"length":32},{"start":10058,"length":32},{"start":10467,"length":32},{"start":12077,"length":32},{"start":12680,"length":32},{"start":12884,"length":32},{"start":13379,"length":32},{"start":15003,"length":32},{"start":21987,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"AUGUSTUS_RFQ()","signatureHash4":"0x55c0bff0","signatureHash32":"0x55c0bff0881c744400dbba7cde5c5c124e71fdd325ce3f69231be79b744854d6"},{"signature":"BALANCER_VAULT()","signatureHash4":"0xbc163846","signatureHash32":"0xbc163846db5410cfa1c9618c33a8667c5c0d959e57a9562b584a4da1ec4773bc"},{"signature":"blacklistedTokens(address)","signatureHash4":"0x5c8b5f44","signatureHash32":"0x5c8b5f44de6110a4a17b556949d3b6bf58947115d3c298e481dc86365a279db5"},{"signature":"FEE_VAULT()","signatureHash4":"0x8940192a","signatureHash32":"0x8940192aa78bfda25455261f143c6c8bf1f4071cc303ad4d8d400b88f23b8ed5"},{"signature":"feeWallet()","signatureHash4":"0xf25f4b56","signatureHash32":"0xf25f4b564dd29edc45ba6636db8d9591919c03f85297f646c5e6d5effb629d19"},{"signature":"feeWalletDelegate()","signatureHash4":"0xe65dc2f2","signatureHash32":"0xe65dc2f251bdc8de70571b2d828a6d6a864d5e71af73a1e59bfb82701d4fe367"},{"signature":"MAX_FEE_PERCENT()","signatureHash4":"0x67d81740","signatureHash32":"0x67d81740101c0f798b1a1e00c8981b11c1098eab898758a83cdf947c5c12e98d"},{"signature":"MINIMUM_SURPLUS_EPSILON_AND_ONE_WEI()","signatureHash4":"0xed386afa","signatureHash32":"0xed386afafb468e3d96b9cfd19b7ff6cdf468c6c2a2105fb26b82fa9fb34114a4"},{"signature":"PARASWAP_REFERRAL_SHARE()","signatureHash4":"0x90a0c0ea","signatureHash32":"0x90a0c0ea0c1518d74df03d425b643af65ab9a88a89777ec077848689bb8072fd"},{"signature":"PARASWAP_SLIPPAGE_SHARE()","signatureHash4":"0x838bf44d","signatureHash32":"0x838bf44d1d43877e87cd655ea9fca9b57942b4118191165d71814f1bd16f2029"},{"signature":"PARASWAP_SURPLUS_SHARE()","signatureHash4":"0xc8e416dd","signatureHash32":"0xc8e416dd9218c283fc7583aa0f96735725e5d75f87706c5d6820752a2e8eb47c"},{"signature":"parsePartnerAndFeeData(uint256)","signatureHash4":"0xfe12941f","signatureHash32":"0xfe12941f7e39895e20af4a7cb792fc6cd2236f1bb253a26e45a897898216ba68"},{"signature":"PARTNER_REFERRAL_SHARE()","signatureHash4":"0x9facd044","signatureHash32":"0x9facd044c0e98d04adcecbe27e9999ddd447969ace9b89ac84f35d0c242c05a5"},{"signature":"PARTNER_SHARE_PERCENT()","signatureHash4":"0x42f3b241","signatureHash32":"0x42f3b241f797a203eeb33e0b76bf858cfab5eaebd85bd2e468f8cfd710671ce6"},{"signature":"paused()","signatureHash4":"0x5c975abb","signatureHash32":"0x5c975abbf8c4d6efa68fc896e233763eb503f2318260b7bf59b19412913788b2"},{"signature":"PERMIT2()","signatureHash4":"0x6afdd850","signatureHash32":"0x6afdd850f967f1c41a55ae30f77ec611628a7b2d95511df4d83573970f4ee531"},{"signature":"SURPLUS_PERCENT()","signatureHash4":"0x523819fb","signatureHash32":"0x523819fb23949a673ce25559edd6b2e389beca99f7cd493e98da20022264e975"},{"signature":"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)","signatureHash4":"0xe3ead59e","signatureHash32":"0xe3ead59e05cebbecba70dd4d25debec96ffa8496a9e24ba097b4760fbb33f6d9"},{"signature":"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)","signatureHash4":"0xd85ca173","signatureHash32":"0xd85ca1732d2759a2d4ede3ae3cd0f7b790ae13ab6e782e9ec52cf0eb140642db"},{"signature":"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)","signatureHash4":"0x1a01c532","signatureHash32":"0x1a01c532932b31416da9fda99ac2483c9e35bf497d9f5c7e1761b48dee14fbd2"},{"signature":"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)","signatureHash4":"0xe37ed256","signatureHash32":"0xe37ed256eb4529892b63cf8125e505f92439b799ded2ded993cd405eb633de20"},{"signature":"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)","signatureHash4":"0xe8bb3b6c","signatureHash32":"0xe8bb3b6c5a9575bff838b0ff9759d93e01b49a35c3e83b71ad5a30a4b5c79cea"},{"signature":"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)","signatureHash4":"0x876a02f6","signatureHash32":"0x876a02f68016c1c1e7834c5771376ed180ac167b5241d10c7fd0460ef7593b99"},{"signature":"swapExactAmountOut(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)","signatureHash4":"0x7f457675","signatureHash32":"0x7f457675525897eea8399a2b3f10690bc36c3383b345f43ba5a6afd4f8faf5c5"},{"signature":"swapExactAmountOutOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)","signatureHash4":"0xd6ed22e6","signatureHash32":"0xd6ed22e69280b6c28acf8beda309edc52bf90d3b340f024e0a8202186f5c54e5"},{"signature":"swapExactAmountOutOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)","signatureHash4":"0xa76f4eb6","signatureHash32":"0xa76f4eb6d46dd7d7ffd66bedd7db2e96026fd4491e4fb6e64c32598b6ac824e6"},{"signature":"swapExactAmountOutOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)","signatureHash4":"0x5e94e28d","signatureHash32":"0x5e94e28dfcdc641826465991078290ad92c75812b1ad3cea33d9f51412316049"},{"signature":"swapOnAugustusRFQTryBatchFill((uint256,uint256,uint8,bytes32,address),((uint256,uint128,address,address,address,address,uint256,uint256),bytes,uint256,bytes,bytes)[],bytes)","signatureHash4":"0xda35bb0d","signatureHash32":"0xda35bb0d2056bb16ee8a8f60db5f9db453b8763532c28070ff3798bdebfda8b8"},{"signature":"UNISWAP_V2_FACTORY_AND_FF()","signatureHash4":"0x6a6f511a","signatureHash32":"0x6a6f511a9e32f7bd416c874ca279a5d7a8eff0423b24698de074ac9538fd4e28"},{"signature":"UNISWAP_V2_POOL_INIT_CODE_HASH()","signatureHash4":"0xb613cc8a","signatureHash32":"0xb613cc8a244eb73d51dd12255442162f3e70315b4ccf458267f1b9d78c6e6392"},{"signature":"UNISWAP_V3_FACTORY_AND_FF()","signatureHash4":"0x66c31b84","signatureHash32":"0x66c31b842da2cabd6bd03859b6dda2baf2e6f289910e80590d5f30b25d896d56"},{"signature":"UNISWAP_V3_POOL_INIT_CODE_HASH()","signatureHash4":"0xaad8a491","signatureHash32":"0xaad8a491960d3afc391d3c0fe41ed8f937a4f952ed7aafaf5f74d39f622e385e"},{"signature":"uniswapV3SwapCallback(int256,int256,bytes)","signatureHash4":"0xfa461e33","signatureHash32":"0xfa461e33028c3f5ba6fd24f0f40b936af65270d771ddf3e963f1798ed73aadc4"},{"signature":"WETH()","signatureHash4":"0xad5c4648","signatureHash32":"0xad5c46488b7de578b546a5d35cea48a937114e7ed63179543cd1f8e1899a1241"}],"event":[{"signature":"DiamondCut((address,uint8,bytes4[])[],address,bytes)","signatureHash4":"0x8faa7087","signatureHash32":"0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"}],"error":[{"signature":"ArbitrageNotSupported()","signatureHash4":"0x0d56c171","signatureHash32":"0x0d56c17151e1c99ded906d2845e52c9ba8280eeab5d09d340a411652c87fd53c"},{"signature":"CallbackTransferFailed()","signatureHash4":"0x1bbb4abe","signatureHash32":"0x1bbb4abe188834be0acc4c602d313ae6ecd9eb366d9d99d26295f8dc7e561e34"},{"signature":"ContractPaused()","signatureHash4":"0xab35696f","signatureHash32":"0xab35696f06e428ebc5ceba8cd17f8fed287baf43440206d1943af1ee53e6d267"},{"signature":"DiamondFunctionDoesNotExist()","signatureHash4":"0x7a2ee929","signatureHash32":"0x7a2ee929eb0e292c9d577b82714631bde9e60e3c475636e249df2d6a0c2ead09"},{"signature":"IncorrectEthAmount()","signatureHash4":"0x8b6ebb4d","signatureHash32":"0x8b6ebb4d5acea63fc04b506283a328333f4bb9779cf9b2cfd8df3934f34a5ebc"},{"signature":"InitializationFunctionReverted(address,bytes)","signatureHash4":"0x192105d7","signatureHash32":"0x192105d7c9705d7758a80e15689daed7a9a10e21cf07f39c489e10b763120253"},{"signature":"InsufficientBalanceToPayFees()","signatureHash4":"0x3ff640db","signatureHash32":"0x3ff640db6fdbc1681420a05683c99e20a30cf7b022f9e6ec91d93886ed9ebf9c"},{"signature":"InsufficientReturnAmount()","signatureHash4":"0xcea9e31d","signatureHash32":"0xcea9e31d23ff2dfe489ee92fc84dabb483cfa89abd85317011ac9d471e46f1a6"},{"signature":"InvalidCaller()","signatureHash4":"0x48f5c3ed","signatureHash32":"0x48f5c3ed50241a1b6c87d204a25d9d01339cd768de9a714ffbb53a5bb6ad572a"},{"signature":"InvalidOrdersLength()","signatureHash4":"0x91b3fafa","signatureHash32":"0x91b3fafa1efe32ff9ba2c0eecd4fc0898d9632201809051139693c93931c17a0"},{"signature":"InvalidQuotedAmount()","signatureHash4":"0xb1c349e8","signatureHash32":"0xb1c349e8ad55d79e42ea21ebb83d19ee309ce417d431d8961d6594bb67e74f95"},{"signature":"InvalidSelector()","signatureHash4":"0x7352d91c","signatureHash32":"0x7352d91c8bff978375e72e7794a042de79cdeaffd9d62cbb638bd01a3e13c308"},{"signature":"InvalidToAmount()","signatureHash4":"0x8570bedf","signatureHash32":"0x8570bedfe37db04fef286ccd9c3d6bcb84142b154a07763645a19cd51d642d4e"},{"signature":"Permit2Failed()","signatureHash4":"0x6b836e6b","signatureHash32":"0x6b836e6b2b4229e1831dc2a53d036d558be1a84a55a3b2d3a8a4c2ae93e1b824"},{"signature":"UnauthorizedUser()","signatureHash4":"0x02a43f8b","signatureHash32":"0x02a43f8bf44dc86f5ba5268dacc1abe59054875ced32d081990c44ccbd9a15d6"}]},"proxyResolution":{"isProxy":true,"proxyType":"DiamondProxy","implementations":[{"address":"0xfa39c1c670b48956eeF9fd0BbD0E81A290326330","name":"DiamondCutFacet"},{"address":"0x515D89fB6b472D56Ca065AB21b32975f6ab8da3E","name":"DiamondLoupeFacet"},{"address":"0x61Ab356a686958fb878B0dee6e87b1b4Fc36d553","name":"OwnershipFacet"},{"address":"0xcd8875014ac31Fcbea5890d79834c90033518192","name":"AdminFacet"},{"address":"0x49C46f7f88110ccA234ef27Cd664510f7bbF5998","name":"BackwardCompatibilityFacet"},{"address":"0xa1686Ee049A745211D64ef2B305495D9425e7BD3","name":"VersionFacet"},{"address":"0x61e71FB007743684830BB7c9e452D202425a7BDF","name":"MakerPSMRouterFacet"},{"address":"0xB00300C01C00A230b0DC106140047040a20b0c00","name":"ProPartnerFacet"}]},"match":"match","chainId":"1","address":"0x6A000F20005980200259B80c5102003040001068"}