{"matchId":"54844143","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-10-06T00:12:42Z","creationBytecode":{"onchainBytecode":"0x61018080604052346105c75760a08161a80b80380380916100208285610753565b8339810103126105c7576040519060a082016001600160401b038111838210176105725760405261005081610776565b80835261005f60208301610776565b906020840191825261007360408401610776565b916040850192835261009a608061008c60608701610776565b956060880196875201610776565b60808601908152916001600160a01b0316801561074057600180546001600160a01b03199081169091555f80549182168317815560405192916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055600f600d5581516001600160a01b031615801561072e575b801561071c575b801561070a575b6106fb5781516001600160a01b0316803b156106e9575083516001600160a01b0316803b156106e9575084516001600160a01b0316803b156106e9575082516001600160a01b0316803b156106e95750835163dc4c90d360e01b8252602090829060049082906001600160a01b03165afa908115610567575f916106ca575b5081516001600160a01b0391821691168082036106b557505082516040516312261ee760e01b815290602090829060049082906001600160a01b03165afa908115610567575f9161067b575b5084516001600160a01b03918216911680820361066657505081516001600160a01b03811690613fff16611fff19016105865760405163dc4c90d360e01b8152602081600481855afa908115610567575f91610637575b5082516001600160a01b039182169116808203610622575050604051638da5cb5b60e01b8152602081600481855afa908115610567575f916105e8575b5086516001600160a01b0391821691168082036105d357505060405163c45a015560e01b8152602081600481855afa908115610567575f91610595575b506001600160a01b0316610586578551600280546001600160a01b039283166001600160a01b03199182168117909255600680549091169091179055825181166080528451811660a05285511660c05260e0526040516107ef8082018281106001600160401b038211176105725782916161e1833903905ff0801561056757610100528251604051906001600160a01b0316610af58083016001600160401b03811184821017610572576020928492619d16843981520301905ff080156105675761012052604051610c288082016001600160401b038111838210176105725782916190ee833903905ff080156105675761016052519151925190516101205161010051604051956001600160a01b039586169561271e95868901959382169482169382169290821691166001600160401b03861189871017610572576101009789976169d08939308752602087015260408601526060850152608084015260a083015260c08201523060e08201520301905ff08015610567576101405251604051906001600160a01b03165f7f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d8180a3615a3790816107aa823960805181818161082401528181612c830152613595015260a0518181816117010152612cd5015260c05181612110015260e0518181816118700152818161263c015281816134b8015261508b015261010051818181610a9201528181610ffe015281816110ee01526158a30152610120518181816108a201526136e0015261014051818181610a4901526135cf015261016051818181611a5b015281816123a201528181613220015281816134ff01528181613b110152818161445601526159260152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63f3a5791760e01b5f5260045ffd5b90506020813d6020116105cb575b816105b060209383610753565b810103126105c7576105c190610776565b5f6102e7565b5f80fd5b3d91506105a3565b63ecfcbf5d60e01b5f5260045260245260445ffd5b90506020813d60201161061a575b8161060360209383610753565b810103126105c75761061490610776565b5f6102aa565b3d91506105f6565b6385399a1760e01b5f5260045260245260445ffd5b610659915060203d60201161065f575b6106518183610753565b81019061078a565b5f61026d565b503d610647565b6331f6789360e21b5f5260045260245260445ffd5b90506020813d6020116106ad575b8161069660209383610753565b810103126105c7576106a790610776565b5f610216565b3d9150610689565b63c6f5398f60e01b5f5260045260245260445ffd5b6106e3915060203d60201161065f576106518183610753565b5f6101ca565b6365f36d5d60e11b5f5260045260245ffd5b63d92e233d60e01b5f5260045ffd5b5082516001600160a01b03161561014b565b5084516001600160a01b031615610144565b5083516001600160a01b03161561013d565b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761057257604052565b51906001600160a01b03821682036105c757565b908160209103126105c757516001600160a01b03811681036105c7579056fe608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f0000000000000000000000000000000000000000000000000000000000000000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af19081156110b0578a916138b1575b5060e09260c491907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000000000000000000000000000000000000000000090911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f0000000000000000000000000000000000000000000000000000000000000000166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f00000000000000000000000000000000000000000000000000000000000000001661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a00336080806040523460395760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556107b1908161003e8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c806309ad4dd91461045e57806370a0823114610427578063a262f5f814610306578063b5bd3eb9146102e9578063cb32636c14610182578063d5d44d80146100fd578063efb94a62146100c55763f59e38b714610071575f80fd5b346100c15760403660031901126100c15761008a6104a6565b6100926104bc565b6001600160a01b039182165f908152600260209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100c15760203660031901126100c1576001600160a01b036100e66104a6565b165f526003602052602060405f2054604051908152f35b60203660031901126100c1576001600160a01b036101196104a6565b16801561017357805f525f60205260405f20610136348254610515565b905561014434600154610515565b6001557f9c9e0cdb1670e88302408e5b941dc636f63a3293204694bb68910fcf3d9305f36020604051348152a2005b631559b7d760e21b5f5260045ffd5b346100c15760403660031901126100c15761019b6104a6565b6101a36104bc565b6101ab610723565b6001600160a01b031690811561017357335f52600260205260405f2060018060a01b0382165f5260205260405f20549081156102da57335f52600260205260405f2060018060a01b0382165f5260205260405f2061020a8382546104f4565b905560018060a01b031691825f52600360205260405f2061022c8382546104f4565b905560405163a9059cbb60e01b5f52816004528260245260205f60448180885af160015f51148116156102bb575b81604052156102a857928383602095527f917cf56f6f2280df7b3c3eb8338362e11cf2158bceec528e1172f3af2537f623853392a460015f8051602061075c83398151915255604051908152f35b83635274afe760e01b5f5260045260245ffd5b60018115166102d157843b15153d15161661025a565b503d5f823e3d90fd5b6312d37ee560e31b5f5260045ffd5b346100c1575f3660031901126100c1576020600154604051908152f35b346100c15760203660031901126100c1576004356001600160a01b038116908190036100c157610334610723565b801561017357335f525f60205260405f205480156102da57335f525f60205260405f206103628282546104f4565b9055610370816001546104f4565b6001555f80808084865af13d15610422573d67ffffffffffffffff811161040e57604051906103a9601f8201601f1916602001836104d2565b81525f60203d92013e5b156103ff576020916040518281527ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd3992683843392a360015f8051602061075c83398151915255604051908152f35b633d2cec6f60e21b5f5260045ffd5b634e487b7160e01b5f52604160045260245ffd5b6103b3565b346100c15760203660031901126100c1576001600160a01b036104486104a6565b165f525f602052602060405f2054604051908152f35b346100c15760603660031901126100c15761049361047a6104a6565b6104826104bc565b61048a610723565b60443591610522565b60015f8051602061075c83398151915255005b600435906001600160a01b03821682036100c157565b602435906001600160a01b03821682036100c157565b90601f8019910116810190811067ffffffffffffffff82111761040e57604052565b9190820391821161050157565b634e487b7160e01b5f52601160045260245ffd5b9190820180921161050157565b90916001600160a01b03909116908115610173576001600160a01b038316928315908115610719575b5061065d578015610714576040516370a0823160e01b8152306004820152602081602481875afa9081156106a5575f916106e2575b50604051906323b872dd60e01b5f5233600452306024528260445260205f60648180895af160015f51148116156106c3575b826040525f606052156106b0576370a0823160e01b8252306004830152602082602481885afa80156106a55783925f9161066c575b50906105f2916104f4565b0361065d5760207fd6f1b1200b83332fb4d7e0f91e1f1672c77bb36ac9954f1b998d48f1a155434e91835f526002825260405f20855f52825260405f2061063a828254610515565b9055845f526003825260405f20610652828254610515565b9055604051908152a3565b63c1ab6dc160e01b5f5260045ffd5b919250506020813d60201161069d575b81610689602093836104d2565b810103126100c157518291906105f26105e7565b3d915061067c565b6040513d5f823e3d90fd5b84635274afe760e01b5f5260045260245ffd5b60018115166106d957853b15153d1516166105b2565b823d5f823e3d90fd5b90506020813d60201161070c575b816106fd602093836104d2565b810103126100c157515f610580565b3d91506106f0565b505050565b90503b155f61054b565b60025f8051602061075c833981519152541461074c5760025f8051602061075c83398151915255565b633ee5aeb560e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ba63abe69bea1e82948d9368b70a114937fb2088bb1a6197d85ecc6c966fc53764736f6c634300081a00336101803461030657601f61271e38819003918201601f19168301916001600160401b0383118484101761030a5780849261010094604052833981010312610306576100498161031e565b906100566020820161031e565b6100626040830161031e565b61006e6060840161031e565b61007a6080850161031e565b9161008760a0860161031e565b936100a060e061009960c0890161031e565b970161031e565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055966001600160a01b0381161580156102f5575b80156102e4575b80156102d3575b80156102c2575b80156102b1575b80156102a0575b801561028f575b610280576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052610120919091521661014052610160526040516123eb908161033382396080518181816101da01526103bd015260a05181818160fe01526105ce015260c051818181601d01528181610261015281816104b60152818161077b0152818161082801528181610ae401528181610b4c01528181610ba301528181610c68015281816113450152611650015260e0518181816106f001528181610727015281816107d601528181610c1301528181610ca901528181610ce8015281816112f301528181611386015281816113c1015281816115ce015281816115fe015281816116a50152611af60152610100518181816105650152611b3701526101205181818161014c015281816109cb01528181610be9015261116f01526101405181818161019301528181610f790152818161106f01526119c70152610160518181816102a801528181610fb8015281816110ad0152611a110152f35b63e6c4247b60e01b5f5260045ffd5b506001600160a01b03881615610101565b506001600160a01b038716156100fa565b506001600160a01b038616156100f3565b506001600160a01b038516156100ec565b506001600160a01b038416156100e5565b506001600160a01b038316156100de565b506001600160a01b038216156100d7565b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103065756fe61012080604052600436101561005c575b50361561001b575f80fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361004d57005b633199b48960e11b5f5260045ffd5b5f610100525f3560e01c90816301f4727f14611b255750806312261ee714611ae15780632b216b84146119795780634e584986146102d757806364df049e14610290578063791b98bc146102495780638a3d1cf714610209578063c45a0155146101c2578063c4b7de971461017b578063d7b96d4e146101345763dc4c90d3146100e6575f610010565b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6101005180fd5b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d57602036600319011261012d576001600160a01b0361022a611b66565b1661010051526101005160205260206040610100512054604051908152f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60c036600319011261012d576102eb611b66565b60c0526024356001600160a01b038116810361012d5760443562ffffff8116810361012d5760643560020b6064350361012d57608435916001600160801b038316830361012d5760a435926001600160801b038416840361012d5760405160e05260e080510160e051811067ffffffffffffffff821117611523576040526101005160e0515261010051602060e051015261010051604060e051015261010051606060e051015261010051608060e05101526101005160a060e05101526101005160c060e05101526103bb611c7d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036119645760c0516001600160a01b031615801561194d575b801561193c575b801561192b575b8015611902575b61121f57604051926370a0823160e01b845230600485015260208460248160018060a01b0360c051165afa9384156110505761010051946118ce575b506001600160801b038516841061121f5761010051936001600160a01b03841661183b575b610496906104833447611bb2565b60a0526001600160801b03871690611bb2565b936001600160a01b038416611821575061010051905b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163160805260c0518116908516109081156118185784905b82156118115760c051905b831561180a5785935b156118035788915b604051918260a081011067ffffffffffffffff60a0850111176115235762ffffff9160a0840160405260018060a01b038616845260018060a01b0316602084015216604082015260643560020b606082015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016608082015260a081206040516020810191825260066040820152604081526105ae606082611b7c565b519020604051631e2eaeaf60e01b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110505761010051916117d1575b5060018060a01b031680602060e05101526401000276a38111908115916117b2575b5061179d5760643560020b156117835760643560020b620d89e7190592610100515060643560020b620d89e805926001600160801b0360018060a01b03602060e051015116610680606435880260020b611d7c565b610690606435880260020b611d7c565b80826001600160a01b0380831690821611611778575b50506001600160a01b0382168311611723576106c69250838a16916121d2565b1680604060e05101521561170e5760c051610718906001600160801b038d16906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611d2d565b61012c420142119485611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b81526101005160c0516001600160a01b0390811660048401527f00000000000000000000000000000000000000000000000000000000000000001660248301526001600160801b038e1660448301524261012c0165ffffffffffff16606483015281806084810103816101005160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116f3575b506001600160a01b038a166115b5575b604051631d5e528f60e21b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115611050576101005191611583575b5060e051526001600160a01b03831661155757604051600160f91b6020820152600d60f81b6021820152600560fa1b6022820152600381526108a6602382611b7c565b965b6001600160a01b03841661154e5760ff60035b16956108c687611be0565b966108d46040519889611b7c565b8088526108e3601f1991611be0565b01610100515b81811061153d5750506001600160801b03604060e051015116906040519081602081011067ffffffffffffffff602084011117611523576060956001600160801b038995610a03958294610a1199602088016040526101005188526040519b8c9a60018060a01b0381511660208d015260018060a01b0360208201511660408d015262ffffff604082015116828d0152015160020b60808b01528d608060018060a01b039101511660a08b01526064350260020b60c08a01526064350260020b60e0890152610100880152166101208601521661014084015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016610160840152610180808401526101a0830190611bf8565b03601f198101835282611b7c565b610a1a84611c1c565b52610a2483611c1c565b508151602080840151604080516001600160a01b0394851693810193909352921681830152908152610a57606082611b7c565b610a6084611c3d565b52610a6a83611c3d565b506001600160a01b0316156114e2575b50610a9692604051938491604060208401526060830190611bf8565b91601f19828403016040830152805180845260208401936020808360051b83010193019461010051915b8383106114b15750505050610ade925003601f198101845283611b7c565b611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d57610b346040519163dd46508f60e01b8352604060048401526044830190611bf8565b4261012c0160248301526101005190829081900381347f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110505761147c575b5060e051516040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561105057610100519161143a575b506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911603611425577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b8152610100805160c0516001600160a01b0390811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af180156110505761140a575b5060c051610d10906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611cb5565b6001600160a01b0383166112f1575b61010051906001600160a01b03841661126c575050610d4060a05147611bb2565b93610d58856080511086608051180286188096611bb2565b935b6001600160801b038316851161121f57604051906370a0823160e01b825230600483015260208260248160018060a01b0360c051165afa918215611050576101005192611234575b5080821061121f57610db391611bb2565b916001600160801b038216831161121f576001600160801b039182610df0610e0793828916908160a060e051015283881660c060e0510152611c5d565b16606060e05101528260c060e05101511690611c5d565b16608060e051015280611152575b508161105e575b5050610e2a9060a051611bd3565b80610f77575b60e0515160018060a01b03602060e0510151166001600160801b03604060e0510151166001600160801b03606060e0510151166001600160801b03608060e0510151166001600160801b0360a060e051015116916001600160801b0360c060e05101511693604051958652602086015260408501526060840152608083015260a08201527f7a9aa3a35806cfdc439496ecf14d7bd8f3931fd91386459d5ce2ae2573e6312560c060018060a01b0381511692a360015f805160206123968339815191525560e0604051815151815260018060a01b036020835101511660208201526001600160801b036040835101511660408201526001600160801b036060835101511660608201526001600160801b036080835101511660808201526001600160801b0360a0835101511660a08201526001600160801b0360c0835101511660c0820152f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316600482018190526101005190938290602490829086905af1801561105057611035575b5060207f5698ca1396b40a355669f8ac234d68316f04cd8babdff3adc39a115e90f1de5391604051908152a280610e30565b6101005161104291611b7c565b6101005161012d5782611003565b6040513d61010051823e3d90fd5b6001600160a01b03811661111f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152610100519092909183916024918391905af1801561105057611104575b50610e2a905b9082610e1c565b6101005161111191611b7c565b6101005161012d57816110f7565b90610e2a929160018060a01b031661010051526101005160205261114b60406101005120918254611bd3565b90556110fd565b610100805160405163a9059cbb60e01b9091526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600452602493909352905160c051919260209260449183918291165af19060016101005151148216156111f0575b604052156111cc5783610e15565b6101008051635274afe760e01b905260c0516001600160a01b031660045251602490fd5b9060018115166112135760c0516001600160a01b03163b15153d151616906111be565b503d61010051823e3d90fd5b63162908e360e11b6101005152600461010051fd5b9091506020813d602011611264575b8161125060209383611b7c565b8101031261126057519087610da2565b5f80fd5b3d9150611243565b6040516370a0823160e01b8152306004820152919591906020826024816001600160a01b0389165afa9182156110505761010051926112bd575b5080821061121f576112b791611bb2565b93610d5a565b9091506020813d6020116112e9575b816112d960209383611b7c565b81010312611260575190876112a6565b3d91506112cc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b0386811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576113ef575b506113ea6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908516611cb5565b610d1f565b610100516113fc91611b7c565b6101005161012d57856113b3565b6101005161141791611b7c565b6101005161012d5785610cd6565b63057db18760e21b6101005152600461010051fd5b90506020813d602011611474575b8161145560209383611b7c565b8101031261012d57516001600160a01b038116810361012d5786610bde565b3d9150611448565b6101005161148991611b7c565b6101005161012d5785610b81565b634e487b7160e01b61010051526011600452602461010051fd5b919360019193955060206114d08192601f198682030187528951611bf8565b97019301930190928794929593610ac0565b51604080516001600160a01b03909216602083015230828201528152611509606082611b7c565b61151282611c4d565b5261151c81611c4d565b5088610a7a565b634e487b7160e01b61010051526041600452602461010051fd5b806060602080938c010152016108e9565b60ff60026108bb565b604051600160f91b6020820152600d60f81b60218201526002815261157d602282611b7c565b966108a8565b90506020813d6020116115ad575b8161159e60209383611b7c565b8101031261126057518d610863565b3d9150611591565b94506115f76001600160801b0389166001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908c16611d2d565b61010051947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b038d811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501526001600160801b038d16604485015265ffffffffffff61012c42011660648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116d8575b50610813565b610100516116e591611b7c565b6101005161012d578c6116d2565b6101005161170091611b7c565b6101005161012d578c610803565b636180f03f60e11b6101005152600461010051fd5b6001600160a01b03811683101561176a579061174661175092858c1690856121d2565b9284861691612195565b808316828416101561176357505b6106c6565b90506106c6565b61175e925083851691612195565b915091508f806106a6565b634e487b7160e01b61010051526012600452602461010051fd5b63063df5fd60e31b6101005152600461010051fd5b73fffd8963efd1fc6a506488495d951d5263988d26915010158a61062b565b90506020813d6020116117fb575b816117ec60209383611b7c565b8101031261012d57518a610609565b3d91506117df565b859161050a565b8893610502565b85906104f9565b60c051906104ee565b611835906001600160801b03841690611bb2565b906104ac565b6040516370a0823160e01b815230600482015294506020856024816001600160a01b0388165afa94851561105057610100519561189a575b50846001600160801b03841611156104755763162908e360e11b6101005152600461010051fd5b9094506020813d6020116118c6575b816118b660209383611b7c565b8101031261126057519386611873565b3d91506118a9565b9093506020813d6020116118fa575b816118ea60209383611b7c565b8101031261126057519285610450565b3d91506118dd565b506001600160a01b038216611923576001600160801b038116341415610414565b341515610414565b506001600160801b0384161561040d565b506001600160801b03811615610406565b5060c0516001600160a01b038381169116146103ff565b631966391b60e11b6101005152600461010051fd5b3461126057602036600319011261126057611992611b66565b61199a611c7d565b6001600160a01b03165f818152602081905260409020548015611ad2575f828152602081905260408120557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916119fb828483611d2d565b823b15611260576040516309ad4dd960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660048201526024810182905260448101839052925f8460648183855af1908115611ac757602094611a7092611ab2575b5082611cb5565b7f72a955b3e852e5b9849449e196fe76c81c7b9506dee62690faafc1c0717b287983604051848152a260015f8051602061239683398151915255604051908152f35b5f611abc91611b7c565b5f6101005285611a69565b6040513d5f823e3d90fd5b633ada528f60e21b5f5260045ffd5b34611260575f366003190112611260576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34611260575f366003190112611260577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361126057565b90601f8019910116810190811067ffffffffffffffff821117611b9e57604052565b634e487b7160e01b5f52604160045260245ffd5b91908203918211611bbf57565b634e487b7160e01b5f52601160045260245ffd5b91908201809211611bbf57565b67ffffffffffffffff8111611b9e5760051b60200190565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b805115611c295760200190565b634e487b7160e01b5f52603260045260245ffd5b805160011015611c295760400190565b805160021015611c295760600190565b906001600160801b03809116911603906001600160801b038211611bbf57565b60025f805160206123968339815191525414611ca65760025f8051602061239683398151915255565b633ee5aeb560e01b5f5260045ffd5b90611cc15f82846120a9565b15611cca575050565b611cd481836120f6565b15611d0c575f611ce4918361215a565b15611cec5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190611d3a8282856120a9565b15611d4457505050565b611d4e81846120f6565b15611d5e5790611ce4918361215a565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60020b908160ff1d82810118620d89e881116120965763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b18916002811661207a575b6004811661205e575b60088116612042575b60108116612026575b6020811661200a575b60408116611fee575b60808116611fd2575b6101008116611fb6575b6102008116611f9a575b6104008116611f7e575b6108008116611f62575b6110008116611f46575b6120008116611f2a575b6140008116611f0e575b6180008116611ef2575b620100008116611ed6575b620200008116611ebb575b620400008116611ea0575b6208000016611e87575b5f12611e7f575b0160201c90565b5f1904611e78565b6b048a170391f7dc42444e8fa290910260801c90611e71565b6d2216e584f5fa1ea926041bedfe9890920260801c91611e67565b916e5d6af8dedb81196699c329225ee6040260801c91611e5c565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91611e51565b916f31be135f97d08fd981231505542fcfa60260801c91611e46565b916f70d869a156d2a1b890bb3df62baf32f70260801c91611e3c565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91611e32565b916fd097f3bdfd2022b8845ad8f792aa58250260801c91611e28565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91611e1e565b916ff3392b0822b70005940c7a398e4b70f30260801c91611e14565b916ff987a7253ac413176f2b074cf7815e540260801c91611e0a565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91611e00565b916ffe5dee046a99a2a811c461f1969c30530260801c91611df6565b916fff2ea16466c96a3843ec78b326b528610260801c91611ded565b916fff973b41fa98c081472e6896dfb254c00260801c91611de4565b916fffcb9843d60f6159c9db58835c9266440260801c91611ddb565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91611dd2565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91611dc9565b916ffff97272373d413259a46990580e213a0260801c91611dc0565b826345c3193d60e11b5f5260045260245ffd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156120e5575b50604052565b3d15903b151516909216915f6120df565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f51148416156121385750604052565b60018492941516612151573b15153d151616915f6120df565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156121385750604052565b6121c9926121c49290916001600160a01b03808316908216116121cc575b90036001600160a01b03169061221f565b612372565b90565b906121b3565b6121c9926121c4929091906001600160a01b0380821690831611612219575b6122076001600160a01b038281169084166122a9565b9190036001600160a01b0316916122f2565b906121f1565b90606082901b905f19600160601b84099282808510940393808503948584111561126057146122a2578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b81810291905f1982820991838084109303928084039384600160601b111561126057146122e957600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039586851115611260571461236a579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b906001600160801b03821680920361238657565b6393dafdf160e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a264697066735822122051db94c9ce6c43d628e9e8fe3abc50d5a92c54867b22a5d74941750b5210739464736f6c634300081a003360808060405234601557610c0e908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80638f814132146100985763bcebea9f1461002f575f80fd5b346100945760a03660031901126100945761008861004b610148565b61005361015e565b61005b610174565b6084359160643591906001600160a01b03858116908216101561008a5761008284846103b6565b946101af565b005b61008283856103b6565b5f80fd5b346100945760c0366003190112610094576100b1610148565b6100b961015e565b6100c1610174565b91606435906084356100d560a43584610184565b926a477df63ed178cc366db6db82019586831161013457602096610119956001600160a01b03868116908916101561012b5790610111916103b6565b9586946101af565b6040516001600160a01b039091168152f35b610111916103b6565b634e487b7160e01b5f52601160045260245ffd5b600435906001600160a01b038216820361009457565b602435906001600160a01b038216820361009457565b604435908160020b820361009457565b9190820180921161013457565b811561019b570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316949193929085156103a7576001600160a01b0316948086146103a7578460020b955f8713156103985782158015610390575b8015610380575b8015610370575b6102a857101561036a575b6001600160a01b038216906401000276a3821180159061034c575b61033d57851561019b576001600160801b039286620d89e719059587620d89e8059561025c610251838a0260020b610483565b92880260020b610483565b9283836001600160a01b0380831690821611610332575b50506001600160a01b03831686116102df5750506102919350610b68565b169081159283156102b7575b50505090506102a857565b632c37d0eb60e01b5f5260045ffd5b6001600160801b0393505f60019395620d89e7190712900390030181041610805f808061029d565b919490939192906001600160a01b03821611156103265782916103069161030c9594610b68565b93610b2e565b808316828416101561031f57505b610291565b9050610291565b91505061031a92610b2e565b945092505f80610273565b63582157bb60e01b5f5260045ffd5b5073fffd8963efd1fc6a506488495d951d5263988d2682101561021e565b91610203565b5060016001607f1b0385116101f8565b5060016001607f1b0383116101f1565b5084156101ea565b63013840ad60e51b5f5260045ffd5b63e6c4247b60e01b5f5260045ffd5b908115801561047b575b61046c576001600160c01b0382118015610460575b610439576001600160801b038211158061042c575b61041d57610400916103fb9161083a565b610a09565b6001600160801b03811161041d5760201b6001600160a01b031690565b63375cdf9f60e21b5f5260045ffd5b508160801b8110156103ea565b610446916103fb916107b0565b6001600160a01b03811161041d576001600160a01b031690565b508160401b81106103d5565b631f2a200560e01b5f5260045ffd5b5080156103c0565b60020b908160ff1d82810118620d89e8811161079d5763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116610781575b60048116610765575b60088116610749575b6010811661072d575b60208116610711575b604081166106f5575b608081166106d9575b61010081166106bd575b61020081166106a1575b6104008116610685575b6108008116610669575b611000811661064d575b6120008116610631575b6140008116610615575b61800081166105f9575b6201000081166105dd575b6202000081166105c2575b6204000081166105a7575b620800001661058e575b5f12610586575b0160201c90565b5f190461057f565b6b048a170391f7dc42444e8fa290910260801c90610578565b6d2216e584f5fa1ea926041bedfe9890920260801c9161056e565b916e5d6af8dedb81196699c329225ee6040260801c91610563565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91610558565b916f31be135f97d08fd981231505542fcfa60260801c9161054d565b916f70d869a156d2a1b890bb3df62baf32f70260801c91610543565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91610539565b916fd097f3bdfd2022b8845ad8f792aa58250260801c9161052f565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91610525565b916ff3392b0822b70005940c7a398e4b70f30260801c9161051b565b916ff987a7253ac413176f2b074cf7815e540260801c91610511565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91610507565b916ffe5dee046a99a2a811c461f1969c30530260801c916104fd565b916fff2ea16466c96a3843ec78b326b528610260801c916104f4565b916fff973b41fa98c081472e6896dfb254c00260801c916104eb565b916fffcb9843d60f6159c9db58835c9266440260801c916104e2565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c916104d9565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c916104d0565b916ffff97272373d413259a46990580e213a0260801c916104c7565b826345c3193d60e11b5f5260045260245ffd5b9060c082901b905f19600160c01b8409928280851094039380850394858411156100945714610833578190600160c01b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b90608082901b905f19600160801b8409928280851094039380850394858411156100945714610833578190600160801b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b90606082901b905f19600160601b8409928280851094039380850394858411156100945714610833578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b81810291905f1982820991838084109303928084039384600160601b1115610094571461098057600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f19818509938380861095039480860395868511156100945714610a01579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001811115610b2b57806001600160801b821015610b1a575b600482600160401b610acc941015610b0d575b640100000000811015610b00575b62010000811015610af3575b610100811015610ae7575b6010811015610adb575b1015610ad3575b60030260011c610a7b8184610191565b0160011c610a898184610191565b0160011c610a978184610191565b0160011c610aa58184610191565b0160011c610ab38184610191565b0160011c610ac18184610191565b0160011c8092610191565b8111900390565b60011b610a6b565b811c9160021b91610a64565b60081c91811b91610a5a565b60101c9160081b91610a4f565b60201c9160101b91610a43565b60401c9160201b91610a35565b5050608081901c600160401b610a22565b90565b610b2b92610b5d9290916001600160a01b0380831690821611610b62575b90036001600160a01b0316906108bd565b610bb5565b90610b4c565b610b2b92610b5d929091906001600160a01b0380821690831611610baf575b610b9d6001600160a01b03828116908416610940565b9190036001600160a01b031691610989565b90610b87565b906001600160801b038216809203610bc957565b6393dafdf160e01b5f5260045ffdfea2646970667358221220327cf71118100c9d8cad8df74fe786c2c20923b005fe36bd212726cc90d4403f64736f6c634300081a003360c0346100d257601f610af538819003918201601f19168301916001600160401b038311848410176100d6578084926020946040528339810103126100d257516001600160a01b0381168082036100d25760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055156100c3573360805260a052604051610a0a90816100eb823960805181818160d10152818161017c01526105bc015260a0518181816103250152818161052d01528181610638015261080f0152f35b63041fb8cb60e31b5f5260045ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630651b0d51461085e57508063150b7a02146107ae5780634a4fbeec1461077157806372dd764614610587578063732e78e41461055c578063791b98bc14610518578063a480ca7914610100578063c45a0155146100bb5763fa22143d14610081575f80fd5b346100b85760203660031901126100b8576020906040906001600160a01b036100a861089d565b1681528083522054604051908152f35b80fd5b50346100b857806003193601126100b8576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346104645760203660031901126104645761011a61089d565b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146105095760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005560405163de53fcd560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f916104da575b506001600160a01b0382165f8181526001602052604090205490919060ff16156104cb575f828152600360205260409020546001600160a01b0316828110939084156104c45780945b156104bd57505b604051600160f81b6020820152601160f81b6021820152600281529061022b6022836108c9565b6060926040519161023c85846108c9565b60028352601f1985015f5b8181106104ad575050855f525f60205260405f205460405190602082019082821067ffffffffffffffff831117610499576102c2916040989798525f83526102b460405193849260208401525f60408401525f898401525f608084015260a08084015260c083019061097f565b03601f1981018352826108c9565b6102cb846109a3565b526102d5836109a3565b50604080516001600160a01b039889166020820152918816908201529516828601819052828652946103086080826108c9565b610311826109c4565b5261031b816109c4565b5060018060a01b037f0000000000000000000000000000000000000000000000000000000000000000169161035e6040519485926040602085015283019061097f565b91601f19828403016040830152805180845260208401936020808360051b8301019301945f915b83831061046857505050506103a3925003601f1981018452836108c9565b803b15610464576103d65f9291839260405194858094819363dd46508f60e01b835260406004840152604483019061097f565b42602483015203925af1801561045957610444575b50808352826020526040832054907f17342fa131edbe691fdcf4ca3717851d45445a2b253c303a7bd644f7d55be7d08480a460017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005580f35b6104519193505f906108c9565b5f915f6103eb565b6040513d5f823e3d90fd5b5f80fd5b919360019193955060206104878192601f19868203018752895161097f565b97019301930190928794929593610385565b634e487b7160e01b5f52604160045260245ffd5b8087602080938801015201610247565b9050610204565b81946101fd565b63057db18760e21b5f5260045ffd5b6104fc915060203d602011610502575b6104f481836108c9565b8101906108eb565b5f6101b4565b503d6104ea565b633ee5aeb560e01b5f5260045ffd5b34610464575f366003190112610464576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461046457602036600319011261046457602061057f61057a61089d565b61090a565b604051908152f35b34610464576060366003190112610464576105a061089d565b602435906044356001600160a01b0381169190829003610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610762576001600160a01b03169081158015610759575b61074a57825f52600260205260ff60405f2054168015610734575b610725576040516331a9108f60e11b8152600481018490526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f91610706575b50306001600160a01b03909116036104cb57815f525f6020528260405f2055815f52600360205260405f20906bffffffffffffffffffffffff60a01b825416179055805f52600160205260405f20600160ff19825416179055815f52600260205260405f20600160ff198254161790557f2cabb2a2973327d5863ceb4707e9441851243897e86d587ee35943599752eb545f80a3005b61071f915060203d602011610502576104f481836108c9565b84610670565b630b58c0a560e11b5f5260045ffd5b50815f52600160205260ff60405f205416610618565b63af82636160e01b5f5260045ffd5b508082146105fd565b631966391b60e11b5f5260045ffd5b34610464576020366003190112610464576001600160a01b0361079261089d565b165f526001602052602060ff60405f2054166040519015158152f35b34610464576080366003190112610464576107c761089d565b506107d06108b3565b5060643567ffffffffffffffff8111610464573660238201121561046457806004013567ffffffffffffffff81116104645736910160240111610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361084f57604051630a85bd0160e11b8152602090f35b63041fb8cb60e31b5f5260045ffd5b34610464576020366003190112610464576020906001600160a01b0361088261089d565b165f9081526003835260409020546001600160a01b03168152f35b600435906001600160a01b038216820361046457565b602435906001600160a01b038216820361046457565b90601f8019910116810190811067ffffffffffffffff82111761049957604052565b9081602091031261046457516001600160a01b03811681036104645790565b803b1561097a576040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa908115610459575f9161094b575090565b90506020813d602011610972575b81610966602093836108c9565b81010312610464575190565b3d9150610959565b505f90565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b8051156109b05760200190565b634e487b7160e01b5f52603260045260245ffd5b8051600110156109b0576040019056fea2646970667358221220ec800e761e8c581c7282498dca818f4f12e93984178ab2a657dbd5db9d8a188064736f6c634300081a00330000000000000000000000005e8181041ce6ea81d7f8c614c67523bcb8dae3d70000000000000000000000008366a39cc670b4001a1121b8f6a443a643e4095100000000000000000000000058daec3116aae6d93017baaea7749052e8a04fa7000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c072000","recompiledBytecode":"0x61018080604052346105c75760a08161a80b80380380916100208285610753565b8339810103126105c7576040519060a082016001600160401b038111838210176105725760405261005081610776565b80835261005f60208301610776565b906020840191825261007360408401610776565b916040850192835261009a608061008c60608701610776565b956060880196875201610776565b60808601908152916001600160a01b0316801561074057600180546001600160a01b03199081169091555f80549182168317815560405192916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055600f600d5581516001600160a01b031615801561072e575b801561071c575b801561070a575b6106fb5781516001600160a01b0316803b156106e9575083516001600160a01b0316803b156106e9575084516001600160a01b0316803b156106e9575082516001600160a01b0316803b156106e95750835163dc4c90d360e01b8252602090829060049082906001600160a01b03165afa908115610567575f916106ca575b5081516001600160a01b0391821691168082036106b557505082516040516312261ee760e01b815290602090829060049082906001600160a01b03165afa908115610567575f9161067b575b5084516001600160a01b03918216911680820361066657505081516001600160a01b03811690613fff16611fff19016105865760405163dc4c90d360e01b8152602081600481855afa908115610567575f91610637575b5082516001600160a01b039182169116808203610622575050604051638da5cb5b60e01b8152602081600481855afa908115610567575f916105e8575b5086516001600160a01b0391821691168082036105d357505060405163c45a015560e01b8152602081600481855afa908115610567575f91610595575b506001600160a01b0316610586578551600280546001600160a01b039283166001600160a01b03199182168117909255600680549091169091179055825181166080528451811660a05285511660c05260e0526040516107ef8082018281106001600160401b038211176105725782916161e1833903905ff0801561056757610100528251604051906001600160a01b0316610af58083016001600160401b03811184821017610572576020928492619d16843981520301905ff080156105675761012052604051610c288082016001600160401b038111838210176105725782916190ee833903905ff080156105675761016052519151925190516101205161010051604051956001600160a01b039586169561271e95868901959382169482169382169290821691166001600160401b03861189871017610572576101009789976169d08939308752602087015260408601526060850152608084015260a083015260c08201523060e08201520301905ff08015610567576101405251604051906001600160a01b03165f7f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d8180a3615a3790816107aa823960805181818161082401528181612c830152613595015260a0518181816117010152612cd5015260c05181612110015260e0518181816118700152818161263c015281816134b8015261508b015261010051818181610a9201528181610ffe015281816110ee01526158a30152610120518181816108a201526136e0015261014051818181610a4901526135cf015261016051818181611a5b015281816123a201528181613220015281816134ff01528181613b110152818161445601526159260152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63f3a5791760e01b5f5260045ffd5b90506020813d6020116105cb575b816105b060209383610753565b810103126105c7576105c190610776565b5f6102e7565b5f80fd5b3d91506105a3565b63ecfcbf5d60e01b5f5260045260245260445ffd5b90506020813d60201161061a575b8161060360209383610753565b810103126105c75761061490610776565b5f6102aa565b3d91506105f6565b6385399a1760e01b5f5260045260245260445ffd5b610659915060203d60201161065f575b6106518183610753565b81019061078a565b5f61026d565b503d610647565b6331f6789360e21b5f5260045260245260445ffd5b90506020813d6020116106ad575b8161069660209383610753565b810103126105c7576106a790610776565b5f610216565b3d9150610689565b63c6f5398f60e01b5f5260045260245260445ffd5b6106e3915060203d60201161065f576106518183610753565b5f6101ca565b6365f36d5d60e11b5f5260045260245ffd5b63d92e233d60e01b5f5260045ffd5b5082516001600160a01b03161561014b565b5084516001600160a01b031615610144565b5083516001600160a01b03161561013d565b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761057257604052565b51906001600160a01b03821682036105c757565b908160209103126105c757516001600160a01b03811681036105c7579056fe608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f0000000000000000000000000000000000000000000000000000000000000000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af19081156110b0578a916138b1575b5060e09260c491907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000000000000000000000000000000000000000000090911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f0000000000000000000000000000000000000000000000000000000000000000166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f00000000000000000000000000000000000000000000000000000000000000001661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a00336080806040523460395760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556107b1908161003e8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c806309ad4dd91461045e57806370a0823114610427578063a262f5f814610306578063b5bd3eb9146102e9578063cb32636c14610182578063d5d44d80146100fd578063efb94a62146100c55763f59e38b714610071575f80fd5b346100c15760403660031901126100c15761008a6104a6565b6100926104bc565b6001600160a01b039182165f908152600260209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100c15760203660031901126100c1576001600160a01b036100e66104a6565b165f526003602052602060405f2054604051908152f35b60203660031901126100c1576001600160a01b036101196104a6565b16801561017357805f525f60205260405f20610136348254610515565b905561014434600154610515565b6001557f9c9e0cdb1670e88302408e5b941dc636f63a3293204694bb68910fcf3d9305f36020604051348152a2005b631559b7d760e21b5f5260045ffd5b346100c15760403660031901126100c15761019b6104a6565b6101a36104bc565b6101ab610723565b6001600160a01b031690811561017357335f52600260205260405f2060018060a01b0382165f5260205260405f20549081156102da57335f52600260205260405f2060018060a01b0382165f5260205260405f2061020a8382546104f4565b905560018060a01b031691825f52600360205260405f2061022c8382546104f4565b905560405163a9059cbb60e01b5f52816004528260245260205f60448180885af160015f51148116156102bb575b81604052156102a857928383602095527f917cf56f6f2280df7b3c3eb8338362e11cf2158bceec528e1172f3af2537f623853392a460015f8051602061075c83398151915255604051908152f35b83635274afe760e01b5f5260045260245ffd5b60018115166102d157843b15153d15161661025a565b503d5f823e3d90fd5b6312d37ee560e31b5f5260045ffd5b346100c1575f3660031901126100c1576020600154604051908152f35b346100c15760203660031901126100c1576004356001600160a01b038116908190036100c157610334610723565b801561017357335f525f60205260405f205480156102da57335f525f60205260405f206103628282546104f4565b9055610370816001546104f4565b6001555f80808084865af13d15610422573d67ffffffffffffffff811161040e57604051906103a9601f8201601f1916602001836104d2565b81525f60203d92013e5b156103ff576020916040518281527ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd3992683843392a360015f8051602061075c83398151915255604051908152f35b633d2cec6f60e21b5f5260045ffd5b634e487b7160e01b5f52604160045260245ffd5b6103b3565b346100c15760203660031901126100c1576001600160a01b036104486104a6565b165f525f602052602060405f2054604051908152f35b346100c15760603660031901126100c15761049361047a6104a6565b6104826104bc565b61048a610723565b60443591610522565b60015f8051602061075c83398151915255005b600435906001600160a01b03821682036100c157565b602435906001600160a01b03821682036100c157565b90601f8019910116810190811067ffffffffffffffff82111761040e57604052565b9190820391821161050157565b634e487b7160e01b5f52601160045260245ffd5b9190820180921161050157565b90916001600160a01b03909116908115610173576001600160a01b038316928315908115610719575b5061065d578015610714576040516370a0823160e01b8152306004820152602081602481875afa9081156106a5575f916106e2575b50604051906323b872dd60e01b5f5233600452306024528260445260205f60648180895af160015f51148116156106c3575b826040525f606052156106b0576370a0823160e01b8252306004830152602082602481885afa80156106a55783925f9161066c575b50906105f2916104f4565b0361065d5760207fd6f1b1200b83332fb4d7e0f91e1f1672c77bb36ac9954f1b998d48f1a155434e91835f526002825260405f20855f52825260405f2061063a828254610515565b9055845f526003825260405f20610652828254610515565b9055604051908152a3565b63c1ab6dc160e01b5f5260045ffd5b919250506020813d60201161069d575b81610689602093836104d2565b810103126100c157518291906105f26105e7565b3d915061067c565b6040513d5f823e3d90fd5b84635274afe760e01b5f5260045260245ffd5b60018115166106d957853b15153d1516166105b2565b823d5f823e3d90fd5b90506020813d60201161070c575b816106fd602093836104d2565b810103126100c157515f610580565b3d91506106f0565b505050565b90503b155f61054b565b60025f8051602061075c833981519152541461074c5760025f8051602061075c83398151915255565b633ee5aeb560e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ba63abe69bea1e82948d9368b70a114937fb2088bb1a6197d85ecc6c966fc53764736f6c634300081a00336101803461030657601f61271e38819003918201601f19168301916001600160401b0383118484101761030a5780849261010094604052833981010312610306576100498161031e565b906100566020820161031e565b6100626040830161031e565b61006e6060840161031e565b61007a6080850161031e565b9161008760a0860161031e565b936100a060e061009960c0890161031e565b970161031e565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055966001600160a01b0381161580156102f5575b80156102e4575b80156102d3575b80156102c2575b80156102b1575b80156102a0575b801561028f575b610280576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052610120919091521661014052610160526040516123eb908161033382396080518181816101da01526103bd015260a05181818160fe01526105ce015260c051818181601d01528181610261015281816104b60152818161077b0152818161082801528181610ae401528181610b4c01528181610ba301528181610c68015281816113450152611650015260e0518181816106f001528181610727015281816107d601528181610c1301528181610ca901528181610ce8015281816112f301528181611386015281816113c1015281816115ce015281816115fe015281816116a50152611af60152610100518181816105650152611b3701526101205181818161014c015281816109cb01528181610be9015261116f01526101405181818161019301528181610f790152818161106f01526119c70152610160518181816102a801528181610fb8015281816110ad0152611a110152f35b63e6c4247b60e01b5f5260045ffd5b506001600160a01b03881615610101565b506001600160a01b038716156100fa565b506001600160a01b038616156100f3565b506001600160a01b038516156100ec565b506001600160a01b038416156100e5565b506001600160a01b038316156100de565b506001600160a01b038216156100d7565b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103065756fe61012080604052600436101561005c575b50361561001b575f80fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361004d57005b633199b48960e11b5f5260045ffd5b5f610100525f3560e01c90816301f4727f14611b255750806312261ee714611ae15780632b216b84146119795780634e584986146102d757806364df049e14610290578063791b98bc146102495780638a3d1cf714610209578063c45a0155146101c2578063c4b7de971461017b578063d7b96d4e146101345763dc4c90d3146100e6575f610010565b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6101005180fd5b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d57602036600319011261012d576001600160a01b0361022a611b66565b1661010051526101005160205260206040610100512054604051908152f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60c036600319011261012d576102eb611b66565b60c0526024356001600160a01b038116810361012d5760443562ffffff8116810361012d5760643560020b6064350361012d57608435916001600160801b038316830361012d5760a435926001600160801b038416840361012d5760405160e05260e080510160e051811067ffffffffffffffff821117611523576040526101005160e0515261010051602060e051015261010051604060e051015261010051606060e051015261010051608060e05101526101005160a060e05101526101005160c060e05101526103bb611c7d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036119645760c0516001600160a01b031615801561194d575b801561193c575b801561192b575b8015611902575b61121f57604051926370a0823160e01b845230600485015260208460248160018060a01b0360c051165afa9384156110505761010051946118ce575b506001600160801b038516841061121f5761010051936001600160a01b03841661183b575b610496906104833447611bb2565b60a0526001600160801b03871690611bb2565b936001600160a01b038416611821575061010051905b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163160805260c0518116908516109081156118185784905b82156118115760c051905b831561180a5785935b156118035788915b604051918260a081011067ffffffffffffffff60a0850111176115235762ffffff9160a0840160405260018060a01b038616845260018060a01b0316602084015216604082015260643560020b606082015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016608082015260a081206040516020810191825260066040820152604081526105ae606082611b7c565b519020604051631e2eaeaf60e01b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110505761010051916117d1575b5060018060a01b031680602060e05101526401000276a38111908115916117b2575b5061179d5760643560020b156117835760643560020b620d89e7190592610100515060643560020b620d89e805926001600160801b0360018060a01b03602060e051015116610680606435880260020b611d7c565b610690606435880260020b611d7c565b80826001600160a01b0380831690821611611778575b50506001600160a01b0382168311611723576106c69250838a16916121d2565b1680604060e05101521561170e5760c051610718906001600160801b038d16906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611d2d565b61012c420142119485611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b81526101005160c0516001600160a01b0390811660048401527f00000000000000000000000000000000000000000000000000000000000000001660248301526001600160801b038e1660448301524261012c0165ffffffffffff16606483015281806084810103816101005160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116f3575b506001600160a01b038a166115b5575b604051631d5e528f60e21b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115611050576101005191611583575b5060e051526001600160a01b03831661155757604051600160f91b6020820152600d60f81b6021820152600560fa1b6022820152600381526108a6602382611b7c565b965b6001600160a01b03841661154e5760ff60035b16956108c687611be0565b966108d46040519889611b7c565b8088526108e3601f1991611be0565b01610100515b81811061153d5750506001600160801b03604060e051015116906040519081602081011067ffffffffffffffff602084011117611523576060956001600160801b038995610a03958294610a1199602088016040526101005188526040519b8c9a60018060a01b0381511660208d015260018060a01b0360208201511660408d015262ffffff604082015116828d0152015160020b60808b01528d608060018060a01b039101511660a08b01526064350260020b60c08a01526064350260020b60e0890152610100880152166101208601521661014084015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016610160840152610180808401526101a0830190611bf8565b03601f198101835282611b7c565b610a1a84611c1c565b52610a2483611c1c565b508151602080840151604080516001600160a01b0394851693810193909352921681830152908152610a57606082611b7c565b610a6084611c3d565b52610a6a83611c3d565b506001600160a01b0316156114e2575b50610a9692604051938491604060208401526060830190611bf8565b91601f19828403016040830152805180845260208401936020808360051b83010193019461010051915b8383106114b15750505050610ade925003601f198101845283611b7c565b611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d57610b346040519163dd46508f60e01b8352604060048401526044830190611bf8565b4261012c0160248301526101005190829081900381347f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110505761147c575b5060e051516040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561105057610100519161143a575b506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911603611425577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b8152610100805160c0516001600160a01b0390811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af180156110505761140a575b5060c051610d10906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611cb5565b6001600160a01b0383166112f1575b61010051906001600160a01b03841661126c575050610d4060a05147611bb2565b93610d58856080511086608051180286188096611bb2565b935b6001600160801b038316851161121f57604051906370a0823160e01b825230600483015260208260248160018060a01b0360c051165afa918215611050576101005192611234575b5080821061121f57610db391611bb2565b916001600160801b038216831161121f576001600160801b039182610df0610e0793828916908160a060e051015283881660c060e0510152611c5d565b16606060e05101528260c060e05101511690611c5d565b16608060e051015280611152575b508161105e575b5050610e2a9060a051611bd3565b80610f77575b60e0515160018060a01b03602060e0510151166001600160801b03604060e0510151166001600160801b03606060e0510151166001600160801b03608060e0510151166001600160801b0360a060e051015116916001600160801b0360c060e05101511693604051958652602086015260408501526060840152608083015260a08201527f7a9aa3a35806cfdc439496ecf14d7bd8f3931fd91386459d5ce2ae2573e6312560c060018060a01b0381511692a360015f805160206123968339815191525560e0604051815151815260018060a01b036020835101511660208201526001600160801b036040835101511660408201526001600160801b036060835101511660608201526001600160801b036080835101511660808201526001600160801b0360a0835101511660a08201526001600160801b0360c0835101511660c0820152f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316600482018190526101005190938290602490829086905af1801561105057611035575b5060207f5698ca1396b40a355669f8ac234d68316f04cd8babdff3adc39a115e90f1de5391604051908152a280610e30565b6101005161104291611b7c565b6101005161012d5782611003565b6040513d61010051823e3d90fd5b6001600160a01b03811661111f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152610100519092909183916024918391905af1801561105057611104575b50610e2a905b9082610e1c565b6101005161111191611b7c565b6101005161012d57816110f7565b90610e2a929160018060a01b031661010051526101005160205261114b60406101005120918254611bd3565b90556110fd565b610100805160405163a9059cbb60e01b9091526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600452602493909352905160c051919260209260449183918291165af19060016101005151148216156111f0575b604052156111cc5783610e15565b6101008051635274afe760e01b905260c0516001600160a01b031660045251602490fd5b9060018115166112135760c0516001600160a01b03163b15153d151616906111be565b503d61010051823e3d90fd5b63162908e360e11b6101005152600461010051fd5b9091506020813d602011611264575b8161125060209383611b7c565b8101031261126057519087610da2565b5f80fd5b3d9150611243565b6040516370a0823160e01b8152306004820152919591906020826024816001600160a01b0389165afa9182156110505761010051926112bd575b5080821061121f576112b791611bb2565b93610d5a565b9091506020813d6020116112e9575b816112d960209383611b7c565b81010312611260575190876112a6565b3d91506112cc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b0386811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576113ef575b506113ea6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908516611cb5565b610d1f565b610100516113fc91611b7c565b6101005161012d57856113b3565b6101005161141791611b7c565b6101005161012d5785610cd6565b63057db18760e21b6101005152600461010051fd5b90506020813d602011611474575b8161145560209383611b7c565b8101031261012d57516001600160a01b038116810361012d5786610bde565b3d9150611448565b6101005161148991611b7c565b6101005161012d5785610b81565b634e487b7160e01b61010051526011600452602461010051fd5b919360019193955060206114d08192601f198682030187528951611bf8565b97019301930190928794929593610ac0565b51604080516001600160a01b03909216602083015230828201528152611509606082611b7c565b61151282611c4d565b5261151c81611c4d565b5088610a7a565b634e487b7160e01b61010051526041600452602461010051fd5b806060602080938c010152016108e9565b60ff60026108bb565b604051600160f91b6020820152600d60f81b60218201526002815261157d602282611b7c565b966108a8565b90506020813d6020116115ad575b8161159e60209383611b7c565b8101031261126057518d610863565b3d9150611591565b94506115f76001600160801b0389166001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908c16611d2d565b61010051947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b038d811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501526001600160801b038d16604485015265ffffffffffff61012c42011660648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116d8575b50610813565b610100516116e591611b7c565b6101005161012d578c6116d2565b6101005161170091611b7c565b6101005161012d578c610803565b636180f03f60e11b6101005152600461010051fd5b6001600160a01b03811683101561176a579061174661175092858c1690856121d2565b9284861691612195565b808316828416101561176357505b6106c6565b90506106c6565b61175e925083851691612195565b915091508f806106a6565b634e487b7160e01b61010051526012600452602461010051fd5b63063df5fd60e31b6101005152600461010051fd5b73fffd8963efd1fc6a506488495d951d5263988d26915010158a61062b565b90506020813d6020116117fb575b816117ec60209383611b7c565b8101031261012d57518a610609565b3d91506117df565b859161050a565b8893610502565b85906104f9565b60c051906104ee565b611835906001600160801b03841690611bb2565b906104ac565b6040516370a0823160e01b815230600482015294506020856024816001600160a01b0388165afa94851561105057610100519561189a575b50846001600160801b03841611156104755763162908e360e11b6101005152600461010051fd5b9094506020813d6020116118c6575b816118b660209383611b7c565b8101031261126057519386611873565b3d91506118a9565b9093506020813d6020116118fa575b816118ea60209383611b7c565b8101031261126057519285610450565b3d91506118dd565b506001600160a01b038216611923576001600160801b038116341415610414565b341515610414565b506001600160801b0384161561040d565b506001600160801b03811615610406565b5060c0516001600160a01b038381169116146103ff565b631966391b60e11b6101005152600461010051fd5b3461126057602036600319011261126057611992611b66565b61199a611c7d565b6001600160a01b03165f818152602081905260409020548015611ad2575f828152602081905260408120557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916119fb828483611d2d565b823b15611260576040516309ad4dd960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660048201526024810182905260448101839052925f8460648183855af1908115611ac757602094611a7092611ab2575b5082611cb5565b7f72a955b3e852e5b9849449e196fe76c81c7b9506dee62690faafc1c0717b287983604051848152a260015f8051602061239683398151915255604051908152f35b5f611abc91611b7c565b5f6101005285611a69565b6040513d5f823e3d90fd5b633ada528f60e21b5f5260045ffd5b34611260575f366003190112611260576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34611260575f366003190112611260577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361126057565b90601f8019910116810190811067ffffffffffffffff821117611b9e57604052565b634e487b7160e01b5f52604160045260245ffd5b91908203918211611bbf57565b634e487b7160e01b5f52601160045260245ffd5b91908201809211611bbf57565b67ffffffffffffffff8111611b9e5760051b60200190565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b805115611c295760200190565b634e487b7160e01b5f52603260045260245ffd5b805160011015611c295760400190565b805160021015611c295760600190565b906001600160801b03809116911603906001600160801b038211611bbf57565b60025f805160206123968339815191525414611ca65760025f8051602061239683398151915255565b633ee5aeb560e01b5f5260045ffd5b90611cc15f82846120a9565b15611cca575050565b611cd481836120f6565b15611d0c575f611ce4918361215a565b15611cec5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190611d3a8282856120a9565b15611d4457505050565b611d4e81846120f6565b15611d5e5790611ce4918361215a565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60020b908160ff1d82810118620d89e881116120965763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b18916002811661207a575b6004811661205e575b60088116612042575b60108116612026575b6020811661200a575b60408116611fee575b60808116611fd2575b6101008116611fb6575b6102008116611f9a575b6104008116611f7e575b6108008116611f62575b6110008116611f46575b6120008116611f2a575b6140008116611f0e575b6180008116611ef2575b620100008116611ed6575b620200008116611ebb575b620400008116611ea0575b6208000016611e87575b5f12611e7f575b0160201c90565b5f1904611e78565b6b048a170391f7dc42444e8fa290910260801c90611e71565b6d2216e584f5fa1ea926041bedfe9890920260801c91611e67565b916e5d6af8dedb81196699c329225ee6040260801c91611e5c565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91611e51565b916f31be135f97d08fd981231505542fcfa60260801c91611e46565b916f70d869a156d2a1b890bb3df62baf32f70260801c91611e3c565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91611e32565b916fd097f3bdfd2022b8845ad8f792aa58250260801c91611e28565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91611e1e565b916ff3392b0822b70005940c7a398e4b70f30260801c91611e14565b916ff987a7253ac413176f2b074cf7815e540260801c91611e0a565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91611e00565b916ffe5dee046a99a2a811c461f1969c30530260801c91611df6565b916fff2ea16466c96a3843ec78b326b528610260801c91611ded565b916fff973b41fa98c081472e6896dfb254c00260801c91611de4565b916fffcb9843d60f6159c9db58835c9266440260801c91611ddb565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91611dd2565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91611dc9565b916ffff97272373d413259a46990580e213a0260801c91611dc0565b826345c3193d60e11b5f5260045260245ffd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156120e5575b50604052565b3d15903b151516909216915f6120df565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f51148416156121385750604052565b60018492941516612151573b15153d151616915f6120df565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156121385750604052565b6121c9926121c49290916001600160a01b03808316908216116121cc575b90036001600160a01b03169061221f565b612372565b90565b906121b3565b6121c9926121c4929091906001600160a01b0380821690831611612219575b6122076001600160a01b038281169084166122a9565b9190036001600160a01b0316916122f2565b906121f1565b90606082901b905f19600160601b84099282808510940393808503948584111561126057146122a2578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b81810291905f1982820991838084109303928084039384600160601b111561126057146122e957600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039586851115611260571461236a579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b906001600160801b03821680920361238657565b6393dafdf160e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a264697066735822122051db94c9ce6c43d628e9e8fe3abc50d5a92c54867b22a5d74941750b5210739464736f6c634300081a003360808060405234601557610c0e908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80638f814132146100985763bcebea9f1461002f575f80fd5b346100945760a03660031901126100945761008861004b610148565b61005361015e565b61005b610174565b6084359160643591906001600160a01b03858116908216101561008a5761008284846103b6565b946101af565b005b61008283856103b6565b5f80fd5b346100945760c0366003190112610094576100b1610148565b6100b961015e565b6100c1610174565b91606435906084356100d560a43584610184565b926a477df63ed178cc366db6db82019586831161013457602096610119956001600160a01b03868116908916101561012b5790610111916103b6565b9586946101af565b6040516001600160a01b039091168152f35b610111916103b6565b634e487b7160e01b5f52601160045260245ffd5b600435906001600160a01b038216820361009457565b602435906001600160a01b038216820361009457565b604435908160020b820361009457565b9190820180921161013457565b811561019b570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316949193929085156103a7576001600160a01b0316948086146103a7578460020b955f8713156103985782158015610390575b8015610380575b8015610370575b6102a857101561036a575b6001600160a01b038216906401000276a3821180159061034c575b61033d57851561019b576001600160801b039286620d89e719059587620d89e8059561025c610251838a0260020b610483565b92880260020b610483565b9283836001600160a01b0380831690821611610332575b50506001600160a01b03831686116102df5750506102919350610b68565b169081159283156102b7575b50505090506102a857565b632c37d0eb60e01b5f5260045ffd5b6001600160801b0393505f60019395620d89e7190712900390030181041610805f808061029d565b919490939192906001600160a01b03821611156103265782916103069161030c9594610b68565b93610b2e565b808316828416101561031f57505b610291565b9050610291565b91505061031a92610b2e565b945092505f80610273565b63582157bb60e01b5f5260045ffd5b5073fffd8963efd1fc6a506488495d951d5263988d2682101561021e565b91610203565b5060016001607f1b0385116101f8565b5060016001607f1b0383116101f1565b5084156101ea565b63013840ad60e51b5f5260045ffd5b63e6c4247b60e01b5f5260045ffd5b908115801561047b575b61046c576001600160c01b0382118015610460575b610439576001600160801b038211158061042c575b61041d57610400916103fb9161083a565b610a09565b6001600160801b03811161041d5760201b6001600160a01b031690565b63375cdf9f60e21b5f5260045ffd5b508160801b8110156103ea565b610446916103fb916107b0565b6001600160a01b03811161041d576001600160a01b031690565b508160401b81106103d5565b631f2a200560e01b5f5260045ffd5b5080156103c0565b60020b908160ff1d82810118620d89e8811161079d5763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116610781575b60048116610765575b60088116610749575b6010811661072d575b60208116610711575b604081166106f5575b608081166106d9575b61010081166106bd575b61020081166106a1575b6104008116610685575b6108008116610669575b611000811661064d575b6120008116610631575b6140008116610615575b61800081166105f9575b6201000081166105dd575b6202000081166105c2575b6204000081166105a7575b620800001661058e575b5f12610586575b0160201c90565b5f190461057f565b6b048a170391f7dc42444e8fa290910260801c90610578565b6d2216e584f5fa1ea926041bedfe9890920260801c9161056e565b916e5d6af8dedb81196699c329225ee6040260801c91610563565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91610558565b916f31be135f97d08fd981231505542fcfa60260801c9161054d565b916f70d869a156d2a1b890bb3df62baf32f70260801c91610543565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91610539565b916fd097f3bdfd2022b8845ad8f792aa58250260801c9161052f565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91610525565b916ff3392b0822b70005940c7a398e4b70f30260801c9161051b565b916ff987a7253ac413176f2b074cf7815e540260801c91610511565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91610507565b916ffe5dee046a99a2a811c461f1969c30530260801c916104fd565b916fff2ea16466c96a3843ec78b326b528610260801c916104f4565b916fff973b41fa98c081472e6896dfb254c00260801c916104eb565b916fffcb9843d60f6159c9db58835c9266440260801c916104e2565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c916104d9565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c916104d0565b916ffff97272373d413259a46990580e213a0260801c916104c7565b826345c3193d60e11b5f5260045260245ffd5b9060c082901b905f19600160c01b8409928280851094039380850394858411156100945714610833578190600160c01b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b90608082901b905f19600160801b8409928280851094039380850394858411156100945714610833578190600160801b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b90606082901b905f19600160601b8409928280851094039380850394858411156100945714610833578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b81810291905f1982820991838084109303928084039384600160601b1115610094571461098057600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f19818509938380861095039480860395868511156100945714610a01579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001811115610b2b57806001600160801b821015610b1a575b600482600160401b610acc941015610b0d575b640100000000811015610b00575b62010000811015610af3575b610100811015610ae7575b6010811015610adb575b1015610ad3575b60030260011c610a7b8184610191565b0160011c610a898184610191565b0160011c610a978184610191565b0160011c610aa58184610191565b0160011c610ab38184610191565b0160011c610ac18184610191565b0160011c8092610191565b8111900390565b60011b610a6b565b811c9160021b91610a64565b60081c91811b91610a5a565b60101c9160081b91610a4f565b60201c9160101b91610a43565b60401c9160201b91610a35565b5050608081901c600160401b610a22565b90565b610b2b92610b5d9290916001600160a01b0380831690821611610b62575b90036001600160a01b0316906108bd565b610bb5565b90610b4c565b610b2b92610b5d929091906001600160a01b0380821690831611610baf575b610b9d6001600160a01b03828116908416610940565b9190036001600160a01b031691610989565b90610b87565b906001600160801b038216809203610bc957565b6393dafdf160e01b5f5260045ffdfea2646970667358221220327cf71118100c9d8cad8df74fe786c2c20923b005fe36bd212726cc90d4403f64736f6c634300081a003360c0346100d257601f610af538819003918201601f19168301916001600160401b038311848410176100d6578084926020946040528339810103126100d257516001600160a01b0381168082036100d25760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055156100c3573360805260a052604051610a0a90816100eb823960805181818160d10152818161017c01526105bc015260a0518181816103250152818161052d01528181610638015261080f0152f35b63041fb8cb60e31b5f5260045ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630651b0d51461085e57508063150b7a02146107ae5780634a4fbeec1461077157806372dd764614610587578063732e78e41461055c578063791b98bc14610518578063a480ca7914610100578063c45a0155146100bb5763fa22143d14610081575f80fd5b346100b85760203660031901126100b8576020906040906001600160a01b036100a861089d565b1681528083522054604051908152f35b80fd5b50346100b857806003193601126100b8576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346104645760203660031901126104645761011a61089d565b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146105095760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005560405163de53fcd560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f916104da575b506001600160a01b0382165f8181526001602052604090205490919060ff16156104cb575f828152600360205260409020546001600160a01b0316828110939084156104c45780945b156104bd57505b604051600160f81b6020820152601160f81b6021820152600281529061022b6022836108c9565b6060926040519161023c85846108c9565b60028352601f1985015f5b8181106104ad575050855f525f60205260405f205460405190602082019082821067ffffffffffffffff831117610499576102c2916040989798525f83526102b460405193849260208401525f60408401525f898401525f608084015260a08084015260c083019061097f565b03601f1981018352826108c9565b6102cb846109a3565b526102d5836109a3565b50604080516001600160a01b039889166020820152918816908201529516828601819052828652946103086080826108c9565b610311826109c4565b5261031b816109c4565b5060018060a01b037f0000000000000000000000000000000000000000000000000000000000000000169161035e6040519485926040602085015283019061097f565b91601f19828403016040830152805180845260208401936020808360051b8301019301945f915b83831061046857505050506103a3925003601f1981018452836108c9565b803b15610464576103d65f9291839260405194858094819363dd46508f60e01b835260406004840152604483019061097f565b42602483015203925af1801561045957610444575b50808352826020526040832054907f17342fa131edbe691fdcf4ca3717851d45445a2b253c303a7bd644f7d55be7d08480a460017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005580f35b6104519193505f906108c9565b5f915f6103eb565b6040513d5f823e3d90fd5b5f80fd5b919360019193955060206104878192601f19868203018752895161097f565b97019301930190928794929593610385565b634e487b7160e01b5f52604160045260245ffd5b8087602080938801015201610247565b9050610204565b81946101fd565b63057db18760e21b5f5260045ffd5b6104fc915060203d602011610502575b6104f481836108c9565b8101906108eb565b5f6101b4565b503d6104ea565b633ee5aeb560e01b5f5260045ffd5b34610464575f366003190112610464576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461046457602036600319011261046457602061057f61057a61089d565b61090a565b604051908152f35b34610464576060366003190112610464576105a061089d565b602435906044356001600160a01b0381169190829003610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610762576001600160a01b03169081158015610759575b61074a57825f52600260205260ff60405f2054168015610734575b610725576040516331a9108f60e11b8152600481018490526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f91610706575b50306001600160a01b03909116036104cb57815f525f6020528260405f2055815f52600360205260405f20906bffffffffffffffffffffffff60a01b825416179055805f52600160205260405f20600160ff19825416179055815f52600260205260405f20600160ff198254161790557f2cabb2a2973327d5863ceb4707e9441851243897e86d587ee35943599752eb545f80a3005b61071f915060203d602011610502576104f481836108c9565b84610670565b630b58c0a560e11b5f5260045ffd5b50815f52600160205260ff60405f205416610618565b63af82636160e01b5f5260045ffd5b508082146105fd565b631966391b60e11b5f5260045ffd5b34610464576020366003190112610464576001600160a01b0361079261089d565b165f526001602052602060ff60405f2054166040519015158152f35b34610464576080366003190112610464576107c761089d565b506107d06108b3565b5060643567ffffffffffffffff8111610464573660238201121561046457806004013567ffffffffffffffff81116104645736910160240111610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361084f57604051630a85bd0160e11b8152602090f35b63041fb8cb60e31b5f5260045ffd5b34610464576020366003190112610464576020906001600160a01b0361088261089d565b165f9081526003835260409020546001600160a01b03168152f35b600435906001600160a01b038216820361046457565b602435906001600160a01b038216820361046457565b90601f8019910116810190811067ffffffffffffffff82111761049957604052565b9081602091031261046457516001600160a01b03811681036104645790565b803b1561097a576040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa908115610459575f9161094b575090565b90506020813d602011610972575b81610966602093836108c9565b81010312610464575190565b3d9150610959565b505f90565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b8051156109b05760200190565b634e487b7160e01b5f52603260045260245ffd5b8051600110156109b0576040019056fea2646970667358221220ec800e761e8c581c7282498dca818f4f12e93984178ab2a657dbd5db9d8a188064736f6c634300081a0033","sourceMap":"2272:51031:6:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;2272:51031:6;1273:26:11;;1269:95;;2272:51031:6;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;-1:-1:-1;2272:51031:6;;1397:7:46;;;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;3052:40:11;;-1:-1:-1;3052:40:11;2093:20:12;1505:66:28;2272:51031:6;10861:2;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;13050:32;:72;;;;-1:-1:-1;13050:104:6;;;;-1:-1:-1;13050:163:6;;;;-1:-1:-1;13033:211:6;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13258:30;;:35;13254:79;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13347:34;;:39;13343:87;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13444:26;;:31;13440:71;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13525:37;;:42;13521:93;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;13660:54:6;;2272:51031;;;;13660:54;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13660:54;;;;;;;-1:-1:-1;13660:54:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;13729:38;;;13725:141;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;13906:57:6;;2272:51031;;;;;13660:54;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13906:57;;;;;;;-1:-1:-1;13906:57:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;13978:30;;;13974:128;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;1325:13:46;14218:56:6;-1:-1:-1;;14217:90:6;14213:155;;2272:51031;;-1:-1:-1;;;14411:18:6;;2272:51031;;13660:54;2272:51031;14411:18;;;;;;;;-1:-1:-1;14411:18:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;14444:37;;;14440:142;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;14611:12:6;;2272:51031;;13660:54;2272:51031;14611:12;;;;;;;;-1:-1:-1;14611:12:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;14637:32;;;14633:133;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;14779:14:6;;2272:51031;;13660:54;2272:51031;14779:14;;;;;;;;-1:-1:-1;14779:14:6;;;-1:-1:-1;;;;;;;2272:51031:6;14775:68;;2272:51031;;14854:36;1397:7:46;;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;;;;;;1397:7:46;;;;;;;;14900:40:6;1397:7:46;;;;;;;;;;2272:51031:6;;;;;14950:32;2272:51031;;;;;14992:40;2272:51031;;;15042:24;;2272:51031;15076:25;2272:51031;;15123:20;;;;;;;-1:-1:-1;;;;;15123:20:6;;;;;;;;;;;;-1:-1:-1;15123:20:6;;;;;15111:32;;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;15162:45;;;;-1:-1:-1;;;;;15162:45:6;;;;;;;;2272:51031;15162:45;;;;;;2272:51031;;15162:45;;;-1:-1:-1;15162:45:6;;;;;15153:54;;2272:51031;;15235:26;;;;-1:-1:-1;;;;;15235:26:6;;;;;;;;;;;;;;;-1:-1:-1;15235:26:6;;;;;15217:44;;2272:51031;;;;;;;15153:54;1397:7:46;15111:32:6;1397:7:46;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;15292:287;;;;;;2272:51031;;;;;;;;;;;;;;;-1:-1:-1;;;;;15292:287:6;;;;;;;;15111:32;15292:287;;;;;;15341:4;2272:51031;;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;15042:24;1397:7:46;;2272:51031:6;15341:4;2272:51031;1397:7:46;;2272:51031:6;15292:287;;;-1:-1:-1;15292:287:6;;;;;15271:308;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;-1:-1:-1;15594:58:6;-1:-1:-1;;15594:58:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15042:24;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;15111:32;2272:51031;;;;;;;;;;;;;;;;;;;;15153:54;2272:51031;;;;;;;;;;15271:308;2272:51031;;;;;;;;;;15217:44;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15292:287;2272:51031;;;-1:-1:-1;2272:51031:6;;;;;15292:287;2272:51031;;;-1:-1:-1;2272:51031:6;;13660:54;2272:51031;;-1:-1:-1;2272:51031:6;14775:68;14330:27;;;-1:-1:-1;14816:27:6;13660:54;-1:-1:-1;14816:27:6;14779:14;;;2272:51031;14779:14;;2272:51031;14779:14;;;;;;2272:51031;14779:14;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;14779:14;;;2272:51031;-1:-1:-1;2272:51031:6;;14779:14;;;-1:-1:-1;14779:14:6;;14633:133;14692:63;;;-1:-1:-1;14692:63:6;13660:54;2272:51031;;;;-1:-1:-1;14692:63:6;14611:12;;;2272:51031;14611:12;;2272:51031;14611:12;;;;;;2272:51031;14611:12;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;14611:12;;;;;;-1:-1:-1;14611:12:6;;14440:142;14504:67;;;-1:-1:-1;14504:67:6;13660:54;2272:51031;;;;-1:-1:-1;14504:67:6;14411:18;;;;2272:51031;14411:18;2272:51031;14411:18;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;13974:128;14031:60;;;-1:-1:-1;14031:60:6;13660:54;2272:51031;;;;-1:-1:-1;14031:60:6;13906:57;;;2272:51031;13906:57;;2272:51031;13906:57;;;;;;2272:51031;13906:57;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;13906:57;;;;;;-1:-1:-1;13906:57:6;;13725:141;13790:65;;;-1:-1:-1;13790:65:6;13660:54;2272:51031;;;;-1:-1:-1;13790:65:6;13660:54;;;;2272:51031;13660:54;2272:51031;13660:54;;;;;;;:::i;:::-;;;;13521:93;13302:31;;;-1:-1:-1;13576:38:6;;2272:51031;;-1:-1:-1;13576:38:6;13033:211;13231:13;;;-1:-1:-1;13231:13:6;;-1:-1:-1;13231:13:6;13050:163;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13174:39;13050:163;;:104;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13126:28;13050:104;;:72;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13086:36;13050:72;;1269:95:11;1322:31;;;-1:-1:-1;1322:31:11;-1:-1:-1;1322:31:11;2272:51031:6;;-1:-1:-1;1322:31:11;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;:::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a0033","offset":25004},"2":{"value":"0xa2646970667358221220ba63abe69bea1e82948d9368b70a114937fb2088bb1a6197d85ecc6c966fc53764736f6c634300081a0033","offset":27035},"3":{"value":"0xa264697066735822122051db94c9ce6c43d628e9e8fe3abc50d5a92c54867b22a5d74941750b5210739464736f6c634300081a0033","offset":37049},"4":{"value":"0xa2646970667358221220327cf71118100c9d8cad8df74fe786c2c20923b005fe36bd212726cc90d4403f64736f6c634300081a0033","offset":40161},"5":{"value":"0xa2646970667358221220ec800e761e8c581c7282498dca818f4f12e93984178ab2a657dbd5db9d8a188064736f6c634300081a0033","offset":42966}},"transformations":[{"type":"insert","offset":43019,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x0000000000000000000000005e8181041ce6ea81d7f8c614c67523bcb8dae3d70000000000000000000000008366a39cc670b4001a1121b8f6a443a643e4095100000000000000000000000058daec3116aae6d93017baaea7749052e8a04fa7000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c072000"}},"runtimeBytecode":{"onchainBytecode":"0x608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e409516001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f000000000000000000000000e3dc0e862c4eff876a1c40b10205844111da6ee76001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f000000000000000000000000bab7dbd758c8de7a28e315d3a88d68bb671acd3f6001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f000000000000000000000000013aa3485dcbbf60a72129e64b16d6290f4905b66001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f000000000000000000000000013aa3485dcbbf60a72129e64b16d6290f4905b66001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f000000000000000000000000013aa3485dcbbf60a72129e64b16d6290f4905b66001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000058daec3116aae6d93017baaea7749052e8a04fa76001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c0720006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba36001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c0720006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e409516001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000058daec3116aae6d93017baaea7749052e8a04fa76001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c072000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e40951165af19081156110b0578a916138b1575b5060e09260c491907f000000000000000000000000bab7dbd758c8de7a28e315d3a88d68bb671acd3f6001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000e3dc0e862c4eff876a1c40b10205844111da6ee790911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d356001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c0720006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f000000000000000000000000013aa3485dcbbf60a72129e64b16d6290f4905b6166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d351661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a0033","recompiledBytecode":"0x608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f0000000000000000000000000000000000000000000000000000000000000000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af19081156110b0578a916138b1575b5060e09260c491907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000000000000000000000000000000000000000000090911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f0000000000000000000000000000000000000000000000000000000000000000166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f00000000000000000000000000000000000000000000000000000000000000001661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a0033","sourceMap":"2272:51031:6:-:0;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;;16076:21;2272:51031;-1:-1:-1;;;;;2272:51031:6;16062:10;:35;16058:72;;2272:51031;16058:72;16106:24;;;-1:-1:-1;16106:24:6;2272:51031;-1:-1:-1;16106:24:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;33576:5;2272:51031;;:::i;:::-;2989:103:28;;:::i;:::-;33576:5:6;:::i;:::-;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;-1:-1:-1;;;;;2272:51031:6;20874:28;;20870:54;;20964:14;2272:51031;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;21034:58;-1:-1:-1;;21034:58:6;2272:51031;20870:54;25044:13;;;2272:51031;20911:13;2272:51031;;20911:13;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;17516:60;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;17375:36;2272:51031;;17375:36;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;17465:34;;;;;:::i;:::-;2272:51031;;;;;;17516:60;;:::i;:::-;2272:51031;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;23860:29;1500:62:11;2272:51031:6;1500:62:11;;;:::i;:::-;23765:47:6;;2272:51031;1555:50:9;;23822:23:6;2272:51031;1555:50:9;;;;;23822:23:6;2272:51031;;;;;;23860:29;2272:51031;23765:47;;;:::i;:::-;;;2272:51031;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;25597:69;2272:51031;;;:::i;:::-;2989:103:28;;:::i;:::-;25655:10:6;2272:51031;;;;;;25597:69;:::i;:::-;2272:51031;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;;1738:24:12;2272:51031:6;;;1738:24:12;2272:51031:6;;;;;;;;;1777:43:12;2272:51031:6;1777:43:12;;2272:51031:6;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;2272:51031:6;;;;1500:62:11;;:::i;:::-;23052:24:6;;;:::i;:::-;;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23086:29;2272:51031;;;23086:29;:::i;:::-;23125:18;;;:::i;:::-;2272:51031;;;;;;1555:50:9;2272:51031:6;1555:50:9;;;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;23167:23;2272:51031;23167:23;;2272:51031;;;;;;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2466:2;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;17881:18:6;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;17957:58;-1:-1:-1;;17957:58:6;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;8546:29;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;8766:36;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;3054:1:28;2272:51031:6;;:::i;:::-;;;:::i;:::-;1500:62:11;;;:::i;:::-;2989:103:28;;:::i;:::-;3054:1;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9376:41;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;26549:15:6;2272:51031;-1:-1:-1;;;;;2272:51031:6;26535:10;:29;26531:62;;26732:18;2272:51031;26620:75;2272:51031;;;;;;26620:75;:::i;:::-;26732:18;;;;;:::i;:::-;2272:51031;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;26531:62;26573:20;;;2272:51031;26573:20;2272:51031;;26573:20;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;1500:62:11;;:::i;:::-;20506:18:6;;:59;;;;2272:51031;20502:95;;2272:51031;1555:50:9;20653:37:6;1555:50:9;20607:31:6;1555:50:9;2272:51031:6;;;;;20653:37;2272:51031;20502:95;20574:23;;;2272:51031;20574:23;2272:51031;;20574:23;20506:59;20528:37;2869:2;20528:37;;20506:59;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;8657:24;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9483:59;-1:-1:-1;;;;;2272:51031:6;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9255:41;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31863:9;2272:51031;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;:::i;:::-;;;;1555:50:9;2272:51031:6;31863:9;2272:51031;;;:::i;:::-;;;;1555:50:9;2272:51031:6;;;;;:::i;:::-;;;;1555:50:9;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;1500:62:11;;:::i;:::-;20123:8:6;;;:77;;;2272:51031;20119:135;;2272:51031;1555:50:9;20300:28:6;1555:50:9;20263:22:6;1555:50:9;2272:51031:6;;;;;20300:28;2272:51031;20119:135;20223:20;;;2272:51031;20223:20;2272:51031;;20223:20;20123:77;-1:-1:-1;2747:5:6;20136:30;;;;20123:77;20136:63;20170:29;2809:5;20170:29;;20123:77;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;16288:14;2272:51031;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;26032:69;2272:51031;26138:18;2272:51031;;;;;;:::i;:::-;2989:103:28;;;;;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;21397:14:6;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;21425:19;2272:51031;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;21469:39:6;;2272:51031;21469:39;;2272:51031;;;;;;21469:39;2272:51031;-1:-1:-1;21469:9:6;-1:-1:-1;;;;;2272:51031:6;21469:39;;;;;;2272:51031;21469:39;;;21421:180;2272:51031;21460:48;;21421:180;;21615:41;2272:51031;;;;;;21615:41;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;21469:39;;2272:51031;21469:39;;2272:51031;21469:39;;;;;;2272:51031;21469:39;;;:::i;:::-;;;2272:51031;;;;;;;21469:39;;;;;-1:-1:-1;21469:39:6;;;2272:51031;;;;;;;;;21421:180;2272:51031;;-1:-1:-1;;;21548:42:6;;-1:-1:-1;;;;;2272:51031:6;;;;21548:42;;2272:51031;;;;;;;;;;;;;;;21548:42;2272:51031;;21548:9;-1:-1:-1;;;;;2272:51031:6;21548:42;;;;;;2272:51031;21548:42;;;21421:180;2272:51031;21539:51;;21421:180;;;21548:42;;2272:51031;21548:42;;2272:51031;21548:42;;;;;;2272:51031;21548:42;;;:::i;:::-;;;2272:51031;;;;;;;21548:42;;;;;-1:-1:-1;21548:42:6;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2272:51031:6;;43470:37;;43466:72;;2272:51031;43552:20;;;;;:::i;:::-;2272:51031;43548:61;;43623:21;;;;;:::i;:::-;43619:54;;43719:58;2272:51031;;;43719:58;;:::i;:::-;43819:11;2272:51031;43819:11;;;;;;;:::i;:::-;43832:18;;;2272:51031;43832:18;;;;;;;:::i;:::-;43852:14;;;;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;43787:80;;;;;:::i;:::-;43980:44;;;;:::i;:::-;44092:11;;;;;;;;;;:::i;:::-;44105:18;;;;;;:::i;:::-;44125:14;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;44045:95;;;;;;:::i;:::-;44442:11;;;;;;:::i;:::-;44471:18;;;;;:::i;:::-;44507:14;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;44218:317;;;;:::i;:::-;2272:51031;;-1:-1:-1;;;44167:378:6;;2272:51031;;;;;;44167:378;;2272:51031;44167:378;;;:::i;:::-;;;;;2272:51031;44167:378;;;;;;;2272:51031;44167:378;2272:51031;;;44167:378;;;2272:51031;-1:-1:-1;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;44167:378;;;;;;;2272:51031;44167:378;2272:51031;44167:378;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;43619:54;43653:20;;;2272:51031;43653:20;2272:51031;;43653:20;43548:61;43586:23;;;2272:51031;43586:23;2272:51031;;43586:23;43466:72;24632:22;;;2272:51031;43516:22;2272:51031;;43516:22;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;9790:30;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10380:69;2272:51031;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2574:5;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;:::i;:::-;15727:18;2272:51031;-1:-1:-1;;;;;2272:51031:6;15713:10;:32;15709:94;;-1:-1:-1;;;;;2272:51031:6;;;19424:23;;:53;;;;2272:51031;19420:93;;19523:327;;;2272:51031;;;19914:45;2272:51031;;;;19859:18;2272:51031;;;;;;;;1555:50:9;;;2272:51031:6;;1555:50:9;;;;;2272:51031:6;;;;;;;19914:45;2272:51031;19523:327;2272:51031;;;19589:18;2272:51031;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;2272:51031:6;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;1555:50:9;;;19636:27:6;:65;;;;;19523:327;19632:138;;;19820:18;2272:51031;1555:50:9;2272:51031:6;19914:45;1555:50:9;;2272:51031:6;19820:18;;:::i;:::-;19523:327;;;;19632:138;18648:27;;;2272:51031;19728:27;2272:51031;;19728:27;19636:65;19667:34;;;19636:65;;;19420:93;19486:27;;;2272:51031;19486:27;2272:51031;;19486:27;19424:53;19451:21;;;:26;19424:53;;15709:94;15754:49;;;2272:51031;15754:49;15713:10;2272:51031;;;;15754:49;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3310:9;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;3054:1:28;2272:51031:6;;:::i;:::-;1500:62:11;;:::i;:::-;2989:103:28;;:::i;:::-;3054:1;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3035:7;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;1311:13:12;2272:51031:6;735:10:23;-1:-1:-1;;;;;2272:51031:6;;2339:24:12;2335:96;;-1:-1:-1;;;;;;2272:51031:6;;;1311:13:12;2272:51031:6;;;;735:10:23;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;;3052:40:11;;2272:51031:6;3052:40:11;2272:51031:6;2335:96:12;2386:34;;;2272:51031:6;2386:34:12;735:10:23;2272:51031:6;;;;2386:34:12;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;8891:40;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;-1:-1:-1;;;;;2272:51031:6;25012:23;;25008:49;;2272:51031;;25109:29;2272:51031;-1:-1:-1;;;;;2272:51031:6;;25067:27;2272:51031;;;25067:27;2272:51031;;;;;;25109:29;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;22216:28;;;2272:51031;22216:28;2272:51031;;22216:28;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;23489:51;2272:51031;;;:::i;:::-;1500:62:11;;:::i;:::-;23450:24:6;23404:36;2272:51031;23404:36;;;:::i;:::-;23450:14;2272:51031;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;23450:24;2272:51031;;;;;;;23489:51;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;;10828:35;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;22038:18;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;35801:4;35779:10;:27;35775:50;;35845:5;;;:::i;:::-;2272:51031;35775:50;42647:10;;;2272:51031;35815:10;2272:51031;;35815:10;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;24202:13;2272:51031;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;16982:36;2272:51031;;16982:36;:::i;:::-;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;48423:16;2272:51031;;48457:15;2272:51031;;;;48166:320;;;;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48166:320;;;;;;:::i;:::-;2272:51031;48143:353;;2272:51031;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;10722:31;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10251:60;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;10030:53;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32099:9;2272:51031;;;;;;;;;;;;;;32139:26;;;;32175:11;;;2272:51031;32196:346;;;2272:51031;;32630:12;;2272:51031;32666:14;;;2272:51031;;;;;32715:21;2272:51031;;;;;;;;32768:16;;;2272:51031;32819:26;;;2272:51031;33044:17;;;2272:51031;33129:14;;;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;32819:26;;2272:51031;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;;;;;;;;;32562:620;;2272:51031;;;32666:14;2272:51031;;;;32562:620;;2272:51031;;;;;32562:620;;2272:51031;;;;;32562:620;;2272:51031;;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;;;1555:50:9;;2272:51031:6;32562:620;;1555:50:9;;;2272:51031:6;32562:620;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32666:14;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32196:346;2272:51031;32285:12;;2272:51031;;;-1:-1:-1;;;32259:48:6;;2272:51031;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;32259:48;;;;;;;2272:51031;32259:48;;;32196:346;2272:51031;;;;;;;32339:29;32325:43;;32321:58;;32196:346;32411:35;32397:49;;32393:64;;32196:346;2272:51031;32475:45;32196:346;32471:60;32411:35;;-1:-1:-1;32196:346:6;;32393:64;32339:29;;-1:-1:-1;32393:64:6;;32321:58;32285:12;;-1:-1:-1;32321:58:6;;2272:51031;;;;;;;;;;;;32259:48;;;;2272:51031;32259:48;2272:51031;32259:48;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;1500:62:11;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;24464:62;;24540:31;;:69;;;;2272:51031;24536:129;;2272:51031;;-1:-1:-1;;;24678:18:6;;2272:51031;;;;24678:18;;;;;;;;2272:51031;24678:18;;;2272:51031;-1:-1:-1;24708:4:6;-1:-1:-1;;;;;2272:51031:6;;;24678:35;24674:78;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;24802:36;;2272:51031;;24802:36;2272:51031;24674:78;24722:30;;;2272:51031;24722:30;2272:51031;;24722:30;24678:18;;;2272:51031;24678:18;;2272:51031;24678:18;;;;;;2272:51031;24678:18;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;24678:18;;;;;;-1:-1:-1;24678:18:6;;24540:69;24575:29;;;:34;24540:69;;24464:62;24514:12;;;2272:51031;24514:12;2272:51031;;24514:12;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3092:6;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10543:84;2272:51031;;;;;;;;;10543:84;;;;2272:51031;10543:84;;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;37285:27;2272:51031;;:::i;:::-;2989:103:28;;:::i;:::-;37285:27:6;:::i;:::-;1555:50:9;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3154:6;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2985:1;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;10927:25;2272:51031;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2685:5;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;42633:4;42611:10;:27;42607:50;;42667:27;;;:::i;2272:51031::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;16537:24;2272:51031;;16537:24;:::i;:::-;2272:51031;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;9911:33;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9004:32;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;1500:62:11;;:::i;:::-;2272:51031:6;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22587:29;2272:51031;;;22587:29;:::i;:::-;22631:14;2272:51031;;;;;;;;;;;22631:14;2272:51031;;;;:::i;:::-;;;;;;;1555:50:9;2272:51031:6;1555:50:9;2272:51031:6;1555:50:9;;;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;22704:21;;;2272:51031;22704:21;;2272:51031;;;;;;;;1555:50:9;;2272:51031:6;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;15727:18;2272:51031;-1:-1:-1;;;;;2272:51031:6;15713:10;:32;15709:94;;-1:-1:-1;;;;;2272:51031:6;;;18338:23;;:53;;;;2272:51031;18338:74;;;;2272:51031;18338:141;;;;2272:51031;18338:187;;;;2272:51031;18338:278;;;;2272:51031;18321:365;;18732:16;;;;:::i;:::-;679:17:9;;-1:-1:-1;;;;;2272:51031:6;;979:59:9;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;;50034:151:6;11309:25:31;11235:104;11309:25;;;;:29;;11235:104;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;50034:151:6;;:15;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;50034:151;;;:::i;:::-;;;;;;;;;;;;2272:51031;979:59:9;;;;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;;50034:151:6;11309:25:31;2272:51031:6;11309:25:31;11235:104;11309:25;;;:29;;11235:104;;:::i;:::-;2272:51031:6;;;;;;;;;;;50034:151;;2272:51031;;50034:151;2272:51031;50034:151;;;:::i;:::-;;;;;;;;;;;2272:51031;;19136:89;2272:51031;19136:89;2272:51031;;;;;1555:50:9;;;:::i;:::-;;;;2272:51031:6;19050:71;;1555:50:9;;;2272:51031:6;19050:71;;1555:50:9;;;2272:51031:6;;;19018:18;2272:51031;;;;;1555:50:9;;;;;2272:51031:6;1555:50:9;;;;;;2272:51031:6;1555:50:9;;;;;;;;2272:51031:6;;19136:89;;;;2272:51031;;;;;;;;;;;;;;;;;;;;;;19136:89;;;;2272:51031;50034:151;;2272:51031;50034:151;;2272:51031;50034:151;;;;;;2272:51031;50034:151;;;:::i;:::-;;;2272:51031;;;;19136:89;2272:51031;;19136:89;2272:51031;;:::i;:::-;;50034:151;;;;;;;;-1:-1:-1;50034:151:6;;11309:25:31;2272:51031:6;;;;;;;;;;;679:17:9;2272:51031:6;;;;;;;;;;;50034:151;2272:51031;50034:151;;2272:51031;50034:151;;;;;;2272:51031;50034:151;;;:::i;:::-;;;2272:51031;;;;;979:59:9;2272:51031:6;;:::i;:::-;;50034:151;;;;;-1:-1:-1;50034:151:6;;18338:278;1912:21:9;1886:66;679:17;1886:66;;:::i;:::-;18545:71:6;;;18338:278;;:187;18483:42;15727:18;18483:42;;18338:187;;:141;18432:47;1555:50:9;18432:47:6;;18338:141;;:74;18395:17;;;18338:74;;:53;18365:21;;;:26;18338:53;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;9120:64;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2633:3;2272:51031;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;-1:-1:-1;;2272:51031:6;;;;:::o;1555:50:9:-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;;2272:51031:6;;;;;;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;2272:51031:6:-;22631:14;2272:51031;;;;;;22631:14;-1:-1:-1;2272:51031:6;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;1555:50:9;;;;:::i;:::-;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;:::o;34546:1051::-;34657:21;;;:::i;:::-;34740:12;;;2272:51031;;;-1:-1:-1;;;34801:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;34801:13:6;2272:51031;34801:13;2272:51031;;34801:13;;;;;;;-1:-1:-1;34801:13:6;;;34546:1051;2272:51031;;;;;;;34740:12;34828:43;;34824:154;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;35017:15:6;;34801:13;2272:51031;34801:13;2272:51031;35017:15;;;;;;;-1:-1:-1;35017:15:6;;;34546:1051;-1:-1:-1;;;;;2272:51031:6;;;3154:6;2272:51031;;;;;;;35073:15;;:29;35069:79;;35256:9;2272:51031;35256:9;:81;35252:142;;35407:4;:61;;;;2272:51031;;-1:-1:-1;;;35407:61:6;;-1:-1:-1;;;;;2272:51031:6;;34801:13;35407:61;;2272:51031;;;;;-1:-1:-1;2272:51031:6;35407:61;2272:51031;-1:-1:-1;35407:4:6;3310:9;35407:61;;;;;34546:1051;35403:106;;;35567:23;35546:5;;;;:::i;:::-;35567:23;;34546:1051::o;35403:106::-;35483:7;;;;;:::o;35407:61::-;;;;;-1:-1:-1;35407:61:6;;:::i;:::-;-1:-1:-1;35407:61:6;;;;35252:142;35360:23;;;-1:-1:-1;35360:23:6;34801:13;-1:-1:-1;35360:23:6;35069:79;35111:37;;;-1:-1:-1;35111:37:6;34801:13;2272:51031;;-1:-1:-1;35111:37:6;35017:15;;34801:13;35017:15;;34801:13;35017:15;;;;;;34801:13;35017:15;;;:::i;:::-;;;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;-1:-1:-1;;;;;35017:15:6;;;;;;-1:-1:-1;35017:15:6;;34824:154;-1:-1:-1;;;;34894:73:6;34740:12;34801:13;2272:51031;;;;:::i;:::-;;-1:-1:-1;34894:73:6;34801:13;;;;;;;;;;;;;;:::i;:::-;;;;2272:51031;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;;2272:51031:6;1555:50:9;;2272:51031:6;1555:50:9;;;;;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;:::o;40170:2172::-;40302:1;;-1:-1:-1;;;;;2272:51031:6;40281:23;40277:49;;40360:21;;;:::i;:::-;2272:51031;40443:12;;2272:51031;;;-1:-1:-1;;;40504:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;40443:12;40504:13;2272:51031;40504:13;2272:51031;;40504:13;;;;;;;40302:1;40504:13;;;40170:2172;2272:51031;;;;;;;40545:29;40531:43;;40527:154;;40721:14;;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;3154:6;2272:51031;;;;;;;40776:15;;:29;40772:79;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;2305:39:61;;417:66:49;40504:13:6;2305:39:61;;2272:51031:6;40504:13;2272:51031;2305:39:61;2272:51031:6;41010:11;-1:-1:-1;;;;;2272:51031:6;2305:39:61;;;;;;;40302:1:6;2305:39:61;;;40170:2172:6;2305:46:61;40960:102:6;;2272:51031;;-1:-1:-1;;;41076:39:6;;40504:13;2272:51031;40504:13;2272:51031;41087:15;-1:-1:-1;;;;;2272:51031:6;41076:39;;;;;;;40302:1;41076:39;;;40170:2172;-1:-1:-1;;;;;;2272:51031:6;41072:89;;2272:51031;41276:9;:81;41272:142;;41427:4;:61;;;;2272:51031;;-1:-1:-1;;;41427:61:6;;-1:-1:-1;;;;;2272:51031:6;;;40504:13;41427:61;;2272:51031;;;;-1:-1:-1;2272:51031:6;2305:39:61;2272:51031:6;-1:-1:-1;41427:4:6;3310:9;41427:61;;;;;40170:2172;41423:106;;;41561:17;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;41642:16;;;:36;;;;40170:2172;41638:68;;41736:16;;2272:51031;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;41895:19;;;;;2272:51031;;;40504:13;2272:51031;;;;;;;;;41895:19;;;;;;;;;;;;;;;40170:2172;-1:-1:-1;;41929:23:6;2272:51031;;41983:51;;;;;;;;;2272:51031;;;;;;;;:::i;:::-;;1555:50:9;2272:51031:6;;1555:50:9;;;:::i;:::-;2272:51031:6;;;40504:13;2272:51031;;;;;42052:5;42048:37;;41925:260;42264:71;41925:260;2272:51031;41925:260;;42236:11;;;;;:::i;:::-;2272:51031;;;;;40504:13;2272:51031;;;42264:71;40170:2172::o;42048:37::-;-1:-1:-1;;;42066:19:6;;40504:13;;42066:19;2272:51031;;;41925:260;42162:11;42264:71;42162:11;;;2272:51031;42162:11;;;;;:::i;:::-;41925:260;;41895:19;;;;;;;;;:::i;:::-;2272:51031;;41895:19;;;;;;2272:51031;;;;41895:19;2272:51031;;;;;;;;;41895:19;2272:51031;;;41638:68;-1:-1:-1;;;41687:19:6;;40504:13;41687:19;;41642:36;41662:16;;;41642:36;;41427:61;;;;;40302:1;41427:61;;:::i;:::-;40302:1;41427:61;;;;41072:89;41138:23;;;40302:1;41138:23;40504:13;40302:1;41138:23;41076:39;;;40504:13;41076:39;;40504:13;41076:39;;;;;;40504:13;41076:39;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;41076:39;;;;;;-1:-1:-1;41076:39:6;;40960:102;41032:30;;;40302:1;41032:30;40504:13;40302:1;41032:30;2305:39:61;;;40504:13:6;2305:39:61;;40504:13:6;2305:39:61;;;;;;40504:13:6;2305:39:61;;;:::i;:::-;;;417:66:49;;;;;2305:39:61;;;;;;-1:-1:-1;2305:39:61;;40527:154:6;-1:-1:-1;;;40302:1:6;40597:73;40545:29;40504:13;2272:51031;;;;:::i;40504:13::-;;;;;;;;;;;;;;:::i;:::-;;;;679:17:9;;;;;;;;;;:::o;49438:355:6:-;2272:51031;;-1:-1:-1;;;49543:36:6;;2272:51031;49438:355;49543:36;;2272:51031;;49543:36;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;49543:36;;-1:-1:-1;;49543:36:6;;;49438:355;-1:-1:-1;49539:248:6;;49746:30;;;-1:-1:-1;49746:30:6;49543:36;-1:-1:-1;49746:30:6;49539:248;2272:51031;;;;;;49621:26;;;49617:90;;49539:248;;49438:355::o;49617:90::-;49656:51;;;-1:-1:-1;49656:51:6;49543:36;2272:51031;;;;-1:-1:-1;49656:51:6;49543:36;;;;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;;;;;;49543:36;;;;;;;-1:-1:-1;49543:36:6;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;679:17:9;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::o;1796:162:11:-;1710:6;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;735:10:23;1855:23:11;1851:101;;1796:162::o;51541:784:6:-;-1:-1:-1;;;1555:50:9;;51640:44:6;;;:72;;;51541:784;51640:146;;;;51541:784;51640:251;;;;51541:784;51623:329;;2685:5;51965:18;;;1555:50:9;51965:38:6;51961:68;;3035:7;2272:51031;52043:14;;;2272:51031;;52043:34;:61;;;;51541:784;52043:105;;;;51541:784;52039:169;;-1:-1:-1;;;;;52297:19:6;52269:18;;;2272:51031;;;52297:19;;1555:50:9;2272:51031:6;1017:21:9;679:17;829:30;979:59;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;51965:18:6;11309:25:31;11235:104;11309:25;;;:29;;11235:104;;:::i;:::-;52297:19:6;2272:51031;-1:-1:-1;;;50034:151:6;;2272:51031;;;;;50034:151;;2272:51031;-1:-1:-1;2272:51031:6;;50034:151;;;:::i;:::-;;2272:51031;50034:15;-1:-1:-1;;;;;2272:51031:6;50034:151;;;;;;;;51541:784;:::o;50034:151::-;51965:18;50034:151;;51965:18;50034:151;;;;;;51965:18;50034:151;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;;51541:784::o;50034:151::-;;;-1:-1:-1;50034:151:6;;52039:169;52171:26;;;-1:-1:-1;52171:26:6;;-1:-1:-1;52171:26:6;52043:105;52108:18;3092:6;52108:18;;;2272:51031;;;52108:40;52043:105;;:61;52081:18;-1:-1:-1;52081:18:6;;;2272:51031;;;52081:23;;52043:61;;51961:68;52012:17;;;-1:-1:-1;52012:17:6;;-1:-1:-1;52012:17:6;51623:329;51923:18;;;-1:-1:-1;51923:18:6;;-1:-1:-1;51923:18:6;51640:251;51806:26;;;;1555:50:9;1886:66;51871:19:6;;;1555:50:9;679:17;1886:66;;:::i;:::-;51806:85:6;;51640:251;;:146;51732:19;1555:50:9;51732:19:6;;;1555:50:9;51732:54:6;51640:146;;:72;51688:19;;;;1555:50:9;51688:24:6;51640:72;;52417:246;52554:14;2272:51031;52536:39;;;52532:75;;52626:30;;;:::i;:::-;52617:39;52417:246;:::o;52532:75::-;52584:23;;;-1:-1:-1;52584:23:6;;-1:-1:-1;52584:23:6;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;37359:2399::-;;2272:51031;;:::i;:::-;;37501:21;;;:::i;:::-;37584:12;;;2272:51031;;;-1:-1:-1;;;37645:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;37584:12;;-1:-1:-1;;37645:13:6;2272:51031;37645:13;2272:51031;;37645:13;;;;;;;-1:-1:-1;37645:13:6;;;37359:2399;2272:51031;;;;;;;37686:29;37672:43;;37668:154;;37853:17;;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;37934:16;;;:36;;;;37359:2399;37930:74;;38015:21;;;2272:51031;;-1:-1:-1;;2272:51031:6;;;;;-1:-1:-1;;;;;;;2272:51031:6;;;;38015:21;:44;;:::i;:::-;38138:16;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;38138:16;;2272:51031;;;38138:24;;;;38192:43;;;;;;;38265;;;;;;;;38464:14;;;2272:51031;37645:13;2272:51031;;;;;;37686:29;2272:51031;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;;;;;38339:251;;;2272:51031;;;;;;;;;;;38339:251;;2272:51031;;;;;;38623:152;38339:251;;;2272:51031;;;;38339:251;38746:19;2272:51031;38339:251;;2272:51031;;;;;;38559:18;2272:51031;;;38746:19;2272:51031;;;;;;;;;;;;;;38623:152;;37645:13;38623:152;;;:::i;:::-;;2272:51031;38623:15;-1:-1:-1;;;;;2272:51031:6;38623:152;;;;;;;-1:-1:-1;38623:152:6;;;38265:43;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;38785:55:6;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;37645:13;38785:55;;2272:51031;;;;;;;;;;;;;;;;;;;37686:29;2272:51031;;;;;;;;;;;;;;;;;;;;37645:13;;2272:51031;;38785:55;;2272:51031;;-1:-1:-1;;38798:11:6;2272:51031;38785:55;;;;;;;;;;;38265:43;-1:-1:-1;2272:51031:6;;38785:55;;2272:51031;38886:18;-1:-1:-1;;;;;2272:51031:6;38907:11;;2272:51031;;38907:11;:::i;:::-;2272:51031;;-1:-1:-1;;;;;2272:51031:6;38933:30;;2272:51031;38929:140;;38265:43;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;39136:48;-1:-1:-1;39136:30:6;;;:48;;;2272:51031;;;;;;;;;;;;39088:224;;37645:13;39088:224;;2272:51031;;;;;;;;;;;;;;;;37686:29;2272:51031;;;;;;;;;;;;;39088:224;;;;;;;-1:-1:-1;39088:224:6;;;39136:48;-1:-1:-1;38339:251:6;39344:18;;2272:51031;;;39393:18;;;2272:51031;;;;;-1:-1:-1;;;;;;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;;;;;;39323:18;;;2272:51031;1555:50:9;;39421:17:6;;;;1555:50:9;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;;39344:18;;39393;;39344;;-1:-1:-1;;;;;2272:51031:6;;;;39560:6;2272:51031;;;;39560:63;;;;;2272:51031;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;39560:63;;37645:13;39560:63;;2272:51031;;;;;;;;;39560:63;;;;;;;;39136:48;39633:23;;;;;;2272:51031;;;37645:13;2272:51031;;;;;;;;;39633:23;;;;;;;;;;39136:48;1555:50:9;;;38339:251:6;1555:50:9;-1:-1:-1;;;;;1555:50:9;39672:79:6;1555:50:9;;2272:51031:6;;;;;;;;;;;;37645:13;2272:51031;;;;;;;39672:79;37359:2399::o;39633:23::-;;;;;;:::i;:::-;2272:51031;;39633:23;;;2272:51031;;;39633:23;2272:51031;;;;;;;;;39560:63;;;;;-1:-1:-1;39560:63:6;;:::i;:::-;-1:-1:-1;39560:63:6;;;;39088:224;;;;2272:51031;39088:224;;2272:51031;39088:224;;;;;;2272:51031;39088:224;;;:::i;:::-;;;2272:51031;;;;39421:17;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;;37645:13;2272:51031;;;:::i;:::-;37645:13;2272:51031;;;;;;;;:::i;:::-;;;;;;38339:251;2272:51031;;;:::i;:::-;38339:251;2272:51031;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;39088:224;;;;;;;-1:-1:-1;39088:224:6;;39136:48;-1:-1:-1;39136:48:6;;;38929:140;39046:11;;;:::i;:::-;38929:140;;;;;38785:55;;;37645:13;38785:55;;37645:13;38785:55;;;;;;37645:13;38785:55;;;:::i;:::-;;;2272:51031;;;;;;;37686:29;2272:51031;;;;;38785:55;-1:-1:-1;38785:55:6;;;;;;;-1:-1:-1;38785:55:6;;38623:152;;;;;37645:13;38623:152;;37645:13;38623:152;;;;;;37645:13;38623:152;;;:::i;:::-;;;2272:51031;;;;;;;;:::i;:::-;38623:152;;;;;;;;-1:-1:-1;38623:152:6;;38265:43;;;;;;38192;;;;;37930:74;37979:25;;;-1:-1:-1;37979:25:6;37645:13;-1:-1:-1;37979:25:6;37934:36;37954:16;;;37934:36;;37645:13;;;;;;;;;;;;;;:::i;:::-;;;;3749:292:28;2407:1;-1:-1:-1;;;;;;;;;;;2272:51031:6;4560:63:28;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;1555:50:9;3749:292:28:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:28;;-1:-1:-1;3696:30:28;47933:570:6;;;;;1555:50:9;;48319:18:6;;;;1555:50:9;48355:14:6;48387:18;2272:51031;48355:14;;;2272:51031;;48387:18;;2272:51031;;;;48423:16;2272:51031;;48457:15;2272:51031;;;;48166:320;48319:18;48166:320;;2272:51031;;;;;;;;;;;;;;;;;48355:14;2272:51031;;;48387:18;2272:51031;;;;;;;;;;;;;;;;;;;;48166:320;;;;;;:::i;:::-;2272:51031;48143:353;;47933:570;:::o;33595:727::-;33671:21;;;:::i;:::-;2272:51031;33754:12;;2272:51031;;;-1:-1:-1;;;33815:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;33754:12;33815:13;2272:51031;33815:13;2272:51031;;33815:13;;;;;;;-1:-1:-1;33815:13:6;;;33595:727;2272:51031;;;;;;;33754:12;33842:43;;33838:154;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;34025:24:6;;2272:51031;33815:13;2272:51031;33815:13;2272:51031;34025:24;;;;;;;;-1:-1:-1;34025:24:6;;;33595:727;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;34082:24:6;;33815:13;2272:51031;33815:13;2272:51031;34082:24;;;;;;;-1:-1:-1;34082:24:6;;;33595:727;33815:13;2272:51031;;;;;;;34175:16;;;2272:51031;;34116:155;34193:18;;;2272:51031;;;;;34242:19;;;;2272:51031;;;;;;;;;;;;;;34116:155;;;33815:13;34116:155;;;:::i;:::-;;2272:51031;34116:15;-1:-1:-1;;;;;2272:51031:6;34116:155;;;;;;;;33595:727;34309:5;;;;:::i;34116:155::-;33815:13;34116:155;;33815:13;34116:155;;;;;;33815:13;34116:155;;;:::i;:::-;;;2272:51031;;;;;34309:5;2272:51031;;:::i;:::-;34116:155;;;;;;-1:-1:-1;34116:155:6;;34082:24;;33815:13;34082:24;;33815:13;34082:24;;;;;;2272:51031;34082:24;;;:::i;:::-;;;2272:51031;;;;33815:13;2272:51031;;34082:24;;;;;-1:-1:-1;34082:24:6;;34025;;;;33815:13;34025:24;;33815:13;34025:24;;;;;;2272:51031;34025:24;;;:::i;:::-;;;2272:51031;;;;;34025:24;;;;;;;-1:-1:-1;34025:24:6;;33815:13;;;;;;;;;;;;;;:::i;:::-;;;;52750:190;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;2272:51031:6;;;52853:9;2272:51031;;;;;;;;;;;52883:26;52879:54;;52750:190::o;52879:54::-;52918:15;;;-1:-1:-1;52918:15:6;;-1:-1:-1;52918:15:6;35864:1172;36007:16;;;2272:51031;;35864:1172;;;;-1:-1:-1;;;;;2272:51031:6;36007:30;;;:16;:106;;;;36040:21;2272:51031;-1:-1:-1;36040:21:6;;36007:106;;36123:72;;36007:106;2272:51031;;-1:-1:-1;;;;;;36231:29:6;;36254:4;36231:29;;;2272:51031;;;;36231:29;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;36231:29;;;;;;;-1:-1:-1;36231:29:6;;;36007:106;-1:-1:-1;36270:34:6;2272:51031;;-1:-1:-1;;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;36354:30;;;36387:21;;36354:106;;36474:38;;;36470:69;;36571:38;;;:::i;:::-;36623:16;;;:36;;;;36354:106;36619:68;;-1:-1:-1;;;;;36701:31:6;;:66;;;;36354:106;36697:122;;2272:51031;;;;-1:-1:-1;;;;;;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;;36829:17;;;2272:51031;36985:44;;2272:51031;;36930:14;;2272:51031;;-1:-1:-1;;2272:51031:6;36954:15;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;36985:44;35864:1172::o;36701:66::-;36736:31;-1:-1:-1;;;;;36736:31:6;;36701:66;;36619:68;41687:19;;;-1:-1:-1;36668:19:6;36231:29;-1:-1:-1;36668:19:6;36623:36;36643:16;;;36623:36;;36354:106;2272:51031;36231:29;2272:51031;;;;;;;;;;36411:49;;36254:4;36231:29;36411:49;;2272:51031;36411:49;;;;;;;-1:-1:-1;36411:49:6;;;36354:106;;;;;36411:49;;;2272:51031;36411:49;;2272:51031;36411:49;;;;;;2272:51031;36411:49;;;:::i;:::-;;;2272:51031;;;;;36411:49;;;;;;-1:-1:-1;36411:49:6;;36231:29;;;;2272:51031;36231:29;;2272:51031;36231:29;;;;;;2272:51031;36231:29;;;:::i;:::-;;;2272:51031;;;;;;;36231:29;;;;;;;-1:-1:-1;36231:29:6;;36123:72;2272:51031;;;;;36183:12;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;36159:36;2272:51031;;;36159:36;2272:51031;36123:72;;36007:106;2272:51031;36064:49;2272:51031;;;;;;;;;;36064:49;;36107:4;36064:49;;;2272:51031;36064:49;;;;;;;-1:-1:-1;36064:49:6;;;36007:106;;-1:-1:-1;36007:106:6;2272:51031;36007:106;;;;36064:49;;;2272:51031;36064:49;;2272:51031;36064:49;;;;;;2272:51031;36064:49;;;:::i;:::-;;;2272:51031;;;;;-1:-1:-1;36064:49:6;;;;;-1:-1:-1;36064:49:6;;2272:51031;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;1555:50:9;2272:51031:6;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;;;;2272:51031:6;;;;;;;:::o;27126:781::-;;;;;27359:1;27346:9;;27342:45;;2272:51031;27401:20;;;;;:::i;:::-;2272:51031;27397:61;;27472:21;;;;;:::i;:::-;27468:54;;27568:58;;;27876:14;27568:58;2272:51031;27568:58;;:::i;:::-;27666:26;;;;-1:-1:-1;;;;;27666:26:6;;;:::i;:::-;2272:51031;27666:79;;;2272:51031;;27666:79;;;27843:11;;;;;;:::i;:::-;27856:18;;;;;;;;:::i;:::-;27876:14;;;;;;;;:::i;:::-;2272:51031;;;;:::i;:::-;;;;;:::i;:::-;;;;;:::i;:::-;29091:14;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;29083:37;;29079:72;;2272:51031;24202:13;2272:51031;;29165:19;29161:48;;29264:7;;;;;;:::i;:::-;29385:38;;;;:::i;:::-;29438:14;;;;;27401:20;29438:14;;2272:51031;;29433:50;;27843:11;29632:138;29512:68;;;;;;;;;;;;;;;;29831:49;29512:68;;;;;;;:::i;:::-;29632:138;;;;:::i;:::-;2272:51031;;;;;;;;;;;;29831:49;;29091:14;29831:49;;;:::i;:::-;;;;;;;;;;27359:1;;;29831:49;;;27666:79;29944:18;27666:26;29944:18;;2272:51031;;;679:17:9;829:30;979:59;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;11235:25:31;:::i;:::-;11309;;;;;2272:51031:6;;50034:151;2272:51031;11235:104:31;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;11309:25:31;:29;;11235:104;;:::i;:::-;2272:51031:6;50034:151;2272:51031;27843:11;2272:51031;;;;;;;;;50034:151;;;29091:14;50034:151;;;:::i;:::-;;2272:51031;50034:15;-1:-1:-1;;;;;2272:51031:6;50034:151;;;;;;;;27666:79;-1:-1:-1;27843:11:6;2272:51031;-1:-1:-1;;;30005:39:6;;2272:51031;;;;;30005:39;;29091:14;30005:39;;;:::i;:::-;;;;27843:11;30005:39;27359:1;30005:39;;;;;;;27359:1;;;30005:39;;;27666:79;-1:-1:-1;;;;;;2272:51031:6;;;;;;30058:23;;;30054:74;;-1:-1:-1;;;;;;2272:51031:6;;;;;;30142:23;;;30138:74;;-1:-1:-1;;;;;;2272:51031:6;;;27359:1;2272:51031;;;30226:9;50034:151;2272:51031;27843:11;2272:51031;;;;30222:70;;-1:-1:-1;;;;;2272:51031:6;;30303:51;;;;27359:1;2272:51031;;30303:51;2272:51031;27843:11;2272:51031;;;;;;;;;30303:51;;2272:51031;;;;;;29091:14;30303:51;;2272:51031;;;;;;;30303:51;;;;;;;;27666:79;-1:-1:-1;;;;;;2272:51031:6;;30364:61;;;;2272:51031;;;30303:51;2272:51031;27843:11;2272:51031;;;;;;;;;30364:61;;2272:51031;;;;;;29091:14;30364:61;;2272:51031;;;;;;;30364:61;;;;;;;;;;;;;;;;;;;;;27666:79;-1:-1:-1;;;;;;;2272:51031:6;;;;;;30439:30;30435:134;;27666:79;27856:18;30782:21;;1555:50:9;30857:11:6;;;30890:13;50034:151;30890:13;;;30923:11;27843;30923;;1555:50:9;;;-1:-1:-1;;;;;2272:51031:6;31096:18;50034:151;31096:18;;1555:50:9;2272:51031:6;;31138:14;27876;31138;;2272:51031;;;29944:18;27666:26;29944:18;2272:51031;;;;27843:11;2272:51031;1555:50:9;;;;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;50034:151;30597:804;;2272:51031;;;;;;;;30597:804;27843:11;30597:804;2272:51031;;;;;;;;27856:18;30597:804;;2272:51031;27876:14;30597:804;;1555:50:9;27666:26:6;30597:804;;1555:50:9;27401:20:6;30597:804;;1555:50:9;27472:21:6;30597:804;;1555:50:9;30597:804:6;;;1555:50:9;30597:804:6;;;1555:50:9;30597:804:6;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;30597:804;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;1555:50:9;2272:51031:6;;;;;;;;;;30226:9;50034:151;2272:51031;27843:11;2272:51031;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;50034:151;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;27843:11;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;27856:18;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;27876:14;30597:804;;2272:51031;29091:14;2272:51031;;1555:50:9;27666:26:6;30597:804;;1555:50:9;2272:51031:6;;;1555:50:9;27401:20:6;30597:804;;2272:51031;;;;1555:50:9;27472:21:6;30597:804;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;:::i;:::-;;;;;;27666:79;2272:51031;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30597:804;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;30226:9;2272:51031;;;;:::i;:::-;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;30597:804;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;50034:151;2272:51031;;;;;;;;30597:804;27843:11;2272:51031;;;;27856:18;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;2272:51031;;;;;;30597:804;;;2272:51031;;;;30597:804;;;;2272:51031;;;;;;;;;;;;27876:14;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30597:804:6;;;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;;;2272:51031:6;;;;;;;-1:-1:-1;;;;;;;2272:51031:6;;;;;;;;24202:13;2272:51031;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;30597:804;1555:50:9;2272:51031:6;;1555:50:9;-1:-1:-1;;;;;2272:51031:6;;;;;;;50034:151;2272:51031;;;;;;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30782:21;;;;1555:50:9;27843:11:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31515:81;;27856:18;;31515:81;27755:145;27126:781;:::o;2272:51031::-;;;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;27843:11;2272:51031;;;27856:18;2272:51031;;;;;30597:804;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;-1:-1:-1;;;1555:50:9;;;29091:14:6;1555:50:9;30303:51:6;2272:51031;1555:50:9;2272:51031:6;;;;-1:-1:-1;2272:51031:6;;;;;;;30226:9;2272:51031;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;30435:134;2272:51031;;-1:-1:-1;2272:51031:6;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;;;;2272:51031:6;;30485:73;;;;2272:51031;;;30303:51;27843:11;2272:51031;;;;;;;;30485:73;;2272:51031;;;;;;;29091:14;30485:73;;2272:51031;;;;;;;30485:73;;;;;;;;;;;;;;;;;;;;;30435:134;;;;;30485:73;;;;;;;;;;;;;;;;;:::i;:::-;2272:51031;;30485:73;;;;;;;;;;;;;2272:51031;;;;30485:73;27843:11;2272:51031;;;;;;;;30364:61;;;;;;;;;;;;;;;;;:::i;:::-;2272:51031;;30364:61;;;;;;;;;;;;;30303:51;;;;;27359:1;30303:51;;:::i;:::-;27359:1;30303:51;;;;30222:70;30271:21;;;27359:1;30271:21;29091:14;27359:1;30271:21;30138:74;-1:-1:-1;;;27359:1:6;30174:38;;;29091:14;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;30174:38;30054:74;-1:-1:-1;;;27359:1:6;30090:38;;;29091:14;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;30090:38;30005:39;;;;;;;;27843:11;30005:39;27843:11;30005:39;;;;;;;:::i;:::-;;;;;;;;50034:151;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;;50034:151;;;;;;-1:-1:-1;50034:151:6;;29831:49;;;;;;;27843:11;29831:49;27843:11;29831:49;;;;;;;:::i;:::-;;;;;29433:50;29461:22;;;27359:1;29461:22;29091:14;27359:1;29461:22;29161:48;29193:16;;;27359:1;29193:16;29091:14;27359:1;29193:16;27666:79;2272:51031;27719:26;2272:51031;27719:26;;:::i;:::-;27666:79;;;27342:45;27369:18;;;27359:1;27369:18;;27359:1;27369:18;26764:356;;;2929:2;26869:52;;26865:87;;-1:-1:-1;27009:3:6;26978:29;;;;;;-1:-1:-1;;;;;2272:51031:6;;;27081:21;2929:2;;;;;;27081:21;:::i;:::-;27028:75;;;;;2272:51031;;-1:-1:-1;;;27028:75:6;;-1:-1:-1;;;;;2272:51031:6;;;27028:75;;;2272:51031;;-1:-1:-1;;2272:51031:6;;27028:75;;2272:51031;;-1:-1:-1;;27028:75:6;;;;;;;2929:2;27028:75;;;27009:3;;2929:2;26967:9;;27028:75;-1:-1:-1;27028:75:6;;;:::i;:::-;;;;26978:29;;;;;;26764:356::o;26865:87::-;26930:22;;;;;;;;1219:204:21;;8544:1067;;8509:24;;;;-1:-1:-1;8544:1067:21;2272:51031:6;;;;;8544:1067:21;;;;;;-1:-1:-1;8544:1067:21;;;;;;;1338:4;-1:-1:-1;8544:1067:21;;;;;;;1219:204;8544:1067;;1305:38;1301:116;;1219:204;:::o;1301:116::-;-1:-1:-1;;;;1366:40:21;;;-1:-1:-1;;;;;2272:51031:6;;;;8544:1067:21;2272:51031:6;8544:1067:21;;1366:40;8544:1067;;1338:4;8544:1067;;;;;;;;;;;;;;;;;;;-1:-1:-1;8544:1067:21;;;;;53038:263:6;2272:51031;;-1:-1:-1;;;53128:28:6;;;2272:51031;53128:28;2272:51031;53128:18;-1:-1:-1;;;;;2272:51031:6;53128:28;;;;;;;-1:-1:-1;53128:28:6;;;53038:263;-1:-1:-1;;;;;;2272:51031:6;53194:4;53170:29;;53166:129;;53038:263;:::o;53166:129::-;53222:62;;;-1:-1:-1;53222:62:6;53194:4;53128:28;2272:51031;;;;-1:-1:-1;53222:62:6;53128:28;;;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;53128:28;;;;;;-1:-1:-1;53128:28:6;;48509:923;;;;-1:-1:-1;;;;;2272:51031:6;;;48686:23;;48682:128;;2272:51031;;48707:1;2272:51031;48824:18;2272:51031;;;;48707:1;2272:51031;;;48823:30;48819:65;;48707:1;2272:51031;48932:18;2272:51031;;;48707:1;2272:51031;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;;2272:51031:6;;;;;;;;;1555:50:9;;;;2272:51031:6;;;;;;;1555:50:9;;;48975:27:6;:65;;;;;48509:923;48971:130;;;2272:51031;49147:18;1555:50:9;;2272:51031:6;49147:18;;:::i;:::-;-1:-1:-1;;;;;1555:50:9;;49180:42:6;:95;;;;48509:923;49176:160;;-1:-1:-1;;;;;1555:50:9;;;2272:51031:6;1555:50:9;;2272:51031:6;48509:923;:::o;49180:95::-;1555:50:9;-1:-1:-1;;;;;1555:50:9;;49226:49:6;49180:95;;48975:65;49006:34;;;48975:65;;;48819;48862:22;;;48707:1;48862:22;;48707:1;48862:22;48682:128;48741:19;;;-1:-1:-1;;;;;48771:26:6;48741:19;;;;1555:50:9;2272:51031:6;48771:26;;1555:50:9;2272:51031:6;48725:74;:::o;7296:3683:31:-;;;;2272:51031:6;;-1:-1:-1;;7296:3683:31;;1412:159;;;;;;;;;;;;;;;;7552:9;;7548:365;;8023:19;679:17:9;8023:19:31;;8019:142;;8444:308;940:4:27;8444:308:31;;679:17:9;8444:308:31;;;;;;;;940:4:27;;8444:308:31;;9016:384;;9463:18;940:4:27;7296:3683:31;:::o;8019:142::-;1829:135:27;;;940:4;1829:135;;;;;7548:365:31;7881:17;;;679::9;7881::31;;;2272:51031:6;7874:24:31;:::o;7296:3683::-;;;-1:-1:-1;;7296:3683:31;;1412:159;;;;;;;;;;;;;;;;7552:9;;7548:365;;8023:19;;;;8019:142;;8444:308;;;;940:4:27;2272:51031:6;940:4:27;8971:31:31;;9016:384;;;9854:1;940:4:27;9835:1:31;940:4:27;9834:21:31;940:4:27;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;9016:384:31;;;;2272:51031:6;9016:384:31;;;8444:308;;;;;;940:4:27;8444:308:31;;9016:384;9463:18;940:4:27;7296:3683:31;:::o;8019:142::-;1829:135:27;;2272:51031:6;1829:135:27;8082:16:31;5328:5;940:4:27;;5322:42:31;1829:135:27;;;;;7548:365:31;7881:17;;;;2272:51031:6;;;;;7874:24:31;:::o;27913:855:6:-;1555:50:9;27913:855:6;28739:11;27913:855;-1:-1:-1;2272:51031:6;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;28140:24;;;2272:51031;28178:31;;;28174:313;;27913:855;28544:11;2272:51031;28544:11;;;;:::i;:::-;28577:13;2272:51031;28577:13;2272:51031;28577:13;;;;:::i;:::-;2272:51031;28610:11;2272:51031;28610:11;;;;:::i;:::-;2272:51031;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;:::i;:::-;1555:50:9;;2272:51031:6;;;:::i;:::-;;28511:250;;1555:50:9;2272:51031:6;;;:::i;:::-;;28511:250;;1555:50:9;2272:51031:6;28511:250;;1555:50:9;2272:51031:6;28511:250;;1555:50:9;28739:11:6;2272:51031;;28511:250;;1555:50:9;27913:855:6;:::o;28174:313::-;28254:36;;;-1:-1:-1;;;;;28254:36:6;;28416:60;28254:36;;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;28348:34;;;;;:::i;28416:60::-;28174:313;;;;50296:1084;;;;50510:11;;2272:51031;50568:13;;;;;2272:51031;50616:15;;:47;;;;;50296:1084;50616:68;;;;;50296:1084;50616:104;;;;50296:1084;50616:154;;;;;50296:1084;50616:201;;;;50296:1084;50616:244;;;;;50296:1084;50616:284;;;;50296:1084;50616:354;;;;;50296:1084;50616:427;;;;;50296:1084;50616:501;;;;50296:1084;50616:574;;;;50296:1084;50616:647;;;;50296:1084;50616:722;;;;50296:1084;50599:774;;;50296:1084::o;50599:774::-;51356:17;;;-1:-1:-1;51356:17:6;;-1:-1:-1;51356:17:6;50616:722;2633:3;51289:17;;;;;2272:51031;51283:55;50616:722;;;:647;51216:15;;2633:3;51216:15;;;;2272:51031;51210:53;50616:647;;;:574;51143:15;;2633:3;51143:15;;;;2272:51031;51137:53;50616:574;;;:501;51069:16;;2633:3;50568:13;51069:16;;;2272:51031;51063:54;50616:501;;;:427;50996:15;;2633:3;50996:15;;2272:51031;50990:53;50616:427;;;:354;2272:51031;2574:5;-1:-1:-1;50920:50:6;-1:-1:-1;50616:354:6;;;:284;2272:51031;2633:3;-1:-1:-1;50864:36:6;-1:-1:-1;50616:284:6;;;:244;2272:51031;;50837:23;;-1:-1:-1;50616:244:6;;:201;50780:11;;;2272:51031;2633:3;-1:-1:-1;50774:43:6;-1:-1:-1;50616:201:6;;;:154;50746:11;;;;2272:51031;50740:30;;-1:-1:-1;50616:154:6;;:104;2466:2;-1:-1:-1;50688:32:6;-1:-1:-1;50616:104:6;;;:68;50667:17;;;-1:-1:-1;50616:68:6;;:47;2414:2;-1:-1:-1;50635:28:6;-1:-1:-1;50616:47:6;;;47259:581;;2272:51031;;:::i;:::-;;47492:43;47513:21;;;1555:50:9;47492:43:6;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;47513:21;2272:51031;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;47483:52;47573:34;2272:51031;47629:60;47573:34;;;;:::i;:::-;47545:62;;;-1:-1:-1;;;;;47545:62:6;;2272:51031;;;;47629:60;;:::i;:::-;47703:24;;2272:51031;47703:37;;;47699:135;;47259:581;:::o;47699:135::-;47763:60;;;;;-1:-1:-1;47763:60:6;2272:51031;;;;;-1:-1:-1;47763:60:6;46502:652;;;2272:51031;46789:38;2272:51031;46502:652;2272:51031;46868:269;46502:652;2272:51031;;46789:38;;;2272:51031;46789:38;;;2272:51031;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;46789:38;2272:51031;;46789:38;;;;;;:::i;:::-;2272:51031;46779:49;;46921:11;;;46950:13;46789:38;46950:13;;;46981:11;2272:51031;;46981:11;;;2272:51031;47108:15;2272:51031;47042:21;;1555:50:9;47108:15:6;;2272:51031;;;;46868:269;;;46789:38;46868:269;;2272:51031;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;47108:15;2272:51031;;;;;;;;;;;;;;;46868:269;2272:51031;;46868:269;;;;;;:::i;44648:1754::-;;;;;;;;;;;;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;1555:50:9;;;;:::i;:::-;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;;45358:18;;1555:50:9;2272:51031:6;;;45416:16;2272:51031;;;45471:15;2272:51031;;;45663:18;2272:51031;45663:18;;2272:51031;;;;;;1555:50:9;;;;;:::i;:::-;45168:4:6;2272:51031;;;;;;;;45206:9;2272:51031;;45112:580;;2272:51031;45168:4;2272:51031;45112:580;;2272:51031;;;;;;;;45112:580;;2272:51031;45112:580;;2272:51031;;;;;;;;45112:580;2272:51031;45112:580;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;45112:580;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;45112:580;;2272:51031;;;;;;;45620:15;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;45757:11;;45790:13;2272:51031;45790:13;;46010:15;;;46057:16;2272:51031;46057:16;;;46104:15;2272:51031;46104:15;;;2272:51031;46150:15;;;46198:17;2272:51031;46198:17;;2272:51031;;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45827:422;;1555:50:9;2272:51031:6;45827:422;;1555:50:9;;2272:51031:6;;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;2272:51031;;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;44648:1754:6;:::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a0033","offset":23042}},"immutableReferences":{"4575":[{"start":2084,"length":32},{"start":11395,"length":32},{"start":13717,"length":32}],"4578":[{"start":5889,"length":32},{"start":11477,"length":32}],"4581":[{"start":8464,"length":32}],"4585":[{"start":6256,"length":32},{"start":9788,"length":32},{"start":13496,"length":32},{"start":20619,"length":32}],"4589":[{"start":2706,"length":32},{"start":4094,"length":32},{"start":4334,"length":32},{"start":22691,"length":32}],"4593":[{"start":2210,"length":32},{"start":14048,"length":32}],"4597":[{"start":2633,"length":32},{"start":13775,"length":32}],"4611":[{"start":6747,"length":32},{"start":9122,"length":32},{"start":12832,"length":32},{"start":13567,"length":32},{"start":15121,"length":32},{"start":17494,"length":32},{"start":22822,"length":32}]},"transformations":[{"id":"4575","type":"replace","offset":2084,"reason":"immutable"},{"id":"4593","type":"replace","offset":2210,"reason":"immutable"},{"id":"4597","type":"replace","offset":2633,"reason":"immutable"},{"id":"4589","type":"replace","offset":2706,"reason":"immutable"},{"id":"4589","type":"replace","offset":4094,"reason":"immutable"},{"id":"4589","type":"replace","offset":4334,"reason":"immutable"},{"id":"4578","type":"replace","offset":5889,"reason":"immutable"},{"id":"4585","type":"replace","offset":6256,"reason":"immutable"},{"id":"4611","type":"replace","offset":6747,"reason":"immutable"},{"id":"4581","type":"replace","offset":8464,"reason":"immutable"},{"id":"4611","type":"replace","offset":9122,"reason":"immutable"},{"id":"4585","type":"replace","offset":9788,"reason":"immutable"},{"id":"4575","type":"replace","offset":11395,"reason":"immutable"},{"id":"4578","type":"replace","offset":11477,"reason":"immutable"},{"id":"4611","type":"replace","offset":12832,"reason":"immutable"},{"id":"4585","type":"replace","offset":13496,"reason":"immutable"},{"id":"4611","type":"replace","offset":13567,"reason":"immutable"},{"id":"4575","type":"replace","offset":13717,"reason":"immutable"},{"id":"4597","type":"replace","offset":13775,"reason":"immutable"},{"id":"4593","type":"replace","offset":14048,"reason":"immutable"},{"id":"4611","type":"replace","offset":15121,"reason":"immutable"},{"id":"4611","type":"replace","offset":17494,"reason":"immutable"},{"id":"4585","type":"replace","offset":20619,"reason":"immutable"},{"id":"4589","type":"replace","offset":22691,"reason":"immutable"},{"id":"4611","type":"replace","offset":22822,"reason":"immutable"}],"transformationValues":{"immutables":{"4575":"0x0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e40951","4578":"0x00000000000000000000000058daec3116aae6d93017baaea7749052e8a04fa7","4581":"0x000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3","4585":"0x000000000000000000000000d405e0dff2d0cc7eaa48b3aec2e3f2456c072000","4589":"0x000000000000000000000000013aa3485dcbbf60a72129e64b16d6290f4905b6","4593":"0x000000000000000000000000e3dc0e862c4eff876a1c40b10205844111da6ee7","4597":"0x000000000000000000000000bab7dbd758c8de7a28e315d3a88d68bb671acd3f","4611":"0x0000000000000000000000008986b9bba4601df78f5fc2d5db9beeffec779d35"}}},"deployment":{"transactionHash":"0x10f0a55a0f06afce47000e53bf3994c1553440236439073b1d2159d42d813c82","blockNumber":"63917462","transactionIndex":"7","deployer":"0x5e8181041ce6Ea81d7f8c614c67523Bcb8daE3d7"},"sources":{"contracts/ClankBondingCurve.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\n\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {ClankGraduationGuard} from \"./ClankGraduationGuard.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\ninterface IClankLaunchFactoryGraduation {\n    function graduate(address token) external;\n}\n\n/// @title Clank bonding curve\n/// @notice Trades a fixed-supply launch token against tracked native ETH or an approved ERC-20 using virtual-reserve\n/// XYK pricing until 780M tokens have been sold, leaving 220M for migration.\n/// @dev Pricing depends on trackedQuote, never on address(this).balance. Consequently forced\n/// ETH cannot change price or trigger graduation. Direct native transfers revert, trading fees\n/// are credited outside the pricing reserve, and terminal overpayment is returned immediately.\ncontract ClankBondingCurve is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    uint16 private constant BPS = 10_000;\n\n    /// @notice Lifecycle of one bonding curve and its graduation.\n    enum State {\n        /// @notice Buy and sell operations are enabled.\n        Trading,\n        /// @notice The sale allocation is exhausted and trading is permanently closed.\n        Ready,\n        /// @notice The factory collected the tracked reserves for migration.\n        Swept,\n        /// @notice The factory confirmed creation of the locked V4 position.\n        PoolCreated,\n        /// @notice The factory released unseedable swept reserves through the delayed recovery path.\n        Rescued\n    }\n\n    /// @notice Immutable deployment parameters supplied by the launch factory.\n    struct Config {\n        address factory;\n        address feeEscrow;\n        address protocolFeeRecipient;\n        address creator;\n        address pairToken;\n        uint16 feeBps;\n        uint16 snipeTaxStartBps;\n        uint32 snipeTaxSeconds;\n        uint128 phantomQuote;\n        uint128 graduationThreshold;\n        address graduationGuard;\n        int24 tickSpacing;\n    }\n\n    struct BuyQuote {\n        uint256 grossQuoteUsed;\n        uint256 netQuoteIn;\n        uint256 fee;\n        uint256 tax;\n        uint256 tokensOut;\n        uint256 refund;\n    }\n\n    error AlreadyInitialized();\n    error CurveGraduated();\n    error ZeroAmount();\n    error ZeroAddress();\n    error NativeValueMismatch(uint256 supplied, uint256 expected);\n    error UnexpectedNativeValue();\n    error DirectNativeTransferDisabled();\n    error FeeEscrowCallFailed();\n    error InsufficientRealReserve();\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidConfiguration();\n    error InvalidState(State expected, State actual);\n    error TransferFailed();\n    error QuoteTransferFailed();\n    error NotFactory();\n    error SlippageExceeded(uint256 actual, uint256 minimum);\n    error NotInitialized();\n    error ZeroOutput();\n\n    /// @notice Factory authorised to initialize and advance this curve's lifecycle.\n    address public immutable factory;\n    /// @notice Pull-payment escrow receiving protocol fees.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Stable escrow beneficiary credited with bonding fees; this is the factory, not the final fee destination.\n    /// @dev Permissionless collection forwards these credits to the factory's current feeDestination, so even previously\n    /// accrued fees follow a destination update until they have been collected.\n    address public immutable protocolFeeRecipient;\n    /// @notice Launch creator, exempt from the globally configured snipe tax.\n    address public immutable creator;\n    /// @notice Quote asset; address(0) represents native ETH.\n    address public immutable pairToken;\n    /// @notice Bonding fee snapshotted for this launch, denominated in basis points.\n    uint256 public immutable feeBps;\n    /// @notice Peak total buy fee globally configured when this launch was created.\n    uint16 public immutable snipeTaxStartBps;\n    /// @notice Duration of the globally configured anti-snipe decay.\n    uint32 public immutable snipeTaxSeconds;\n    /// @notice Curve deployment timestamp used for anti-snipe fee decay.\n    uint64 public immutable launchedAt;\n    /// @notice Virtual quote reserve used for pricing but never held as a real asset.\n    uint256 public immutable phantomQuote;\n    /// @notice Nominal net quote target; actual funding includes XYK trade rounding.\n    uint256 public immutable graduationThreshold;\n\n    ClankGraduationGuard private immutable _graduationGuard;\n    int24 private immutable _tickSpacing;\n\n    /// @notice Fixed-supply token traded by this curve, initialized once by the factory.\n    IERC20 public token;\n    /// @notice Current lifecycle state.\n    State public state;\n    /// @notice Timestamp of the terminal buy; preserved across graduation retries.\n    uint64 public readyAt;\n    /// @notice Real quote assets included in pricing and reserved for traders or graduation.\n    uint256 public trackedQuote;\n    /// @notice Real tokens reserved for traders or graduation; excludes virtual tokens.\n    uint256 public trackedTokens;\n    /// @notice Recipients exempt from the launch-window snipe tax.\n    mapping(address account => bool exempt) public snipeTaxExempt;\n    event SnipeTaxExempted(address indexed account);\n    event TokenInitialized(address indexed token, uint256 supply);\n    event Initialized(address token);\n    event StateChanged(State indexed previousState, State indexed newState);\n    /// @notice Pons-compatible compact buy event.\n    event CurveBuy(\n        address indexed buyer, address indexed recipient, uint256 quoteIn, uint256 tokensOut, uint256 fee, uint256 tax\n    );\n    /// @notice Pons-compatible signal for an immediately returned terminal-buy remainder.\n    event CurveBuyRefunded(address indexed buyer, uint256 refund);\n    /// @notice Pons-compatible compact sell event; creator tax is always zero.\n    event CurveSell(\n        address indexed seller, address indexed recipient, uint256 tokensIn, uint256 quoteOut, uint256 fee, uint256 tax\n    );\n    event CurveCompleted(address recipient, uint256 quoteOut, uint256 tokenOut);\n    event AutoGraduationFailed(address indexed token, uint256 gasRemaining);\n\n    modifier onlyFactory() {\n        if (msg.sender != factory) revert NotFactory();\n        _;\n    }\n\n    modifier inState(State expected) {\n        if (state != expected) {\n            if (expected == State.Trading) revert CurveGraduated();\n            revert InvalidState(expected, state);\n        }\n        _;\n    }\n\n    /// @param config Immutable factory, fee, virtual reserve, and graduation configuration.\n    constructor(Config memory config) {\n        if (\n            config.factory == address(0) || config.feeEscrow == address(0) || config.protocolFeeRecipient == address(0)\n                || config.creator == address(0) || config.graduationGuard.code.length == 0\n        ) {\n            revert InvalidAddress();\n        }\n        if (\n            config.feeBps >= BPS || config.snipeTaxStartBps >= BPS || config.snipeTaxSeconds == 0\n                || config.phantomQuote == 0 || config.tickSpacing < TickMath.MIN_TICK_SPACING\n                || config.tickSpacing > TickMath.MAX_TICK_SPACING\n                || config.graduationThreshold != ClankCurveMath.graduationThreshold(config.phantomQuote)\n        ) {\n            revert InvalidConfiguration();\n        }\n\n        factory = config.factory;\n        feeEscrow = ClankFeeEscrow(config.feeEscrow);\n        protocolFeeRecipient = config.protocolFeeRecipient;\n        creator = config.creator;\n        if (config.pairToken != address(0) && config.pairToken.code.length == 0) revert InvalidAddress();\n        pairToken = config.pairToken;\n        feeBps = config.feeBps;\n        snipeTaxStartBps = config.snipeTaxStartBps;\n        snipeTaxSeconds = config.snipeTaxSeconds;\n        launchedAt = uint64(block.timestamp);\n        phantomQuote = config.phantomQuote;\n        graduationThreshold = config.graduationThreshold;\n        _graduationGuard = ClankGraduationGuard(config.graduationGuard);\n        _tickSpacing = config.tickSpacing;\n    }\n\n    /// @notice Rejects accidental native transfers that do not call a trading entrypoint.\n    /// @dev Forced ETH remains possible at the EVM level and is excluded from tracked accounting.\n    receive() external payable {\n        revert DirectNativeTransferDisabled();\n    }\n\n    /// @notice Binds the fixed-supply token to the curve and snapshots its full reserve.\n    /// @dev Callable exactly once by the factory after the token has minted its supply here.\n    /// @param token_ Address of the launched ERC-20 token.\n    function initialize(address token_) external onlyFactory {\n        if (address(token) != address(0)) revert AlreadyInitialized();\n        if (token_ == address(0)) revert ZeroAddress();\n\n        uint256 supply = IERC20(token_).balanceOf(address(this));\n        if (supply != ClankCurveMath.TOKEN_SUPPLY) revert InvalidAmount();\n\n        token = IERC20(token_);\n        trackedTokens = supply;\n        emit TokenInitialized(token_, supply);\n        emit Initialized(token_);\n    }\n\n    function isNativeQuote() external view returns (bool) {\n        return pairToken == address(0);\n    }\n\n    /// @notice Returns effective pricing reserves, including both virtual reserves.\n    function getReserves() external view returns (uint256 quoteReserve_, uint256 tokenReserve_) {\n        return (_effectiveQuoteReserve(), tokenReserve());\n    }\n\n    function quoteReserve() external view returns (uint256 quoteReserve_) {\n        return _effectiveQuoteReserve();\n    }\n\n    function realQuoteReserve() external view returns (uint256) {\n        return trackedQuote;\n    }\n\n    /// @notice Real tokens held in tracked accounting, excluding donations and virtual tokens.\n    function realTokenReserve() external view returns (uint256) {\n        return trackedTokens;\n    }\n\n    /// @notice Additive pricing reserve; these tokens are never minted or transferred.\n    function virtualTokenReserve() external pure returns (uint256) {\n        return ClankCurveMath.VIRTUAL_TOKENS;\n    }\n\n    /// @notice Effective token reserve for Pons XYK pricing.\n    function tokenReserve() public view returns (uint256 tokenReserve_) {\n        return trackedTokens + ClankCurveMath.VIRTUAL_TOKENS;\n    }\n\n    function readyToGraduate() external view returns (bool) {\n        return state == State.Ready;\n    }\n\n    function graduated() external view returns (bool) {\n        return state == State.Swept || state == State.PoolCreated || state == State.Rescued;\n    }\n\n    /// @notice Exempts a recipient from snipe tax; only the factory may grant exemptions.\n    function exemptFromSnipeTax(address account) external onlyFactory {\n        if (account == address(0)) revert InvalidAddress();\n        snipeTaxExempt[account] = true;\n        emit SnipeTaxExempted(account);\n    }\n\n    /// @notice Returns the additional protocol tax currently applied to a token recipient.\n    /// @dev A zero snapshotted start rate disables the tax for this launch.\n    function currentSnipeTaxBps(address recipient) public view returns (uint256) {\n        // Read the exemption mapping second to avoid a storage read when the tax is disabled.\n        if (snipeTaxStartBps <= feeBps || snipeTaxExempt[recipient]) return 0;\n\n        uint256 elapsed = block.timestamp - launchedAt;\n        if (elapsed >= snipeTaxSeconds) return 0;\n\n        uint256 initialTaxBps = uint256(snipeTaxStartBps) - feeBps;\n        return Math.mulDiv(initialTaxBps, snipeTaxSeconds - elapsed, snipeTaxSeconds);\n    }\n\n    /// @dev Returns the virtual plus tracked real quote reserve used in XYK pricing.\n    function _effectiveQuoteReserve() private view returns (uint256) {\n        return uint256(phantomQuote) + trackedQuote;\n    }\n\n    /// @notice Quotes a gross quote-asset buy, including terminal partial-fill behaviour.\n    /// @param grossQuoteIn Total quote amount offered, including the bonding fee.\n    /// @return grossQuoteUsed Portion of the offer consumed by the trade, including fee.\n    /// @return netQuoteIn Portion added to the tracked pricing reserve.\n    /// @return fee Amount credited to the protocol beneficiary.\n    /// @return tokensOut Token output rounded down.\n    /// @return refund Unused gross amount returned to the buyer.\n    function quoteBuy(uint256 grossQuoteIn)\n        external\n        view\n        returns (uint256 grossQuoteUsed, uint256 netQuoteIn, uint256 fee, uint256 tokensOut, uint256 refund)\n    {\n        BuyQuote memory quote = _quoteBuy(grossQuoteIn, msg.sender);\n        return (quote.grossQuoteUsed, quote.netQuoteIn, quote.fee + quote.tax, quote.tokensOut, quote.refund);\n    }\n\n    /// @notice Quotes a buy for an explicit token recipient under the globally configured fee policy.\n    function quoteBuyFor(address recipient, uint256 grossQuoteIn)\n        external\n        view\n        returns (uint256 grossQuoteUsed, uint256 netQuoteIn, uint256 fee, uint256 tokensOut, uint256 refund)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        BuyQuote memory quote = _quoteBuy(grossQuoteIn, recipient);\n        return (quote.grossQuoteUsed, quote.netQuoteIn, quote.fee + quote.tax, quote.tokensOut, quote.refund);\n    }\n\n    /// @notice Quotes a token sale against the current tracked reserves.\n    /// @dev Reverts under the same reserve and lifecycle conditions as an executable sale.\n    /// @param tokensIn Token amount offered for sale.\n    /// @return grossQuoteOut Quote amount removed from the tracked reserve before fee.\n    /// @return netQuoteOut Quote amount paid to the recipient after fee.\n    /// @return fee Amount credited to the protocol beneficiary.\n    function quoteSell(uint256 tokensIn)\n        external\n        view\n        returns (uint256 grossQuoteOut, uint256 netQuoteOut, uint256 fee)\n    {\n        return _quoteSell(tokensIn);\n    }\n\n    /// @notice Pons-compatible buy without an execution deadline.\n    /// @dev Native buys require msg.value == quoteIn; ERC-20 buys require zero msg.value and pull\n    /// quoteIn from msg.sender. A terminal remainder is returned immediately in the quote asset.\n    /// Failure to return it reverts the buy. A terminal buy then attempts a permissionless reserve\n    /// sweep without making the sweep a condition of trade success.\n    function buy(uint256 quoteIn, uint256 minTokensOut, address recipient)\n        external\n        payable\n        nonReentrant\n        inState(State.Trading)\n        returns (uint256 tokensOut)\n    {\n        if (pairToken == address(0)) {\n            if (msg.value != quoteIn) revert NativeValueMismatch(msg.value, quoteIn);\n        } else if (msg.value != 0) {\n            revert UnexpectedNativeValue();\n        }\n        (tokensOut,) = _buy(quoteIn, minTokensOut, recipient);\n        if (state == State.Ready) _tryAutoGraduate();\n    }\n\n    function _buy(uint256 quoteIn, uint256 minTokensOut, address recipient)\n        private\n        returns (uint256 tokensOut, uint256 grossQuoteUsed)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (quoteIn == 0) revert ZeroAmount();\n\n        _receiveQuote(quoteIn);\n\n        BuyQuote memory quote = _quoteBuy(quoteIn, recipient);\n        grossQuoteUsed = quote.grossQuoteUsed;\n        tokensOut = quote.tokensOut;\n        if (quote.netQuoteIn == 0) revert ZeroAmount();\n\n        uint256 proportionalMinimum = Math.mulDiv(minTokensOut, grossQuoteUsed, quoteIn, Math.Rounding.Ceil);\n        if (tokensOut < proportionalMinimum) revert SlippageExceeded(tokensOut, minTokensOut);\n\n        trackedQuote += quote.netQuoteIn;\n        trackedTokens -= tokensOut;\n\n        if (trackedTokens == ClankCurveMath.MIGRATION_TOKENS) _transition(State.Ready);\n\n        _creditFee(quote.fee + quote.tax);\n        token.safeTransfer(recipient, tokensOut);\n        if (quote.refund != 0) {\n            _sendQuote(msg.sender, quote.refund);\n            emit CurveBuyRefunded(msg.sender, quote.refund);\n        }\n\n        emit CurveBuy(msg.sender, recipient, grossQuoteUsed, tokensOut, quote.fee, quote.tax);\n    }\n\n    /// @notice Pons-compatible sell without an execution deadline.\n    function sell(uint256 tokensIn, uint256 minQuoteOut, address recipient)\n        external\n        nonReentrant\n        inState(State.Trading)\n        returns (uint256 quoteOut)\n    {\n        return _sell(tokensIn, minQuoteOut, payable(recipient));\n    }\n\n    function _sell(uint256 tokensIn, uint256 minEthOut, address payable recipient)\n        private\n        returns (uint256 netQuoteOut)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (tokensIn == 0) revert ZeroAmount();\n\n        uint256 grossQuoteOut;\n        uint256 fee;\n        (grossQuoteOut, netQuoteOut, fee) = _quoteSell(tokensIn);\n        if (netQuoteOut < minEthOut) revert SlippageExceeded(netQuoteOut, minEthOut);\n\n        trackedQuote -= grossQuoteOut;\n        trackedTokens += tokensIn;\n\n        token.safeTransferFrom(msg.sender, address(this), tokensIn);\n        _creditFee(fee);\n\n        _sendQuote(recipient, netQuoteOut);\n\n        emit CurveSell(msg.sender, recipient, tokensIn, netQuoteOut, fee, 0);\n    }\n\n    /// @notice Transfers a Ready curve's exact tracked reserves into factory custody.\n    /// @dev Forced ETH remains excluded from graduation assets. This entrypoint deliberately does\n    /// not use nonReentrant because the factory may call it back from a terminal buy's guarded scope.\n    /// Safety comes from onlyFactory plus the Ready-to-Swept checks-effects-interactions transition.\n    function graduate(address recipient)\n        external\n        onlyFactory\n        inState(State.Ready)\n        returns (uint256 quoteOut, uint256 tokenOut)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n\n        quoteOut = trackedQuote;\n        tokenOut = trackedTokens;\n        trackedQuote = 0;\n        trackedTokens = 0;\n        _transition(State.Swept);\n\n        token.safeTransfer(recipient, tokenOut);\n        _sendQuote(recipient, quoteOut);\n\n        emit CurveCompleted(recipient, quoteOut, tokenOut);\n    }\n\n    /// @dev Mirrors Pons best-effort auto-graduation: a failed sweep never reverts the crossing buy,\n    /// and the public factory entrypoint remains available for a permissionless retry.\n    function _tryAutoGraduate() private {\n        try IClankLaunchFactoryGraduation(factory).graduate(address(token)) {}\n        catch {\n            emit AutoGraduationFailed(address(token), gasleft());\n        }\n    }\n\n    /// @notice Confirms that the factory completed V4 pool creation and position locking.\n    function markPoolCreated() external onlyFactory inState(State.Swept) {\n        _transition(State.PoolCreated);\n    }\n\n    /// @notice Confirms that the factory completed the delayed recovery of swept reserves.\n    function markRescued() external onlyFactory inState(State.Swept) {\n        _transition(State.Rescued);\n    }\n\n    /// @dev Caps token output at the remaining sale allocation and charges its rounded-up XYK cost.\n    function _quoteBuy(uint256 grossQuoteIn, address recipient) private view returns (BuyQuote memory quote) {\n        if (state != State.Trading) revert CurveGraduated();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (grossQuoteIn == 0) revert ZeroAmount();\n\n        uint256 taxBps = currentSnipeTaxBps(recipient);\n        uint256 totalFeeBps = uint256(feeBps) + taxBps;\n        uint256 offeredNet = ClankCurveMath.netFromGross(grossQuoteIn, totalFeeBps);\n        if (offeredNet == 0) revert ZeroAmount();\n        uint256 sellable = trackedTokens - ClankCurveMath.MIGRATION_TOKENS;\n        quote.tokensOut = ClankCurveMath.buyOutput(_effectiveQuoteReserve(), tokenReserve(), offeredNet);\n        bool terminalFill = quote.tokensOut >= sellable;\n        if (terminalFill) quote.tokensOut = sellable;\n        if (quote.tokensOut == 0) revert ZeroOutput();\n        quote.netQuoteIn = terminalFill\n            ? ClankCurveMath.requiredBuyInput(_effectiveQuoteReserve(), tokenReserve(), quote.tokensOut)\n            : offeredNet;\n        _validateGraduation(trackedQuote + quote.netQuoteIn, trackedTokens - quote.tokensOut);\n        quote.grossQuoteUsed = terminalFill ? ClankCurveMath.grossFromNet(quote.netQuoteIn, totalFeeBps) : grossQuoteIn;\n        uint256 totalFee = quote.grossQuoteUsed - quote.netQuoteIn;\n        quote.fee = ClankCurveMath.feeFromGross(quote.grossQuoteUsed, feeBps);\n        quote.tax = totalFee - quote.fee;\n        quote.refund = grossQuoteIn - quote.grossQuoteUsed;\n    }\n\n    /// @dev Mirrors the executable sell checks so routing quotes cannot describe an impossible trade.\n    function _quoteSell(uint256 tokensIn)\n        private\n        view\n        returns (uint256 grossQuoteOut, uint256 netQuoteOut, uint256 fee)\n    {\n        if (state != State.Trading) {\n            revert CurveGraduated();\n        }\n        if (address(token) == address(0)) revert NotInitialized();\n        if (tokensIn == 0) revert ZeroAmount();\n\n        grossQuoteOut = ClankCurveMath.sellOutput(_effectiveQuoteReserve(), tokenReserve(), tokensIn);\n        if (grossQuoteOut == 0) revert ZeroOutput();\n        if (grossQuoteOut > trackedQuote) revert InsufficientRealReserve();\n        _validateGraduation(trackedQuote - grossQuoteOut, trackedTokens + tokensIn);\n\n        fee = ClankCurveMath.feeFromGross(grossQuoteOut, feeBps);\n        netQuoteOut = grossQuoteOut - fee;\n    }\n\n    /// @dev Every accepted trade must leave enough headroom to finish the sale and seed V4.\n    function _validateGraduation(uint256 realQuote, uint256 realTokens) private view {\n        uint256 terminalQuote = ClankCurveMath.validateGraduationQuote(realQuote, realTokens, phantomQuote);\n        _graduationGuard.assertSeedableForCurve(\n            address(token), pairToken, _tickSpacing, terminalQuote, ClankCurveMath.MIGRATION_TOKENS, phantomQuote\n        );\n    }\n\n    /// @dev Credits protocol fees without calling the beneficiary during trade execution.\n    function _creditFee(uint256 fee) private {\n        if (fee == 0) return;\n        if (pairToken == address(0)) {\n            try feeEscrow.credit{value: fee}(protocolFeeRecipient) {}\n            catch {\n                revert FeeEscrowCallFailed();\n            }\n        } else {\n            IERC20 quoteToken = IERC20(pairToken);\n            quoteToken.forceApprove(address(feeEscrow), fee);\n            try feeEscrow.creditToken(protocolFeeRecipient, pairToken, fee) {}\n            catch {\n                revert FeeEscrowCallFailed();\n            }\n            quoteToken.forceApprove(address(feeEscrow), 0);\n        }\n    }\n\n    function _receiveQuote(uint256 amount) private {\n        if (pairToken == address(0)) {\n            if (msg.value != amount) revert NativeValueMismatch(msg.value, amount);\n            return;\n        }\n\n        IERC20 quoteToken = IERC20(pairToken);\n        uint256 balanceBefore = quoteToken.balanceOf(address(this));\n        quoteToken.safeTransferFrom(msg.sender, address(this), amount);\n        if (quoteToken.balanceOf(address(this)) - balanceBefore != amount) revert QuoteTransferFailed();\n    }\n\n    function _sendQuote(address recipient, uint256 amount) private {\n        if (pairToken == address(0)) {\n            (bool success,) = payable(recipient).call{value: amount}(\"\");\n            if (!success) revert TransferFailed();\n        } else {\n            IERC20(pairToken).safeTransfer(recipient, amount);\n        }\n    }\n\n    /// @dev Records a one-way lifecycle transition and emits the corresponding state event.\n    function _transition(State next) private {\n        State previous = state;\n        state = next;\n        if (next == State.Ready) readyAt = uint64(block.timestamp);\n        emit StateChanged(previous, next);\n    }\n}\n"},"contracts/ClankFeeEscrow.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/// @title Clank fee escrow\n/// @notice Holds beneficiary-specific native and ERC-20 credits and lets beneficiaries pull them later.\n/// @dev Separating crediting from claiming prevents trade execution from calling an untrusted\n/// fee recipient. Forced ETH is surplus and does not create a beneficiary credit.\ncontract ClankFeeEscrow is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    error InvalidBeneficiary();\n    error NothingToClaim();\n    error NativeTransferFailed();\n    error InvalidToken();\n\n    /// @notice Claimable native balance for each beneficiary.\n    mapping(address beneficiary => uint256 amount) private _credits;\n    /// @notice Sum of all beneficiary credits backed by this contract.\n    uint256 public totalCredits;\n    mapping(address beneficiary => mapping(address token => uint256 amount)) private _tokenCredits;\n    mapping(address token => uint256 amount) public totalTokenCredits;\n\n    event Credited(address indexed beneficiary, uint256 amount);\n    event Claimed(address indexed beneficiary, address indexed recipient, uint256 amount);\n    event TokenCredited(address indexed beneficiary, address indexed token, uint256 amount);\n    event TokenClaimed(address indexed beneficiary, address indexed token, address indexed recipient, uint256 amount);\n\n    /// @notice Adds the attached native amount to a beneficiary's claimable credit.\n    /// @dev Any caller may fund a beneficiary, but cannot redirect or withdraw that credit.\n    /// @param beneficiary Account whose credit is increased.\n    function credit(address beneficiary) external payable {\n        if (beneficiary == address(0)) revert InvalidBeneficiary();\n        _credits[beneficiary] += msg.value;\n        totalCredits += msg.value;\n        emit Credited(beneficiary, msg.value);\n    }\n\n    /// @notice Claims the caller's complete credit to an explicit recipient.\n    /// @dev This lets a trusted controller keep the credited beneficiary stable while routing\n    /// collections to a destination that may change over time.\n    function claimTo(address payable recipient) external nonReentrant returns (uint256 amount) {\n        if (recipient == address(0)) revert InvalidBeneficiary();\n        amount = _credits[msg.sender];\n        if (amount == 0) revert NothingToClaim();\n        _claim(msg.sender, recipient, amount);\n    }\n\n    /// @notice Returns a beneficiary's claimable native balance.\n    function balanceOf(address beneficiary) external view returns (uint256) {\n        return _credits[beneficiary];\n    }\n\n    /// @notice Pulls quote tokens from the caller and credits them to a beneficiary.\n    function creditToken(address beneficiary, address token, uint256 amount) external nonReentrant {\n        if (beneficiary == address(0)) revert InvalidBeneficiary();\n        if (token == address(0) || token.code.length == 0) revert InvalidToken();\n        if (amount == 0) return;\n\n        IERC20 quoteToken = IERC20(token);\n        uint256 balanceBefore = quoteToken.balanceOf(address(this));\n        quoteToken.safeTransferFrom(msg.sender, address(this), amount);\n        uint256 received = quoteToken.balanceOf(address(this)) - balanceBefore;\n        if (received != amount) revert InvalidToken();\n\n        _tokenCredits[beneficiary][token] += amount;\n        totalTokenCredits[token] += amount;\n        emit TokenCredited(beneficiary, token, amount);\n    }\n\n    /// @notice Claims the caller's complete ERC-20 credit to an explicit recipient.\n    function claimTokenTo(address token, address recipient) external nonReentrant returns (uint256 amount) {\n        if (recipient == address(0)) revert InvalidBeneficiary();\n        amount = _tokenCredits[msg.sender][token];\n        if (amount == 0) revert NothingToClaim();\n        _claimToken(msg.sender, token, recipient, amount);\n    }\n\n    function balanceOfToken(address beneficiary, address token) external view returns (uint256) {\n        return _tokenCredits[beneficiary][token];\n    }\n\n    function _claim(address beneficiary, address payable recipient, uint256 amount) private {\n        _credits[beneficiary] -= amount;\n        totalCredits -= amount;\n\n        (bool success,) = recipient.call{value: amount}(\"\");\n        if (!success) revert NativeTransferFailed();\n\n        emit Claimed(beneficiary, recipient, amount);\n    }\n\n    function _claimToken(address beneficiary, address token, address recipient, uint256 amount) private {\n        _tokenCredits[beneficiary][token] -= amount;\n        totalTokenCredits[token] -= amount;\n        IERC20(token).safeTransfer(recipient, amount);\n        emit TokenClaimed(beneficiary, token, recipient, amount);\n    }\n}\n"},"contracts/ClankGraduationExecutor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\n\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {StateLibrary} from \"@uniswap/v4-core/src/libraries/StateLibrary.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PoolIdLibrary} from \"@uniswap/v4-core/src/types/PoolId.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {Actions} from \"@uniswap/v4-periphery/src/libraries/Actions.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\n\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {IERC721Owner} from \"./ClankLaunchLocker.sol\";\n\n/// @title Clank Uniswap V4 graduation executor\n/// @notice Mints a full-range native-ETH or ERC-20 quote V4 position directly to the immutable launch locker.\n/// @dev This contract isolates V4-specific approval, action encoding, dust accounting, and\n/// position ownership checks from launch administration. Only the factory may execute a migration.\ncontract ClankGraduationExecutor is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    /// @notice Auditable outcome of a V4 graduation attempt.\n    struct Result {\n        uint256 positionId;\n        uint160 sqrtPriceX96;\n        uint128 liquidity;\n        uint128 seededQuote;\n        uint128 seededToken;\n        uint128 quoteDust;\n        /// @notice Unused launch tokens permanently transferred to the locker.\n        uint128 tokenDust;\n    }\n\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidPositionOwner();\n    error InvalidSqrtPrice();\n    error NoLiquidity();\n    error NotFactory();\n    error NothingToFlush();\n    error UnexpectedNativeSender();\n\n    /// @notice Launch factory authorised to invoke pool creation.\n    address public immutable factory;\n    /// @notice Uniswap V4 pool registry and accounting manager.\n    IPoolManager public immutable poolManager;\n    /// @notice Uniswap V4 position NFT manager.\n    IPositionManager public immutable positionManager;\n    /// @notice Permit2 instance used by PositionManager to pull launched tokens.\n    IAllowanceTransfer public immutable permit2;\n    /// @notice Initialization-only hook embedded in every graduated PoolKey.\n    IHooks public immutable initializationHook;\n    /// @notice Permanent recipient of every minted liquidity position.\n    address public immutable locker;\n    /// @notice Pull-payment escrow receiving migration dust.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Beneficiary credited with migration dust and recovered foreign native ETH.\n    address public immutable protocolFeeRecipient;\n    /// @notice Unflushed ERC-20 quote dust, excluding pre-existing donations.\n    mapping(address asset => uint256 amount) public pendingQuoteDust;\n\n    event PoolCreated(\n        address indexed token,\n        uint256 indexed positionId,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        uint128 seededQuote,\n        uint128 seededToken,\n        uint128 quoteDust,\n        uint128 tokenDust\n    );\n    event ForeignNativeRecovered(uint256 amount, address indexed escrowBeneficiary);\n    event QuoteDustFlushed(address indexed asset, uint256 amount);\n\n    /// @param factory_ Launch factory authorised to call mintFullRangePosition.\n    /// @param poolManager_ Uniswap V4 PoolManager.\n    /// @param positionManager_ Uniswap V4 PositionManager wired to poolManager_.\n    /// @param permit2_ Permit2 contract used by PositionManager.\n    /// @param initializationHook_ No-fee hook restricting pool initialization to the factory.\n    /// @param locker_ Permanent liquidity-position recipient.\n    /// @param feeEscrow_ Native and ERC-20 credit escrow.\n    /// @param protocolFeeRecipient_ Beneficiary for migration dust and recovered foreign native ETH.\n    constructor(\n        address factory_,\n        address poolManager_,\n        address positionManager_,\n        address permit2_,\n        address initializationHook_,\n        address locker_,\n        address feeEscrow_,\n        address protocolFeeRecipient_\n    ) {\n        if (\n            factory_ == address(0) || poolManager_ == address(0) || positionManager_ == address(0)\n                || permit2_ == address(0) || initializationHook_ == address(0) || locker_ == address(0)\n                || feeEscrow_ == address(0) || protocolFeeRecipient_ == address(0)\n        ) revert InvalidAddress();\n\n        factory = factory_;\n        poolManager = IPoolManager(poolManager_);\n        positionManager = IPositionManager(positionManager_);\n        permit2 = IAllowanceTransfer(permit2_);\n        initializationHook = IHooks(initializationHook_);\n        locker = locker_;\n        feeEscrow = ClankFeeEscrow(feeEscrow_);\n        protocolFeeRecipient = protocolFeeRecipient_;\n    }\n\n    /// @notice Accepts native refunds and sweep output only from PositionManager.\n    receive() external payable {\n        if (msg.sender != address(positionManager)) revert UnexpectedNativeSender();\n    }\n\n    /// @notice Permissionlessly transfers accumulated ERC-20 quote dust to the fixed escrow beneficiary.\n    /// @dev Failed transfers revert the pending amount and remain retryable after pool creation.\n    function flushQuoteDust(address asset) external nonReentrant returns (uint256 amount) {\n        amount = pendingQuoteDust[asset];\n        if (amount == 0) revert NothingToFlush();\n        pendingQuoteDust[asset] = 0;\n\n        IERC20 quoteToken = IERC20(asset);\n        quoteToken.forceApprove(address(feeEscrow), amount);\n        feeEscrow.creditToken(protocolFeeRecipient, asset, amount);\n        quoteToken.forceApprove(address(feeEscrow), 0);\n\n        emit QuoteDustFlushed(asset, amount);\n    }\n\n    /// @notice Mints a full-range position into the factory-initialized V4 pool.\n    /// @dev Currencies are sorted by address and the PoolKey contains the initialization-only guard.\n    /// The executor snapshots its own and PositionManager's pre-existing balances so foreign native\n    /// ETH returned by SWEEP is never attributed to the current launch.\n    /// Temporary approvals are cleared on success.\n    /// @param tokenAddress Launched ERC-20 token.\n    /// @param pairToken Quote asset; address(0) represents native ETH.\n    /// @param poolFee Static V4 LP fee encoded in the PoolKey.\n    /// @param tickSpacing Tick spacing encoded in the PoolKey.\n    /// @param quoteAmount Quote asset allocated to the position.\n    /// @param tokenAmount Token amount allocated to the position.\n    /// @return result Position identifier, price, liquidity, seeded amounts, and rounding dust.\n    function mintFullRangePosition(\n        address tokenAddress,\n        address pairToken,\n        uint24 poolFee,\n        int24 tickSpacing,\n        uint128 quoteAmount,\n        uint128 tokenAmount\n    ) external payable nonReentrant returns (Result memory result) {\n        if (msg.sender != factory) revert NotFactory();\n        if (\n            tokenAddress == address(0) || pairToken == tokenAddress || quoteAmount == 0 || tokenAmount == 0\n                || (pairToken == address(0) ? msg.value != quoteAmount : msg.value != 0)\n        ) {\n            revert InvalidAmount();\n        }\n\n        IERC20 token = IERC20(tokenAddress);\n        uint256 tokenBalance = token.balanceOf(address(this));\n        if (tokenBalance < tokenAmount) revert InvalidAmount();\n        IERC20 quoteToken = IERC20(pairToken);\n        uint256 quoteTokenBalance;\n        if (pairToken != address(0)) {\n            quoteTokenBalance = quoteToken.balanceOf(address(this));\n            if (quoteTokenBalance < quoteAmount) revert InvalidAmount();\n        }\n\n        // Separate assets supplied for this launch from balances that predate the call.\n        uint256 nativeBaseline = address(this).balance - msg.value;\n        uint256 tokenBaseline = tokenBalance - tokenAmount;\n        uint256 quoteTokenBaseline = pairToken == address(0) ? 0 : quoteTokenBalance - quoteAmount;\n        uint256 positionManagerNativeBaseline = address(positionManager).balance;\n\n        bool quoteIsCurrency0 = pairToken < tokenAddress;\n        address currency0 = quoteIsCurrency0 ? pairToken : tokenAddress;\n        address currency1 = quoteIsCurrency0 ? tokenAddress : pairToken;\n        uint128 amount0Max = quoteIsCurrency0 ? quoteAmount : tokenAmount;\n        uint128 amount1Max = quoteIsCurrency0 ? tokenAmount : quoteAmount;\n        PoolKey memory key = PoolKey({\n            currency0: Currency.wrap(currency0),\n            currency1: Currency.wrap(currency1),\n            fee: poolFee,\n            tickSpacing: tickSpacing,\n            hooks: initializationHook\n        });\n        (result.sqrtPriceX96,,,) = StateLibrary.getSlot0(poolManager, PoolIdLibrary.toId(key));\n        if (result.sqrtPriceX96 <= TickMath.MIN_SQRT_PRICE || result.sqrtPriceX96 >= TickMath.MAX_SQRT_PRICE) {\n            revert InvalidSqrtPrice();\n        }\n\n        int24 tickLower = TickMath.minUsableTick(tickSpacing);\n        int24 tickUpper = TickMath.maxUsableTick(tickSpacing);\n        result.liquidity = LiquidityAmounts.getLiquidityForAmounts(\n            result.sqrtPriceX96,\n            TickMath.getSqrtPriceAtTick(tickLower),\n            TickMath.getSqrtPriceAtTick(tickUpper),\n            amount0Max,\n            amount1Max\n        );\n        if (result.liquidity == 0) revert NoLiquidity();\n\n        token.forceApprove(address(permit2), tokenAmount);\n        permit2.approve(\n            tokenAddress, address(positionManager), uint160(tokenAmount), uint48(block.timestamp + 5 minutes)\n        );\n        if (pairToken != address(0)) {\n            quoteToken.forceApprove(address(permit2), quoteAmount);\n            permit2.approve(\n                pairToken, address(positionManager), uint160(quoteAmount), uint48(block.timestamp + 5 minutes)\n            );\n        }\n\n        result.positionId = positionManager.nextTokenId();\n\n        // Mint directly to the locker, settle both currencies, then recover unused native ETH.\n        bool hasNative = currency0 == address(0);\n        bytes memory actions = hasNative\n            ? abi.encodePacked(uint8(Actions.MINT_POSITION), uint8(Actions.SETTLE_PAIR), uint8(Actions.SWEEP))\n            : abi.encodePacked(uint8(Actions.MINT_POSITION), uint8(Actions.SETTLE_PAIR));\n        bytes[] memory params = new bytes[](hasNative ? 3 : 2);\n        params[0] =\n            abi.encode(key, tickLower, tickUpper, uint256(result.liquidity), amount0Max, amount1Max, locker, bytes(\"\"));\n        params[1] = abi.encode(key.currency0, key.currency1);\n        if (hasNative) params[2] = abi.encode(key.currency0, address(this));\n\n        positionManager.modifyLiquidities{value: msg.value}(abi.encode(actions, params), block.timestamp + 5 minutes);\n        if (IERC721Owner(address(positionManager)).ownerOf(result.positionId) != locker) {\n            revert InvalidPositionOwner();\n        }\n\n        permit2.approve(tokenAddress, address(positionManager), 0, 0);\n        token.forceApprove(address(permit2), 0);\n        if (pairToken != address(0)) {\n            permit2.approve(pairToken, address(positionManager), 0, 0);\n            quoteToken.forceApprove(address(permit2), 0);\n        }\n\n        // PositionManager's SWEEP may include native ETH it held before this launch. Attribute at most\n        // its baseline balance to foreign ETH, and only the remainder to this launch's rounding dust.\n        uint256 foreignNative;\n        uint256 launchQuoteDust;\n        if (pairToken == address(0)) {\n            uint256 nativeDelta = address(this).balance - nativeBaseline;\n            foreignNative = Math.min(positionManagerNativeBaseline, nativeDelta);\n            launchQuoteDust = nativeDelta - foreignNative;\n        } else {\n            uint256 quoteAfter = quoteToken.balanceOf(address(this));\n            if (quoteAfter < quoteTokenBaseline) revert InvalidAmount();\n            launchQuoteDust = quoteAfter - quoteTokenBaseline;\n        }\n        if (launchQuoteDust > quoteAmount) revert InvalidAmount();\n\n        uint256 tokenAfter = token.balanceOf(address(this));\n        if (tokenAfter < tokenBaseline) revert InvalidAmount();\n        uint256 launchTokenDust = tokenAfter - tokenBaseline;\n        if (launchTokenDust > tokenAmount) revert InvalidAmount();\n\n        result.quoteDust = uint128(launchQuoteDust);\n        result.tokenDust = uint128(launchTokenDust);\n        result.seededQuote = quoteAmount - result.quoteDust;\n        result.seededToken = tokenAmount - result.tokenDust;\n\n        if (launchTokenDust != 0) token.safeTransfer(locker, launchTokenDust);\n\n        if (launchQuoteDust != 0) {\n            if (pairToken == address(0)) {\n                feeEscrow.credit{value: launchQuoteDust}(protocolFeeRecipient);\n            } else {\n                pendingQuoteDust[pairToken] += launchQuoteDust;\n            }\n        }\n        uint256 totalForeignNative = nativeBaseline + foreignNative;\n        if (totalForeignNative != 0) {\n            feeEscrow.credit{value: totalForeignNative}(protocolFeeRecipient);\n            emit ForeignNativeRecovered(totalForeignNative, protocolFeeRecipient);\n        }\n\n        emit PoolCreated(\n            tokenAddress,\n            result.positionId,\n            result.sqrtPriceX96,\n            result.liquidity,\n            result.seededQuote,\n            result.seededToken,\n            result.quoteDust,\n            result.tokenDust\n        );\n    }\n}\n"},"contracts/ClankGraduationGuard.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Pool} from \"@uniswap/v4-core/src/libraries/Pool.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\n\nimport {ClankMigrationMath} from \"./libraries/ClankMigrationMath.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank graduation preflight\n/// @notice Validates that terminal assets produce nonzero full-range liquidity within V4's per-tick limit.\ncontract ClankGraduationGuard {\n    error GraduationSeedNotViable();\n    error InvalidAddress();\n    error InvalidTickSpacing();\n    error SqrtPriceOutOfBounds();\n\n    /// @notice Checks a curve's terminal assets and returns the price used to initialize V4.\n    function assertSeedableForCurve(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount,\n        uint256 phantomQuote\n    ) external pure returns (uint160 price) {\n        price = ClankMigrationMath.migrationPrice(token, pairToken, quoteAmount, tokenAmount, phantomQuote);\n        _assertSeedableAtPrice(token, pairToken, tickSpacing, quoteAmount, tokenAmount, price);\n    }\n\n    function assertSeedable(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount\n    ) external pure {\n        (uint256 amount0, uint256 amount1) = pairToken < token ? (quoteAmount, tokenAmount) : (tokenAmount, quoteAmount);\n        _assertSeedableAtPrice(\n            token, pairToken, tickSpacing, quoteAmount, tokenAmount, ClankMigrationMath.sqrtPriceX96(amount0, amount1)\n        );\n    }\n\n    function _assertSeedableAtPrice(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount,\n        uint160 sqrtPriceX96\n    ) private pure {\n        if (token == address(0)) revert InvalidAddress();\n        if (pairToken == token) revert InvalidAddress();\n        if (tickSpacing <= 0) revert InvalidTickSpacing();\n        if (\n            quoteAmount == 0 || tokenAmount == 0 || quoteAmount > ClankCurveMath.MAX_GRADUATION_QUOTE\n                || tokenAmount > ClankCurveMath.MAX_GRADUATION_QUOTE\n        ) {\n            revert GraduationSeedNotViable();\n        }\n\n        (uint256 amount0, uint256 amount1) = pairToken < token ? (quoteAmount, tokenAmount) : (tokenAmount, quoteAmount);\n        if (sqrtPriceX96 <= TickMath.MIN_SQRT_PRICE || sqrtPriceX96 >= TickMath.MAX_SQRT_PRICE) {\n            revert SqrtPriceOutOfBounds();\n        }\n\n        int24 tickLower = TickMath.minUsableTick(tickSpacing);\n        int24 tickUpper = TickMath.maxUsableTick(tickSpacing);\n        uint128 liquidity = LiquidityAmounts.getLiquidityForAmounts(\n            sqrtPriceX96,\n            TickMath.getSqrtPriceAtTick(tickLower),\n            TickMath.getSqrtPriceAtTick(tickUpper),\n            amount0,\n            amount1\n        );\n        if (liquidity == 0 || liquidity > Pool.tickSpacingToMaxLiquidityPerTick(tickSpacing)) {\n            revert GraduationSeedNotViable();\n        }\n    }\n}\n"},"contracts/ClankInitializationGuardHook.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {Hooks} from \"@uniswap/v4-core/src/libraries/Hooks.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title Clank V4 initialization guard\n/// @notice Prevents third parties from initializing predictable Clank pool keys before graduation.\n/// @dev The hook has only beforeInitialize permission. It never runs during swaps and charges no fee.\ncontract ClankInitializationGuardHook is Ownable2Step {\n    error FactoryAlreadySet();\n    error InvalidAddress();\n    error NotPoolManager();\n    error NotFactory();\n    error OwnershipCannotBeRenounced();\n\n    /// @notice Uniswap V4 PoolManager allowed to invoke the hook callback.\n    IPoolManager public immutable poolManager;\n    /// @notice Factory exclusively authorized to initialize pools using this hook.\n    address public factory;\n\n    event FactorySet(address indexed factory);\n\n    constructor(IPoolManager poolManager_, address initialOwner) Ownable(initialOwner) {\n        if (address(poolManager_) == address(0) || initialOwner == address(0)) revert InvalidAddress();\n        poolManager = poolManager_;\n        Hooks.validateHookPermissions(IHooks(address(this)), getHookPermissions());\n    }\n\n    /// @notice Preserves the owner required to complete factory wiring.\n    function renounceOwnership() public pure override {\n        revert OwnershipCannotBeRenounced();\n    }\n\n    /// @notice Declares that only the initialization callback is enabled.\n    function getHookPermissions() public pure returns (Hooks.Permissions memory) {\n        return Hooks.Permissions({\n            beforeInitialize: true,\n            afterInitialize: false,\n            beforeAddLiquidity: false,\n            afterAddLiquidity: false,\n            beforeRemoveLiquidity: false,\n            afterRemoveLiquidity: false,\n            beforeSwap: false,\n            afterSwap: false,\n            beforeDonate: false,\n            afterDonate: false,\n            beforeSwapReturnDelta: false,\n            afterSwapReturnDelta: false,\n            afterAddLiquidityReturnDelta: false,\n            afterRemoveLiquidityReturnDelta: false\n        });\n    }\n\n    /// @notice Permanently wires the factory after both contracts have been deployed.\n    function setFactory(address factory_) external onlyOwner {\n        if (factory != address(0)) revert FactoryAlreadySet();\n        if (factory_ == address(0) || factory_.code.length == 0) revert InvalidAddress();\n        factory = factory_;\n        emit FactorySet(factory_);\n    }\n\n    /// @dev Rejects every pool initialization not initiated directly by the wired factory.\n    function beforeInitialize(address sender, PoolKey calldata, uint160) external view returns (bytes4) {\n        if (msg.sender != address(poolManager)) revert NotPoolManager();\n        if (sender != factory) revert NotFactory();\n        return IHooks.beforeInitialize.selector;\n    }\n}\n"},"contracts/ClankLaunchDeployer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Create2} from \"@openzeppelin/contracts/utils/Create2.sol\";\n\nimport {ClankBondingCurve} from \"./ClankBondingCurve.sol\";\nimport {ClankLauncherToken} from \"./ClankLauncherToken.sol\";\n\n/// @notice Complete deterministic deployment input for one curve/token pair.\nstruct ClankLaunchDeployment {\n    string name;\n    string symbol;\n    ClankLauncherToken.Metadata metadata;\n    address creator;\n    uint256 supply;\n    bytes32 launchId;\n    ClankBondingCurve.Config curveConfig;\n}\n\n/// @title Clank launch deployer\n/// @notice Handles CREATE2 deployment and address prediction for launch curve/token pairs.\n/// @dev Split from the factory to mirror Pons' contract responsibilities and keep deployment\n/// bytecode out of the orchestration surface exposed to integrations.\ncontract ClankLaunchDeployer {\n    error AddressMismatch(address expected, address actual);\n    error InvalidAddress();\n    error NotFactory();\n\n    address public immutable factory;\n\n    constructor(address factory_) {\n        if (factory_ == address(0)) revert InvalidAddress();\n        factory = factory_;\n    }\n\n    modifier onlyFactory() {\n        if (msg.sender != factory) revert NotFactory();\n        _;\n    }\n\n    function deployLaunch(ClankLaunchDeployment calldata params)\n        external\n        onlyFactory\n        returns (address token, address curve)\n    {\n        (address predictedToken, address predictedCurve) = predictLaunchAddresses(params);\n\n        curve = address(new ClankBondingCurve{salt: curveSalt(params.launchId)}(params.curveConfig));\n        if (curve != predictedCurve) revert AddressMismatch(predictedCurve, curve);\n\n        token = address(\n            new ClankLauncherToken{salt: tokenSalt(params.launchId)}(\n                params.name, params.symbol, params.metadata, params.creator, curve, factory, params.supply\n            )\n        );\n        if (token != predictedToken) revert AddressMismatch(predictedToken, token);\n    }\n\n    function predictLaunchAddresses(ClankLaunchDeployment calldata params)\n        public\n        view\n        returns (address token, address curve)\n    {\n        bytes32 curveBytecodeHash =\n            keccak256(abi.encodePacked(type(ClankBondingCurve).creationCode, abi.encode(params.curveConfig)));\n        curve = Create2.computeAddress(curveSalt(params.launchId), curveBytecodeHash, address(this));\n\n        bytes32 tokenBytecodeHash = keccak256(\n            abi.encodePacked(\n                type(ClankLauncherToken).creationCode,\n                abi.encode(params.name, params.symbol, params.metadata, params.creator, curve, factory, params.supply)\n            )\n        );\n        token = Create2.computeAddress(tokenSalt(params.launchId), tokenBytecodeHash, address(this));\n    }\n\n    function curveSalt(bytes32 launchId) public pure returns (bytes32) {\n        return keccak256(abi.encodePacked(launchId, \"CLANK_CURVE\"));\n    }\n\n    function tokenSalt(bytes32 launchId) public pure returns (bytes32) {\n        return keccak256(abi.encodePacked(launchId, \"CLANK_TOKEN\"));\n    }\n}\n"},"contracts/ClankLaunchFactory.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {Hooks} from \"@uniswap/v4-core/src/libraries/Hooks.sol\";\nimport {TransientStateLibrary} from \"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {IMsgSender} from \"@uniswap/v4-periphery/src/interfaces/IMsgSender.sol\";\n\nimport {ClankBondingCurve} from \"./ClankBondingCurve.sol\";\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {ClankGraduationGuard} from \"./ClankGraduationGuard.sol\";\nimport {ClankGraduationExecutor} from \"./ClankGraduationExecutor.sol\";\nimport {ClankInitializationGuardHook} from \"./ClankInitializationGuardHook.sol\";\nimport {ClankLaunchDeployer, ClankLaunchDeployment} from \"./ClankLaunchDeployer.sol\";\nimport {ClankLaunchLocker} from \"./ClankLaunchLocker.sol\";\nimport {ClankLauncherToken} from \"./ClankLauncherToken.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank launch factory and graduation coordinator\n/// @notice Manages launch configuration, deploys predictable token/curve pairs with\n/// CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.\n/// @dev Existing curves retain their economic snapshot. The owner controls new-launch terms and\n/// availability, the current fee destination, and delayed recovery of failed swept launches.\n/// Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.\ncontract ClankLaunchFactory is Ownable2Step, ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    uint256 public constant MAX_NAME_LENGTH = 64;\n    uint256 public constant MAX_SYMBOL_LENGTH = 16;\n    uint256 public constant MAX_LOGO_LENGTH = 256;\n    uint256 public constant MAX_DESCRIPTION_LENGTH = 1_024;\n    uint256 public constant MAX_SOCIAL_URI_LENGTH = 256;\n    uint16 public constant MAX_CURVE_FEE_BPS = 1_000;\n    uint256 private constant MAX_TOTAL_TRADE_FEE_BPS = 2_000;\n    uint256 private constant MAX_SNIPE_TAX_START_BPS = 9_900;\n    uint256 private constant MAX_SNIPE_TAX_SECONDS = 60;\n    uint256 private constant MAX_SNIPE_TAX_EXEMPTIONS = 32;\n    uint8 public constant MIN_PAIR_TOKEN_DECIMALS = 6;\n    uint24 public constant MAX_V4_STATIC_FEE = 999_999;\n    int24 public constant MAX_V4_TICK_SPACING = 32_767;\n    uint256 public constant GRADUATION_RESCUE_DELAY = 7 days;\n    /// @notice Fixed execution budget for force-sweep graduation and rescue migration attempts.\n    uint256 public constant RESCUE_MIGRATION_GAS = 5_000_000;\n    /// @dev Covers call setup, error handling, and recovery after forwarding the full migration budget.\n    uint256 private constant RESCUE_GAS_RESERVE = 500_000;\n\n    /// @notice Economic template snapshotted by new launches.\n    /// @dev Field order and ABI types intentionally match Pons V2.\n    struct LaunchConfig {\n        uint256 supply;\n        uint256 curveFeeBps;\n        uint256 phantomQuote;\n        uint256 graduationThreshold;\n        uint24 poolFee;\n        int24 tickSpacing;\n        bool enabled;\n    }\n\n    /// @notice Quote-denominated curve terms for one approved ERC-20 pair asset.\n    struct PairTokenEconomics {\n        uint256 phantomQuote;\n        uint256 graduationThreshold;\n        uint8 decimals;\n    }\n\n    /// @notice External infrastructure and governance addresses fixed at factory deployment.\n    struct DeploymentConfig {\n        address initialOwner;\n        address poolManager;\n        address positionManager;\n        address permit2;\n        address initializationHook;\n    }\n\n    /// @notice Creator-supplied launch metadata, config selection, and CREATE2 entropy.\n    struct LaunchParams {\n        string name;\n        string symbol;\n        string logo;\n        uint256 launchConfigId;\n        bytes32 expectedEconomics;\n        bytes32 userSalt;\n    }\n\n    /// @notice Pons-compatible social metadata tuple.\n    struct Socials {\n        string twitter;\n        string telegram;\n        string discord;\n        string website;\n        string farcaster;\n    }\n\n    /// @notice Pons-compatible launch parameters accepted by the compatibility overload.\n    /// @dev Clank rejects creator tax and buyback requests.\n    struct TokenParams {\n        string name;\n        string symbol;\n        string logo;\n        string description;\n        Socials socials;\n        address creatorFeeRecipient;\n        uint16 creatorTaxBps;\n        bool buybackEnabled;\n        bytes32 expectedEconomics;\n        bytes32 salt;\n    }\n\n    /// @notice Immutable launch snapshot plus migration progress and result data.\n    struct Launch {\n        address token;\n        address curve;\n        address creator;\n        address pairToken;\n        bytes32 launchId;\n        uint256 launchConfigId;\n        bytes32 economics;\n        string name;\n        string symbol;\n        string logo;\n        uint128 supply;\n        uint128 phantomQuote;\n        uint128 graduationThreshold;\n        uint16 curveFeeBps;\n        uint24 poolFee;\n        int24 tickSpacing;\n        uint128 sweptQuote;\n        uint128 sweptTokens;\n        uint64 sweptAt;\n        uint128 targetLpTokens;\n        uint128 seededQuote;\n        uint128 seededToken;\n        uint256 positionId;\n    }\n\n    /// @notice Pons-shaped launch record for generic launchpad integrations.\n    /// @dev Unsupported creator-fee and buyback fields are returned as zero values.\n    struct LaunchedToken {\n        address token;\n        address curve;\n        address deployer;\n        address creatorFeeRecipient;\n        address pairToken;\n        uint256 graduationThreshold;\n        uint24 poolFee;\n        int24 tickSpacing;\n        uint16 creatorTaxBps;\n        bool buybackEnabled;\n        uint8 phase;\n        uint256 sweptQuote;\n        uint256 sweptTokens;\n        uint256 sweptAt;\n        bool exists;\n    }\n\n    error AddressMismatch(address expected, address actual);\n    error ZeroAddress();\n    error InvalidEconomics();\n    error InvalidBasisPoints();\n    error InvalidSnipeTaxWindow();\n    error CurveFeeTooHigh();\n    error InvalidInitializationHook();\n    error InvalidLaunchConfigId();\n    error InvalidMetadata();\n    error InvalidPoolConfiguration();\n    error LaunchFeeNotPaid();\n    error NotLaunchForwarder();\n    error ExemptionListTooLong();\n    error AlreadySet();\n    error LaunchDeployerNotSet();\n    error LaunchDeployerWiringMismatch();\n    error LaunchAlreadyExists();\n    error LaunchConfigDisabled();\n    error LaunchEconomicsMismatch(bytes32 expected, bytes32 actual);\n    error NotWhitelisted();\n    error TokenNotFound();\n    error MigrationAmountTooSmall();\n    error MissingCode(address dependency);\n    error PositionManagerPoolMismatch(address expected, address actual);\n    error PositionManagerPermit2Mismatch(address expected, address actual);\n    error UnsupportedBuyback();\n    error UnsupportedCreatorTax();\n    error PairTokenValidationFailed();\n    error PairTokenNotApproved();\n    error PairTokenEconomicsInvalid();\n    error PairTokenDecimalsMismatch(uint8 expected, uint8 actual);\n    error PairTokenDecimalsUnavailable();\n    error PairTokenAuthorityUnauthorizedAccount(address account);\n    error InitializationHookFactoryMismatch(address expected, address actual);\n    error InitializationHookOwnerMismatch(address expected, address actual);\n    error InitializationHookPoolMismatch(address expected, address actual);\n    error UnexpectedNativeSender();\n    error GraduationRescueTooEarly(uint256 availableAt);\n    error NothingToGraduate();\n    error OnlySelf();\n    error InsufficientRescueGas();\n    error PositionManagerLocked();\n    error FeeTransferFailed();\n    error OwnershipCannotBeRenounced();\n\n    /// @notice Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees.\n    address public feeDestination;\n    /// @notice Pons-compatible launch-fee getter that always returns zero.\n    uint256 public launchFee;\n    /// @notice Uniswap V4 PoolManager used by every launch from this factory.\n    address public immutable poolManager;\n    /// @notice Uniswap V4 PositionManager used by every launch from this factory.\n    address public immutable positionManager;\n    /// @notice Permit2 instance used during V4 position creation.\n    address public immutable permit2;\n    /// @notice No-fee V4 hook that restricts initialization to this factory.\n    ClankInitializationGuardHook public immutable initializationHook;\n    /// @notice Shared pull-payment escrow for protocol credits.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Permanent liquidity-position sink shared by all launches.\n    ClankLaunchLocker public immutable locker;\n    /// @notice Shared adapter that executes V4 graduation.\n    ClankGraduationExecutor public immutable graduationExecutor;\n    /// @notice Dedicated CREATE2 deployer shared by all launches and wired once after deployment.\n    ClankLaunchDeployer public launchDeployer;\n    /// @notice Trusted router allowed to preserve the original deployer on forwarded launches.\n    address public launchForwarder;\n    /// @notice Authority allowed to approve pair tokens and update their economics.\n    address public pairTokenAuthority;\n    /// @notice Stateless V4 seed preflight used before reserves leave a curve.\n    ClankGraduationGuard public immutable graduationGuard;\n\n    LaunchConfig[] private _launchConfigs;\n    mapping(address token => Launch launch) private _launches;\n    /// @notice Token deployed for each curve address.\n    mapping(address curve => address token) public tokenForCurve;\n    /// @notice ERC-20 quote assets available to new launches.\n    mapping(address pairToken => bool approved) public approvedPairTokens;\n    /// @notice Curve economics denominated in each ERC-20 quote asset's smallest unit.\n    mapping(address pairToken => PairTokenEconomics economics) public pairTokenEconomics;\n    /// @notice Peak total buy fee snapshotted by new launches; zero disables snipe tax.\n    uint256 public snipeTaxStartBps;\n    /// @notice Anti-snipe decay window snapshotted by new launches.\n    uint256 public snipeTaxSeconds = 15;\n    /// @notice Global gate for creation of new launches.\n    bool public launchEnabled;\n    mapping(address token => address recipient) private _creatorFeeRecipients;\n    /// @dev Scoped sender permitted to deliver tracked native reserves during graduation.\n    address private _expectedNativeSender;\n\n    event LaunchConfigAdded(uint256 indexed id);\n    event LaunchConfigUpdated(uint256 indexed id);\n    event LaunchConfigEnabledUpdated(uint256 indexed launchConfigId, bool enabled);\n    event LaunchEnabledUpdated(bool enabled);\n    event LaunchForwarderSet(address forwarder);\n    event LaunchDeployerSet(address deployer);\n    event PairTokenAuthorityUpdated(address indexed previousAuthority, address indexed newAuthority);\n    event PairTokenApprovalUpdated(address indexed pairToken, bool approved);\n    event PairTokenEconomicsUpdated(\n        address indexed pairToken, uint256 phantomQuote, uint256 graduationThreshold, uint8 decimals\n    );\n    event SnipeTaxStartBpsUpdated(uint256 bps);\n    event SnipeTaxSecondsUpdated(uint256 secondsWindow);\n    event FeeDestinationUpdated(address indexed previousDestination, address indexed newDestination);\n    event FeesCollected(address indexed asset, address indexed destination, uint256 amount);\n\n    /// @notice Pons-compatible launch event for generic launchpad indexers.\n    event TokenLaunched(\n        address indexed token,\n        address indexed curve,\n        address indexed deployer,\n        address pairToken,\n        uint256 launchConfigId,\n        uint256 graduationThreshold\n    );\n    event LaunchSwept(address indexed token, uint256 quoteOut, uint256 tokenOut);\n    event LaunchForceSwept(address indexed token);\n    event LaunchGraduationRescued(\n        address indexed token, address indexed recipient, uint256 quoteAmount, uint256 tokenAmount\n    );\n    /// @notice Compact Pons-compatible graduation event.\n    event PoolGraduated(address indexed token, uint256 positionId, uint256 tokenAmount, uint256 pairTokenAmount);\n\n    /// @param config Initial owner and validated V4 infrastructure addresses.\n    constructor(DeploymentConfig memory config) Ownable(config.initialOwner) {\n        if (\n            config.poolManager == address(0) || config.positionManager == address(0) || config.permit2 == address(0)\n                || config.initializationHook == address(0)\n        ) revert ZeroAddress();\n        if (config.poolManager.code.length == 0) revert MissingCode(config.poolManager);\n        if (config.positionManager.code.length == 0) revert MissingCode(config.positionManager);\n        if (config.permit2.code.length == 0) revert MissingCode(config.permit2);\n        if (config.initializationHook.code.length == 0) revert MissingCode(config.initializationHook);\n\n        address wiredPoolManager = address(IPositionManager(config.positionManager).poolManager());\n        if (wiredPoolManager != config.poolManager) {\n            revert PositionManagerPoolMismatch(config.poolManager, wiredPoolManager);\n        }\n        address wiredPermit2 = address(IPositionManagerPermit2(config.positionManager).permit2());\n        if (wiredPermit2 != config.permit2) {\n            revert PositionManagerPermit2Mismatch(config.permit2, wiredPermit2);\n        }\n\n        ClankInitializationGuardHook hook = ClankInitializationGuardHook(config.initializationHook);\n        if ((uint160(config.initializationHook) & Hooks.ALL_HOOK_MASK) != Hooks.BEFORE_INITIALIZE_FLAG) {\n            revert InvalidInitializationHook();\n        }\n        address hookPoolManager = address(hook.poolManager());\n        if (hookPoolManager != config.poolManager) {\n            revert InitializationHookPoolMismatch(config.poolManager, hookPoolManager);\n        }\n        address hookOwner = hook.owner();\n        if (hookOwner != config.initialOwner) {\n            revert InitializationHookOwnerMismatch(config.initialOwner, hookOwner);\n        }\n        if (hook.factory() != address(0)) revert InvalidInitializationHook();\n\n        feeDestination = config.initialOwner;\n        pairTokenAuthority = config.initialOwner;\n        poolManager = config.poolManager;\n        positionManager = config.positionManager;\n        permit2 = config.permit2;\n        initializationHook = hook;\n        feeEscrow = new ClankFeeEscrow();\n        locker = new ClankLaunchLocker(config.positionManager);\n        graduationGuard = new ClankGraduationGuard();\n        graduationExecutor = new ClankGraduationExecutor(\n            address(this),\n            config.poolManager,\n            config.positionManager,\n            config.permit2,\n            config.initializationHook,\n            address(locker),\n            address(feeEscrow),\n            address(this)\n        );\n        emit PairTokenAuthorityUpdated(address(0), config.initialOwner);\n    }\n\n    modifier onlyPairTokenAuthority() {\n        if (msg.sender != pairTokenAuthority) revert PairTokenAuthorityUnauthorizedAccount(msg.sender);\n        _;\n    }\n\n    /// @notice Accepts native ETH only from the curve currently being swept by this factory.\n    /// @dev The scoped sender prevents unsolicited ETH from being mixed with migration accounting.\n    receive() external payable {\n        if (msg.sender != _expectedNativeSender) revert UnexpectedNativeSender();\n    }\n\n    /// @notice Returns the number of configured launch templates.\n    function launchConfigCount() external view returns (uint256) {\n        return _launchConfigs.length;\n    }\n\n    /// @notice Returns a launch configuration by identifier.\n    /// @param id Zero-based configuration identifier.\n    function getLaunchConfig(uint256 id) external view returns (LaunchConfig memory) {\n        return _requireLaunchConfig(id);\n    }\n\n    /// @notice Returns the current economic commitment hash for a launch configuration.\n    /// @dev Creators include this digest in LaunchParams to prevent an admin configuration update\n    /// from silently changing economics between address prediction and transaction execution.\n    function previewLaunchEconomics(uint256 launchConfigId) public view returns (bytes32) {\n        LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n        return _economicsDigest(config, address(0), config.phantomQuote, config.graduationThreshold);\n    }\n\n    /// @notice Pons-compatible economics preview for native or approved ERC-20 quote launches.\n    function previewLaunchEconomics(uint256 launchConfigId, address pairToken) external view returns (bytes32) {\n        LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n        (uint128 phantomQuote, uint128 threshold) = _quoteEconomics(config, pairToken);\n        return _economicsDigest(config, pairToken, phantomQuote, threshold);\n    }\n\n    /// @notice Changes the authority that manages ERC-20 pair assets and their economics.\n    /// @dev Setting the authority to the zero address disables pair-token administration.\n    function setPairTokenAuthority(address newAuthority) external onlyOwner {\n        address previousAuthority = pairTokenAuthority;\n        pairTokenAuthority = newAuthority;\n        emit PairTokenAuthorityUpdated(previousAuthority, newAuthority);\n    }\n\n    /// @notice Sets quote-denominated economics before an ERC-20 pair can be approved.\n    function setPairTokenEconomics(\n        address pairToken,\n        uint256 phantomQuote,\n        uint256 graduationThreshold,\n        uint8 expectedDecimals\n    ) external onlyPairTokenAuthority {\n        if (\n            pairToken == address(0) || pairToken.code.length == 0 || phantomQuote == 0\n                || phantomQuote > ClankCurveMath.MAX_PHANTOM_QUOTE || expectedDecimals < MIN_PAIR_TOKEN_DECIMALS\n                || graduationThreshold != ClankCurveMath.graduationThreshold(phantomQuote)\n        ) {\n            revert PairTokenEconomicsInvalid();\n        }\n        _requirePairTokenDecimals(pairToken, expectedDecimals);\n        // Check both currency orderings with V4's strictest per-tick liquidity limit.\n        _validateResolvedMigration(address(1), address(0), 1, uint128(phantomQuote));\n        _validateResolvedMigration(address(1), address(2), 1, uint128(phantomQuote));\n        pairTokenEconomics[pairToken] = PairTokenEconomics(phantomQuote, graduationThreshold, expectedDecimals);\n        emit PairTokenEconomicsUpdated(pairToken, phantomQuote, graduationThreshold, expectedDecimals);\n    }\n\n    /// @notice Enables or disables an ERC-20 quote asset for new launches.\n    function setPairTokenApproved(address pairToken, bool approved) external onlyPairTokenAuthority {\n        if (pairToken == address(0) || pairToken.code.length == 0) revert PairTokenValidationFailed();\n        if (approved) {\n            PairTokenEconomics memory economics = pairTokenEconomics[pairToken];\n            if (economics.phantomQuote == 0 || economics.graduationThreshold == 0) {\n                revert PairTokenEconomicsInvalid();\n            }\n            _requirePairTokenDecimals(pairToken, economics.decimals);\n        }\n        approvedPairTokens[pairToken] = approved;\n        emit PairTokenApprovalUpdated(pairToken, approved);\n    }\n\n    /// @notice Sets the peak total buy fee snapshotted by each new launch.\n    function setSnipeTaxStartBps(uint256 bps) external onlyOwner {\n        if (bps != 0 && (bps <= MAX_TOTAL_TRADE_FEE_BPS || bps > MAX_SNIPE_TAX_START_BPS)) {\n            revert InvalidBasisPoints();\n        }\n        snipeTaxStartBps = bps;\n        emit SnipeTaxStartBpsUpdated(bps);\n    }\n\n    /// @notice Sets the anti-snipe decay window snapshotted by each new launch.\n    function setSnipeTaxSeconds(uint256 secondsWindow) external onlyOwner {\n        if (secondsWindow == 0 || secondsWindow > MAX_SNIPE_TAX_SECONDS) revert InvalidSnipeTaxWindow();\n        snipeTaxSeconds = secondsWindow;\n        emit SnipeTaxSecondsUpdated(secondsWindow);\n    }\n\n    /// @notice Updates the sole recipient used by every protocol fee collection path.\n    function setFeeDestination(address newDestination) external onlyOwner {\n        if (newDestination == address(0)) revert ZeroAddress();\n        address previousDestination = feeDestination;\n        feeDestination = newDestination;\n        emit FeeDestinationUpdated(previousDestination, newDestination);\n    }\n\n    /// @notice Permissionlessly forwards all accrued native or ERC-20 protocol credits.\n    /// @param asset Native ETH when zero, otherwise the ERC-20 quote asset to collect.\n    function collectFees(address asset) external nonReentrant returns (uint256 amount) {\n        address destination = feeDestination;\n        if (asset == address(0)) {\n            amount = feeEscrow.claimTo(payable(destination));\n        } else {\n            amount = feeEscrow.claimTokenTo(asset, destination);\n        }\n        emit FeesCollected(asset, destination, amount);\n    }\n\n    /// @notice Legacy getter retained for integrations that used the previous immutable name.\n    function protocolFeeRecipient() external view returns (address) {\n        return feeDestination;\n    }\n\n    /// @notice Pons-compatible pool hook getter used by third-party graduation clients.\n    function memeHook() external view returns (address) {\n        return address(initializationHook);\n    }\n\n    /// @notice Disabled to preserve the owner-operated delayed recovery path.\n    function renounceOwnership() public pure override {\n        revert OwnershipCannotBeRenounced();\n    }\n\n    /// @notice Adds a validated configuration for new launches.\n    /// @param config Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters.\n    /// @return id Identifier assigned to the new configuration.\n    function addLaunchConfig(LaunchConfig calldata config) external onlyOwner returns (uint256 id) {\n        _validateLaunchConfig(config);\n        id = _launchConfigs.length;\n        _launchConfigs.push(config);\n        emit LaunchConfigAdded(id);\n    }\n\n    /// @notice Replaces a configuration used by new launches.\n    /// @dev Existing launch snapshots are not modified.\n    /// @param id Configuration to replace.\n    /// @param config New validated configuration.\n    function updateLaunchConfig(uint256 id, LaunchConfig calldata config) external onlyOwner {\n        _requireLaunchConfig(id);\n        _validateLaunchConfig(config);\n        _launchConfigs[id] = config;\n        emit LaunchConfigUpdated(id);\n    }\n\n    /// @notice Enables or disables one configuration for new launches.\n    function setLaunchConfigEnabled(uint256 launchConfigId, bool enabled) external onlyOwner {\n        LaunchConfig storage config = _requireLaunchConfig(launchConfigId);\n        config.enabled = enabled;\n        emit LaunchConfigEnabledUpdated(launchConfigId, enabled);\n    }\n\n    /// @notice Enables or disables all new launch creation.\n    /// @dev This gate does not stop trading or graduation for existing launches.\n    function setLaunchEnabled(bool enabled) external onlyOwner {\n        if (enabled) _requireInitializationHookWiring();\n        launchEnabled = enabled;\n        emit LaunchEnabledUpdated(enabled);\n    }\n\n    /// @notice Returns whether a creator may launch through the current public gate.\n    /// @dev The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist.\n    function canLaunch(address launcher) public view returns (bool) {\n        launcher;\n        return launchEnabled;\n    }\n\n    /// @notice Wires the Pons-style CREATE2 helper exactly once.\n    /// @dev The helper must already identify this factory as its immutable caller.\n    function setLaunchDeployer(ClankLaunchDeployer deployer) external onlyOwner {\n        if (address(launchDeployer) != address(0)) revert AlreadySet();\n        if (address(deployer) == address(0) || address(deployer).code.length == 0) {\n            revert LaunchDeployerNotSet();\n        }\n        if (deployer.factory() != address(this)) revert LaunchDeployerWiringMismatch();\n        launchDeployer = deployer;\n        emit LaunchDeployerSet(address(deployer));\n    }\n\n    /// @notice Sets the trusted launch-and-buy router; the owner may rotate it.\n    function setLaunchForwarder(address forwarder) external onlyOwner {\n        if (forwarder == address(0)) revert ZeroAddress();\n        launchForwarder = forwarder;\n        emit LaunchForwarderSet(forwarder);\n    }\n\n    /// @notice Pons-compatible native or approved ERC-20 quote launch entrypoint.\n    /// @dev Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics\n    /// value waives the economics pin as in Pons.\n    function launchToken(TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        external\n        payable\n        nonReentrant\n        returns (address token, address curve)\n    {\n        return _launchCompatibleToken(params, launchConfigId, pairToken, msg.sender);\n    }\n\n    /// @notice Creates a launch with up to 32 additional snipe-tax-exempt recipients.\n    function launchToken(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address[] calldata snipeTaxExemptions\n    ) external payable nonReentrant returns (address token, address curve) {\n        (token, curve) = _launchCompatibleToken(params, launchConfigId, pairToken, msg.sender);\n        _exemptFromSnipeTax(curve, snipeTaxExemptions);\n    }\n\n    /// @notice Creates a launch for the trusted router's original caller.\n    function launchTokenFor(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address originalDeployer,\n        address[] calldata snipeTaxExemptions\n    ) external payable nonReentrant returns (address token, address curve) {\n        if (msg.sender != launchForwarder) revert NotLaunchForwarder();\n        (token, curve) = _launchCompatibleToken(params, launchConfigId, pairToken, originalDeployer);\n        _exemptFromSnipeTax(curve, snipeTaxExemptions);\n    }\n\n    function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {\n        if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();\n        for (uint256 i; i < snipeTaxExemptions.length; ++i) {\n            ClankBondingCurve(payable(curve)).exemptFromSnipeTax(snipeTaxExemptions[i]);\n        }\n    }\n\n    function _launchCompatibleToken(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address creator\n    ) private returns (address token, address curve) {\n        if (msg.value != 0) revert LaunchFeeNotPaid();\n        if (params.creatorTaxBps != 0) revert UnsupportedCreatorTax();\n        if (params.buybackEnabled) revert UnsupportedBuyback();\n\n        LaunchParams memory launchParams = _compatibleLaunchParams(params, launchConfigId, pairToken);\n        address creatorFeeRecipient = params.creatorFeeRecipient == address(0) ? creator : params.creatorFeeRecipient;\n        return _launchToken(\n            launchParams, creator, creatorFeeRecipient, pairToken, params.logo, params.description, params.socials\n        );\n    }\n\n    function _compatibleLaunchParams(TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        private\n        view\n        returns (LaunchParams memory launchParams)\n    {\n        bytes32 expectedEconomics = params.expectedEconomics;\n        if (expectedEconomics == bytes32(0)) {\n            LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n            (uint128 phantomQuote, uint128 threshold) = _quoteEconomics(config, pairToken);\n            expectedEconomics = _economicsDigest(config, pairToken, phantomQuote, threshold);\n        }\n        launchParams = LaunchParams({\n            name: params.name,\n            symbol: params.symbol,\n            logo: params.logo,\n            launchConfigId: launchConfigId,\n            expectedEconomics: expectedEconomics,\n            userSalt: params.salt\n        });\n    }\n\n    function _launchToken(\n        LaunchParams memory params,\n        address creator,\n        address creatorFeeRecipient,\n        address pairToken,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private returns (address token, address curve) {\n        if (address(launchDeployer) == address(0)) revert LaunchDeployerNotSet();\n        if (!canLaunch(creator)) revert NotWhitelisted();\n        _validateMetadata(params, logo, description, socials);\n        (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold) =\n            _resolveLaunchTerms(params, pairToken);\n        if (!config.enabled) revert LaunchConfigDisabled();\n        bytes32 launchId = _launchIdFor(creator, params, economics, logo, description, socials);\n        ClankLaunchDeployment memory deployment = _launchDeployment(\n            params, config, pairToken, phantomQuote, threshold, launchId, creator, logo, description, socials\n        );\n        (address predictedToken, address predictedCurve) = launchDeployer.predictLaunchAddresses(deployment);\n        _validateResolvedMigration(predictedToken, pairToken, config.tickSpacing, phantomQuote);\n\n        (token, curve) = launchDeployer.deployLaunch(deployment);\n        if (curve != predictedCurve) revert AddressMismatch(predictedCurve, curve);\n        if (token != predictedToken) revert AddressMismatch(predictedToken, token);\n        if (_launches[token].token != address(0)) revert LaunchAlreadyExists();\n\n        ClankBondingCurve(payable(curve)).initialize(token);\n        ClankBondingCurve(payable(curve)).exemptFromSnipeTax(creator);\n        if (creatorFeeRecipient != creator) {\n            ClankBondingCurve(payable(curve)).exemptFromSnipeTax(creatorFeeRecipient);\n        }\n        _launches[token] = Launch({\n            token: token,\n            curve: curve,\n            creator: creator,\n            pairToken: pairToken,\n            launchId: launchId,\n            launchConfigId: params.launchConfigId,\n            economics: economics,\n            name: params.name,\n            symbol: params.symbol,\n            logo: params.logo,\n            supply: uint128(config.supply),\n            phantomQuote: phantomQuote,\n            graduationThreshold: threshold,\n            curveFeeBps: uint16(config.curveFeeBps),\n            poolFee: config.poolFee,\n            tickSpacing: config.tickSpacing,\n            sweptQuote: 0,\n            sweptTokens: 0,\n            sweptAt: 0,\n            targetLpTokens: 0,\n            seededQuote: 0,\n            seededToken: 0,\n            positionId: 0\n        });\n        tokenForCurve[curve] = token;\n        _creatorFeeRecipients[token] = creatorFeeRecipient;\n\n        emit TokenLaunched(token, curve, creator, pairToken, params.launchConfigId, threshold);\n    }\n\n    /// @notice Returns the stored launch record for a token.\n    /// @dev An unknown token returns an all-zero record; state-changing functions use _requireLaunch.\n    function getLaunch(address token) external view returns (Launch memory) {\n        return _launches[token];\n    }\n\n    /// @notice Returns a Pons-shaped record for launchpad indexers and bots.\n    function getLaunchedToken(address token) external view returns (LaunchedToken memory launched) {\n        Launch storage launch = _launches[token];\n        bool exists = launch.token != address(0);\n        uint8 phase;\n        if (exists) {\n            ClankBondingCurve.State curveState = ClankBondingCurve(payable(launch.curve)).state();\n            if (curveState == ClankBondingCurve.State.Swept) phase = 1;\n            if (curveState == ClankBondingCurve.State.PoolCreated) phase = 2;\n            if (curveState == ClankBondingCurve.State.Rescued) phase = 3;\n        }\n        launched = LaunchedToken({\n            token: launch.token,\n            curve: launch.curve,\n            deployer: launch.creator,\n            creatorFeeRecipient: _creatorFeeRecipients[token],\n            pairToken: launch.pairToken,\n            graduationThreshold: launch.graduationThreshold,\n            poolFee: launch.poolFee,\n            tickSpacing: launch.tickSpacing,\n            creatorTaxBps: 0,\n            buybackEnabled: false,\n            phase: phase,\n            sweptQuote: launch.sweptQuote,\n            sweptTokens: launch.sweptTokens,\n            sweptAt: launch.sweptAt,\n            exists: exists\n        });\n    }\n\n    /// @notice Advances a Ready launch to Swept by collecting its exact tracked reserves.\n    /// @dev Permissionless and retryable. Forced ETH is not swept. A revert restores both the\n    /// curve state and this factory's scoped receive guard.\n    /// @param token Launched token identifying the curve.\n    function graduate(address token) external nonReentrant {\n        _graduate(token);\n    }\n\n    function _graduate(address token) private {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Ready) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Ready, curveState);\n        }\n        uint256 quotedReserve = curve.realQuoteReserve();\n        uint256 quotedTokens = curve.realTokenReserve();\n        graduationGuard.assertSeedableForCurve(\n            token, launch.pairToken, launch.tickSpacing, quotedReserve, quotedTokens, launch.phantomQuote\n        );\n\n        _sweepCurve(token, launch, curve);\n    }\n\n    /// @notice After seven days in Ready, retries graduation before sweeping without the seed preflight.\n    /// @dev The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure.\n    function forceSweptGraduation(address token) external onlyOwner nonReentrant {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Ready) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Ready, curveState);\n        }\n        uint256 availableAt = uint256(curve.readyAt()) + GRADUATION_RESCUE_DELAY;\n        if (block.timestamp < availableAt) revert GraduationRescueTooEarly(availableAt);\n\n        // Preserve the full call budget under EIP-150 and leave gas for the fallback sweep.\n        if (gasleft() < RESCUE_MIGRATION_GAS + RESCUE_MIGRATION_GAS / 63 + RESCUE_GAS_RESERVE) {\n            revert InsufficientRescueGas();\n        }\n        try this.attemptForceGraduation{gas: RESCUE_MIGRATION_GAS}(token) {\n            return;\n        } catch {}\n\n        _sweepCurve(token, launch, curve);\n        emit LaunchForceSwept(token);\n    }\n\n    /// @dev Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active.\n    function attemptForceGraduation(address token) external {\n        if (msg.sender != address(this)) revert OnlySelf();\n        _graduate(token);\n    }\n\n    function _sweepCurve(address token, Launch storage launch, ClankBondingCurve curve) private {\n        uint256 quoteBalanceBefore =\n            launch.pairToken == address(0) ? address(this).balance : IERC20(launch.pairToken).balanceOf(address(this));\n        if (launch.pairToken == address(0)) _expectedNativeSender = launch.curve;\n        (, uint256 tokenAmount) = curve.graduate(address(this));\n        _expectedNativeSender = address(0);\n        uint256 quoteBalanceAfter =\n            launch.pairToken == address(0) ? address(this).balance : IERC20(launch.pairToken).balanceOf(address(this));\n        if (quoteBalanceAfter < quoteBalanceBefore) revert InvalidEconomics();\n        uint256 quoteAmount = quoteBalanceAfter - quoteBalanceBefore;\n        if (quoteAmount == 0 || tokenAmount == 0) revert NothingToGraduate();\n        if (quoteAmount > type(uint128).max || tokenAmount > type(uint128).max) {\n            revert InvalidEconomics();\n        }\n\n        launch.sweptQuote = uint128(quoteAmount);\n        launch.sweptTokens = uint128(tokenAmount);\n        launch.sweptAt = uint64(block.timestamp);\n        emit LaunchSwept(token, quoteAmount, tokenAmount);\n    }\n\n    /// @notice Advances a Swept launch to PoolCreated and permanently locks V4 liquidity.\n    function createGraduatedPool(address token) external nonReentrant returns (uint256 positionId) {\n        ClankGraduationExecutor.Result memory result = _createGraduatedPool(token);\n        return result.positionId;\n    }\n\n    function _createGraduatedPool(address token) private returns (ClankGraduationExecutor.Result memory result) {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Swept) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Swept, curveState);\n        }\n        uint256 quoteAmount = launch.sweptQuote;\n        uint256 tokenAmount = launch.sweptTokens;\n        if (quoteAmount == 0 || tokenAmount == 0) revert MigrationAmountTooSmall();\n\n        launch.targetLpTokens = uint128(tokenAmount);\n\n        _requireInitializationHookWiring();\n        bool quoteIsCurrency0 = launch.pairToken < token;\n        address currency0 = quoteIsCurrency0 ? launch.pairToken : token;\n        address currency1 = quoteIsCurrency0 ? token : launch.pairToken;\n        PoolKey memory key = PoolKey({\n            currency0: Currency.wrap(currency0),\n            currency1: Currency.wrap(currency1),\n            fee: launch.poolFee,\n            tickSpacing: launch.tickSpacing,\n            hooks: IHooks(address(initializationHook))\n        });\n        uint160 sqrtPriceX96 = graduationGuard.assertSeedableForCurve(\n            token, launch.pairToken, launch.tickSpacing, quoteAmount, tokenAmount, launch.phantomQuote\n        );\n        IPoolManager(poolManager).initialize(key, sqrtPriceX96);\n\n        IERC20(token).safeTransfer(address(graduationExecutor), tokenAmount);\n        if (launch.pairToken != address(0)) {\n            IERC20(launch.pairToken).safeTransfer(address(graduationExecutor), quoteAmount);\n        }\n\n        result = graduationExecutor.mintFullRangePosition{value: launch.pairToken == address(0) ? quoteAmount : 0}(\n            token, launch.pairToken, launch.poolFee, launch.tickSpacing, uint128(quoteAmount), uint128(tokenAmount)\n        );\n\n        launch.seededQuote = result.seededQuote;\n        launch.seededToken = result.seededToken;\n        launch.positionId = result.positionId;\n        launch.sweptQuote = 0;\n        launch.sweptTokens = 0;\n        launch.sweptAt = 0;\n\n        locker.lockPosition(token, result.positionId, launch.pairToken);\n        curve.markPoolCreated();\n\n        emit PoolGraduated(token, result.positionId, result.seededToken, result.seededQuote);\n    }\n\n    /// @notice Seven days after sweeping, retries migration before releasing failed reserves to the owner.\n    /// @dev Ordinary migration remains permissionless and retryable without resetting sweptAt.\n    /// Any failure within the fixed migration gas budget permits recovery, including out-of-gas.\n    /// @param recipient Retained for ABI compatibility; must be nonzero. Recovery always pays owner().\n    function rescueSweptGraduation(address token, address recipient) external onlyOwner nonReentrant {\n        if (recipient == address(0)) revert ZeroAddress();\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Swept) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Swept, curveState);\n        }\n\n        uint256 availableAt = uint256(launch.sweptAt) + GRADUATION_RESCUE_DELAY;\n        if (block.timestamp < availableAt) revert GraduationRescueTooEarly(availableAt);\n\n        // Active Uniswap callbacks are not migration failures and must never authorize recovery.\n        if (TransientStateLibrary.isUnlocked(IPoolManager(poolManager))) revert IPoolManager.AlreadyUnlocked();\n        if (IMsgSender(positionManager).msgSender() != address(0)) revert PositionManagerLocked();\n\n        // Include the EIP-150 headroom so the EVM cannot silently truncate the requested call gas.\n        if (gasleft() < RESCUE_MIGRATION_GAS + RESCUE_MIGRATION_GAS / 63 + RESCUE_GAS_RESERVE) {\n            revert InsufficientRescueGas();\n        }\n        try this.attemptRescueMigration{gas: RESCUE_MIGRATION_GAS}(token) {\n            return;\n        } catch {}\n\n        uint256 quoteAmount = launch.sweptQuote;\n        uint256 tokenAmount = launch.sweptTokens;\n        if (quoteAmount == 0 || tokenAmount == 0) revert NothingToGraduate();\n        address pairToken = launch.pairToken;\n        address recoveryOwner = owner();\n\n        launch.sweptQuote = 0;\n        launch.sweptTokens = 0;\n        launch.sweptAt = 0;\n        curve.markRescued();\n\n        if (pairToken == address(0)) {\n            (bool sent,) = payable(recoveryOwner).call{value: quoteAmount}(\"\");\n            if (!sent) revert FeeTransferFailed();\n        } else {\n            IERC20(pairToken).safeTransfer(recoveryOwner, quoteAmount);\n        }\n        IERC20(token).safeTransfer(recoveryOwner, tokenAmount);\n\n        emit LaunchGraduationRescued(token, recoveryOwner, quoteAmount, tokenAmount);\n    }\n\n    /// @dev External rollback boundary for rescue's try/catch. Only the guarded rescue may enter.\n    /// The outer nonReentrant guard remains active throughout migration and reserve release.\n    function attemptRescueMigration(address token) external {\n        if (msg.sender != address(this)) revert OnlySelf();\n        _createGraduatedPool(token);\n    }\n\n    /// @notice Predicts the exact Pons-compatible launch, including quote asset and full metadata.\n    /// @dev Applies launch metadata bounds and returns the committed launch identifier with both addresses.\n    function predictLaunch(address creator, TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        external\n        view\n        returns (address token, address curve, bytes32 launchId)\n    {\n        return _predictCompatibleLaunch(creator, params, launchConfigId, pairToken);\n    }\n\n    function _predictCompatibleLaunch(\n        address creator,\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken\n    ) private view returns (address token, address curve, bytes32 launchId) {\n        if (address(launchDeployer) == address(0)) revert LaunchDeployerNotSet();\n        if (params.creatorTaxBps != 0) revert UnsupportedCreatorTax();\n        if (params.buybackEnabled) revert UnsupportedBuyback();\n\n        LaunchParams memory launchParams = _compatibleLaunchParams(params, launchConfigId, pairToken);\n        _validateMetadata(launchParams, params.logo, params.description, params.socials);\n        (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold) =\n            _resolveLaunchTerms(launchParams, pairToken);\n        launchId = _launchIdFor(creator, launchParams, economics, params.logo, params.description, params.socials);\n        (token, curve) = launchDeployer.predictLaunchAddresses(\n            _launchDeployment(\n                launchParams,\n                config,\n                pairToken,\n                phantomQuote,\n                threshold,\n                launchId,\n                creator,\n                params.logo,\n                params.description,\n                params.socials\n            )\n        );\n    }\n\n    /// @dev Builds the exact deployer input shared by deployment and address prediction.\n    function _launchDeployment(\n        LaunchParams memory params,\n        LaunchConfig memory config,\n        address pairToken,\n        uint128 phantomQuote,\n        uint128 graduationThreshold,\n        bytes32 launchId,\n        address creator,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private view returns (ClankLaunchDeployment memory deployment) {\n        ClankBondingCurve.Config memory curveConfig = ClankBondingCurve.Config({\n            factory: address(this),\n            feeEscrow: address(feeEscrow),\n            protocolFeeRecipient: address(this),\n            creator: creator,\n            pairToken: pairToken,\n            feeBps: uint16(config.curveFeeBps),\n            snipeTaxStartBps: uint16(snipeTaxStartBps),\n            snipeTaxSeconds: uint32(snipeTaxSeconds),\n            phantomQuote: phantomQuote,\n            graduationThreshold: graduationThreshold,\n            graduationGuard: address(graduationGuard),\n            tickSpacing: config.tickSpacing\n        });\n        deployment = ClankLaunchDeployment({\n            name: params.name,\n            symbol: params.symbol,\n            metadata: ClankLauncherToken.Metadata({\n                logo: logo,\n                description: description,\n                socials: ClankLauncherToken.Socials({\n                    twitter: socials.twitter,\n                    telegram: socials.telegram,\n                    discord: socials.discord,\n                    website: socials.website,\n                    farcaster: socials.farcaster\n                })\n            }),\n            creator: creator,\n            supply: config.supply,\n            launchId: launchId,\n            curveConfig: curveConfig\n        });\n    }\n\n    /// @dev Commits creator identity, metadata, config identifier, economics, and user salt.\n    function _launchIdFor(\n        address creator,\n        LaunchParams memory params,\n        bytes32 economics,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private pure returns (bytes32) {\n        bytes32 metadataDigest = keccak256(abi.encode(logo, description, socials));\n        return keccak256(\n            abi.encode(\n                creator,\n                params.name,\n                params.symbol,\n                params.logo,\n                metadataDigest,\n                params.launchConfigId,\n                economics,\n                params.userSalt\n            )\n        );\n    }\n\n    /// @dev Resolves the current config and requires the creator's expected economics commitment.\n    function _resolveLaunchTerms(LaunchParams memory params, address pairToken)\n        private\n        view\n        returns (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold)\n    {\n        config = _requireLaunchConfig(params.launchConfigId);\n        (phantomQuote, threshold) = _quoteEconomics(config, pairToken);\n        economics = _economicsDigest(config, pairToken, phantomQuote, threshold);\n        if (params.expectedEconomics != economics) {\n            revert LaunchEconomicsMismatch(params.expectedEconomics, economics);\n        }\n    }\n\n    /// @dev Hashes every economic field that determines curve or V4 launch behaviour.\n    function _economicsDigest(\n        LaunchConfig memory config,\n        address pairToken,\n        uint256 phantomQuote,\n        uint256 graduationThreshold\n    ) private view returns (bytes32) {\n        return keccak256(\n            abi.encode(\n                config.supply,\n                pairToken,\n                phantomQuote,\n                graduationThreshold,\n                config.curveFeeBps,\n                config.poolFee,\n                config.tickSpacing,\n                snipeTaxStartBps,\n                snipeTaxSeconds\n            )\n        );\n    }\n\n    function _quoteEconomics(LaunchConfig memory config, address pairToken)\n        private\n        view\n        returns (uint128 phantomQuote, uint128 threshold)\n    {\n        if (pairToken == address(0)) {\n            return (uint128(config.phantomQuote), uint128(config.graduationThreshold));\n        }\n        if (!approvedPairTokens[pairToken]) revert PairTokenNotApproved();\n        PairTokenEconomics memory economics = pairTokenEconomics[pairToken];\n        if (economics.phantomQuote == 0 || economics.graduationThreshold == 0) {\n            revert PairTokenEconomicsInvalid();\n        }\n        _requirePairTokenDecimals(pairToken, economics.decimals);\n        if (economics.phantomQuote > type(uint128).max || economics.graduationThreshold > type(uint128).max) {\n            revert PairTokenEconomicsInvalid();\n        }\n        return (uint128(economics.phantomQuote), uint128(economics.graduationThreshold));\n    }\n\n    function _requirePairTokenDecimals(address pairToken, uint8 expectedDecimals) private view {\n        try IERC20Metadata(pairToken).decimals() returns (uint8 actual) {\n            if (actual != expectedDecimals) revert PairTokenDecimalsMismatch(expectedDecimals, actual);\n        } catch {\n            revert PairTokenDecimalsUnavailable();\n        }\n    }\n\n    function _validateResolvedMigration(address token, address pairToken, int24 tickSpacing, uint128 phantomQuote)\n        private\n        view\n    {\n        uint256 quoteAmount = ClankCurveMath.minimumTerminalQuote(phantomQuote);\n        graduationGuard.assertSeedableForCurve(\n            token, pairToken, tickSpacing, quoteAmount, ClankCurveMath.MIGRATION_TOKENS, phantomQuote\n        );\n    }\n\n    /// @dev Applies bounded metadata lengths before constructor bytecode and storage allocation.\n    function _validateMetadata(\n        LaunchParams memory params,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private pure {\n        uint256 nameLength = bytes(params.name).length;\n        uint256 symbolLength = bytes(params.symbol).length;\n        if (\n            nameLength == 0 || nameLength > MAX_NAME_LENGTH || symbolLength == 0 || symbolLength > MAX_SYMBOL_LENGTH\n                || bytes(params.logo).length == 0 || bytes(params.logo).length > MAX_LOGO_LENGTH\n                || bytes(logo).length == 0 || bytes(logo).length > MAX_LOGO_LENGTH\n                || bytes(description).length > MAX_DESCRIPTION_LENGTH\n                || bytes(socials.twitter).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.telegram).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.discord).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.website).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.farcaster).length > MAX_SOCIAL_URI_LENGTH\n        ) revert InvalidMetadata();\n    }\n\n    /// @dev Rejects zero economics, invalid V4 parameters, and configurations that cannot produce\n    /// a non-zero terminal liquidity token allocation.\n    function _validateLaunchConfig(LaunchConfig memory config) private view {\n        if (\n            config.supply != ClankCurveMath.TOKEN_SUPPLY || config.phantomQuote == 0\n                || config.phantomQuote > ClankCurveMath.MAX_PHANTOM_QUOTE\n                || config.graduationThreshold != ClankCurveMath.graduationThreshold(config.phantomQuote)\n        ) {\n            revert InvalidEconomics();\n        }\n        if (config.curveFeeBps > MAX_CURVE_FEE_BPS) revert CurveFeeTooHigh();\n        if (config.poolFee > MAX_V4_STATIC_FEE || config.tickSpacing <= 0 || config.tickSpacing > MAX_V4_TICK_SPACING) {\n            revert InvalidPoolConfiguration();\n        }\n\n        _validateResolvedMigration(address(1), address(0), config.tickSpacing, uint128(config.phantomQuote));\n    }\n\n    /// @dev Returns a config storage reference or reverts for an unknown identifier.\n    function _requireLaunchConfig(uint256 launchConfigId) private view returns (LaunchConfig storage config) {\n        if (launchConfigId >= _launchConfigs.length) revert InvalidLaunchConfigId();\n        config = _launchConfigs[launchConfigId];\n    }\n\n    /// @dev Returns a launch storage reference or reverts for an unknown token.\n    function _requireLaunch(address token) private view returns (Launch storage launch) {\n        launch = _launches[token];\n        if (launch.token == address(0)) revert TokenNotFound();\n    }\n\n    /// @dev Ensures the one-time hook wiring is complete before a pool can be initialized.\n    function _requireInitializationHookWiring() private view {\n        address wiredFactory = initializationHook.factory();\n        if (wiredFactory != address(this)) {\n            revert InitializationHookFactoryMismatch(address(this), wiredFactory);\n        }\n    }\n}\n\n/// @dev PositionManager's public immutable Permit2 getter is not declared by IPositionManager.\ninterface IPositionManagerPermit2 {\n    function permit2() external view returns (address);\n}\n"},"contracts/ClankLaunchLocker.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC721Receiver} from \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {Actions} from \"@uniswap/v4-periphery/src/libraries/Actions.sol\";\n\n/// @notice Minimal ownership query used to verify a Uniswap V4 position recipient.\ninterface IERC721Owner {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/// @notice Current protocol fee destination exposed by the factory.\ninterface IClankFeeDestination {\n    function feeDestination() external view returns (address);\n}\n\n/// @title Clank permanent liquidity locker\n/// @notice Receives and records each graduated launch's Uniswap V4 position NFT.\n/// @dev The contract intentionally exposes no withdrawal, approval, transfer, or arbitrary-call\n/// surface. A recorded position therefore remains owned by this locker permanently.\ncontract ClankLaunchLocker is IERC721Receiver, ReentrancyGuard {\n    error InvalidCurrencyPair();\n    error InvalidPositionOwner();\n    error NotFactory();\n    error NotPositionManager();\n    error PositionAlreadyRecorded();\n\n    /// @notice Factory authorised to record positions after successful graduation.\n    address public immutable factory;\n    /// @notice Only ERC-721 contract accepted by this locker.\n    address public immutable positionManager;\n\n    /// @notice Position NFT associated with each launched token.\n    mapping(address token => uint256 positionId) public lockedPositions;\n    /// @notice Explicit token marker because a zero position ID is valid.\n    mapping(address token => bool recorded) private _locked;\n    /// @notice Explicit position marker prevents one NFT from representing multiple launches.\n    mapping(uint256 positionId => bool recorded) private _positionRecorded;\n    /// @notice Quote currency paired with each launched token; address(0) represents native ETH.\n    mapping(address token => address pairToken) public pairTokenForToken;\n\n    event PositionLocked(address indexed token, uint256 indexed tokenId);\n    event LpFeesCollected(address indexed token, uint256 indexed positionId, address indexed beneficiary);\n\n    /// @param positionManager_ Uniswap V4 PositionManager whose NFTs may be received.\n    constructor(address positionManager_) {\n        if (positionManager_ == address(0)) revert NotPositionManager();\n        factory = msg.sender;\n        positionManager = positionManager_;\n    }\n\n    /// @notice Records the permanent token-to-position relationship.\n    /// @dev The NFT must already be owned by this locker. Explicit markers prevent reuse even when\n    /// positionId is zero.\n    function lockPosition(address token, uint256 positionId, address pairToken) external {\n        if (msg.sender != factory) revert NotFactory();\n        if (token == address(0) || token == pairToken) revert InvalidCurrencyPair();\n        if (_positionRecorded[positionId] || _locked[token]) {\n            revert PositionAlreadyRecorded();\n        }\n        if (IERC721Owner(positionManager).ownerOf(positionId) != address(this)) {\n            revert InvalidPositionOwner();\n        }\n\n        lockedPositions[token] = positionId;\n        pairTokenForToken[token] = pairToken;\n        _locked[token] = true;\n        _positionRecorded[positionId] = true;\n        emit PositionLocked(token, positionId);\n    }\n\n    /// @notice Permissionlessly collects both currencies earned by a locked V4 position.\n    /// @dev Zero liquidity is removed, so principal stays permanently locked while fees go directly\n    /// to the factory's current protocol fee destination.\n    function collectFees(address token) external nonReentrant {\n        _collectFees(token, IClankFeeDestination(factory).feeDestination());\n    }\n\n    function _collectFees(address token, address recipient) private {\n        if (!_locked[token]) revert InvalidPositionOwner();\n\n        address pairToken = pairTokenForToken[token];\n        Currency currency0 = Currency.wrap(pairToken < token ? pairToken : token);\n        Currency currency1 = Currency.wrap(pairToken < token ? token : pairToken);\n        bytes memory actions = abi.encodePacked(uint8(Actions.DECREASE_LIQUIDITY), uint8(Actions.TAKE_PAIR));\n        bytes[] memory params = new bytes[](2);\n        params[0] = abi.encode(lockedPositions[token], uint256(0), uint128(0), uint128(0), bytes(\"\"));\n        params[1] = abi.encode(currency0, currency1, recipient);\n\n        IPositionManager(positionManager).modifyLiquidities(abi.encode(actions, params), block.timestamp);\n        emit LpFeesCollected(token, lockedPositions[token], recipient);\n    }\n\n    /// @notice Returns whether a launch position has been permanently recorded.\n    function isLocked(address token) external view returns (bool) {\n        return _locked[token];\n    }\n\n    /// @notice Permanently locked migration dust and direct token donations.\n    function lockedTokenSupply(address token) external view returns (uint256) {\n        if (token.code.length == 0) return 0;\n        return IERC20(token).balanceOf(address(this));\n    }\n\n    /// @notice Accepts a position NFT only from the immutable PositionManager.\n    /// @return ERC-721 receiver selector confirming acceptance.\n    function onERC721Received(address, address, uint256, bytes calldata) external view returns (bytes4) {\n        if (msg.sender != positionManager) revert NotPositionManager();\n        return IERC721Receiver.onERC721Received.selector;\n    }\n}\n"},"contracts/ClankLauncherToken.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport {ERC20Burnable} from \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank launcher token\n/// @notice Fixed-supply ERC-20 deployed for one launch and minted completely to its curve.\n/// @dev The reference and metadata fields mirror the Pons launcher-token model for indexer\n/// compatibility and grant no privileges.\ncontract ClankLauncherToken is ERC20, ERC20Burnable {\n    struct Socials {\n        string twitter;\n        string telegram;\n        string discord;\n        string website;\n        string farcaster;\n    }\n\n    struct Metadata {\n        string logo;\n        string description;\n        Socials socials;\n    }\n\n    error InvalidAddress();\n    error InvalidSupply();\n    error FixedSupply();\n\n    address public immutable deployer;\n    address public immutable launchFactory;\n    address public immutable curve;\n    string public logo;\n    string public description;\n\n    Socials private _socials;\n\n    constructor(\n        string memory name_,\n        string memory symbol_,\n        Metadata memory metadata_,\n        address deployer_,\n        address curve_,\n        address launchFactory_,\n        uint256 supply_\n    ) ERC20(name_, symbol_) {\n        if (deployer_ == address(0) || curve_ == address(0) || launchFactory_ == address(0)) {\n            revert InvalidAddress();\n        }\n        if (supply_ != ClankCurveMath.TOKEN_SUPPLY) revert InvalidSupply();\n\n        deployer = deployer_;\n        launchFactory = launchFactory_;\n        curve = curve_;\n        logo = metadata_.logo;\n        description = metadata_.description;\n        _socials = metadata_.socials;\n        _mint(curve_, supply_);\n    }\n\n    /// @dev Retain the ERC20Burnable selectors but forbid supply changes after the initial mint.\n    function _update(address from, address to, uint256 value) internal override {\n        if (to == address(0)) revert FixedSupply();\n        super._update(from, to, value);\n    }\n\n    /// @notice Returns the five social metadata fields in the Pons-compatible order.\n    function socials()\n        external\n        view\n        returns (\n            string memory twitter,\n            string memory telegram,\n            string memory discord,\n            string memory website,\n            string memory farcaster\n        )\n    {\n        Socials memory values = _socials;\n        return (values.twitter, values.telegram, values.discord, values.website, values.farcaster);\n    }\n\n    /// @notice Returns creator and metadata in the Pons-compatible launcher-token tuple.\n    function getTokenInfo()\n        external\n        view\n        returns (\n            address tokenDeployer,\n            string memory tokenLogo,\n            string memory tokenDescription,\n            Socials memory tokenSocials\n        )\n    {\n        return (deployer, logo, description, _socials);\n    }\n}\n"},"contracts/libraries/ClankCurveMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\n\n/// @title Clank bonding-curve mathematics\n/// @notice Contains fee conversions and virtual-reserve XYK quote functions.\n/// @dev Rounding deliberately favours protocol solvency: outputs round down while required\n/// inputs and fees round up.\nlibrary ClankCurveMath {\n    error GraduationQuoteTooLarge();\n\n    uint256 internal constant BPS = 10_000;\n    uint256 internal constant MAX_GRADUATION_QUOTE = uint256(uint128(type(int128).max));\n    uint256 internal constant TOKEN_SUPPLY = 1_000_000_000 ether;\n    uint256 internal constant MIGRATION_TOKENS = 220_000_000 ether;\n    uint256 internal constant SOLD_TOKENS = TOKEN_SUPPLY - MIGRATION_TOKENS;\n    uint256 internal constant ALLOCATION_DIFFERENCE = SOLD_TOKENS - MIGRATION_TOKENS;\n    // U = L^2 / (A - L). Round down by less than one token base unit.\n    uint256 internal constant VIRTUAL_TOKENS = MIGRATION_TOKENS * MIGRATION_TOKENS / ALLOCATION_DIFFERENCE;\n    // Absolute full-range V4 seed boundary for the fixed allocation at tick spacing 1 with the token sorted first.\n    // The boundary leaves no rounding headroom: intermediate trades near it may revert when their projected terminal\n    // liquidity exceeds V4's per-tick cap. We deliberately retain the theoretical maximum for initial configuration\n    // and rely on the curve's per-trade graduation validation to ensure every accepted state remains migratable.\n    uint256 internal constant MAX_PHANTOM_QUOTE = 65_662_411_597_810_441_635_668_862_687_492_298_262;\n\n    /// @notice Required net quote threshold for the fixed 780M/220M allocation.\n    /// @dev Quote inputs are bounded to uint128 by callers; multiplication cannot overflow.\n    function graduationThreshold(uint256 phantomQuote) internal pure returns (uint256) {\n        return Math.mulDiv(phantomQuote, ALLOCATION_DIFFERENCE, MIGRATION_TOKENS);\n    }\n\n    /// @notice Quote required to sell the allocation in one trade, including integer rounding.\n    function minimumTerminalQuote(uint256 phantomQuote) internal pure returns (uint256) {\n        return requiredBuyInput(phantomQuote, TOKEN_SUPPLY + VIRTUAL_TOKENS, SOLD_TOKENS);\n    }\n\n    /// @notice Rejects trades whose rounded reserves would exceed V4's signed quote limit at graduation.\n    function validateGraduationQuote(uint256 realQuote, uint256 realTokens, uint256 phantomQuote)\n        internal\n        pure\n        returns (uint256 terminalQuote)\n    {\n        terminalQuote = realQuote\n            + requiredBuyInput(realQuote + phantomQuote, realTokens + VIRTUAL_TOKENS, realTokens - MIGRATION_TOKENS);\n        if (terminalQuote > MAX_GRADUATION_QUOTE) revert GraduationQuoteTooLarge();\n    }\n\n    /// @notice Calculates a fee included in a gross amount.\n    /// @param grossAmount Total amount including the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Fee amount rounded up.\n    function feeFromGross(uint256 grossAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(grossAmount, feeBps, BPS, Math.Rounding.Ceil);\n    }\n\n    /// @notice Converts a gross amount into the amount available after its included fee.\n    /// @param grossAmount Total amount including the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Net amount rounded down.\n    function netFromGross(uint256 grossAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(grossAmount, BPS - feeBps, BPS);\n    }\n\n    /// @notice Calculates the gross amount required to produce an exact net amount.\n    /// @param netAmount Amount that must remain after the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Gross amount rounded up.\n    function grossFromNet(uint256 netAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(netAmount, BPS, BPS - feeBps, Math.Rounding.Ceil);\n    }\n\n    /// @notice Quotes token output for a net quote-asset input.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param netQuoteIn Quote amount entering the pricing reserve after fees.\n    /// @return Token output rounded down.\n    function buyOutput(uint256 effectiveQuote, uint256 tokenReserve, uint256 netQuoteIn)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(netQuoteIn, tokenReserve, effectiveQuote + netQuoteIn);\n    }\n\n    /// @notice Quotes the net quote input required for an exact token output.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param tokensOut Exact token amount requested.\n    /// @return Required quote input rounded up.\n    function requiredBuyInput(uint256 effectiveQuote, uint256 tokenReserve, uint256 tokensOut)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(effectiveQuote, tokensOut, tokenReserve - tokensOut, Math.Rounding.Ceil);\n    }\n\n    /// @notice Quotes gross quote output for a token input.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param tokensIn Token amount entering the reserve.\n    /// @return Gross quote output rounded down.\n    function sellOutput(uint256 effectiveQuote, uint256 tokenReserve, uint256 tokensIn)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(effectiveQuote, tokensIn, tokenReserve + tokensIn);\n    }\n}\n"},"contracts/libraries/ClankMigrationMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {ClankCurveMath} from \"./ClankCurveMath.sol\";\n\n/// @title Clank graduation mathematics\n/// @notice Converts terminal curve reserves into Uniswap V4 prices.\nlibrary ClankMigrationMath {\n    error UnsupportedPrice();\n    error ZeroAmount();\n\n    /// @notice Computes the terminal curve price from the same effective reserves used for trading.\n    function migrationPrice(\n        address token,\n        address pairToken,\n        uint256 realQuote,\n        uint256 realTokens,\n        uint256 phantomQuote\n    ) internal pure returns (uint160) {\n        uint256 quote = realQuote + phantomQuote;\n        uint256 tokens = realTokens + ClankCurveMath.VIRTUAL_TOKENS;\n        return pairToken < token ? sqrtPriceX96(quote, tokens) : sqrtPriceX96(tokens, quote);\n    }\n\n    /// @notice Converts an amount1/amount0 ratio into Uniswap's Q64.96 square-root price.\n    /// @dev Uses two precision paths to avoid overflow across the supported uint256 range.\n    /// @param amount0 Amount of the address-sorted currency0.\n    /// @param amount1 Amount of the address-sorted currency1.\n    /// @return result floor(sqrt(amount1 / amount0) * 2^96).\n    function sqrtPriceX96(uint256 amount0, uint256 amount1) internal pure returns (uint160 result) {\n        if (amount0 == 0 || amount1 == 0) revert ZeroAmount();\n\n        if (amount0 > type(uint192).max || amount1 < (amount0 << 64)) {\n            uint256 ratioX192 = FullMath.mulDiv(amount1, 1 << 192, amount0);\n            uint256 root = Math.sqrt(ratioX192);\n            if (root > type(uint160).max) revert UnsupportedPrice();\n            return uint160(root);\n        }\n\n        if (amount0 <= type(uint128).max && amount1 >= (amount0 << 128)) revert UnsupportedPrice();\n        uint256 ratioX128 = FullMath.mulDiv(amount1, 1 << 128, amount0);\n        uint256 rootX64 = Math.sqrt(ratioX128);\n        if (rootX64 > type(uint128).max) revert UnsupportedPrice();\n        result = uint160(rootX64 << 32);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\n\npragma solidity ^0.8.20;\n\nimport {Ownable} from \"./Ownable.sol\";\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\n * old one. This can help prevent common mistakes, such as transfers of ownership to\n * incorrect accounts, or to contracts that are unable to interact with the\n * permission system.\n *\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (Ownable).\n */\nabstract contract Ownable2Step is Ownable {\n    address private _pendingOwner;\n\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        return _pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     *\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        _pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        delete _pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * Both values are immutable: they can only be set once during construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /// @inheritdoc IERC20\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /// @inheritdoc IERC20\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /// @inheritdoc IERC20\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation sets the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the `transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC20} from \"../ERC20.sol\";\nimport {Context} from \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys a `value` amount of tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 value) public virtual {\n        _burn(_msgSender(), value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, deducting from\n     * the caller's allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `value`.\n     */\n    function burnFrom(address account, uint256 value) public virtual {\n        _spendAllowance(account, _msgSender(), value);\n        _burn(account, value);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Create2.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Create2.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Helper to make usage of the `CREATE2` EVM opcode easier and safer.\n * `CREATE2` can be used to compute in advance the address where a smart\n * contract will be deployed, which allows for interesting new mechanisms known\n * as 'counterfactual interactions'.\n *\n * See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more\n * information.\n */\nlibrary Create2 {\n    /**\n     * @dev There's no code to deploy.\n     */\n    error Create2EmptyBytecode();\n\n    /**\n     * @dev Deploys a contract using `CREATE2`. The address where the contract\n     * will be deployed can be known in advance via {computeAddress}.\n     *\n     * The bytecode for a contract can be obtained from Solidity with\n     * `type(contractName).creationCode`.\n     *\n     * Requirements:\n     *\n     * - `bytecode` must not be empty.\n     * - `salt` must have not been used for `bytecode` already.\n     * - the factory must have a balance of at least `amount`.\n     * - if `amount` is non-zero, `bytecode` must have a `payable` constructor.\n     */\n    function deploy(uint256 amount, bytes32 salt, bytes memory bytecode) internal returns (address addr) {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (bytecode.length == 0) {\n            revert Create2EmptyBytecode();\n        }\n        assembly (\"memory-safe\") {\n            addr := create2(amount, add(bytecode, 0x20), mload(bytecode), salt)\n        }\n        if (addr == address(0)) {\n            if (LowLevelCall.returnDataSize() == 0) {\n                revert Errors.FailedDeployment();\n            } else {\n                LowLevelCall.bubbleRevert();\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the address where a contract will be stored if deployed via {deploy}. Any change in the\n     * `bytecodeHash` or `salt` will result in a new destination address.\n     */\n    function computeAddress(bytes32 salt, bytes32 bytecodeHash) internal view returns (address) {\n        return computeAddress(salt, bytecodeHash, address(this));\n    }\n\n    /**\n     * @dev Returns the address where a contract will be stored if deployed via {deploy} from a contract located at\n     * `deployer`. If `deployer` is this contract's address, returns the same value as {computeAddress}.\n     */\n    function computeAddress(bytes32 salt, bytes32 bytecodeHash, address deployer) internal pure returns (address addr) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40) // Get free memory pointer\n\n            // |                     | ↓ ptr ...  ↓ ptr + 0x0B (start) ...  ↓ ptr + 0x20 ...  ↓ ptr + 0x40 ...   |\n            // |---------------------|---------------------------------------------------------------------------|\n            // | bytecodeHash        |                                                        CCCCCCCCCCCCC...CC |\n            // | salt                |                                      BBBBBBBBBBBBB...BB                   |\n            // | deployer            | 000000...0000AAAAAAAAAAAAAAAAAAA...AA                                     |\n            // | 0xFF                |            FF                                                             |\n            // |---------------------|---------------------------------------------------------------------------|\n            // | memory              | 000000...00FFAAAAAAAAAAAAAAAAAAA...AABBBBBBBBBBBBB...BBCCCCCCCCCCCCC...CC |\n            // | keccak(start, 0x55) |            ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ |\n\n            mstore(add(ptr, 0x40), bytecodeHash)\n            mstore(add(ptr, 0x20), salt)\n            mstore(ptr, deployer) // Right-aligned with 12 preceding garbage bytes\n            let start := add(ptr, 0x0b) // The hashed data starts at the final garbage byte which we will set to 0xff\n            mstore8(start, 0xff)\n            addr := and(keccak256(start, 0x55), 0xffffffffffffffffffffffffffffffffffffffff)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for functions to access any storage slot in a contract\ninterface IExtsload {\n    /// @notice Called by external contracts to access granular pool state\n    /// @param slot Key of slot to sload\n    /// @return value The value of the slot as bytes32\n    function extsload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access granular pool state\n    /// @param startSlot Key of slot to start sloading from\n    /// @param nSlots Number of slots to load into return value\n    /// @return values List of loaded values.\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory values);\n\n    /// @notice Called by external contracts to access sparse pool state\n    /// @param slots List of slots to SLOAD from.\n    /// @return values List of loaded values.\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Interface for functions to access any transient storage slot in a contract\ninterface IExttload {\n    /// @notice Called by external contracts to access transient storage of the contract\n    /// @param slot Key of slot to tload\n    /// @return value The value of the slot as bytes32\n    function exttload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access sparse transient pool state\n    /// @param slots List of slots to tload\n    /// @return values List of loaded values\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {BeforeSwapDelta} from \"../types/BeforeSwapDelta.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n/// See the Hooks library for the full spec.\n/// @dev Should only be callable by the v4 PoolManager.\ninterface IHooks {\n    /// @notice The hook called before the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @return bytes4 The function selector for the hook\n    function beforeInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96) external returns (bytes4);\n\n    /// @notice The hook called after the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @param tick The current tick after the state of a pool is initialized\n    /// @return bytes4 The function selector for the hook\n    function afterInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96, int24 tick)\n        external\n        returns (bytes4);\n\n    /// @notice The hook called before liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    /// @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\n    function beforeSwap(address sender, PoolKey calldata key, SwapParams calldata params, bytes calldata hookData)\n        external\n        returns (bytes4, BeforeSwapDelta, uint24);\n\n    /// @notice The hook called after a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterSwap(\n        address sender,\n        PoolKey calldata key,\n        SwapParams calldata params,\n        BalanceDelta delta,\n        bytes calldata hookData\n    ) external returns (bytes4, int128);\n\n    /// @notice The hook called before donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function afterDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"./IHooks.sol\";\nimport {IERC6909Claims} from \"./external/IERC6909Claims.sol\";\nimport {IProtocolFees} from \"./IProtocolFees.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IExtsload} from \"./IExtsload.sol\";\nimport {IExttload} from \"./IExttload.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\n\n/// @notice Interface for the PoolManager\ninterface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload {\n    /// @notice Thrown when a currency is not netted out after the contract is unlocked\n    error CurrencyNotSettled();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when unlock is called, but the contract is already unlocked\n    error AlreadyUnlocked();\n\n    /// @notice Thrown when a function is called that requires the contract to be unlocked, but it is not\n    error ManagerLocked();\n\n    /// @notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\n    error TickSpacingTooLarge(int24 tickSpacing);\n\n    /// @notice Pools must have a positive non-zero tickSpacing passed to #initialize\n    error TickSpacingTooSmall(int24 tickSpacing);\n\n    /// @notice PoolKey must have currencies where address(currency0) < address(currency1)\n    error CurrenciesOutOfOrderOrEqual(address currency0, address currency1);\n\n    /// @notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n    /// or on a pool that does not have a dynamic swap fee.\n    error UnauthorizedDynamicLPFeeUpdate();\n\n    /// @notice Thrown when trying to swap amount of 0\n    error SwapAmountCannotBeZero();\n\n    ///@notice Thrown when native currency is passed to a non native settlement\n    error NonzeroNativeValue();\n\n    /// @notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\n    error MustClearExactPositiveDelta();\n\n    /// @notice Emitted when a new pool is initialized\n    /// @param id The abi encoded hash of the pool key struct for the new pool\n    /// @param currency0 The first currency of the pool by address sort order\n    /// @param currency1 The second currency of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param hooks The hooks contract address for the pool, or address(0) if none\n    /// @param sqrtPriceX96 The price of the pool on initialization\n    /// @param tick The initial tick of the pool corresponding to the initialized price\n    event Initialize(\n        PoolId indexed id,\n        Currency indexed currency0,\n        Currency indexed currency1,\n        uint24 fee,\n        int24 tickSpacing,\n        IHooks hooks,\n        uint160 sqrtPriceX96,\n        int24 tick\n    );\n\n    /// @notice Emitted when a liquidity position is modified\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that modified the pool\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param liquidityDelta The amount of liquidity that was added or removed\n    /// @param salt The extra data to make positions unique\n    event ModifyLiquidity(\n        PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta, bytes32 salt\n    );\n\n    /// @notice Emitted for swaps between currency0 and currency1\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param amount0 The delta of the currency0 balance of the pool\n    /// @param amount1 The delta of the currency1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of the price of the pool after the swap\n    /// @param fee The swap fee in hundredths of a bip\n    event Swap(\n        PoolId indexed id,\n        address indexed sender,\n        int128 amount0,\n        int128 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick,\n        uint24 fee\n    );\n\n    /// @notice Emitted for donations\n    /// @param id The abi encoded hash of the pool key struct for the pool that was donated to\n    /// @param sender The address that initiated the donate call\n    /// @param amount0 The amount donated in currency0\n    /// @param amount1 The amount donated in currency1\n    event Donate(PoolId indexed id, address indexed sender, uint256 amount0, uint256 amount1);\n\n    /// @notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n    /// `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n    /// @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n    /// @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n    /// @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\n    function unlock(bytes calldata data) external returns (bytes memory);\n\n    /// @notice Initialize the state for a given pool ID\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The pool key for the pool to initialize\n    /// @param sqrtPriceX96 The initial square root price\n    /// @return tick The initial tick of the pool\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external returns (int24 tick);\n\n    /// @notice Modify the liquidity for the given pool\n    /// @dev Poke by calling with a zero liquidityDelta\n    /// @param key The pool to modify liquidity in\n    /// @param params The parameters for modifying the liquidity\n    /// @param hookData The data to pass through to the add/removeLiquidity hooks\n    /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n    /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious actor and integrators should be careful using the value\n    /// For pools with a single liquidity position, actors can donate to themselves to inflate feeGrowthGlobal (and consequently feesAccrued)\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);\n\n    /// @notice Swap against the given pool\n    /// @param key The pool to swap in\n    /// @param params The parameters for swapping\n    /// @param hookData The data to pass through to the swap hooks\n    /// @return swapDelta The balance delta of the address swapping\n    /// @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n    /// Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n    /// the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\n    function swap(PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta swapDelta);\n\n    /// @notice Donate the given currency amounts to the in-range liquidity providers of a pool\n    /// @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n    /// Donors should keep this in mind when designing donation mechanisms.\n    /// @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n    /// a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n    /// `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n    /// Read the comments in `Pool.swap()` for more information about this.\n    /// @param key The key of the pool to donate to\n    /// @param amount0 The amount of currency0 to donate\n    /// @param amount1 The amount of currency1 to donate\n    /// @param hookData The data to pass through to the donate hooks\n    /// @return BalanceDelta The delta of the caller after the donate\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        returns (BalanceDelta);\n\n    /// @notice Writes the current ERC20 balance of the specified currency to transient storage\n    /// This is used to checkpoint balances for the manager and derive deltas for the caller.\n    /// @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n    /// for native tokens because the amount to settle is determined by the sent value.\n    /// However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n    /// native funds, this function can be called with the native currency to then be able to settle the native currency\n    function sync(Currency currency) external;\n\n    /// @notice Called by the user to net out some value owed to the user\n    /// @dev Will revert if the requested amount is not available, consider using `mint` instead\n    /// @dev Can also be used as a mechanism for free flash loans\n    /// @param currency The currency to withdraw from the pool manager\n    /// @param to The address to withdraw to\n    /// @param amount The amount of currency to withdraw\n    function take(Currency currency, address to, uint256 amount) external;\n\n    /// @notice Called by the user to pay what is owed\n    /// @return paid The amount of currency settled\n    function settle() external payable returns (uint256 paid);\n\n    /// @notice Called by the user to pay on behalf of another address\n    /// @param recipient The address to credit for the payment\n    /// @return paid The amount of currency settled\n    function settleFor(address recipient) external payable returns (uint256 paid);\n\n    /// @notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n    /// A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n    /// @dev This could be used to clear a balance that is considered dust.\n    /// Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\n    function clear(Currency currency, uint256 amount) external;\n\n    /// @notice Called by the user to move value into ERC6909 balance\n    /// @param to The address to mint the tokens to\n    /// @param id The currency address to mint to ERC6909s, as a uint256\n    /// @param amount The amount of currency to mint\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function mint(address to, uint256 id, uint256 amount) external;\n\n    /// @notice Called by the user to move value from ERC6909 balance\n    /// @param from The address to burn the tokens from\n    /// @param id The currency address to burn from ERC6909s, as a uint256\n    /// @param amount The amount of currency to burn\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function burn(address from, uint256 id, uint256 amount) external;\n\n    /// @notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The key of the pool to update dynamic LP fees for\n    /// @param newDynamicLPFee The new dynamic pool LP fee\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external;\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\n\n/// @notice Interface for all protocol-fee related functions in the pool manager\ninterface IProtocolFees {\n    /// @notice Thrown when protocol fee is set too high\n    error ProtocolFeeTooLarge(uint24 fee);\n\n    /// @notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\n    error InvalidCaller();\n\n    /// @notice Thrown when collectProtocolFees is attempted on a token that is synced.\n    error ProtocolFeeCurrencySynced();\n\n    /// @notice Emitted when the protocol fee controller address is updated in setProtocolFeeController.\n    event ProtocolFeeControllerUpdated(address indexed protocolFeeController);\n\n    /// @notice Emitted when the protocol fee is updated for a pool.\n    event ProtocolFeeUpdated(PoolId indexed id, uint24 protocolFee);\n\n    /// @notice Given a currency address, returns the protocol fees accrued in that currency\n    /// @param currency The currency to check\n    /// @return amount The amount of protocol fees accrued in the currency\n    function protocolFeesAccrued(Currency currency) external view returns (uint256 amount);\n\n    /// @notice Sets the protocol fee for the given pool\n    /// @param key The key of the pool to set a protocol fee for\n    /// @param newProtocolFee The fee to set\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external;\n\n    /// @notice Sets the protocol fee controller\n    /// @param controller The new protocol fee controller\n    function setProtocolFeeController(address controller) external;\n\n    /// @notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n    /// @dev This will revert if the contract is unlocked\n    /// @param recipient The address to receive the protocol fees\n    /// @param currency The currency to withdraw\n    /// @param amount The amount of currency to withdraw\n    /// @return amountCollected The amount of currency successfully withdrawn\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected);\n\n    /// @notice Returns the current protocol fee controller address\n    /// @return address The current protocol fee controller address\n    function protocolFeeController() external view returns (address);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Minimal ERC20 interface for Uniswap\n/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3\ninterface IERC20Minimal {\n    /// @notice Returns an account's balance in the token\n    /// @param account The account for which to look up the number of tokens it has, i.e. its balance\n    /// @return The number of tokens held by the account\n    function balanceOf(address account) external view returns (uint256);\n\n    /// @notice Transfers the amount of token from the `msg.sender` to the recipient\n    /// @param recipient The account that will receive the amount transferred\n    /// @param amount The number of tokens to send from the sender to the recipient\n    /// @return Returns true for a successful transfer, false for an unsuccessful transfer\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Returns the current allowance given to a spender by an owner\n    /// @param owner The account of the token owner\n    /// @param spender The account of the token spender\n    /// @return The current allowance granted by `owner` to `spender`\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n    /// @param spender The account which will be allowed to spend a given amount of the owners tokens\n    /// @param amount The amount of tokens allowed to be used by `spender`\n    /// @return Returns true for a successful approval, false for unsuccessful\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n    /// @param sender The account from which the transfer will be initiated\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount of the transfer\n    /// @return Returns true for a successful transfer, false for unsuccessful\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n    /// @param from The account from which the tokens were sent, i.e. the balance decreased\n    /// @param to The account to which the tokens were sent, i.e. the balance increased\n    /// @param value The amount of tokens that were transferred\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n    /// @param owner The account that approved spending of its tokens\n    /// @param spender The account for which the spending allowance was modified\n    /// @param value The new allowance from the owner to the spender\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for claims over a contract balance, wrapped as a ERC6909\ninterface IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OperatorSet(address indexed owner, address indexed operator, bool approved);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    event Transfer(address caller, address indexed from, address indexed to, uint256 indexed id, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                                 FUNCTIONS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Owner balance of an id.\n    /// @param owner The address of the owner.\n    /// @param id The id of the token.\n    /// @return amount The balance of the token.\n    function balanceOf(address owner, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Spender allowance of an id.\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @return amount The allowance of the token.\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Checks if a spender is approved by an owner as an operator\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @return approved The approval status.\n    function isOperator(address owner, address spender) external view returns (bool approved);\n\n    /// @notice Transfers an amount of an id from the caller to a receiver.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Transfers an amount of an id from a sender to a receiver.\n    /// @param sender The address of the sender.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Approves an amount of an id to a spender.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Sets or removes an operator for the caller.\n    /// @param operator The address of the operator.\n    /// @param approved The approval status.\n    /// @return bool True, always\n    function setOperator(address operator, bool approved) external returns (bool);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\nlibrary CurrencyReserves {\n    using CustomRevert for bytes4;\n\n    /// bytes32(uint256(keccak256(\"ReservesOf\")) - 1)\n    bytes32 constant RESERVES_OF_SLOT = 0x1e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd95;\n    /// bytes32(uint256(keccak256(\"Currency\")) - 1)\n    bytes32 constant CURRENCY_SLOT = 0x27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b9;\n\n    function getSyncedCurrency() internal view returns (Currency currency) {\n        assembly (\"memory-safe\") {\n            currency := tload(CURRENCY_SLOT)\n        }\n    }\n\n    function resetCurrency() internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, 0)\n        }\n    }\n\n    function syncCurrencyAndReserves(Currency currency, uint256 value) internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            tstore(RESERVES_OF_SLOT, value)\n        }\n    }\n\n    function getSyncedReserves() internal view returns (uint256 value) {\n        assembly (\"memory-safe\") {\n            value := tload(RESERVES_OF_SLOT)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint128\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\nlibrary FixedPoint128 {\n    uint256 internal constant Q128 = 0x100000000000000000000000000000000;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {BeforeSwapDelta, BeforeSwapDeltaLibrary} from \"../types/BeforeSwapDelta.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {ParseBytes} from \"./ParseBytes.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\nlibrary Hooks {\n    using LPFeeLibrary for uint24;\n    using Hooks for IHooks;\n    using SafeCast for int256;\n    using BeforeSwapDeltaLibrary for BeforeSwapDelta;\n    using ParseBytes for bytes;\n    using CustomRevert for bytes4;\n\n    uint160 internal constant ALL_HOOK_MASK = uint160((1 << 14) - 1);\n\n    uint160 internal constant BEFORE_INITIALIZE_FLAG = 1 << 13;\n    uint160 internal constant AFTER_INITIALIZE_FLAG = 1 << 12;\n\n    uint160 internal constant BEFORE_ADD_LIQUIDITY_FLAG = 1 << 11;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_FLAG = 1 << 10;\n\n    uint160 internal constant BEFORE_REMOVE_LIQUIDITY_FLAG = 1 << 9;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_FLAG = 1 << 8;\n\n    uint160 internal constant BEFORE_SWAP_FLAG = 1 << 7;\n    uint160 internal constant AFTER_SWAP_FLAG = 1 << 6;\n\n    uint160 internal constant BEFORE_DONATE_FLAG = 1 << 5;\n    uint160 internal constant AFTER_DONATE_FLAG = 1 << 4;\n\n    uint160 internal constant BEFORE_SWAP_RETURNS_DELTA_FLAG = 1 << 3;\n    uint160 internal constant AFTER_SWAP_RETURNS_DELTA_FLAG = 1 << 2;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 1;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 0;\n\n    struct Permissions {\n        bool beforeInitialize;\n        bool afterInitialize;\n        bool beforeAddLiquidity;\n        bool afterAddLiquidity;\n        bool beforeRemoveLiquidity;\n        bool afterRemoveLiquidity;\n        bool beforeSwap;\n        bool afterSwap;\n        bool beforeDonate;\n        bool afterDonate;\n        bool beforeSwapReturnDelta;\n        bool afterSwapReturnDelta;\n        bool afterAddLiquidityReturnDelta;\n        bool afterRemoveLiquidityReturnDelta;\n    }\n\n    /// @notice Thrown if the address will not lead to the specified hook calls being called\n    /// @param hooks The address of the hooks contract\n    error HookAddressNotValid(address hooks);\n\n    /// @notice Hook did not return its selector\n    error InvalidHookResponse();\n\n    /// @notice Additional context for ERC-7751 wrapped error when a hook call fails\n    error HookCallFailed();\n\n    /// @notice The hook's delta changed the swap from exactIn to exactOut or vice versa\n    error HookDeltaExceedsSwapAmount();\n\n    /// @notice Utility function intended to be used in hook constructors to ensure\n    /// the deployed hooks address causes the intended hooks to be called\n    /// @param permissions The hooks that are intended to be called\n    /// @dev permissions param is memory as the function will be called from constructors\n    function validateHookPermissions(IHooks self, Permissions memory permissions) internal pure {\n        if (\n            permissions.beforeInitialize != self.hasPermission(BEFORE_INITIALIZE_FLAG)\n                || permissions.afterInitialize != self.hasPermission(AFTER_INITIALIZE_FLAG)\n                || permissions.beforeAddLiquidity != self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)\n                || permissions.afterAddLiquidity != self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)\n                || permissions.beforeRemoveLiquidity != self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)\n                || permissions.afterRemoveLiquidity != self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                || permissions.beforeSwap != self.hasPermission(BEFORE_SWAP_FLAG)\n                || permissions.afterSwap != self.hasPermission(AFTER_SWAP_FLAG)\n                || permissions.beforeDonate != self.hasPermission(BEFORE_DONATE_FLAG)\n                || permissions.afterDonate != self.hasPermission(AFTER_DONATE_FLAG)\n                || permissions.beforeSwapReturnDelta != self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterSwapReturnDelta != self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterAddLiquidityReturnDelta != self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                || permissions.afterRemoveLiquidityReturnDelta\n                    != self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) {\n            HookAddressNotValid.selector.revertWith(address(self));\n        }\n    }\n\n    /// @notice Ensures that the hook address includes at least one hook flag or dynamic fees, or is the 0 address\n    /// @param self The hook to verify\n    /// @param fee The fee of the pool the hook is used with\n    /// @return bool True if the hook address is valid\n    function isValidHookAddress(IHooks self, uint24 fee) internal pure returns (bool) {\n        // The hook can only have a flag to return a hook delta on an action if it also has the corresponding action flag\n        if (!self.hasPermission(BEFORE_SWAP_FLAG) && self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_SWAP_FLAG) && self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG) && self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG))\n        {\n            return false;\n        }\n        if (\n            !self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                && self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) return false;\n\n        // If there is no hook contract set, then fee cannot be dynamic\n        // If a hook contract is set, it must have at least 1 flag set, or have a dynamic fee\n        return address(self) == address(0)\n            ? !fee.isDynamicFee()\n            : (uint160(address(self)) & ALL_HOOK_MASK > 0 || fee.isDynamicFee());\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook that doesn't return a delta\n    /// @return result The complete data returned by the hook\n    function callHook(IHooks self, bytes memory data) internal returns (bytes memory result) {\n        bool success;\n        assembly (\"memory-safe\") {\n            success := call(gas(), self, 0, add(data, 0x20), mload(data), 0, 0)\n        }\n        // Revert with FailedHookCall, containing any error message to bubble up\n        if (!success) CustomRevert.bubbleUpAndRevertWith(address(self), bytes4(data), HookCallFailed.selector);\n\n        // The call was successful, fetch the returned data\n        assembly (\"memory-safe\") {\n            // allocate result byte array from the free memory pointer\n            result := mload(0x40)\n            // store new free memory pointer at the end of the array padded to 32 bytes\n            mstore(0x40, add(result, and(add(returndatasize(), 0x3f), not(0x1f))))\n            // store length in memory\n            mstore(result, returndatasize())\n            // copy return data to result\n            returndatacopy(add(result, 0x20), 0, returndatasize())\n        }\n\n        // Length must be at least 32 to contain the selector. Check expected selector and returned selector match.\n        if (result.length < 32 || result.parseSelector() != data.parseSelector()) {\n            InvalidHookResponse.selector.revertWith();\n        }\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook\n    /// @return int256 The delta returned by the hook\n    function callHookWithReturnDelta(IHooks self, bytes memory data, bool parseReturn) internal returns (int256) {\n        bytes memory result = callHook(self, data);\n\n        // If this hook wasn't meant to return something, default to 0 delta\n        if (!parseReturn) return 0;\n\n        // A length of 64 bytes is required to return a bytes4, and a 32 byte delta\n        if (result.length != 64) InvalidHookResponse.selector.revertWith();\n        return result.parseReturnDelta();\n    }\n\n    /// @notice modifier to prevent calling a hook if they initiated the action\n    modifier noSelfCall(IHooks self) {\n        if (msg.sender != address(self)) {\n            _;\n        }\n    }\n\n    /// @notice calls beforeInitialize hook if permissioned and validates return value\n    function beforeInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96) internal noSelfCall(self) {\n        if (self.hasPermission(BEFORE_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeInitialize, (msg.sender, key, sqrtPriceX96)));\n        }\n    }\n\n    /// @notice calls afterInitialize hook if permissioned and validates return value\n    function afterInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96, int24 tick)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterInitialize, (msg.sender, key, sqrtPriceX96, tick)));\n        }\n    }\n\n    /// @notice calls beforeModifyLiquidity hook if permissioned and validates return value\n    function beforeModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        ModifyLiquidityParams memory params,\n        bytes calldata hookData\n    ) internal noSelfCall(self) {\n        if (params.liquidityDelta > 0 && self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeAddLiquidity, (msg.sender, key, params, hookData)));\n        } else if (params.liquidityDelta <= 0 && self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeRemoveLiquidity, (msg.sender, key, params, hookData)));\n        }\n    }\n\n    /// @notice calls afterModifyLiquidity hook if permissioned and validates return value\n    function afterModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        ModifyLiquidityParams memory params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) internal returns (BalanceDelta callerDelta, BalanceDelta hookDelta) {\n        if (msg.sender == address(self)) return (delta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        callerDelta = delta;\n        if (params.liquidityDelta > 0) {\n            if (self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterAddLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        } else {\n            if (self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterRemoveLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        }\n    }\n\n    /// @notice calls beforeSwap hook if permissioned and validates return value\n    function beforeSwap(IHooks self, PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        internal\n        returns (int256 amountToSwap, BeforeSwapDelta hookReturn, uint24 lpFeeOverride)\n    {\n        amountToSwap = params.amountSpecified;\n        if (msg.sender == address(self)) return (amountToSwap, BeforeSwapDeltaLibrary.ZERO_DELTA, lpFeeOverride);\n\n        if (self.hasPermission(BEFORE_SWAP_FLAG)) {\n            bytes memory result = callHook(self, abi.encodeCall(IHooks.beforeSwap, (msg.sender, key, params, hookData)));\n\n            // A length of 96 bytes is required to return a bytes4, a 32 byte delta, and an LP fee\n            if (result.length != 96) InvalidHookResponse.selector.revertWith();\n\n            // dynamic fee pools that want to override the cache fee, return a valid fee with the override flag. If override flag\n            // is set but an invalid fee is returned, the transaction will revert. Otherwise the current LP fee will be used\n            if (key.fee.isDynamicFee()) lpFeeOverride = result.parseFee();\n\n            // skip this logic for the case where the hook return is 0\n            if (self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) {\n                hookReturn = BeforeSwapDelta.wrap(result.parseReturnDelta());\n\n                // any return in unspecified is passed to the afterSwap hook for handling\n                int128 hookDeltaSpecified = hookReturn.getSpecifiedDelta();\n\n                // Update the swap amount according to the hook's return, and check that the swap type doesn't change (exact input/output)\n                if (hookDeltaSpecified != 0) {\n                    bool exactInput = amountToSwap < 0;\n                    amountToSwap += hookDeltaSpecified;\n                    if (exactInput ? amountToSwap > 0 : amountToSwap < 0) {\n                        HookDeltaExceedsSwapAmount.selector.revertWith();\n                    }\n                }\n            }\n        }\n    }\n\n    /// @notice calls afterSwap hook if permissioned and validates return value\n    function afterSwap(\n        IHooks self,\n        PoolKey memory key,\n        SwapParams memory params,\n        BalanceDelta swapDelta,\n        bytes calldata hookData,\n        BeforeSwapDelta beforeSwapHookReturn\n    ) internal returns (BalanceDelta, BalanceDelta) {\n        if (msg.sender == address(self)) return (swapDelta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        int128 hookDeltaSpecified = beforeSwapHookReturn.getSpecifiedDelta();\n        int128 hookDeltaUnspecified = beforeSwapHookReturn.getUnspecifiedDelta();\n\n        if (self.hasPermission(AFTER_SWAP_FLAG)) {\n            hookDeltaUnspecified += self.callHookWithReturnDelta(\n                abi.encodeCall(IHooks.afterSwap, (msg.sender, key, params, swapDelta, hookData)),\n                self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n            ).toInt128();\n        }\n\n        BalanceDelta hookDelta;\n        if (hookDeltaUnspecified != 0 || hookDeltaSpecified != 0) {\n            hookDelta = (params.amountSpecified < 0 == params.zeroForOne)\n                ? toBalanceDelta(hookDeltaSpecified, hookDeltaUnspecified)\n                : toBalanceDelta(hookDeltaUnspecified, hookDeltaSpecified);\n\n            // the caller has to pay for (or receive) the hook's delta\n            swapDelta = swapDelta - hookDelta;\n        }\n        return (swapDelta, hookDelta);\n    }\n\n    /// @notice calls beforeDonate hook if permissioned and validates return value\n    function beforeDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(BEFORE_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    /// @notice calls afterDonate hook if permissioned and validates return value\n    function afterDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    function hasPermission(IHooks self, uint160 flag) internal pure returns (bool) {\n        return uint160(address(self)) & flag != 0;\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice Library of helper functions for a pools LP fee\nlibrary LPFeeLibrary {\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the static or dynamic fee on a pool exceeds 100%.\n    error LPFeeTooLarge(uint24 fee);\n\n    /// @notice An lp fee of exactly 0b1000000... signals a dynamic fee pool. This isn't a valid static fee as it is > MAX_LP_FEE\n    uint24 public constant DYNAMIC_FEE_FLAG = 0x800000;\n\n    /// @notice the second bit of the fee returned by beforeSwap is used to signal if the stored LP fee should be overridden in this swap\n    // only dynamic-fee pools can return a fee via the beforeSwap hook\n    uint24 public constant OVERRIDE_FEE_FLAG = 0x400000;\n\n    /// @notice mask to remove the override fee flag from a fee returned by the beforeSwaphook\n    uint24 public constant REMOVE_OVERRIDE_MASK = 0xBFFFFF;\n\n    /// @notice the lp fee is represented in hundredths of a bip, so the max is 100%\n    uint24 public constant MAX_LP_FEE = 1000000;\n\n    /// @notice returns true if a pool's LP fee signals that the pool has a dynamic fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is dynamic\n    function isDynamicFee(uint24 self) internal pure returns (bool) {\n        return self == DYNAMIC_FEE_FLAG;\n    }\n\n    /// @notice returns true if an LP fee is valid, aka not above the maximum permitted fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is valid\n    function isValid(uint24 self) internal pure returns (bool) {\n        return self <= MAX_LP_FEE;\n    }\n\n    /// @notice validates whether an LP fee is larger than the maximum, and reverts if invalid\n    /// @param self The fee to validate\n    function validate(uint24 self) internal pure {\n        if (!self.isValid()) LPFeeTooLarge.selector.revertWith(self);\n    }\n\n    /// @notice gets and validates the initial LP fee for a pool. Dynamic fee pools have an initial fee of 0.\n    /// @dev if a dynamic fee pool wants a non-0 initial fee, it should call `updateDynamicLPFee` in the afterInitialize hook\n    /// @param self The fee to get the initial LP from\n    /// @return initialFee 0 if the fee is dynamic, otherwise the fee (if valid)\n    function getInitialLPFee(uint24 self) internal pure returns (uint24) {\n        // the initial fee for a dynamic fee pool is 0\n        if (self.isDynamicFee()) return 0;\n        self.validate();\n        return self;\n    }\n\n    /// @notice returns true if the fee has the override flag set (2nd highest bit of the uint24)\n    /// @param self The fee to check\n    /// @return bool True of the fee has the override flag set\n    function isOverride(uint24 self) internal pure returns (bool) {\n        return self & OVERRIDE_FEE_FLAG != 0;\n    }\n\n    /// @notice returns a fee with the override flag removed\n    /// @param self The fee to remove the override flag from\n    /// @return fee The fee without the override flag set\n    function removeOverrideFlag(uint24 self) internal pure returns (uint24) {\n        return self & REMOVE_OVERRIDE_MASK;\n    }\n\n    /// @notice Removes the override flag and validates the fee (reverts if the fee is too large)\n    /// @param self The fee to remove the override flag from, and then validate\n    /// @return fee The fee without the override flag set (if valid)\n    function removeOverrideFlagAndValidate(uint24 self) internal pure returns (uint24 fee) {\n        fee = self.removeOverrideFlag();\n        fee.validate();\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math library for liquidity\nlibrary LiquidityMath {\n    /// @notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n    /// @param x The liquidity before change\n    /// @param y The delta by which liquidity should be changed\n    /// @return z The liquidity delta\n    function addDelta(uint128 x, int128 y) internal pure returns (uint128 z) {\n        assembly (\"memory-safe\") {\n            z := add(and(x, 0xffffffffffffffffffffffffffffffff), signextend(15, y))\n            if shr(128, z) {\n                // revert SafeCastOverflow()\n                mstore(0, 0x93dafdf1)\n                revert(0x1c, 0x04)\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Lock.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary Lock {\n    // The slot holding the unlocked state, transiently. bytes32(uint256(keccak256(\"Unlocked\")) - 1)\n    bytes32 internal constant IS_UNLOCKED_SLOT = 0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;\n\n    function unlock() internal {\n        assembly (\"memory-safe\") {\n            // unlock\n            tstore(IS_UNLOCKED_SLOT, true)\n        }\n    }\n\n    function lock() internal {\n        assembly (\"memory-safe\") {\n            tstore(IS_UNLOCKED_SLOT, false)\n        }\n    }\n\n    function isUnlocked() internal view returns (bool unlocked) {\n        assembly (\"memory-safe\") {\n            unlocked := tload(IS_UNLOCKED_SLOT)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// for the nonzero delta count.\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary NonzeroDeltaCount {\n    // The slot holding the number of nonzero deltas. bytes32(uint256(keccak256(\"NonzeroDeltaCount\")) - 1)\n    bytes32 internal constant NONZERO_DELTA_COUNT_SLOT =\n        0x7d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0b;\n\n    function read() internal view returns (uint256 count) {\n        assembly (\"memory-safe\") {\n            count := tload(NONZERO_DELTA_COUNT_SLOT)\n        }\n    }\n\n    function increment() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := add(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n\n    /// @notice Potential to underflow. Ensure checks are performed by integrating contracts to ensure this does not happen.\n    /// Current usage ensures this will not happen because we call decrement with known boundaries (only up to the number of times we call increment).\n    function decrement() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := sub(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @notice Parses bytes returned from hooks and the byte selector used to check return selectors from hooks.\n/// @dev parseSelector also is used to parse the expected selector\n/// For parsing hook returns, note that all hooks return either bytes4 or (bytes4, 32-byte-delta) or (bytes4, 32-byte-delta, uint24).\nlibrary ParseBytes {\n    function parseSelector(bytes memory result) internal pure returns (bytes4 selector) {\n        // equivalent: (selector,) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            selector := mload(add(result, 0x20))\n        }\n    }\n\n    function parseFee(bytes memory result) internal pure returns (uint24 lpFee) {\n        // equivalent: (,, lpFee) = abi.decode(result, (bytes4, int256, uint24));\n        assembly (\"memory-safe\") {\n            lpFee := mload(add(result, 0x60))\n        }\n    }\n\n    function parseReturnDelta(bytes memory result) internal pure returns (int256 hookReturn) {\n        // equivalent: (, hookReturnDelta) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            hookReturn := mload(add(result, 0x40))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Pool.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {TickBitmap} from \"./TickBitmap.sol\";\nimport {Position} from \"./Position.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {TickMath} from \"./TickMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\nimport {SwapMath} from \"./SwapMath.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {Slot0} from \"../types/Slot0.sol\";\nimport {ProtocolFeeLibrary} from \"./ProtocolFeeLibrary.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice a library with all actions that can be performed on a pool\nlibrary Pool {\n    using SafeCast for *;\n    using TickBitmap for mapping(int16 => uint256);\n    using Position for mapping(bytes32 => Position.State);\n    using Position for Position.State;\n    using Pool for State;\n    using ProtocolFeeLibrary for *;\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when tickLower is not below tickUpper\n    /// @param tickLower The invalid tickLower\n    /// @param tickUpper The invalid tickUpper\n    error TicksMisordered(int24 tickLower, int24 tickUpper);\n\n    /// @notice Thrown when tickLower is less than min tick\n    /// @param tickLower The invalid tickLower\n    error TickLowerOutOfBounds(int24 tickLower);\n\n    /// @notice Thrown when tickUpper exceeds max tick\n    /// @param tickUpper The invalid tickUpper\n    error TickUpperOutOfBounds(int24 tickUpper);\n\n    /// @notice For the tick spacing, the tick has too much liquidity\n    error TickLiquidityOverflow(int24 tick);\n\n    /// @notice Thrown when trying to initialize an already initialized pool\n    error PoolAlreadyInitialized();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when sqrtPriceLimitX96 on a swap has already exceeded its limit\n    /// @param sqrtPriceCurrentX96 The invalid, already surpassed sqrtPriceLimitX96\n    /// @param sqrtPriceLimitX96 The surpassed price limit\n    error PriceLimitAlreadyExceeded(uint160 sqrtPriceCurrentX96, uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown when sqrtPriceLimitX96 lies outside of valid tick/price range\n    /// @param sqrtPriceLimitX96 The invalid, out-of-bounds sqrtPriceLimitX96\n    error PriceLimitOutOfBounds(uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown by donate if there is currently 0 liquidity, since the fees will not go to any liquidity providers\n    error NoLiquidityToReceiveFees();\n\n    /// @notice Thrown when trying to swap with max lp fee and specifying an output amount\n    error InvalidFeeForExactOut();\n\n    // info stored for each initialized individual tick\n    struct TickInfo {\n        // the total position liquidity that references this tick\n        uint128 liquidityGross;\n        // amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left),\n        int128 liquidityNet;\n        // fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n        // only has relative meaning, not absolute — the value depends on when the tick is initialized\n        uint256 feeGrowthOutside0X128;\n        uint256 feeGrowthOutside1X128;\n    }\n\n    /// @notice The state of a pool\n    /// @dev Note that feeGrowthGlobal can be artificially inflated\n    /// For pools with a single liquidity position, actors can donate to themselves to freely inflate feeGrowthGlobal\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    struct State {\n        Slot0 slot0;\n        uint256 feeGrowthGlobal0X128;\n        uint256 feeGrowthGlobal1X128;\n        uint128 liquidity;\n        mapping(int24 tick => TickInfo) ticks;\n        mapping(int16 wordPos => uint256) tickBitmap;\n        mapping(bytes32 positionKey => Position.State) positions;\n    }\n\n    /// @dev Common checks for valid tick inputs.\n    function checkTicks(int24 tickLower, int24 tickUpper) private pure {\n        if (tickLower >= tickUpper) TicksMisordered.selector.revertWith(tickLower, tickUpper);\n        if (tickLower < TickMath.MIN_TICK) TickLowerOutOfBounds.selector.revertWith(tickLower);\n        if (tickUpper > TickMath.MAX_TICK) TickUpperOutOfBounds.selector.revertWith(tickUpper);\n    }\n\n    function initialize(State storage self, uint160 sqrtPriceX96, uint24 lpFee) internal returns (int24 tick) {\n        if (self.slot0.sqrtPriceX96() != 0) PoolAlreadyInitialized.selector.revertWith();\n\n        tick = TickMath.getTickAtSqrtPrice(sqrtPriceX96);\n\n        // the initial protocolFee is 0 so doesn't need to be set\n        self.slot0 = Slot0.wrap(bytes32(0)).setSqrtPriceX96(sqrtPriceX96).setTick(tick).setLpFee(lpFee);\n    }\n\n    function setProtocolFee(State storage self, uint24 protocolFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setProtocolFee(protocolFee);\n    }\n\n    /// @notice Only dynamic fee pools may update the lp fee.\n    function setLPFee(State storage self, uint24 lpFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setLpFee(lpFee);\n    }\n\n    struct ModifyLiquidityParams {\n        // the address that owns the position\n        address owner;\n        // the lower and upper tick of the position\n        int24 tickLower;\n        int24 tickUpper;\n        // any change in liquidity\n        int128 liquidityDelta;\n        // the spacing between ticks\n        int24 tickSpacing;\n        // used to distinguish positions of the same owner, at the same tick range\n        bytes32 salt;\n    }\n\n    struct ModifyLiquidityState {\n        bool flippedLower;\n        uint128 liquidityGrossAfterLower;\n        bool flippedUpper;\n        uint128 liquidityGrossAfterUpper;\n    }\n\n    /// @notice Effect changes to a position in a pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    /// @param params the position details and the change to the position's liquidity to effect\n    /// @return delta the deltas of the token balances of the pool, from the liquidity change\n    /// @return feeDelta the fees generated by the liquidity range\n    function modifyLiquidity(State storage self, ModifyLiquidityParams memory params)\n        internal\n        returns (BalanceDelta delta, BalanceDelta feeDelta)\n    {\n        int128 liquidityDelta = params.liquidityDelta;\n        int24 tickLower = params.tickLower;\n        int24 tickUpper = params.tickUpper;\n        checkTicks(tickLower, tickUpper);\n\n        {\n            ModifyLiquidityState memory state;\n\n            // if we need to update the ticks, do it\n            if (liquidityDelta != 0) {\n                (state.flippedLower, state.liquidityGrossAfterLower) =\n                    updateTick(self, tickLower, liquidityDelta, false);\n                (state.flippedUpper, state.liquidityGrossAfterUpper) = updateTick(self, tickUpper, liquidityDelta, true);\n\n                // `>` and `>=` are logically equivalent here but `>=` is cheaper\n                if (liquidityDelta >= 0) {\n                    uint128 maxLiquidityPerTick = tickSpacingToMaxLiquidityPerTick(params.tickSpacing);\n                    if (state.liquidityGrossAfterLower > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickLower);\n                    }\n                    if (state.liquidityGrossAfterUpper > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickUpper);\n                    }\n                }\n\n                if (state.flippedLower) {\n                    self.tickBitmap.flipTick(tickLower, params.tickSpacing);\n                }\n                if (state.flippedUpper) {\n                    self.tickBitmap.flipTick(tickUpper, params.tickSpacing);\n                }\n            }\n\n            {\n                (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128) =\n                    getFeeGrowthInside(self, tickLower, tickUpper);\n\n                Position.State storage position = self.positions.get(params.owner, tickLower, tickUpper, params.salt);\n                (uint256 feesOwed0, uint256 feesOwed1) =\n                    position.update(liquidityDelta, feeGrowthInside0X128, feeGrowthInside1X128);\n\n                // Fees earned from LPing are calculated, and returned\n                feeDelta = toBalanceDelta(feesOwed0.toInt128(), feesOwed1.toInt128());\n            }\n\n            // clear any tick data that is no longer needed\n            if (liquidityDelta < 0) {\n                if (state.flippedLower) {\n                    clearTick(self, tickLower);\n                }\n                if (state.flippedUpper) {\n                    clearTick(self, tickUpper);\n                }\n            }\n        }\n\n        if (liquidityDelta != 0) {\n            Slot0 _slot0 = self.slot0;\n            (int24 tick, uint160 sqrtPriceX96) = (_slot0.tick(), _slot0.sqrtPriceX96());\n            if (tick < tickLower) {\n                // current tick is below the passed range; liquidity can only become in range by crossing from left to\n                // right, when we'll need _more_ currency0 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128(),\n                    0\n                );\n            } else if (tick < tickUpper) {\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(sqrtPriceX96, TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta)\n                        .toInt128(),\n                    SqrtPriceMath.getAmount1Delta(TickMath.getSqrtPriceAtTick(tickLower), sqrtPriceX96, liquidityDelta)\n                        .toInt128()\n                );\n\n                self.liquidity = LiquidityMath.addDelta(self.liquidity, liquidityDelta);\n            } else {\n                // current tick is above the passed range; liquidity can only become in range by crossing from right to\n                // left, when we'll need _more_ currency1 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    0,\n                    SqrtPriceMath.getAmount1Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128()\n                );\n            }\n        }\n    }\n\n    // Tracks the state of a pool throughout a swap, and returns these values at the end of the swap\n    struct SwapResult {\n        // the current sqrt(price)\n        uint160 sqrtPriceX96;\n        // the tick associated with the current price\n        int24 tick;\n        // the current liquidity in range\n        uint128 liquidity;\n    }\n\n    struct StepComputations {\n        // the price at the beginning of the step\n        uint160 sqrtPriceStartX96;\n        // the next tick to swap to from the current tick in the swap direction\n        int24 tickNext;\n        // whether tickNext is initialized or not\n        bool initialized;\n        // sqrt(price) for the next tick (1/0)\n        uint160 sqrtPriceNextX96;\n        // how much is being swapped in in this step\n        uint256 amountIn;\n        // how much is being swapped out\n        uint256 amountOut;\n        // how much fee is being paid in\n        uint256 feeAmount;\n        // the global fee growth of the input token. updated in storage at the end of swap\n        uint256 feeGrowthGlobalX128;\n    }\n\n    struct SwapParams {\n        int256 amountSpecified;\n        int24 tickSpacing;\n        bool zeroForOne;\n        uint160 sqrtPriceLimitX96;\n        uint24 lpFeeOverride;\n    }\n\n    /// @notice Executes a swap against the state, and returns the amount deltas of the pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    function swap(State storage self, SwapParams memory params)\n        internal\n        returns (BalanceDelta swapDelta, uint256 amountToProtocol, uint24 swapFee, SwapResult memory result)\n    {\n        Slot0 slot0Start = self.slot0;\n        bool zeroForOne = params.zeroForOne;\n\n        uint256 protocolFee =\n            zeroForOne ? slot0Start.protocolFee().getZeroForOneFee() : slot0Start.protocolFee().getOneForZeroFee();\n\n        // the amount remaining to be swapped in/out of the input/output asset. initially set to the amountSpecified\n        int256 amountSpecifiedRemaining = params.amountSpecified;\n        // the amount swapped out/in of the output/input asset. initially set to 0\n        int256 amountCalculated = 0;\n        // initialize to the current sqrt(price)\n        result.sqrtPriceX96 = slot0Start.sqrtPriceX96();\n        // initialize to the current tick\n        result.tick = slot0Start.tick();\n        // initialize to the current liquidity\n        result.liquidity = self.liquidity;\n\n        // if the beforeSwap hook returned a valid fee override, use that as the LP fee, otherwise load from storage\n        // lpFee, swapFee, and protocolFee are all in pips\n        {\n            uint24 lpFee = params.lpFeeOverride.isOverride()\n                ? params.lpFeeOverride.removeOverrideFlagAndValidate()\n                : slot0Start.lpFee();\n\n            swapFee = protocolFee == 0 ? lpFee : uint16(protocolFee).calculateSwapFee(lpFee);\n        }\n\n        // a swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n        if (swapFee >= SwapMath.MAX_SWAP_FEE) {\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                InvalidFeeForExactOut.selector.revertWith();\n            }\n        }\n\n        // swapFee is the pool's fee in pips (LP fee + protocol fee)\n        // when the amount swapped is 0, there is no protocolFee applied and the fee amount paid to the protocol is set to 0\n        if (params.amountSpecified == 0) return (BalanceDeltaLibrary.ZERO_DELTA, 0, swapFee, result);\n\n        if (zeroForOne) {\n            if (params.sqrtPriceLimitX96 >= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            // Swaps can never occur at MIN_TICK, only at MIN_TICK + 1, except at initialization of a pool\n            // Under certain circumstances outlined below, the tick will preemptively reach MIN_TICK without swapping there\n            if (params.sqrtPriceLimitX96 <= TickMath.MIN_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        } else {\n            if (params.sqrtPriceLimitX96 <= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            if (params.sqrtPriceLimitX96 >= TickMath.MAX_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        }\n\n        StepComputations memory step;\n        step.feeGrowthGlobalX128 = zeroForOne ? self.feeGrowthGlobal0X128 : self.feeGrowthGlobal1X128;\n\n        // continue swapping as long as we haven't used the entire input/output and haven't reached the price limit\n        while (!(amountSpecifiedRemaining == 0 || result.sqrtPriceX96 == params.sqrtPriceLimitX96)) {\n            step.sqrtPriceStartX96 = result.sqrtPriceX96;\n\n            (step.tickNext, step.initialized) =\n                self.tickBitmap.nextInitializedTickWithinOneWord(result.tick, params.tickSpacing, zeroForOne);\n\n            // ensure that we do not overshoot the min/max tick, as the tick bitmap is not aware of these bounds\n            if (step.tickNext <= TickMath.MIN_TICK) {\n                step.tickNext = TickMath.MIN_TICK;\n            }\n            if (step.tickNext >= TickMath.MAX_TICK) {\n                step.tickNext = TickMath.MAX_TICK;\n            }\n\n            // get the price for the next tick\n            step.sqrtPriceNextX96 = TickMath.getSqrtPriceAtTick(step.tickNext);\n\n            // compute values to swap to the target tick, price limit, or point where input/output amount is exhausted\n            (result.sqrtPriceX96, step.amountIn, step.amountOut, step.feeAmount) = SwapMath.computeSwapStep(\n                result.sqrtPriceX96,\n                SwapMath.getSqrtPriceTarget(zeroForOne, step.sqrtPriceNextX96, params.sqrtPriceLimitX96),\n                result.liquidity,\n                amountSpecifiedRemaining,\n                swapFee\n            );\n\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                unchecked {\n                    amountSpecifiedRemaining -= step.amountOut.toInt256();\n                }\n                amountCalculated -= (step.amountIn + step.feeAmount).toInt256();\n            } else {\n                // safe because we test that amountSpecified > amountIn + feeAmount in SwapMath\n                unchecked {\n                    amountSpecifiedRemaining += (step.amountIn + step.feeAmount).toInt256();\n                }\n                amountCalculated += step.amountOut.toInt256();\n            }\n\n            // if the protocol fee is on, calculate how much is owed, decrement feeAmount, and increment protocolFee\n            if (protocolFee > 0) {\n                unchecked {\n                    // step.amountIn does not include the swap fee, as it's already been taken from it,\n                    // so add it back to get the total amountIn and use that to calculate the amount of fees owed to the protocol\n                    // cannot overflow due to limits on the size of protocolFee and params.amountSpecified\n                    // this rounds down to favor LPs over the protocol\n                    uint256 delta = (swapFee == protocolFee)\n                        ? step.feeAmount // lp fee is 0, so the entire fee is owed to the protocol instead\n                        : (step.amountIn + step.feeAmount) * protocolFee / ProtocolFeeLibrary.PIPS_DENOMINATOR;\n                    // subtract it from the total fee and add it to the protocol fee\n                    step.feeAmount -= delta;\n                    amountToProtocol += delta;\n                }\n            }\n\n            // update global fee tracker\n            if (result.liquidity > 0) {\n                unchecked {\n                    // FullMath.mulDiv isn't needed as the numerator can't overflow uint256 since tokens have a max supply of type(uint128).max\n                    step.feeGrowthGlobalX128 +=\n                        UnsafeMath.simpleMulDiv(step.feeAmount, FixedPoint128.Q128, result.liquidity);\n                }\n            }\n\n            // Shift tick if we reached the next price, and preemptively decrement for zeroForOne swaps to tickNext - 1.\n            // If the swap doesn't continue (if amountRemaining == 0 or sqrtPriceLimit is met), slot0.tick will be 1 less\n            // than getTickAtSqrtPrice(slot0.sqrtPrice). This doesn't affect swaps, but donation calls should verify both\n            // price and tick to reward the correct LPs.\n            if (result.sqrtPriceX96 == step.sqrtPriceNextX96) {\n                // if the tick is initialized, run the tick transition\n                if (step.initialized) {\n                    (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = zeroForOne\n                        ? (step.feeGrowthGlobalX128, self.feeGrowthGlobal1X128)\n                        : (self.feeGrowthGlobal0X128, step.feeGrowthGlobalX128);\n                    int128 liquidityNet =\n                        Pool.crossTick(self, step.tickNext, feeGrowthGlobal0X128, feeGrowthGlobal1X128);\n                    // if we're moving leftward, we interpret liquidityNet as the opposite sign\n                    // safe because liquidityNet cannot be type(int128).min\n                    unchecked {\n                        if (zeroForOne) liquidityNet = -liquidityNet;\n                    }\n\n                    result.liquidity = LiquidityMath.addDelta(result.liquidity, liquidityNet);\n                }\n\n                unchecked {\n                    result.tick = zeroForOne ? step.tickNext - 1 : step.tickNext;\n                }\n            } else if (result.sqrtPriceX96 != step.sqrtPriceStartX96) {\n                // recompute unless we're on a lower tick boundary (i.e. already transitioned ticks), and haven't moved\n                result.tick = TickMath.getTickAtSqrtPrice(result.sqrtPriceX96);\n            }\n        }\n\n        self.slot0 = slot0Start.setTick(result.tick).setSqrtPriceX96(result.sqrtPriceX96);\n\n        // update liquidity if it changed\n        if (self.liquidity != result.liquidity) self.liquidity = result.liquidity;\n\n        // update fee growth global\n        if (!zeroForOne) {\n            self.feeGrowthGlobal1X128 = step.feeGrowthGlobalX128;\n        } else {\n            self.feeGrowthGlobal0X128 = step.feeGrowthGlobalX128;\n        }\n\n        unchecked {\n            // \"if currency1 is specified\"\n            if (zeroForOne != (params.amountSpecified < 0)) {\n                swapDelta = toBalanceDelta(\n                    amountCalculated.toInt128(), (params.amountSpecified - amountSpecifiedRemaining).toInt128()\n                );\n            } else {\n                swapDelta = toBalanceDelta(\n                    (params.amountSpecified - amountSpecifiedRemaining).toInt128(), amountCalculated.toInt128()\n                );\n            }\n        }\n    }\n\n    /// @notice Donates the given amount of currency0 and currency1 to the pool\n    function donate(State storage state, uint256 amount0, uint256 amount1) internal returns (BalanceDelta delta) {\n        uint128 liquidity = state.liquidity;\n        if (liquidity == 0) NoLiquidityToReceiveFees.selector.revertWith();\n        unchecked {\n            // negation safe as amount0 and amount1 are always positive\n            delta = toBalanceDelta(-(amount0.toInt128()), -(amount1.toInt128()));\n            // FullMath.mulDiv is unnecessary because the numerator is bounded by type(int128).max * Q128, which is less than type(uint256).max\n            if (amount0 > 0) {\n                state.feeGrowthGlobal0X128 += UnsafeMath.simpleMulDiv(amount0, FixedPoint128.Q128, liquidity);\n            }\n            if (amount1 > 0) {\n                state.feeGrowthGlobal1X128 += UnsafeMath.simpleMulDiv(amount1, FixedPoint128.Q128, liquidity);\n            }\n        }\n    }\n\n    /// @notice Retrieves fee growth data\n    /// @param self The Pool state struct\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @return feeGrowthInside0X128 The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n    /// @return feeGrowthInside1X128 The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries\n    function getFeeGrowthInside(State storage self, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        TickInfo storage lower = self.ticks[tickLower];\n        TickInfo storage upper = self.ticks[tickUpper];\n        int24 tickCurrent = self.slot0.tick();\n\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upper.feeGrowthOutside0X128 - lower.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = upper.feeGrowthOutside1X128 - lower.feeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 =\n                    self.feeGrowthGlobal0X128 - lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 =\n                    self.feeGrowthGlobal1X128 - lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            }\n        }\n    }\n\n    /// @notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n    /// @param self The mapping containing all tick information for initialized ticks\n    /// @param tick The tick that will be updated\n    /// @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n    /// @param upper true for updating a position's upper tick, or false for updating a position's lower tick\n    /// @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa\n    /// @return liquidityGrossAfter The total amount of liquidity for all positions that references the tick after the update\n    function updateTick(State storage self, int24 tick, int128 liquidityDelta, bool upper)\n        internal\n        returns (bool flipped, uint128 liquidityGrossAfter)\n    {\n        TickInfo storage info = self.ticks[tick];\n\n        uint128 liquidityGrossBefore = info.liquidityGross;\n        int128 liquidityNetBefore = info.liquidityNet;\n\n        liquidityGrossAfter = LiquidityMath.addDelta(liquidityGrossBefore, liquidityDelta);\n\n        flipped = (liquidityGrossAfter == 0) != (liquidityGrossBefore == 0);\n\n        if (liquidityGrossBefore == 0) {\n            // by convention, we assume that all growth before a tick was initialized happened _below_ the tick\n            if (tick <= self.slot0.tick()) {\n                info.feeGrowthOutside0X128 = self.feeGrowthGlobal0X128;\n                info.feeGrowthOutside1X128 = self.feeGrowthGlobal1X128;\n            }\n        }\n\n        // when the lower (upper) tick is crossed left to right, liquidity must be added (removed)\n        // when the lower (upper) tick is crossed right to left, liquidity must be removed (added)\n        int128 liquidityNet = upper ? liquidityNetBefore - liquidityDelta : liquidityNetBefore + liquidityDelta;\n        assembly (\"memory-safe\") {\n            // liquidityGrossAfter and liquidityNet are packed in the first slot of `info`\n            // So we can store them with a single sstore by packing them ourselves first\n            sstore(\n                info.slot,\n                // bitwise OR to pack liquidityGrossAfter and liquidityNet\n                or(\n                    // Put liquidityGrossAfter in the lower bits, clearing out the upper bits\n                    and(liquidityGrossAfter, 0xffffffffffffffffffffffffffffffff),\n                    // Shift liquidityNet to put it in the upper bits (no need for signextend since we're shifting left)\n                    shl(128, liquidityNet)\n                )\n            )\n        }\n    }\n\n    /// @notice Derives max liquidity per tick from given tick spacing\n    /// @dev Executed when adding liquidity\n    /// @param tickSpacing The amount of required tick separation, realized in multiples of `tickSpacing`\n    ///     e.g., a tickSpacing of 3 requires ticks to be initialized every 3rd tick i.e., ..., -6, -3, 0, 3, 6, ...\n    /// @return result The max liquidity per tick\n    function tickSpacingToMaxLiquidityPerTick(int24 tickSpacing) internal pure returns (uint128 result) {\n        // Equivalent to:\n        // int24 minTick = (TickMath.MIN_TICK / tickSpacing);\n        // if (TickMath.MIN_TICK  % tickSpacing != 0) minTick--;\n        // int24 maxTick = (TickMath.MAX_TICK / tickSpacing);\n        // uint24 numTicks = maxTick - minTick + 1;\n        // return type(uint128).max / numTicks;\n        int24 MAX_TICK = TickMath.MAX_TICK;\n        int24 MIN_TICK = TickMath.MIN_TICK;\n        // tick spacing will never be 0 since TickMath.MIN_TICK_SPACING is 1\n        assembly (\"memory-safe\") {\n            tickSpacing := signextend(2, tickSpacing)\n            let minTick := sub(sdiv(MIN_TICK, tickSpacing), slt(smod(MIN_TICK, tickSpacing), 0))\n            let maxTick := sdiv(MAX_TICK, tickSpacing)\n            let numTicks := add(sub(maxTick, minTick), 1)\n            result := div(sub(shl(128, 1), 1), numTicks)\n        }\n    }\n\n    /// @notice Reverts if the given pool has not been initialized\n    function checkPoolInitialized(State storage self) internal view {\n        if (self.slot0.sqrtPriceX96() == 0) PoolNotInitialized.selector.revertWith();\n    }\n\n    /// @notice Clears tick data\n    /// @param self The mapping containing all initialized tick information for initialized ticks\n    /// @param tick The tick that will be cleared\n    function clearTick(State storage self, int24 tick) internal {\n        delete self.ticks[tick];\n    }\n\n    /// @notice Transitions to next tick as needed by price movement\n    /// @param self The Pool state struct\n    /// @param tick The destination tick of the transition\n    /// @param feeGrowthGlobal0X128 The all-time global fee growth, per unit of liquidity, in token0\n    /// @param feeGrowthGlobal1X128 The all-time global fee growth, per unit of liquidity, in token1\n    /// @return liquidityNet The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)\n    function crossTick(State storage self, int24 tick, uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128)\n        internal\n        returns (int128 liquidityNet)\n    {\n        unchecked {\n            TickInfo storage info = self.ticks[tick];\n            info.feeGrowthOutside0X128 = feeGrowthGlobal0X128 - info.feeGrowthOutside0X128;\n            info.feeGrowthOutside1X128 = feeGrowthGlobal1X128 - info.feeGrowthOutside1X128;\n            liquidityNet = info.liquidityNet;\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Position.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Position\n/// @notice Positions represent an owner address' liquidity between a lower and upper tick boundary\n/// @dev Positions store additional state for tracking fees owed to the position\nlibrary Position {\n    using CustomRevert for bytes4;\n\n    /// @notice Cannot update a position with no liquidity\n    error CannotUpdateEmptyPosition();\n\n    // info stored for each user's position\n    struct State {\n        // the amount of liquidity owned by this position\n        uint128 liquidity;\n        // fee growth per unit of liquidity as of the last update to liquidity or fees owed\n        uint256 feeGrowthInside0LastX128;\n        uint256 feeGrowthInside1LastX128;\n    }\n\n    /// @notice Returns the State struct of a position, given an owner and position boundaries\n    /// @param self The mapping containing all user positions\n    /// @param owner The address of the position owner\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range\n    /// @return position The position info struct of the given owners' position\n    function get(mapping(bytes32 => State) storage self, address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        view\n        returns (State storage position)\n    {\n        bytes32 positionKey = calculatePositionKey(owner, tickLower, tickUpper, salt);\n        position = self[positionKey];\n    }\n\n    /// @notice A helper function to calculate the position key\n    /// @param owner The address of the position owner\n    /// @param tickLower the lower tick boundary of the position\n    /// @param tickUpper the upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range, by the same owner. Passed in by the caller.\n    function calculatePositionKey(address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        pure\n        returns (bytes32 positionKey)\n    {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(add(fmp, 0x26), salt) // [0x26, 0x46)\n            mstore(add(fmp, 0x06), tickUpper) // [0x23, 0x26)\n            mstore(add(fmp, 0x03), tickLower) // [0x20, 0x23)\n            mstore(fmp, owner) // [0x0c, 0x20)\n            positionKey := keccak256(add(fmp, 0x0c), 0x3a) // len is 58 bytes\n\n            // now clean the memory we used\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held salt\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held tickLower, tickUpper, salt\n            mstore(fmp, 0) // fmp held owner\n        }\n    }\n\n    /// @notice Credits accumulated fees to a user's position\n    /// @param self The individual position to update\n    /// @param liquidityDelta The change in pool liquidity as a result of the position update\n    /// @param feeGrowthInside0X128 The all-time fee growth in currency0, per unit of liquidity, inside the position's tick boundaries\n    /// @param feeGrowthInside1X128 The all-time fee growth in currency1, per unit of liquidity, inside the position's tick boundaries\n    /// @return feesOwed0 The amount of currency0 owed to the position owner\n    /// @return feesOwed1 The amount of currency1 owed to the position owner\n    function update(\n        State storage self,\n        int128 liquidityDelta,\n        uint256 feeGrowthInside0X128,\n        uint256 feeGrowthInside1X128\n    ) internal returns (uint256 feesOwed0, uint256 feesOwed1) {\n        uint128 liquidity = self.liquidity;\n\n        if (liquidityDelta == 0) {\n            // disallow pokes for 0 liquidity positions\n            if (liquidity == 0) CannotUpdateEmptyPosition.selector.revertWith();\n        } else {\n            self.liquidity = LiquidityMath.addDelta(liquidity, liquidityDelta);\n        }\n\n        // calculate accumulated fees. overflow in the subtraction of fee growth is expected\n        unchecked {\n            feesOwed0 =\n                FullMath.mulDiv(feeGrowthInside0X128 - self.feeGrowthInside0LastX128, liquidity, FixedPoint128.Q128);\n            feesOwed1 =\n                FullMath.mulDiv(feeGrowthInside1X128 - self.feeGrowthInside1LastX128, liquidity, FixedPoint128.Q128);\n        }\n\n        // update the position\n        self.feeGrowthInside0LastX128 = feeGrowthInside0X128;\n        self.feeGrowthInside1LastX128 = feeGrowthInside1X128;\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice library of functions related to protocol fees\nlibrary ProtocolFeeLibrary {\n    /// @notice Max protocol fee is 0.1% (1000 pips)\n    /// @dev Increasing these values could lead to overflow in Pool.swap\n    uint16 public constant MAX_PROTOCOL_FEE = 1000;\n\n    /// @notice Thresholds used for optimized bounds checks on protocol fees\n    uint24 internal constant FEE_0_THRESHOLD = 1001;\n    uint24 internal constant FEE_1_THRESHOLD = 1001 << 12;\n\n    /// @notice the protocol fee is represented in hundredths of a bip\n    uint256 internal constant PIPS_DENOMINATOR = 1_000_000;\n\n    function getZeroForOneFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self & 0xfff);\n    }\n\n    function getOneForZeroFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self >> 12);\n    }\n\n    function isValidProtocolFee(uint24 self) internal pure returns (bool valid) {\n        // Equivalent to: getZeroForOneFee(self) <= MAX_PROTOCOL_FEE && getOneForZeroFee(self) <= MAX_PROTOCOL_FEE\n        assembly (\"memory-safe\") {\n            let isZeroForOneFeeOk := lt(and(self, 0xfff), FEE_0_THRESHOLD)\n            let isOneForZeroFeeOk := lt(and(self, 0xfff000), FEE_1_THRESHOLD)\n            valid := and(isZeroForOneFeeOk, isOneForZeroFeeOk)\n        }\n    }\n\n    // The protocol fee is taken from the input amount first and then the LP fee is taken from the remaining\n    // The swap fee is capped at 100%\n    // Equivalent to protocolFee + lpFee(1_000_000 - protocolFee) / 1_000_000 (rounded up)\n    /// @dev here `self` is just a single direction's protocol fee, not a packed type of 2 protocol fees\n    function calculateSwapFee(uint16 self, uint24 lpFee) internal pure returns (uint24 swapFee) {\n        // protocolFee + lpFee - (protocolFee * lpFee / 1_000_000)\n        assembly (\"memory-safe\") {\n            self := and(self, 0xfff)\n            lpFee := and(lpFee, 0xffffff)\n            let numerator := mul(self, lpFee)\n            swapFee := sub(add(self, lpFee), div(numerator, PIPS_DENOMINATOR))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Position} from \"./Position.sol\";\n\n/// @notice A helper library to provide state getters that use extsload\nlibrary StateLibrary {\n    /// @notice index of pools mapping in the PoolManager\n    bytes32 public constant POOLS_SLOT = bytes32(uint256(6));\n\n    /// @notice index of feeGrowthGlobal0X128 in Pool.State\n    uint256 public constant FEE_GROWTH_GLOBAL0_OFFSET = 1;\n\n    // feeGrowthGlobal1X128 offset in Pool.State = 2\n\n    /// @notice index of liquidity in Pool.State\n    uint256 public constant LIQUIDITY_OFFSET = 3;\n\n    /// @notice index of TicksInfo mapping in Pool.State: mapping(int24 => TickInfo) ticks;\n    uint256 public constant TICKS_OFFSET = 4;\n\n    /// @notice index of tickBitmap mapping in Pool.State\n    uint256 public constant TICK_BITMAP_OFFSET = 5;\n\n    /// @notice index of Position.State mapping in Pool.State: mapping(bytes32 => Position.State) positions;\n    uint256 public constant POSITIONS_OFFSET = 6;\n\n    /**\n     * @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee\n     * @dev Corresponds to pools[poolId].slot0\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return sqrtPriceX96 The square root of the price of the pool, in Q96 precision.\n     * @return tick The current tick of the pool.\n     * @return protocolFee The protocol fee of the pool.\n     * @return lpFee The swap fee of the pool.\n     */\n    function getSlot0(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        bytes32 data = manager.extsload(stateSlot);\n\n        //   24 bits  |24bits|24bits      |24 bits|160 bits\n        // 0x000000   |000bb8|000000      |ffff75 |0000000000000000fe3aa841ba359daa0ea9eff7\n        // ---------- | fee  |protocolfee | tick  | sqrtPriceX96\n        assembly (\"memory-safe\") {\n            // bottom 160 bits of data\n            sqrtPriceX96 := and(data, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            // next 24 bits of data\n            tick := signextend(2, shr(160, data))\n            // next 24 bits of data\n            protocolFee := and(shr(184, data), 0xFFFFFF)\n            // last 24 bits of data\n            lpFee := and(shr(208, data), 0xFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the tick information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve information for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickInfo(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128\n        )\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // read all 3 words of the TickInfo struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n        assembly (\"memory-safe\") {\n            let firstWord := mload(add(data, 32))\n            liquidityNet := sar(128, firstWord)\n            liquidityGross := and(firstWord, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            feeGrowthOutside0X128 := mload(add(data, 64))\n            feeGrowthOutside1X128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick].liquidityGross and pools[poolId].ticks[tick].liquidityNet. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve liquidity for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     */\n    function getTickLiquidity(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint128 liquidityGross, int128 liquidityNet)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        bytes32 value = manager.extsload(slot);\n        assembly (\"memory-safe\") {\n            liquidityNet := sar(128, value)\n            liquidityGross := and(value, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the fee growth outside a tick range of a pool\n     * @dev Corresponds to pools[poolId].ticks[tick].feeGrowthOutside0X128 and pools[poolId].ticks[tick].feeGrowthOutside1X128. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve fee growth for.\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickFeeGrowthOutside(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // offset by 1 word, since the first word is liquidityGross + liquidityNet\n        bytes32[] memory data = manager.extsload(bytes32(uint256(slot) + 1), 2);\n        assembly (\"memory-safe\") {\n            feeGrowthOutside0X128 := mload(add(data, 32))\n            feeGrowthOutside1X128 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves the global fee growth of a pool.\n     * @dev Corresponds to pools[poolId].feeGrowthGlobal0X128 and pools[poolId].feeGrowthGlobal1X128\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return feeGrowthGlobal0 The global fee growth for token0.\n     * @return feeGrowthGlobal1 The global fee growth for token1.\n     * @dev Note that feeGrowthGlobal can be artificially inflated\n     * For pools with a single liquidity position, actors can donate to themselves to freely inflate feeGrowthGlobal\n     * atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n     */\n    function getFeeGrowthGlobals(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint256 feeGrowthGlobal0, uint256 feeGrowthGlobal1)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State, `uint256 feeGrowthGlobal0X128`\n        bytes32 slot_feeGrowthGlobal0X128 = bytes32(uint256(stateSlot) + FEE_GROWTH_GLOBAL0_OFFSET);\n\n        // read the 2 words of feeGrowthGlobal\n        bytes32[] memory data = manager.extsload(slot_feeGrowthGlobal0X128, 2);\n        assembly (\"memory-safe\") {\n            feeGrowthGlobal0 := mload(add(data, 32))\n            feeGrowthGlobal1 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves total the liquidity of a pool.\n     * @dev Corresponds to pools[poolId].liquidity\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return liquidity The liquidity of the pool.\n     */\n    function getLiquidity(IPoolManager manager, PoolId poolId) internal view returns (uint128 liquidity) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `uint128 liquidity`\n        bytes32 slot = bytes32(uint256(stateSlot) + LIQUIDITY_OFFSET);\n\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Retrieves the tick bitmap of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].tickBitmap[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve the bitmap for.\n     * @return tickBitmap The bitmap of the tick.\n     */\n    function getTickBitmap(IPoolManager manager, PoolId poolId, int16 tick)\n        internal\n        view\n        returns (uint256 tickBitmap)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int16 => uint256) tickBitmap;`\n        bytes32 tickBitmapMapping = bytes32(uint256(stateSlot) + TICK_BITMAP_OFFSET);\n\n        // slot id of the mapping key: `pools[poolId].tickBitmap[tick]\n        bytes32 slot = keccak256(abi.encodePacked(int256(tick), tickBitmapMapping));\n\n        tickBitmap = uint256(manager.extsload(slot));\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool without needing to calculate the `positionId`.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param poolId The ID of the pool.\n     * @param owner The owner of the liquidity position.\n     * @param tickLower The lower tick of the liquidity range.\n     * @param tickUpper The upper tick of the liquidity range.\n     * @param salt The bytes32 randomness to further distinguish position state.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(\n        IPoolManager manager,\n        PoolId poolId,\n        address owner,\n        int24 tickLower,\n        int24 tickUpper,\n        bytes32 salt\n    ) internal view returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128) {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        bytes32 positionKey = Position.calculatePositionKey(owner, tickLower, tickUpper, salt);\n\n        (liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128) = getPositionInfo(manager, poolId, positionKey);\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool at a specific position ID.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n\n        // read all 3 words of the Position.State struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n\n        assembly (\"memory-safe\") {\n            liquidity := mload(add(data, 32))\n            feeGrowthInside0LastX128 := mload(add(data, 64))\n            feeGrowthInside1LastX128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity of a position.\n     * @dev Corresponds to pools[poolId].positions[positionId].liquidity. More gas efficient for just retrieiving liquidity as compared to getPositionInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     */\n    function getPositionLiquidity(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Calculate the fee growth inside a tick range of a pool\n     * @dev pools[poolId].feeGrowthInside0LastX128 in Position.State is cached and can become stale. This function will calculate the up to date feeGrowthInside\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tickLower The lower tick of the range.\n     * @param tickUpper The upper tick of the range.\n     * @return feeGrowthInside0X128 The fee growth inside the tick range for token0.\n     * @return feeGrowthInside1X128 The fee growth inside the tick range for token1.\n     */\n    function getFeeGrowthInside(IPoolManager manager, PoolId poolId, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = getFeeGrowthGlobals(manager, poolId);\n\n        (uint256 lowerFeeGrowthOutside0X128, uint256 lowerFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickLower);\n        (uint256 upperFeeGrowthOutside0X128, uint256 upperFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickUpper);\n        (, int24 tickCurrent,,) = getSlot0(manager, poolId);\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upperFeeGrowthOutside0X128 - lowerFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = upperFeeGrowthOutside1X128 - lowerFeeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 = feeGrowthGlobal0X128 - lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = feeGrowthGlobal1X128 - lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            }\n        }\n    }\n\n    function _getPoolStateSlot(PoolId poolId) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(PoolId.unwrap(poolId), POOLS_SLOT));\n    }\n\n    function _getTickInfoSlot(PoolId poolId, int24 tick) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int24 => TickInfo) ticks`\n        bytes32 ticksMappingSlot = bytes32(uint256(stateSlot) + TICKS_OFFSET);\n\n        // slot key of the tick key: `pools[poolId].ticks[tick]\n        return keccak256(abi.encodePacked(int256(tick), ticksMappingSlot));\n    }\n\n    function _getPositionInfoSlot(PoolId poolId, bytes32 positionId) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(bytes32 => Position.State) positions;`\n        bytes32 positionMapping = bytes32(uint256(stateSlot) + POSITIONS_OFFSET);\n\n        // slot of the mapping key: `pools[poolId].positions[positionId]\n        return keccak256(abi.encodePacked(positionId, positionMapping));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\n\n/// @title Computes the result of a swap within ticks\n/// @notice Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick.\nlibrary SwapMath {\n    /// @notice the swap fee is represented in hundredths of a bip, so the max is 100%\n    /// @dev the swap fee is the total fee on a swap, including both LP and Protocol fee\n    uint256 internal constant MAX_SWAP_FEE = 1e6;\n\n    /// @notice Computes the sqrt price target for the next swap step\n    /// @param zeroForOne The direction of the swap, true for currency0 to currency1, false for currency1 to currency0\n    /// @param sqrtPriceNextX96 The Q64.96 sqrt price for the next initialized tick\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value\n    /// after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @return sqrtPriceTargetX96 The price target for the next swap step\n    function getSqrtPriceTarget(bool zeroForOne, uint160 sqrtPriceNextX96, uint160 sqrtPriceLimitX96)\n        internal\n        pure\n        returns (uint160 sqrtPriceTargetX96)\n    {\n        assembly (\"memory-safe\") {\n            // a flag to toggle between sqrtPriceNextX96 and sqrtPriceLimitX96\n            // when zeroForOne == true, nextOrLimit reduces to sqrtPriceNextX96 >= sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = max(sqrtPriceNextX96, sqrtPriceLimitX96)\n            // when zeroForOne == false, nextOrLimit reduces to sqrtPriceNextX96 < sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = min(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceNextX96 := and(sqrtPriceNextX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            sqrtPriceLimitX96 := and(sqrtPriceLimitX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            let nextOrLimit := xor(lt(sqrtPriceNextX96, sqrtPriceLimitX96), and(zeroForOne, 0x1))\n            let symDiff := xor(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceTargetX96 := xor(sqrtPriceLimitX96, mul(symDiff, nextOrLimit))\n        }\n    }\n\n    /// @notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap\n    /// @dev If the swap's amountSpecified is negative, the combined fee and input amount will never exceed the absolute value of the remaining amount.\n    /// @param sqrtPriceCurrentX96 The current sqrt price of the pool\n    /// @param sqrtPriceTargetX96 The price that cannot be exceeded, from which the direction of the swap is inferred\n    /// @param liquidity The usable liquidity\n    /// @param amountRemaining How much input or output amount is remaining to be swapped in/out\n    /// @param feePips The fee taken from the input amount, expressed in hundredths of a bip\n    /// @return sqrtPriceNextX96 The price after swapping the amount in/out, not to exceed the price target\n    /// @return amountIn The amount to be swapped in, of either currency0 or currency1, based on the direction of the swap\n    /// @return amountOut The amount to be received, of either currency0 or currency1, based on the direction of the swap\n    /// @return feeAmount The amount of input that will be taken as a fee\n    /// @dev feePips must be no larger than MAX_SWAP_FEE for this function. We ensure that before setting a fee using LPFeeLibrary.isValid.\n    function computeSwapStep(\n        uint160 sqrtPriceCurrentX96,\n        uint160 sqrtPriceTargetX96,\n        uint128 liquidity,\n        int256 amountRemaining,\n        uint24 feePips\n    ) internal pure returns (uint160 sqrtPriceNextX96, uint256 amountIn, uint256 amountOut, uint256 feeAmount) {\n        unchecked {\n            uint256 _feePips = feePips; // upcast once and cache\n            bool zeroForOne = sqrtPriceCurrentX96 >= sqrtPriceTargetX96;\n            bool exactIn = amountRemaining < 0;\n\n            if (exactIn) {\n                uint256 amountRemainingLessFee =\n                    FullMath.mulDiv(uint256(-amountRemaining), MAX_SWAP_FEE - _feePips, MAX_SWAP_FEE);\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, true);\n                if (amountRemainingLessFee >= amountIn) {\n                    // `amountIn` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                    feeAmount = _feePips == MAX_SWAP_FEE\n                        ? amountIn // amountIn is always 0 here, as amountRemainingLessFee == 0 and amountRemainingLessFee >= amountIn\n                        : FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n                } else {\n                    // exhaust the remaining amount\n                    amountIn = amountRemainingLessFee;\n                    sqrtPriceNextX96 = SqrtPriceMath.getNextSqrtPriceFromInput(\n                        sqrtPriceCurrentX96, liquidity, amountRemainingLessFee, zeroForOne\n                    );\n                    // we didn't reach the target, so take the remainder of the maximum input as fee\n                    feeAmount = uint256(-amountRemaining) - amountIn;\n                }\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, false);\n            } else {\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, false);\n                if (uint256(amountRemaining) >= amountOut) {\n                    // `amountOut` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                } else {\n                    // cap the output amount to not exceed the remaining output amount\n                    amountOut = uint256(amountRemaining);\n                    sqrtPriceNextX96 =\n                        SqrtPriceMath.getNextSqrtPriceFromOutput(sqrtPriceCurrentX96, liquidity, amountOut, zeroForOne);\n                }\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, true);\n                // `feePips` cannot be `MAX_SWAP_FEE` for exact out\n                feeAmount = FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\n\n/// @title Packed tick initialized state library\n/// @notice Stores a packed mapping of tick index to its initialized state\n/// @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word.\nlibrary TickBitmap {\n    /// @notice Thrown when the tick is not enumerated by the tick spacing\n    /// @param tick the invalid tick\n    /// @param tickSpacing The tick spacing of the pool\n    error TickMisaligned(int24 tick, int24 tickSpacing);\n\n    /// @dev round towards negative infinity\n    function compress(int24 tick, int24 tickSpacing) internal pure returns (int24 compressed) {\n        // compressed = tick / tickSpacing;\n        // if (tick < 0 && tick % tickSpacing != 0) compressed--;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            compressed :=\n                sub(\n                    sdiv(tick, tickSpacing),\n                    // if (tick < 0 && tick % tickSpacing != 0) then tick % tickSpacing < 0, vice versa\n                    slt(smod(tick, tickSpacing), 0)\n                )\n        }\n    }\n\n    /// @notice Computes the position in the mapping where the initialized bit for a tick lives\n    /// @param tick The tick for which to compute the position\n    /// @return wordPos The key in the mapping containing the word in which the bit is stored\n    /// @return bitPos The bit position in the word where the flag is stored\n    function position(int24 tick) internal pure returns (int16 wordPos, uint8 bitPos) {\n        assembly (\"memory-safe\") {\n            // signed arithmetic shift right\n            wordPos := sar(8, signextend(2, tick))\n            bitPos := and(tick, 0xff)\n        }\n    }\n\n    /// @notice Flips the initialized state for a given tick from false to true, or vice versa\n    /// @param self The mapping in which to flip the tick\n    /// @param tick The tick to flip\n    /// @param tickSpacing The spacing between usable ticks\n    function flipTick(mapping(int16 => uint256) storage self, int24 tick, int24 tickSpacing) internal {\n        // Equivalent to the following Solidity:\n        //     if (tick % tickSpacing != 0) revert TickMisaligned(tick, tickSpacing);\n        //     (int16 wordPos, uint8 bitPos) = position(tick / tickSpacing);\n        //     uint256 mask = 1 << bitPos;\n        //     self[wordPos] ^= mask;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            // ensure that the tick is spaced\n            if smod(tick, tickSpacing) {\n                let fmp := mload(0x40)\n                mstore(fmp, 0xd4d8f3e6) // selector for TickMisaligned(int24,int24)\n                mstore(add(fmp, 0x20), tick)\n                mstore(add(fmp, 0x40), tickSpacing)\n                revert(add(fmp, 0x1c), 0x44)\n            }\n            tick := sdiv(tick, tickSpacing)\n            // calculate the storage slot corresponding to the tick\n            // wordPos = tick >> 8\n            mstore(0, sar(8, tick))\n            mstore(0x20, self.slot)\n            // the slot of self[wordPos] is keccak256(abi.encode(wordPos, self.slot))\n            let slot := keccak256(0, 0x40)\n            // mask = 1 << bitPos = 1 << (tick % 256)\n            // self[wordPos] ^= mask\n            sstore(slot, xor(sload(slot), shl(and(tick, 0xff), 1)))\n        }\n    }\n\n    /// @notice Returns the next initialized tick contained in the same word (or adjacent word) as the tick that is either\n    /// to the left (less than or equal to) or right (greater than) of the given tick\n    /// @param self The mapping in which to compute the next initialized tick\n    /// @param tick The starting tick\n    /// @param tickSpacing The spacing between usable ticks\n    /// @param lte Whether to search for the next initialized tick to the left (less than or equal to the starting tick)\n    /// @return next The next initialized or uninitialized tick up to 256 ticks away from the current tick\n    /// @return initialized Whether the next tick is initialized, as the function only searches within up to 256 ticks\n    function nextInitializedTickWithinOneWord(\n        mapping(int16 => uint256) storage self,\n        int24 tick,\n        int24 tickSpacing,\n        bool lte\n    ) internal view returns (int24 next, bool initialized) {\n        unchecked {\n            int24 compressed = compress(tick, tickSpacing);\n\n            if (lte) {\n                (int16 wordPos, uint8 bitPos) = position(compressed);\n                // all the 1s at or to the right of the current bitPos\n                uint256 mask = type(uint256).max >> (uint256(type(uint8).max) - bitPos);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the right of or at the current tick, return rightmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed - int24(uint24(bitPos - BitMath.mostSignificantBit(masked)))) * tickSpacing\n                    : (compressed - int24(uint24(bitPos))) * tickSpacing;\n            } else {\n                // start from the word of the next tick, since the current tick state doesn't matter\n                (int16 wordPos, uint8 bitPos) = position(++compressed);\n                // all the 1s at or to the left of the bitPos\n                uint256 mask = ~((1 << bitPos) - 1);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the left of the current tick, return leftmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed + int24(uint24(BitMath.leastSignificantBit(masked) - bitPos))) * tickSpacing\n                    : (compressed + int24(uint24(type(uint8).max - bitPos))) * tickSpacing;\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Currency} from \"../types/Currency.sol\";\nimport {CurrencyReserves} from \"./CurrencyReserves.sol\";\nimport {NonzeroDeltaCount} from \"./NonzeroDeltaCount.sol\";\nimport {Lock} from \"./Lock.sol\";\n\n/// @notice A helper library to provide state getters that use exttload\nlibrary TransientStateLibrary {\n    /// @notice returns the reserves for the synced currency\n    /// @param manager The pool manager contract.\n\n    /// @return uint256 The reserves of the currency.\n    /// @dev returns 0 if the reserves are not synced or value is 0.\n    /// Checks the synced currency to only return valid reserve values (after a sync and before a settle).\n    function getSyncedReserves(IPoolManager manager) internal view returns (uint256) {\n        if (getSyncedCurrency(manager).isAddressZero()) return 0;\n        return uint256(manager.exttload(CurrencyReserves.RESERVES_OF_SLOT));\n    }\n\n    function getSyncedCurrency(IPoolManager manager) internal view returns (Currency) {\n        return Currency.wrap(address(uint160(uint256(manager.exttload(CurrencyReserves.CURRENCY_SLOT)))));\n    }\n\n    /// @notice Returns the number of nonzero deltas open on the PoolManager that must be zeroed out before the contract is locked\n    function getNonzeroDeltaCount(IPoolManager manager) internal view returns (uint256) {\n        return uint256(manager.exttload(NonzeroDeltaCount.NONZERO_DELTA_COUNT_SLOT));\n    }\n\n    /// @notice Get the current delta for a caller in the given currency\n    /// @param target The credited account address\n    /// @param currency The currency for which to lookup the delta\n    function currencyDelta(IPoolManager manager, address target, Currency currency) internal view returns (int256) {\n        bytes32 key;\n        assembly (\"memory-safe\") {\n            mstore(0, and(target, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(32, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            key := keccak256(0, 64)\n        }\n        return int256(uint256(manager.exttload(key)));\n    }\n\n    /// @notice Returns whether the contract is unlocked or not\n    function isUnlocked(IPoolManager manager) internal view returns (bool) {\n        return manager.exttload(Lock.IS_UNLOCKED_SLOT) != 0x0;\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"../libraries/SafeCast.sol\";\n\n/// @dev Two `int128` values packed into a single `int256` where the upper 128 bits represent the amount0\n/// and the lower 128 bits represent the amount1.\ntype BalanceDelta is int256;\n\nusing {add as +, sub as -, eq as ==, neq as !=} for BalanceDelta global;\nusing BalanceDeltaLibrary for BalanceDelta global;\nusing SafeCast for int256;\n\nfunction toBalanceDelta(int128 _amount0, int128 _amount1) pure returns (BalanceDelta balanceDelta) {\n    assembly (\"memory-safe\") {\n        balanceDelta := or(shl(128, _amount0), and(sub(shl(128, 1), 1), _amount1))\n    }\n}\n\nfunction add(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := add(a0, b0)\n        res1 := add(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction sub(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := sub(a0, b0)\n        res1 := sub(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction eq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) == BalanceDelta.unwrap(b);\n}\n\nfunction neq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) != BalanceDelta.unwrap(b);\n}\n\n/// @notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type\nlibrary BalanceDeltaLibrary {\n    /// @notice A BalanceDelta of 0\n    BalanceDelta public constant ZERO_DELTA = BalanceDelta.wrap(0);\n\n    function amount0(BalanceDelta balanceDelta) internal pure returns (int128 _amount0) {\n        assembly (\"memory-safe\") {\n            _amount0 := sar(128, balanceDelta)\n        }\n    }\n\n    function amount1(BalanceDelta balanceDelta) internal pure returns (int128 _amount1) {\n        assembly (\"memory-safe\") {\n            _amount1 := signextend(15, balanceDelta)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Return type of the beforeSwap hook.\n// Upper 128 bits is the delta in specified tokens. Lower 128 bits is delta in unspecified tokens (to match the afterSwap hook)\ntype BeforeSwapDelta is int256;\n\n// Creates a BeforeSwapDelta from specified and unspecified\nfunction toBeforeSwapDelta(int128 deltaSpecified, int128 deltaUnspecified)\n    pure\n    returns (BeforeSwapDelta beforeSwapDelta)\n{\n    assembly (\"memory-safe\") {\n        beforeSwapDelta := or(shl(128, deltaSpecified), and(sub(shl(128, 1), 1), deltaUnspecified))\n    }\n}\n\n/// @notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\nlibrary BeforeSwapDeltaLibrary {\n    /// @notice A BeforeSwapDelta of 0\n    BeforeSwapDelta public constant ZERO_DELTA = BeforeSwapDelta.wrap(0);\n\n    /// extracts int128 from the upper 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap\n    function getSpecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaSpecified) {\n        assembly (\"memory-safe\") {\n            deltaSpecified := sar(128, delta)\n        }\n    }\n\n    /// extracts int128 from the lower 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap and afterSwap\n    function getUnspecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaUnspecified) {\n        assembly (\"memory-safe\") {\n            deltaUnspecified := signextend(15, delta)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/Currency.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20Minimal} from \"../interfaces/external/IERC20Minimal.sol\";\nimport {CustomRevert} from \"../libraries/CustomRevert.sol\";\n\ntype Currency is address;\n\nusing {greaterThan as >, lessThan as <, greaterThanOrEqualTo as >=, equals as ==} for Currency global;\nusing CurrencyLibrary for Currency global;\n\nfunction equals(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) == Currency.unwrap(other);\n}\n\nfunction greaterThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) > Currency.unwrap(other);\n}\n\nfunction lessThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) < Currency.unwrap(other);\n}\n\nfunction greaterThanOrEqualTo(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) >= Currency.unwrap(other);\n}\n\n/// @title CurrencyLibrary\n/// @dev This library allows for transferring and holding native tokens and ERC20 tokens\nlibrary CurrencyLibrary {\n    /// @notice Additional context for ERC-7751 wrapped error when a native transfer fails\n    error NativeTransferFailed();\n\n    /// @notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\n    error ERC20TransferFailed();\n\n    /// @notice A constant to represent the native currency\n    Currency public constant ADDRESS_ZERO = Currency.wrap(address(0));\n\n    function transfer(Currency currency, address to, uint256 amount) internal {\n        // altered from https://github.com/transmissions11/solmate/blob/44a9963d4c78111f77caa0e65d677b8b46d6f2e6/src/utils/SafeTransferLib.sol\n        // modified custom error selectors\n\n        bool success;\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                // Transfer the ETH and revert if it fails.\n                success := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            // revert with NativeTransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(to, bytes4(0), NativeTransferFailed.selector);\n            }\n        } else {\n            assembly (\"memory-safe\") {\n                // Get a pointer to some free memory.\n                let fmp := mload(0x40)\n\n                // Write the abi-encoded calldata into memory, beginning with the function selector.\n                mstore(fmp, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n                mstore(add(fmp, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the \"to\" argument.\n                mstore(add(fmp, 36), amount) // Append the \"amount\" argument. Masking not required as it's a full 32 byte type.\n\n                success :=\n                    and(\n                        // Set success to whether the call reverted, if not we check it either\n                        // returned exactly 1 (can't just be non-zero data), or had no return data.\n                        or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                        // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                        // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                        // Counterintuitively, this call must be positioned second to the or() call in the\n                        // surrounding and() call or else returndatasize() will be zero during the computation.\n                        call(gas(), currency, 0, fmp, 68, 0, 32)\n                    )\n\n                // Now clean the memory we used\n                mstore(fmp, 0) // 4 byte `selector` and 28 bytes of `to` were stored here\n                mstore(add(fmp, 0x20), 0) // 4 bytes of `to` and 28 bytes of `amount` were stored here\n                mstore(add(fmp, 0x40), 0) // 4 bytes of `amount` were stored here\n            }\n            // revert with ERC20TransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(\n                    Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector\n                );\n            }\n        }\n    }\n\n    function balanceOfSelf(Currency currency) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return address(this).balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(address(this));\n        }\n    }\n\n    function balanceOf(Currency currency, address owner) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return owner.balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(owner);\n        }\n    }\n\n    function isAddressZero(Currency currency) internal pure returns (bool) {\n        return Currency.unwrap(currency) == Currency.unwrap(ADDRESS_ZERO);\n    }\n\n    function toId(Currency currency) internal pure returns (uint256) {\n        return uint160(Currency.unwrap(currency));\n    }\n\n    // If the upper 12 bytes are non-zero, they will be zero-ed out\n    // Therefore, fromId() and toId() are not inverses of each other\n    function fromId(uint256 id) internal pure returns (Currency) {\n        return Currency.wrap(address(uint160(id)));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolId.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"./PoolKey.sol\";\n\ntype PoolId is bytes32;\n\n/// @notice Library for computing the ID of a pool\nlibrary PoolIdLibrary {\n    /// @notice Returns value equal to keccak256(abi.encode(poolKey))\n    function toId(PoolKey memory poolKey) internal pure returns (PoolId poolId) {\n        assembly (\"memory-safe\") {\n            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)\n            poolId := keccak256(poolKey, 0xa0)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolKey.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./Currency.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {PoolIdLibrary} from \"./PoolId.sol\";\n\nusing PoolIdLibrary for PoolKey global;\n\n/// @notice Returns the key for identifying a pool\nstruct PoolKey {\n    /// @notice The lower currency of the pool, sorted numerically\n    Currency currency0;\n    /// @notice The higher currency of the pool, sorted numerically\n    Currency currency1;\n    /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000\n    uint24 fee;\n    /// @notice Ticks that involve positions must be a multiple of tick spacing\n    int24 tickSpacing;\n    /// @notice The hooks of the pool\n    IHooks hooks;\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\n\n/// @notice Parameter struct for `ModifyLiquidity` pool operations\nstruct ModifyLiquidityParams {\n    // the lower and upper tick of the position\n    int24 tickLower;\n    int24 tickUpper;\n    // how to modify the liquidity\n    int256 liquidityDelta;\n    // a value to set if you want unique liquidity positions at the same range\n    bytes32 salt;\n}\n\n/// @notice Parameter struct for `Swap` pool operations\nstruct SwapParams {\n    /// Whether to swap token0 for token1 or vice versa\n    bool zeroForOne;\n    /// The desired input amount if negative (exactIn), or the desired output amount if positive (exactOut)\n    int256 amountSpecified;\n    /// The sqrt price at which, if reached, the swap will stop executing\n    uint160 sqrtPriceLimitX96;\n}\n"},"node_modules/@uniswap/v4-core/src/types/Slot0.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @dev Slot0 is a packed version of solidity structure.\n * Using the packaged version saves gas by not storing the structure fields in memory slots.\n *\n * Layout:\n * 24 bits empty | 24 bits lpFee | 12 bits protocolFee 1->0 | 12 bits protocolFee 0->1 | 24 bits tick | 160 bits sqrtPriceX96\n *\n * Fields in the direction from the least significant bit:\n *\n * The current price\n * uint160 sqrtPriceX96;\n *\n * The current tick\n * int24 tick;\n *\n * Protocol fee, expressed in hundredths of a bip, upper 12 bits are for 1->0, and the lower 12 are for 0->1\n * the maximum is 1000 - meaning the maximum protocol fee is 0.1%\n * the protocolFee is taken from the input first, then the lpFee is taken from the remaining input\n * uint24 protocolFee;\n *\n * The current LP fee of the pool. If the pool is dynamic, this does not include the dynamic fee flag.\n * uint24 lpFee;\n */\ntype Slot0 is bytes32;\n\nusing Slot0Library for Slot0 global;\n\n/// @notice Library for getting and setting values in the Slot0 type\nlibrary Slot0Library {\n    uint160 internal constant MASK_160_BITS = 0x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n\n    uint8 internal constant TICK_OFFSET = 160;\n    uint8 internal constant PROTOCOL_FEE_OFFSET = 184;\n    uint8 internal constant LP_FEE_OFFSET = 208;\n\n    // #### GETTERS ####\n    function sqrtPriceX96(Slot0 _packed) internal pure returns (uint160 _sqrtPriceX96) {\n        assembly (\"memory-safe\") {\n            _sqrtPriceX96 := and(MASK_160_BITS, _packed)\n        }\n    }\n\n    function tick(Slot0 _packed) internal pure returns (int24 _tick) {\n        assembly (\"memory-safe\") {\n            _tick := signextend(2, shr(TICK_OFFSET, _packed))\n        }\n    }\n\n    function protocolFee(Slot0 _packed) internal pure returns (uint24 _protocolFee) {\n        assembly (\"memory-safe\") {\n            _protocolFee := and(MASK_24_BITS, shr(PROTOCOL_FEE_OFFSET, _packed))\n        }\n    }\n\n    function lpFee(Slot0 _packed) internal pure returns (uint24 _lpFee) {\n        assembly (\"memory-safe\") {\n            _lpFee := and(MASK_24_BITS, shr(LP_FEE_OFFSET, _packed))\n        }\n    }\n\n    // #### SETTERS ####\n    function setSqrtPriceX96(Slot0 _packed, uint160 _sqrtPriceX96) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(MASK_160_BITS), _packed), and(MASK_160_BITS, _sqrtPriceX96))\n        }\n    }\n\n    function setTick(Slot0 _packed, int24 _tick) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(shl(TICK_OFFSET, MASK_24_BITS)), _packed), shl(TICK_OFFSET, and(MASK_24_BITS, _tick)))\n        }\n    }\n\n    function setProtocolFee(Slot0 _packed, uint24 _protocolFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(\n                    and(not(shl(PROTOCOL_FEE_OFFSET, MASK_24_BITS)), _packed),\n                    shl(PROTOCOL_FEE_OFFSET, and(MASK_24_BITS, _protocolFee))\n                )\n        }\n    }\n\n    function setLpFee(Slot0 _packed, uint24 _lpFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(and(not(shl(LP_FEE_OFFSET, MASK_24_BITS)), _packed), shl(LP_FEE_OFFSET, and(MASK_24_BITS, _lpFee)))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IEIP712_v4\n/// @notice Interface for the EIP712 contract\ninterface IEIP712_v4 {\n    /// @notice Returns the domain separator for the current chain.\n    /// @return bytes32 The domain separator\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IERC721Permit_v4\n/// @notice Interface for the ERC721Permit_v4 contract\ninterface IERC721Permit_v4 {\n    error SignatureDeadlineExpired();\n    error NoSelfPermit();\n    error Unauthorized();\n\n    /// @notice Approve of a specific token ID for spending by spender via signature\n    /// @param spender The account that is being approved\n    /// @param tokenId The ID of the token that is being approved for spending\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permit(address spender, uint256 tokenId, uint256 deadline, uint256 nonce, bytes calldata signature)\n        external\n        payable;\n\n    /// @notice Set an operator with full permission to an owner's tokens via signature\n    /// @param owner The address that is setting the operator\n    /// @param operator The address that will be set as an operator for the owner\n    /// @param approved The permission to set on the operator\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permitForAll(\n        address owner,\n        address operator,\n        bool approved,\n        uint256 deadline,\n        uint256 nonce,\n        bytes calldata signature\n    ) external payable;\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\n\n/// @title IImmutableState\n/// @notice Interface for the ImmutableState contract\ninterface IImmutableState {\n    /// @notice The Uniswap v4 PoolManager contract\n    function poolManager() external view returns (IPoolManager);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IMsgSender\n/// @notice Interface for contracts that expose the original caller\ninterface IMsgSender {\n    /// @notice Returns the address of the original caller (msg.sender)\n    /// @dev Uniswap v4 periphery contracts implement a callback pattern which lose\n    /// the original msg.sender caller context. This view function provides a way for\n    /// integrating contracts (e.g. hooks) to access the original caller address.\n    /// @return The address of the original caller\n    function msgSender() external view returns (address);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IMulticall_v4\n/// @notice Interface for the Multicall_v4 contract\ninterface IMulticall_v4 {\n    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed\n    /// @dev The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether.\n    /// Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\n    /// @param data The encoded function data for each of the calls to make to this contract\n    /// @return results The results from each of the calls passed in via data\n    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ISubscriber} from \"./ISubscriber.sol\";\n\n/// @title INotifier\n/// @notice Interface for the Notifier contract\ninterface INotifier {\n    /// @notice Thrown when unsubscribing without a subscriber\n    error NotSubscribed();\n    /// @notice Thrown when a subscriber does not have code\n    error NoCodeSubscriber();\n    /// @notice Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\n    error GasLimitTooLow();\n    /// @notice Wraps the revert message of the subscriber contract on a reverting subscription\n    error SubscriptionReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\n    error ModifyLiquidityNotificationReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting burn notification\n    error BurnNotificationReverted(address subscriber, bytes reason);\n    /// @notice Thrown when a tokenId already has a subscriber\n    error AlreadySubscribed(uint256 tokenId, address subscriber);\n\n    /// @notice Emitted on a successful call to subscribe\n    event Subscription(uint256 indexed tokenId, address indexed subscriber);\n    /// @notice Emitted on a successful call to unsubscribe\n    event Unsubscription(uint256 indexed tokenId, address indexed subscriber);\n\n    /// @notice Returns the subscriber for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @return subscriber the subscriber contract\n    function subscriber(uint256 tokenId) external view returns (ISubscriber subscriber);\n\n    /// @notice Enables the subscriber to receive notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @param newSubscriber the address of the subscriber contract\n    /// @param data caller-provided data that's forwarded to the subscriber contract\n    /// @dev Calling subscribe when a position is already subscribed will revert\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev will revert if pool manager is locked\n    function subscribe(uint256 tokenId, address newSubscriber, bytes calldata data) external payable;\n\n    /// @notice Removes the subscriber from receiving notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @dev Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notified\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev Must always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.\n    /// @dev will revert if pool manager is locked\n    function unsubscribe(uint256 tokenId) external payable;\n\n    /// @notice Returns and determines the maximum allowable gas-used for notifying unsubscribe\n    /// @return uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\n    function unsubscribeGasLimit() external view returns (uint256);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\n\n/// @title IPermit2Forwarder\n/// @notice Interface for the Permit2Forwarder contract\ninterface IPermit2Forwarder {\n    /// @notice allows forwarding a single permit to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param permitSingle the permit data\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permit(address owner, IAllowanceTransfer.PermitSingle calldata permitSingle, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n\n    /// @notice allows forwarding batch permits to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param _permitBatch a batch of approvals\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permitBatch(address owner, IAllowanceTransfer.PermitBatch calldata _permitBatch, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title IPoolInitializer_v4\n/// @notice Interface for the PoolInitializer_v4 contract\ninterface IPoolInitializer_v4 {\n    /// @notice Initialize a Uniswap v4 Pool\n    /// @dev If the pool is already initialized, this function will not revert and just return type(int24).max\n    /// @param key The PoolKey of the pool to initialize\n    /// @param sqrtPriceX96 The initial starting price of the pool, expressed as a sqrtPriceX96\n    /// @return The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\n    function initializePool(PoolKey calldata key, uint160 sqrtPriceX96) external payable returns (int24);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\nimport {INotifier} from \"./INotifier.sol\";\nimport {IImmutableState} from \"./IImmutableState.sol\";\nimport {IERC721Permit_v4} from \"./IERC721Permit_v4.sol\";\nimport {IEIP712_v4} from \"./IEIP712_v4.sol\";\nimport {IMulticall_v4} from \"./IMulticall_v4.sol\";\nimport {IPoolInitializer_v4} from \"./IPoolInitializer_v4.sol\";\nimport {IUnorderedNonce} from \"./IUnorderedNonce.sol\";\nimport {IPermit2Forwarder} from \"./IPermit2Forwarder.sol\";\n\n/// @title IPositionManager\n/// @notice Interface for the PositionManager contract\ninterface IPositionManager is\n    INotifier,\n    IImmutableState,\n    IERC721Permit_v4,\n    IEIP712_v4,\n    IMulticall_v4,\n    IPoolInitializer_v4,\n    IUnorderedNonce,\n    IPermit2Forwarder\n{\n    /// @notice Thrown when the caller is not approved to modify a position\n    error NotApproved(address caller);\n    /// @notice Thrown when the block.timestamp exceeds the user-provided deadline\n    error DeadlinePassed(uint256 deadline);\n    /// @notice Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\n    /// @dev This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\n    error PoolManagerMustBeLocked();\n\n    /// @notice Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\n    /// @dev This is the standard entrypoint for the PositionManager\n    /// @param unlockData is an encoding of actions, and parameters for those actions\n    /// @param deadline is the deadline for the batched actions to be executed\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n\n    /// @notice Batches actions for modifying liquidity without unlocking v4 PoolManager\n    /// @dev This must be called by a contract that has already unlocked the v4 PoolManager\n    /// @param actions the actions to perform\n    /// @param params the parameters to provide for the actions\n    function modifyLiquiditiesWithoutUnlock(bytes calldata actions, bytes[] calldata params) external payable;\n\n    /// @notice Used to get the ID that will be used for the next minted liquidity position\n    /// @return uint256 The next token ID\n    function nextTokenId() external view returns (uint256);\n\n    /// @notice Returns the liquidity of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return liquidity the position's liquidity, as a liquidityAmount\n    /// @dev this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128 liquidity);\n\n    /// @notice Returns the pool key and position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return poolKey the pool key of the position\n    /// @return PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory, PositionInfo);\n\n    /// @notice Returns the position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function positionInfo(uint256 tokenId) external view returns (PositionInfo);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\n/// @title ISubscriber\n/// @notice Interface that a Subscriber contract should implement to receive updates from the v4 position manager\ninterface ISubscriber {\n    /// @notice Called when a position subscribes to this subscriber contract\n    /// @param tokenId the token ID of the position\n    /// @param data additional data passed in by the caller\n    function notifySubscribe(uint256 tokenId, bytes memory data) external;\n\n    /// @notice Called when a position unsubscribes from the subscriber\n    /// @dev This call's gas is capped at `unsubscribeGasLimit` (set at deployment)\n    /// @dev Because of EIP-150, solidity may only allocate 63/64 of gasleft()\n    /// @param tokenId the token ID of the position\n    function notifyUnsubscribe(uint256 tokenId) external;\n\n    /// @notice Called when a position is burned\n    /// @param tokenId the token ID of the position\n    /// @param owner the current owner of the tokenId\n    /// @param info information about the position\n    /// @param liquidity the amount of liquidity decreased in the position, may be 0\n    /// @param feesAccrued the fees accrued by the position if liquidity was decreased\n    function notifyBurn(uint256 tokenId, address owner, PositionInfo info, uint256 liquidity, BalanceDelta feesAccrued)\n        external;\n\n    /// @notice Called when a position modifies its liquidity or collects fees\n    /// @param tokenId the token ID of the position\n    /// @param liquidityChange the change in liquidity on the underlying position\n    /// @param feesAccrued the fees to be collected from the position as a result of the modifyLiquidity call\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious user\n    /// Pools with a single liquidity position can inflate feeGrowthGlobal (and consequently feesAccrued) by donating to themselves;\n    /// atomically donating and collecting fees within the same unlockCallback may further inflate feeGrowthGlobal/feesAccrued\n    function notifyModifyLiquidity(uint256 tokenId, int256 liquidityChange, BalanceDelta feesAccrued) external;\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IUnorderedNonce\n/// @notice Interface for the UnorderedNonce contract\ninterface IUnorderedNonce {\n    error NonceAlreadyUsed();\n\n    /// @notice mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\n    /// @dev word is at most type(uint248).max\n    function nonces(address owner, uint256 word) external view returns (uint256);\n\n    /// @notice Revoke a nonce by spending it, preventing it from being used again\n    /// @dev Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the nonce\n    /// @dev payable so it can be multicalled with native-token related actions\n    function revokeNonce(uint256 nonce) external payable;\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Library to define different pool actions.\n/// @dev These are suggested common commands, however additional commands should be defined as required\n/// Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts.\nlibrary Actions {\n    // pool actions\n    // liquidity actions\n    uint256 internal constant INCREASE_LIQUIDITY = 0x00;\n    uint256 internal constant DECREASE_LIQUIDITY = 0x01;\n    uint256 internal constant MINT_POSITION = 0x02;\n    uint256 internal constant BURN_POSITION = 0x03;\n    uint256 internal constant INCREASE_LIQUIDITY_FROM_DELTAS = 0x04;\n    uint256 internal constant MINT_POSITION_FROM_DELTAS = 0x05;\n\n    // swapping\n    uint256 internal constant SWAP_EXACT_IN_SINGLE = 0x06;\n    uint256 internal constant SWAP_EXACT_IN = 0x07;\n    uint256 internal constant SWAP_EXACT_OUT_SINGLE = 0x08;\n    uint256 internal constant SWAP_EXACT_OUT = 0x09;\n\n    // donate\n    // note this is not supported in the position manager or router\n    uint256 internal constant DONATE = 0x0a;\n\n    // closing deltas on the pool manager\n    // settling\n    uint256 internal constant SETTLE = 0x0b;\n    uint256 internal constant SETTLE_ALL = 0x0c;\n    uint256 internal constant SETTLE_PAIR = 0x0d;\n    // taking\n    uint256 internal constant TAKE = 0x0e;\n    uint256 internal constant TAKE_ALL = 0x0f;\n    uint256 internal constant TAKE_PORTION = 0x10;\n    uint256 internal constant TAKE_PAIR = 0x11;\n\n    uint256 internal constant CLOSE_CURRENCY = 0x12;\n    uint256 internal constant CLEAR_OR_TAKE = 0x13;\n    uint256 internal constant SWEEP = 0x14;\n\n    uint256 internal constant WRAP = 0x15;\n    uint256 internal constant UNWRAP = 0x16;\n\n    // minting/burning 6909s to close deltas\n    // note this is not supported in the position manager or router\n    uint256 internal constant MINT_6909 = 0x17;\n    uint256 internal constant BURN_6909 = 0x18;\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PoolId} from \"@uniswap/v4-core/src/types/PoolId.sol\";\n\n/**\n * @dev PositionInfo is a packed version of solidity structure.\n * Using the packaged version saves gas and memory by not storing the structure fields in memory slots.\n *\n * Layout:\n * 200 bits poolId | 24 bits tickUpper | 24 bits tickLower | 8 bits hasSubscriber\n *\n * Fields in the direction from the least significant bit:\n *\n * A flag to know if the tokenId is subscribed to an address\n * uint8 hasSubscriber;\n *\n * The tickUpper of the position\n * int24 tickUpper;\n *\n * The tickLower of the position\n * int24 tickLower;\n *\n * The truncated poolId. Truncates a bytes32 value so the most signifcant (highest) 200 bits are used.\n * bytes25 poolId;\n *\n * Note: If more bits are needed, hasSubscriber can be a single bit.\n *\n */\ntype PositionInfo is uint256;\n\nusing PositionInfoLibrary for PositionInfo global;\n\nlibrary PositionInfoLibrary {\n    PositionInfo internal constant EMPTY_POSITION_INFO = PositionInfo.wrap(0);\n\n    uint256 internal constant MASK_UPPER_200_BITS = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000;\n    uint256 internal constant MASK_8_BITS = 0xFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n    uint256 internal constant SET_UNSUBSCRIBE = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00;\n    uint256 internal constant SET_SUBSCRIBE = 0x01;\n    uint8 internal constant TICK_LOWER_OFFSET = 8;\n    uint8 internal constant TICK_UPPER_OFFSET = 32;\n\n    /// @dev This poolId is NOT compatible with the poolId used in UniswapV4 core. It is truncated to 25 bytes, and just used to lookup PoolKey in the poolKeys mapping.\n    function poolId(PositionInfo info) internal pure returns (bytes25 _poolId) {\n        assembly (\"memory-safe\") {\n            _poolId := and(MASK_UPPER_200_BITS, info)\n        }\n    }\n\n    function tickLower(PositionInfo info) internal pure returns (int24 _tickLower) {\n        assembly (\"memory-safe\") {\n            _tickLower := signextend(2, shr(TICK_LOWER_OFFSET, info))\n        }\n    }\n\n    function tickUpper(PositionInfo info) internal pure returns (int24 _tickUpper) {\n        assembly (\"memory-safe\") {\n            _tickUpper := signextend(2, shr(TICK_UPPER_OFFSET, info))\n        }\n    }\n\n    function hasSubscriber(PositionInfo info) internal pure returns (bool _hasSubscriber) {\n        assembly (\"memory-safe\") {\n            _hasSubscriber := and(MASK_8_BITS, info)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setSubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := or(info, SET_SUBSCRIBE)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setUnsubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := and(info, SET_UNSUBSCRIBE)\n        }\n    }\n\n    /// @notice Creates the default PositionInfo struct\n    /// @dev Called when minting a new position\n    /// @param _poolKey the pool key of the position\n    /// @param _tickLower the lower tick of the position\n    /// @param _tickUpper the upper tick of the position\n    /// @return info packed position info, with the truncated poolId and the hasSubscriber flag set to false\n    function initialize(PoolKey memory _poolKey, int24 _tickLower, int24 _tickUpper)\n        internal\n        pure\n        returns (PositionInfo info)\n    {\n        bytes25 _poolId = bytes25(PoolId.unwrap(_poolKey.toId()));\n        assembly {\n            info :=\n                or(\n                    or(and(MASK_UPPER_200_BITS, _poolId), shl(TICK_UPPER_OFFSET, and(MASK_24_BITS, _tickUpper))),\n                    shl(TICK_LOWER_OFFSET, and(MASK_24_BITS, _tickLower))\n                )\n        }\n    }\n}\n"},"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"node_modules/permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["forge-std/=node_modules/forge-std/src/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@uniswap/v4-core/=node_modules/@uniswap/v4-core/","@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/","permit2/=node_modules/permit2/"]},"name":"ClankLaunchFactory","fullyQualifiedName":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},"abi":[{"type":"constructor","inputs":[{"name":"config","type":"tuple","components":[{"name":"initialOwner","type":"address","internalType":"address"},{"name":"poolManager","type":"address","internalType":"address"},{"name":"positionManager","type":"address","internalType":"address"},{"name":"permit2","type":"address","internalType":"address"},{"name":"initializationHook","type":"address","internalType":"address"}],"internalType":"struct ClankLaunchFactory.DeploymentConfig"}],"stateMutability":"nonpayable"},{"name":"AddressMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"AlreadySet","type":"error","inputs":[]},{"name":"AlreadyUnlocked","type":"error","inputs":[]},{"name":"CurveFeeTooHigh","type":"error","inputs":[]},{"name":"ExemptionListTooLong","type":"error","inputs":[]},{"name":"FeeTransferFailed","type":"error","inputs":[]},{"name":"GraduationRescueTooEarly","type":"error","inputs":[{"name":"availableAt","type":"uint256","internalType":"uint256"}]},{"name":"InitializationHookFactoryMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InitializationHookOwnerMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InitializationHookPoolMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InsufficientRescueGas","type":"error","inputs":[]},{"name":"InvalidBasisPoints","type":"error","inputs":[]},{"name":"InvalidEconomics","type":"error","inputs":[]},{"name":"InvalidInitializationHook","type":"error","inputs":[]},{"name":"InvalidLaunchConfigId","type":"error","inputs":[]},{"name":"InvalidMetadata","type":"error","inputs":[]},{"name":"InvalidPoolConfiguration","type":"error","inputs":[]},{"name":"InvalidSnipeTaxWindow","type":"error","inputs":[]},{"name":"InvalidState","type":"error","inputs":[{"name":"expected","type":"uint8","internalType":"enum ClankBondingCurve.State"},{"name":"actual","type":"uint8","internalType":"enum ClankBondingCurve.State"}]},{"name":"LaunchAlreadyExists","type":"error","inputs":[]},{"name":"LaunchConfigDisabled","type":"error","inputs":[]},{"name":"LaunchDeployerNotSet","type":"error","inputs":[]},{"name":"LaunchDeployerWiringMismatch","type":"error","inputs":[]},{"name":"LaunchEconomicsMismatch","type":"error","inputs":[{"name":"expected","type":"bytes32","internalType":"bytes32"},{"name":"actual","type":"bytes32","internalType":"bytes32"}]},{"name":"LaunchFeeNotPaid","type":"error","inputs":[]},{"name":"MigrationAmountTooSmall","type":"error","inputs":[]},{"name":"MissingCode","type":"error","inputs":[{"name":"dependency","type":"address","internalType":"address"}]},{"name":"NotLaunchForwarder","type":"error","inputs":[]},{"name":"NotWhitelisted","type":"error","inputs":[]},{"name":"NothingToGraduate","type":"error","inputs":[]},{"name":"OnlySelf","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"OwnershipCannotBeRenounced","type":"error","inputs":[]},{"name":"PairTokenAuthorityUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PairTokenDecimalsMismatch","type":"error","inputs":[{"name":"expected","type":"uint8","internalType":"uint8"},{"name":"actual","type":"uint8","internalType":"uint8"}]},{"name":"PairTokenDecimalsUnavailable","type":"error","inputs":[]},{"name":"PairTokenEconomicsInvalid","type":"error","inputs":[]},{"name":"PairTokenNotApproved","type":"error","inputs":[]},{"name":"PairTokenValidationFailed","type":"error","inputs":[]},{"name":"PositionManagerLocked","type":"error","inputs":[]},{"name":"PositionManagerPermit2Mismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"PositionManagerPoolMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"TokenNotFound","type":"error","inputs":[]},{"name":"UnexpectedNativeSender","type":"error","inputs":[]},{"name":"UnsupportedBuyback","type":"error","inputs":[]},{"name":"UnsupportedCreatorTax","type":"error","inputs":[]},{"name":"ZeroAddress","type":"error","inputs":[]},{"name":"FeeDestinationUpdated","type":"event","inputs":[{"name":"previousDestination","type":"address","indexed":true,"internalType":"address"},{"name":"newDestination","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeesCollected","type":"event","inputs":[{"name":"asset","type":"address","indexed":true,"internalType":"address"},{"name":"destination","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchConfigAdded","type":"event","inputs":[{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchConfigEnabledUpdated","type":"event","inputs":[{"name":"launchConfigId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"LaunchConfigUpdated","type":"event","inputs":[{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchDeployerSet","type":"event","inputs":[{"name":"deployer","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"LaunchEnabledUpdated","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"LaunchForceSwept","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"LaunchForwarderSet","type":"event","inputs":[{"name":"forwarder","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"LaunchGraduationRescued","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"quoteAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchSwept","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"quoteOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenOut","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"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},{"name":"PairTokenApprovalUpdated","type":"event","inputs":[{"name":"pairToken","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"PairTokenAuthorityUpdated","type":"event","inputs":[{"name":"previousAuthority","type":"address","indexed":true,"internalType":"address"},{"name":"newAuthority","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PairTokenEconomicsUpdated","type":"event","inputs":[{"name":"pairToken","type":"address","indexed":true,"internalType":"address"},{"name":"phantomQuote","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"PoolGraduated","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"positionId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"pairTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SnipeTaxSecondsUpdated","type":"event","inputs":[{"name":"secondsWindow","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SnipeTaxStartBpsUpdated","type":"event","inputs":[{"name":"bps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TokenLaunched","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"curve","type":"address","indexed":true,"internalType":"address"},{"name":"deployer","type":"address","indexed":true,"internalType":"address"},{"name":"pairToken","type":"address","indexed":false,"internalType":"address"},{"name":"launchConfigId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GRADUATION_RESCUE_DELAY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_CURVE_FEE_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"MAX_DESCRIPTION_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_LOGO_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_NAME_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SOCIAL_URI_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SYMBOL_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_V4_STATIC_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"MAX_V4_TICK_SPACING","type":"function","inputs":[],"outputs":[{"name":"","type":"int24","internalType":"int24"}],"stateMutability":"view"},{"name":"MIN_PAIR_TOKEN_DECIMALS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"RESCUE_MIGRATION_GAS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"addLaunchConfig","type":"function","inputs":[{"name":"config","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"outputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"approvedPairTokens","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"approved","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"attemptForceGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"attemptRescueMigration","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"canLaunch","type":"function","inputs":[{"name":"launcher","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"collectFees","type":"function","inputs":[{"name":"asset","type":"address","internalType":"address"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"createGraduatedPool","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"positionId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"feeDestination","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"feeEscrow","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankFeeEscrow"}],"stateMutability":"view"},{"name":"forceSweptGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getLaunch","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"creator","type":"address","internalType":"address"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"launchId","type":"bytes32","internalType":"bytes32"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"economics","type":"bytes32","internalType":"bytes32"},{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"supply","type":"uint128","internalType":"uint128"},{"name":"phantomQuote","type":"uint128","internalType":"uint128"},{"name":"graduationThreshold","type":"uint128","internalType":"uint128"},{"name":"curveFeeBps","type":"uint16","internalType":"uint16"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"sweptQuote","type":"uint128","internalType":"uint128"},{"name":"sweptTokens","type":"uint128","internalType":"uint128"},{"name":"sweptAt","type":"uint64","internalType":"uint64"},{"name":"targetLpTokens","type":"uint128","internalType":"uint128"},{"name":"seededQuote","type":"uint128","internalType":"uint128"},{"name":"seededToken","type":"uint128","internalType":"uint128"},{"name":"positionId","type":"uint256","internalType":"uint256"}],"internalType":"struct ClankLaunchFactory.Launch"}],"stateMutability":"view"},{"name":"getLaunchConfig","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"stateMutability":"view"},{"name":"getLaunchedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"launched","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"deployer","type":"address","internalType":"address"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"phase","type":"uint8","internalType":"uint8"},{"name":"sweptQuote","type":"uint256","internalType":"uint256"},{"name":"sweptTokens","type":"uint256","internalType":"uint256"},{"name":"sweptAt","type":"uint256","internalType":"uint256"},{"name":"exists","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchedToken"}],"stateMutability":"view"},{"name":"graduate","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"graduationExecutor","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankGraduationExecutor"}],"stateMutability":"view"},{"name":"graduationGuard","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankGraduationGuard"}],"stateMutability":"view"},{"name":"initializationHook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankInitializationGuardHook"}],"stateMutability":"view"},{"name":"launchConfigCount","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"launchDeployer","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankLaunchDeployer"}],"stateMutability":"view"},{"name":"launchEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"launchFee","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"launchForwarder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"launchToken","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"snipeTaxExemptions","type":"address[]","internalType":"address[]"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"launchToken","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"launchTokenFor","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"originalDeployer","type":"address","internalType":"address"},{"name":"snipeTaxExemptions","type":"address[]","internalType":"address[]"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"locker","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankLaunchLocker"}],"stateMutability":"view"},{"name":"memeHook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairTokenAuthority","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairTokenEconomics","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"decimals","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"positionManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictLaunch","type":"function","inputs":[{"name":"creator","type":"address","internalType":"address"},{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"launchId","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"previewLaunchEconomics","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"previewLaunchEconomics","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"protocolFeeRecipient","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"pure"},{"name":"rescueSweptGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeDestination","type":"function","inputs":[{"name":"newDestination","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchConfigEnabled","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchDeployer","type":"function","inputs":[{"name":"deployer","type":"address","internalType":"contract ClankLaunchDeployer"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchEnabled","type":"function","inputs":[{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchForwarder","type":"function","inputs":[{"name":"forwarder","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenApproved","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenAuthority","type":"function","inputs":[{"name":"newAuthority","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenEconomics","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"expectedDecimals","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSnipeTaxSeconds","type":"function","inputs":[{"name":"secondsWindow","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSnipeTaxStartBps","type":"function","inputs":[{"name":"bps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"snipeTaxSeconds","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"snipeTaxStartBps","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tokenForCurve","type":"function","inputs":[{"name":"curve","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateLaunchConfig","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"config","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"components":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"poolManager","type":"address"},{"internalType":"address","name":"positionManager","type":"address"},{"internalType":"address","name":"permit2","type":"address"},{"internalType":"address","name":"initializationHook","type":"address"}],"internalType":"struct ClankLaunchFactory.DeploymentConfig","name":"config","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"AddressMismatch","type":"error"},{"inputs":[],"name":"AlreadySet","type":"error"},{"inputs":[],"name":"AlreadyUnlocked","type":"error"},{"inputs":[],"name":"CurveFeeTooHigh","type":"error"},{"inputs":[],"name":"ExemptionListTooLong","type":"error"},{"inputs":[],"name":"FeeTransferFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"availableAt","type":"uint256"}],"name":"GraduationRescueTooEarly","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"InitializationHookFactoryMismatch","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"InitializationHookOwnerMismatch","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"InitializationHookPoolMismatch","type":"error"},{"inputs":[],"name":"InsufficientRescueGas","type":"error"},{"inputs":[],"name":"InvalidBasisPoints","type":"error"},{"inputs":[],"name":"InvalidEconomics","type":"error"},{"inputs":[],"name":"InvalidInitializationHook","type":"error"},{"inputs":[],"name":"InvalidLaunchConfigId","type":"error"},{"inputs":[],"name":"InvalidMetadata","type":"error"},{"inputs":[],"name":"InvalidPoolConfiguration","type":"error"},{"inputs":[],"name":"InvalidSnipeTaxWindow","type":"error"},{"inputs":[{"internalType":"enum ClankBondingCurve.State","name":"expected","type":"uint8"},{"internalType":"enum ClankBondingCurve.State","name":"actual","type":"uint8"}],"name":"InvalidState","type":"error"},{"inputs":[],"name":"LaunchAlreadyExists","type":"error"},{"inputs":[],"name":"LaunchConfigDisabled","type":"error"},{"inputs":[],"name":"LaunchDeployerNotSet","type":"error"},{"inputs":[],"name":"LaunchDeployerWiringMismatch","type":"error"},{"inputs":[{"internalType":"bytes32","name":"expected","type":"bytes32"},{"internalType":"bytes32","name":"actual","type":"bytes32"}],"name":"LaunchEconomicsMismatch","type":"error"},{"inputs":[],"name":"LaunchFeeNotPaid","type":"error"},{"inputs":[],"name":"MigrationAmountTooSmall","type":"error"},{"inputs":[{"internalType":"address","name":"dependency","type":"address"}],"name":"MissingCode","type":"error"},{"inputs":[],"name":"NotLaunchForwarder","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"NothingToGraduate","type":"error"},{"inputs":[],"name":"OnlySelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnershipCannotBeRenounced","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"PairTokenAuthorityUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint8","name":"expected","type":"uint8"},{"internalType":"uint8","name":"actual","type":"uint8"}],"name":"PairTokenDecimalsMismatch","type":"error"},{"inputs":[],"name":"PairTokenDecimalsUnavailable","type":"error"},{"inputs":[],"name":"PairTokenEconomicsInvalid","type":"error"},{"inputs":[],"name":"PairTokenNotApproved","type":"error"},{"inputs":[],"name":"PairTokenValidationFailed","type":"error"},{"inputs":[],"name":"PositionManagerLocked","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"PositionManagerPermit2Mismatch","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"PositionManagerPoolMismatch","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"TokenNotFound","type":"error"},{"inputs":[],"name":"UnexpectedNativeSender","type":"error"},{"inputs":[],"name":"UnsupportedBuyback","type":"error"},{"inputs":[],"name":"UnsupportedCreatorTax","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousDestination","type":"address"},{"indexed":true,"internalType":"address","name":"newDestination","type":"address"}],"name":"FeeDestinationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"LaunchConfigAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"LaunchConfigEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"LaunchConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"LaunchDeployerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"LaunchEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"LaunchForceSwept","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"forwarder","type":"address"}],"name":"LaunchForwarderSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"quoteAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"LaunchGraduationRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"quoteOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenOut","type":"uint256"}],"name":"LaunchSwept","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pairToken","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"PairTokenApprovalUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousAuthority","type":"address"},{"indexed":true,"internalType":"address","name":"newAuthority","type":"address"}],"name":"PairTokenAuthorityUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pairToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"PairTokenEconomicsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"positionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pairTokenAmount","type":"uint256"}],"name":"PoolGraduated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"secondsWindow","type":"uint256"}],"name":"SnipeTaxSecondsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bps","type":"uint256"}],"name":"SnipeTaxStartBpsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"curve","type":"address"},{"indexed":true,"internalType":"address","name":"deployer","type":"address"},{"indexed":false,"internalType":"address","name":"pairToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"graduationThreshold","type":"uint256"}],"name":"TokenLaunched","type":"event"},{"inputs":[],"name":"GRADUATION_RESCUE_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CURVE_FEE_BPS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DESCRIPTION_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_LOGO_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NAME_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SOCIAL_URI_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SYMBOL_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_V4_STATIC_FEE","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_V4_TICK_SPACING","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_PAIR_TOKEN_DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESCUE_MIGRATION_GAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"curveFeeBps","type":"uint256"},{"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint24","name":"poolFee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig","name":"config","type":"tuple"}],"name":"addLaunchConfig","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pairToken","type":"address"}],"name":"approvedPairTokens","outputs":[{"internalType":"bool","name":"approved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"attemptForceGraduation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"attemptRescueMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"launcher","type":"address"}],"name":"canLaunch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"collectFees","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"createGraduatedPool","outputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeEscrow","outputs":[{"internalType":"contract ClankFeeEscrow","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"forceSweptGraduation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getLaunch","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"bytes32","name":"launchId","type":"bytes32"},{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"bytes32","name":"economics","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"logo","type":"string"},{"internalType":"uint128","name":"supply","type":"uint128"},{"internalType":"uint128","name":"phantomQuote","type":"uint128"},{"internalType":"uint128","name":"graduationThreshold","type":"uint128"},{"internalType":"uint16","name":"curveFeeBps","type":"uint16"},{"internalType":"uint24","name":"poolFee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"uint128","name":"sweptQuote","type":"uint128"},{"internalType":"uint128","name":"sweptTokens","type":"uint128"},{"internalType":"uint64","name":"sweptAt","type":"uint64"},{"internalType":"uint128","name":"targetLpTokens","type":"uint128"},{"internalType":"uint128","name":"seededQuote","type":"uint128"},{"internalType":"uint128","name":"seededToken","type":"uint128"},{"internalType":"uint256","name":"positionId","type":"uint256"}],"internalType":"struct ClankLaunchFactory.Launch","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getLaunchConfig","outputs":[{"components":[{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"curveFeeBps","type":"uint256"},{"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint24","name":"poolFee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getLaunchedToken","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"address","name":"creatorFeeRecipient","type":"address"},{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint24","name":"poolFee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"uint16","name":"creatorTaxBps","type":"uint16"},{"internalType":"bool","name":"buybackEnabled","type":"bool"},{"internalType":"uint8","name":"phase","type":"uint8"},{"internalType":"uint256","name":"sweptQuote","type":"uint256"},{"internalType":"uint256","name":"sweptTokens","type":"uint256"},{"internalType":"uint256","name":"sweptAt","type":"uint256"},{"internalType":"bool","name":"exists","type":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchedToken","name":"launched","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"graduate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"graduationExecutor","outputs":[{"internalType":"contract ClankGraduationExecutor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"graduationGuard","outputs":[{"internalType":"contract ClankGraduationGuard","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initializationHook","outputs":[{"internalType":"contract ClankInitializationGuardHook","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchConfigCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchDeployer","outputs":[{"internalType":"contract ClankLaunchDeployer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchForwarder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"logo","type":"string"},{"internalType":"string","name":"description","type":"string"},{"components":[{"internalType":"string","name":"twitter","type":"string"},{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"discord","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"farcaster","type":"string"}],"internalType":"struct ClankLaunchFactory.Socials","name":"socials","type":"tuple"},{"internalType":"address","name":"creatorFeeRecipient","type":"address"},{"internalType":"uint16","name":"creatorTaxBps","type":"uint16"},{"internalType":"bool","name":"buybackEnabled","type":"bool"},{"internalType":"bytes32","name":"expectedEconomics","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams","name":"params","type":"tuple"},{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"address[]","name":"snipeTaxExemptions","type":"address[]"}],"name":"launchToken","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"logo","type":"string"},{"internalType":"string","name":"description","type":"string"},{"components":[{"internalType":"string","name":"twitter","type":"string"},{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"discord","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"farcaster","type":"string"}],"internalType":"struct ClankLaunchFactory.Socials","name":"socials","type":"tuple"},{"internalType":"address","name":"creatorFeeRecipient","type":"address"},{"internalType":"uint16","name":"creatorTaxBps","type":"uint16"},{"internalType":"bool","name":"buybackEnabled","type":"bool"},{"internalType":"bytes32","name":"expectedEconomics","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams","name":"params","type":"tuple"},{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"address","name":"pairToken","type":"address"}],"name":"launchToken","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"logo","type":"string"},{"internalType":"string","name":"description","type":"string"},{"components":[{"internalType":"string","name":"twitter","type":"string"},{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"discord","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"farcaster","type":"string"}],"internalType":"struct ClankLaunchFactory.Socials","name":"socials","type":"tuple"},{"internalType":"address","name":"creatorFeeRecipient","type":"address"},{"internalType":"uint16","name":"creatorTaxBps","type":"uint16"},{"internalType":"bool","name":"buybackEnabled","type":"bool"},{"internalType":"bytes32","name":"expectedEconomics","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams","name":"params","type":"tuple"},{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"address","name":"originalDeployer","type":"address"},{"internalType":"address[]","name":"snipeTaxExemptions","type":"address[]"}],"name":"launchTokenFor","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"contract ClankLaunchLocker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"memeHook","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairTokenAuthority","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pairToken","type":"address"}],"name":"pairTokenEconomics","outputs":[{"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"logo","type":"string"},{"internalType":"string","name":"description","type":"string"},{"components":[{"internalType":"string","name":"twitter","type":"string"},{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"discord","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"farcaster","type":"string"}],"internalType":"struct ClankLaunchFactory.Socials","name":"socials","type":"tuple"},{"internalType":"address","name":"creatorFeeRecipient","type":"address"},{"internalType":"uint16","name":"creatorTaxBps","type":"uint16"},{"internalType":"bool","name":"buybackEnabled","type":"bool"},{"internalType":"bytes32","name":"expectedEconomics","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams","name":"params","type":"tuple"},{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"address","name":"pairToken","type":"address"}],"name":"predictLaunch","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"curve","type":"address"},{"internalType":"bytes32","name":"launchId","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"launchConfigId","type":"uint256"}],"name":"previewLaunchEconomics","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"address","name":"pairToken","type":"address"}],"name":"previewLaunchEconomics","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueSweptGraduation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDestination","type":"address"}],"name":"setFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"launchConfigId","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setLaunchConfigEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ClankLaunchDeployer","name":"deployer","type":"address"}],"name":"setLaunchDeployer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setLaunchEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"setLaunchForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setPairTokenApproved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAuthority","type":"address"}],"name":"setPairTokenAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pairToken","type":"address"},{"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint8","name":"expectedDecimals","type":"uint8"}],"name":"setPairTokenEconomics","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"secondsWindow","type":"uint256"}],"name":"setSnipeTaxSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setSnipeTaxStartBps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipeTaxSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"snipeTaxStartBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"curve","type":"address"}],"name":"tokenForCurve","outputs":[{"internalType":"address","name":"token","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"components":[{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"curveFeeBps","type":"uint256"},{"internalType":"uint256","name":"phantomQuote","type":"uint256"},{"internalType":"uint256","name":"graduationThreshold","type":"uint256"},{"internalType":"uint24","name":"poolFee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig","name":"config","type":"tuple"}],"name":"updateLaunchConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"details":"Existing curves retain their economic snapshot. The owner controls new-launch terms and availability, the current fee destination, and delayed recovery of failed swept launches. Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"params":{"config":"Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters."},"returns":{"id":"Identifier assigned to the new configuration."}},"attemptForceGraduation(address)":{"details":"Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active."},"attemptRescueMigration(address)":{"details":"External rollback boundary for rescue's try/catch. Only the guarded rescue may enter. The outer nonReentrant guard remains active throughout migration and reserve release."},"canLaunch(address)":{"details":"The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist."},"collectFees(address)":{"params":{"asset":"Native ETH when zero, otherwise the ERC-20 quote asset to collect."}},"constructor":{"params":{"config":"Initial owner and validated V4 infrastructure addresses."}},"forceSweptGraduation(address)":{"details":"The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure."},"getLaunch(address)":{"details":"An unknown token returns an all-zero record; state-changing functions use _requireLaunch."},"getLaunchConfig(uint256)":{"params":{"id":"Zero-based configuration identifier."}},"graduate(address)":{"details":"Permissionless and retryable. Forced ETH is not swept. A revert restores both the curve state and this factory's scoped receive guard.","params":{"token":"Launched token identifying the curve."}},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics value waives the economics pin as in Pons."},"owner()":{"details":"Returns the address of the current owner."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Applies launch metadata bounds and returns the committed launch identifier with both addresses."},"previewLaunchEconomics(uint256)":{"details":"Creators include this digest in LaunchParams to prevent an admin configuration update from silently changing economics between address prediction and transaction execution."},"rescueSweptGraduation(address,address)":{"details":"Ordinary migration remains permissionless and retryable without resetting sweptAt. Any failure within the fixed migration gas budget permits recovery, including out-of-gas.","params":{"recipient":"Retained for ABI compatibility; must be nonzero. Recovery always pays owner()."}},"setLaunchDeployer(address)":{"details":"The helper must already identify this factory as its immutable caller."},"setLaunchEnabled(bool)":{"details":"This gate does not stop trading or graduation for existing launches."},"setPairTokenAuthority(address)":{"details":"Setting the authority to the zero address disables pair-token administration."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"details":"Existing launch snapshots are not modified.","params":{"config":"New validated configuration.","id":"Configuration to replace."}}},"stateVariables":{"RESCUE_GAS_RESERVE":{"details":"Covers call setup, error handling, and recovery after forwarding the full migration budget."},"_expectedNativeSender":{"details":"Scoped sender permitted to deliver tracked native reserves during graduation."}},"title":"Clank launch factory and graduation coordinator","version":1},"userdoc":{"errors":{"AlreadyUnlocked()":[{"notice":"Thrown when unlock is called, but the contract is already unlocked"}]},"events":{"PoolGraduated(address,uint256,uint256,uint256)":{"notice":"Compact Pons-compatible graduation event."},"TokenLaunched(address,address,address,address,uint256,uint256)":{"notice":"Pons-compatible launch event for generic launchpad indexers."}},"kind":"user","methods":{"RESCUE_MIGRATION_GAS()":{"notice":"Fixed execution budget for force-sweep graduation and rescue migration attempts."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Adds a validated configuration for new launches."},"approvedPairTokens(address)":{"notice":"ERC-20 quote assets available to new launches."},"canLaunch(address)":{"notice":"Returns whether a creator may launch through the current public gate."},"collectFees(address)":{"notice":"Permissionlessly forwards all accrued native or ERC-20 protocol credits."},"createGraduatedPool(address)":{"notice":"Advances a Swept launch to PoolCreated and permanently locks V4 liquidity."},"feeDestination()":{"notice":"Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees."},"feeEscrow()":{"notice":"Shared pull-payment escrow for protocol credits."},"forceSweptGraduation(address)":{"notice":"After seven days in Ready, retries graduation before sweeping without the seed preflight."},"getLaunch(address)":{"notice":"Returns the stored launch record for a token."},"getLaunchConfig(uint256)":{"notice":"Returns a launch configuration by identifier."},"getLaunchedToken(address)":{"notice":"Returns a Pons-shaped record for launchpad indexers and bots."},"graduate(address)":{"notice":"Advances a Ready launch to Swept by collecting its exact tracked reserves."},"graduationExecutor()":{"notice":"Shared adapter that executes V4 graduation."},"graduationGuard()":{"notice":"Stateless V4 seed preflight used before reserves leave a curve."},"initializationHook()":{"notice":"No-fee V4 hook that restricts initialization to this factory."},"launchConfigCount()":{"notice":"Returns the number of configured launch templates."},"launchDeployer()":{"notice":"Dedicated CREATE2 deployer shared by all launches and wired once after deployment."},"launchEnabled()":{"notice":"Global gate for creation of new launches."},"launchFee()":{"notice":"Pons-compatible launch-fee getter that always returns zero."},"launchForwarder()":{"notice":"Trusted router allowed to preserve the original deployer on forwarded launches."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Pons-compatible native or approved ERC-20 quote launch entrypoint."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address[])":{"notice":"Creates a launch with up to 32 additional snipe-tax-exempt recipients."},"launchTokenFor((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address,address[])":{"notice":"Creates a launch for the trusted router's original caller."},"locker()":{"notice":"Permanent liquidity-position sink shared by all launches."},"memeHook()":{"notice":"Pons-compatible pool hook getter used by third-party graduation clients."},"pairTokenAuthority()":{"notice":"Authority allowed to approve pair tokens and update their economics."},"pairTokenEconomics(address)":{"notice":"Curve economics denominated in each ERC-20 quote asset's smallest unit."},"permit2()":{"notice":"Permit2 instance used during V4 position creation."},"poolManager()":{"notice":"Uniswap V4 PoolManager used by every launch from this factory."},"positionManager()":{"notice":"Uniswap V4 PositionManager used by every launch from this factory."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Predicts the exact Pons-compatible launch, including quote asset and full metadata."},"previewLaunchEconomics(uint256)":{"notice":"Returns the current economic commitment hash for a launch configuration."},"previewLaunchEconomics(uint256,address)":{"notice":"Pons-compatible economics preview for native or approved ERC-20 quote launches."},"protocolFeeRecipient()":{"notice":"Legacy getter retained for integrations that used the previous immutable name."},"renounceOwnership()":{"notice":"Disabled to preserve the owner-operated delayed recovery path."},"rescueSweptGraduation(address,address)":{"notice":"Seven days after sweeping, retries migration before releasing failed reserves to the owner."},"setFeeDestination(address)":{"notice":"Updates the sole recipient used by every protocol fee collection path."},"setLaunchConfigEnabled(uint256,bool)":{"notice":"Enables or disables one configuration for new launches."},"setLaunchDeployer(address)":{"notice":"Wires the Pons-style CREATE2 helper exactly once."},"setLaunchEnabled(bool)":{"notice":"Enables or disables all new launch creation."},"setLaunchForwarder(address)":{"notice":"Sets the trusted launch-and-buy router; the owner may rotate it."},"setPairTokenApproved(address,bool)":{"notice":"Enables or disables an ERC-20 quote asset for new launches."},"setPairTokenAuthority(address)":{"notice":"Changes the authority that manages ERC-20 pair assets and their economics."},"setPairTokenEconomics(address,uint256,uint256,uint8)":{"notice":"Sets quote-denominated economics before an ERC-20 pair can be approved."},"setSnipeTaxSeconds(uint256)":{"notice":"Sets the anti-snipe decay window snapshotted by each new launch."},"setSnipeTaxStartBps(uint256)":{"notice":"Sets the peak total buy fee snapshotted by each new launch."},"snipeTaxSeconds()":{"notice":"Anti-snipe decay window snapshotted by new launches."},"snipeTaxStartBps()":{"notice":"Peak total buy fee snapshotted by new launches; zero disables snipe tax."},"tokenForCurve(address)":{"notice":"Token deployed for each curve address."},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Replaces a configuration used by new launches."}},"notice":"Manages launch configuration, deploys predictable token/curve pairs with CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.","version":1}},"settings":{"compilationTarget":{"contracts/ClankLaunchFactory.sol":"ClankLaunchFactory"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",":@uniswap/v4-core/=node_modules/@uniswap/v4-core/",":@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/",":forge-std/=node_modules/forge-std/src/",":permit2/=node_modules/permit2/"],"viaIR":true},"sources":{"contracts/ClankBondingCurve.sol":{"keccak256":"0x1a73785a878cea25211d377fcc80dbc7d7a040d57aeb7714037cbabd26f59437","license":"MIT","urls":["bzz-raw://11b18351782d12a54bbde4977b6a9788974208405a2289843be66ef430bd971c","dweb:/ipfs/QmcQGcUgBGRyfzDEt972FQq8RNNRnrbqRHv7PQa5EtZM2G"]},"contracts/ClankFeeEscrow.sol":{"keccak256":"0xa896ed74c23c94aaab3609871fd8c6c20a7ead1d4489f58793088b1903372110","license":"MIT","urls":["bzz-raw://4be266ed917c28139fa96b2c219da5eb9438bae390c99e6c9073b9a36bdcac3d","dweb:/ipfs/QmTXxmRHk6ZVDxqqdd9VCDVdmTaAeKvddQz7CVQZNyG1rm"]},"contracts/ClankGraduationExecutor.sol":{"keccak256":"0x62df7ad4469e93a458cc1c02332561913c7136e469c1035766dea0555b2a977c","license":"MIT","urls":["bzz-raw://38bf4ee2b48f00e9163231af3b172bde242e391c596e2f621811f8e8b82c96ad","dweb:/ipfs/QmXmC59RHNPRkFJtKGgmD1Aypwq6tTeUwm3mBtwTiJGLSZ"]},"contracts/ClankGraduationGuard.sol":{"keccak256":"0x6baef6ddf401125b1d561de399dceb13581c7fa28ac95483163a9160f50b203c","license":"MIT","urls":["bzz-raw://6de5f43cec7057e9fec50ec16a16f7542f0f0305527283d210ffa57f980c3423","dweb:/ipfs/Qme4wwu1wkmca2dWFRanHqhwdfjhS8GGKWFr82Fe8re4zE"]},"contracts/ClankInitializationGuardHook.sol":{"keccak256":"0x8fbfea47fe840fc7c690a5389ffa41b1ef54761b972f633054dd77d345bcf702","license":"MIT","urls":["bzz-raw://b6052113aa94f8ab93cd9127cdf08d7ee0a180c10dcfd3ebf4f059ccb0f4359a","dweb:/ipfs/QmUZ9SwEaDvcTBSUWPBrUaW55zvJpEpELp3TxFLdcxRUVa"]},"contracts/ClankLaunchDeployer.sol":{"keccak256":"0xf23e55376e25df82cac0826c050d663a47c2f608bffd017b676956053b74ff76","license":"MIT","urls":["bzz-raw://0a7bf097efdcff4975bc40e3fdcaa2da5b8fb229c5651a0fb7d8cde9b2ee0c25","dweb:/ipfs/QmaeDN9bdUvMNtb8gs1UaFE2zspjyU8JETcR1GpqE6KniU"]},"contracts/ClankLaunchFactory.sol":{"keccak256":"0xf524a0875a1e382fdf9ce2bd17cc9025d3af17e3820d2b947290d83ca689130c","license":"MIT","urls":["bzz-raw://62c1468180f60e2ca3effd32e8cabb064970561e7b6ef2bd580f588b8a35dc06","dweb:/ipfs/QmPEKeXBZkwtdCiMbD5j76heGqeXWAGYtyf6nfoJii3zYH"]},"contracts/ClankLaunchLocker.sol":{"keccak256":"0x15a4293e12fa634e22d3546779c6cec998a4dadd8770f6c142563aa7b639da68","license":"MIT","urls":["bzz-raw://7b1f1d92f3d9033341d036be6d2f929c42fe2fa88bbf6958ec1fb89027231fcb","dweb:/ipfs/QmR3JTn2SA9y2xYF2NnRpDPHN7233MkubpTDhsFhaQ1gKQ"]},"contracts/ClankLauncherToken.sol":{"keccak256":"0x86901b706eb11edecffd64c2d4e1c93bbf8f4884a435236a377af61b980dae0c","license":"MIT","urls":["bzz-raw://fff3967fa784e07ff6846c5330d4df73682955ce2069eda849560fe0260dfe19","dweb:/ipfs/QmNXPSyfSCbT3RbKb9e1gsNU2L5nPtTt3hLntS6KuJucH6"]},"contracts/libraries/ClankCurveMath.sol":{"keccak256":"0xdaeede9363184f0c5e6be52fdc3ce0019c73f4f77f67e2236e6037405bc25585","license":"MIT","urls":["bzz-raw://3d9cd94d57413dfa869f0d444109b55e6b365d8fe9127a56fbad30513c634e97","dweb:/ipfs/QmPpYUz9PR8AR2ieK2GgnLREorh134xnMbVnCbvSxiFmYy"]},"contracts/libraries/ClankMigrationMath.sol":{"keccak256":"0x970a595ead7685ecfa2f75ddb49713381d5c9a6d9084a52c7a2eeef8675772ce","license":"MIT","urls":["bzz-raw://9f7e3de742749a2d9f798908d5ee1b40e1d7af250758f6bb28c6f9baba1d994e","dweb:/ipfs/QmSzHNZbZtF7DGTsfknUZ82maJ9ryFizqpZGFPgHyNzu6a"]},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol":{"keccak256":"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c","license":"MIT","urls":["bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0","dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek"]},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d","license":"MIT","urls":["bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100","dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d"]},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc","license":"MIT","urls":["bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037","dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ"]},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44","license":"MIT","urls":["bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d","dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF"]},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998","license":"MIT","urls":["bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c","dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL"]},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x669464167428061ee0f8618b73b3ee90aff8405683e7ddde8cd77dadaa1afe29","license":"MIT","urls":["bzz-raw://0dda78587a7358b4fdf6b9fca0fde5a5e34930f36d5268a16028627fc0170195","dweb:/ipfs/QmQ1b6cCceDRWNxti9HifsTCzmVP25Haxs1bWugm52vTqH"]},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","license":"MIT","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"]},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"keccak256":"0x2659248df25e34000ed214b3dc8da2160bc39874c992b477d9e2b1b3283dc073","license":"MIT","urls":["bzz-raw://c345af1b0e7ea28d1216d6a04ab28f5534a5229b9edf9ca3cd0e84950ae58d26","dweb:/ipfs/QmY63jtSrYpLRe8Gj1ep2vMDCKxGNNG3hnNVKBVnrs2nmA"]},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f","license":"MIT","urls":["bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e","dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR"]},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098","license":"MIT","urls":["bzz-raw://299ced486011781dc98f638059678323c03079fefae1482abaa2135b22fa92d0","dweb:/ipfs/QmbZNbcPTBxNvwChavN2kkZZs7xHhYL7mv51KrxMhsMs3j"]},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055","license":"MIT","urls":["bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e","dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL"]},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"node_modules/@openzeppelin/contracts/utils/Create2.sol":{"keccak256":"0xe06ddfff69f3ba154d92102d9a85db2780e045303a587360cf12195216e851ca","license":"MIT","urls":["bzz-raw://ac19cc390a227758c239c06d3a11d0a2c40c8f58eabb034154b661269d4a0851","dweb:/ipfs/QmdSsfYsPX5RyAXSfHRvR5zdY9MffAgZVa3vdxQUypFBa5"]},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"]},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"keccak256":"0x6ba3db1346fc75a832aa6cd075e12f6f1fa172fa2122a020f324c319fe5be75e","license":"MIT","urls":["bzz-raw://ab92e9e1cb08144c43fa3a383a87c48f49a652d51156950b928c2a50bee6b3a5","dweb:/ipfs/QmWeKkKZBgLDKgRFGKCzsKybYF7C8g9ysg5kU1b1p7QFBi"]},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53","license":"MIT","urls":["bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99","dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N"]},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT","urls":["bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617","dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u"]},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","license":"MIT","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"]},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","license":"MIT","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"]},"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol":{"keccak256":"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43","license":"MIT","urls":["bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1","dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN"]},"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol":{"keccak256":"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937","license":"MIT","urls":["bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8","dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY"]},"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol":{"keccak256":"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d","license":"MIT","urls":["bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec","dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G"]},"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"keccak256":"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e","license":"MIT","urls":["bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4","dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi"]},"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"keccak256":"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848","license":"MIT","urls":["bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d","dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J"]},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"keccak256":"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f","license":"MIT","urls":["bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de","dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d"]},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"keccak256":"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48","license":"MIT","urls":["bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f","dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK"]},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"keccak256":"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d","license":"MIT","urls":["bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e","dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi"]},"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"keccak256":"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3","license":"BUSL-1.1","urls":["bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725","dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX"]},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"keccak256":"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de","license":"MIT","urls":["bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd","dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt"]},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"keccak256":"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542","license":"MIT","urls":["bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb","dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy"]},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"keccak256":"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741","license":"MIT","urls":["bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4","dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ"]},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"keccak256":"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2","license":"MIT","urls":["bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52","dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC"]},"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol":{"keccak256":"0xd679b4b2d429689bc44f136050ebc958fb2d7d0d3a3c7b3e48c08ab4fba09aaa","license":"MIT","urls":["bzz-raw://287190cb72840e5eb63cc7a8a1d0b9150af17d8e4ea0323f47c7e7928f2033cb","dweb:/ipfs/QmVfqWBnAQM2jUcuREDdvjcP21gNuLU35CoL3NG5CEhNcx"]},"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"keccak256":"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b","license":"MIT","urls":["bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475","dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J"]},"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"keccak256":"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353","license":"MIT","urls":["bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99","dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD"]},"node_modules/@uniswap/v4-core/src/libraries/Lock.sol":{"keccak256":"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5","license":"BUSL-1.1","urls":["bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c","dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF"]},"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"keccak256":"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87","license":"BUSL-1.1","urls":["bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59","dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm"]},"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol":{"keccak256":"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15","license":"MIT","urls":["bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17","dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa"]},"node_modules/@uniswap/v4-core/src/libraries/Pool.sol":{"keccak256":"0xb8191707c5913f5e2f589cec5167e3fac4a5b86bd84f61fdba0fbe6a8ce8a3a0","license":"BUSL-1.1","urls":["bzz-raw://a609f9c365f05becf61877d9dc767e7825bce8c34607dbfc0f0437a71f6ff407","dweb:/ipfs/QmThDUzLePs2Hbp6XTpRSHT67rdsjQLhdmS6krm8cpKSey"]},"node_modules/@uniswap/v4-core/src/libraries/Position.sol":{"keccak256":"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9","license":"BUSL-1.1","urls":["bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2","dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5"]},"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"keccak256":"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec","license":"MIT","urls":["bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba","dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787"]},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"keccak256":"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86","license":"MIT","urls":["bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59","dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj"]},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"keccak256":"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982","license":"MIT","urls":["bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138","dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF"]},"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol":{"keccak256":"0x96db333ee126a841dd959e38e452cc59d73583cb0437a1d48b2052e33a74f952","license":"MIT","urls":["bzz-raw://8672bba1eb69608299b0904f4ff305238eb18479d371c26518f278c9ee184cd0","dweb:/ipfs/QmTLu3s6ECvsEDHStQv8HTVHYtvkviBbdjPrFJd4SpVRFY"]},"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol":{"keccak256":"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9","license":"MIT","urls":["bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812","dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD"]},"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol":{"keccak256":"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a","license":"MIT","urls":["bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d","dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy"]},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"keccak256":"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8","license":"MIT","urls":["bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70","dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva"]},"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"keccak256":"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a","license":"MIT","urls":["bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5","dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV"]},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"keccak256":"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4","license":"MIT","urls":["bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572","dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn"]},"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol":{"keccak256":"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f","license":"MIT","urls":["bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9","dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H"]},"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"keccak256":"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78","license":"MIT","urls":["bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782","dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K"]},"node_modules/@uniswap/v4-core/src/types/Currency.sol":{"keccak256":"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93","license":"MIT","urls":["bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01","dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5"]},"node_modules/@uniswap/v4-core/src/types/PoolId.sol":{"keccak256":"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af","license":"MIT","urls":["bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918","dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y"]},"node_modules/@uniswap/v4-core/src/types/PoolKey.sol":{"keccak256":"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786","license":"MIT","urls":["bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639","dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi"]},"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol":{"keccak256":"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162","license":"MIT","urls":["bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07","dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c"]},"node_modules/@uniswap/v4-core/src/types/Slot0.sol":{"keccak256":"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b","license":"MIT","urls":["bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8","dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"keccak256":"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408","license":"MIT","urls":["bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736","dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"keccak256":"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017","license":"MIT","urls":["bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d","dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"keccak256":"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b","license":"MIT","urls":["bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341","dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol":{"keccak256":"0xcc7d4e3f2fde34cf1ad9f05a8e43977e04d19624f71eb8a8c295feaf64b362a3","license":"MIT","urls":["bzz-raw://1e02044b5e19cc9ca24d23f55667142fde6daefba66408b56c4f620b625fc189","dweb:/ipfs/QmUqWdRBqWi2tZkNAPhzLZbknP26TZbD8iRQMd3fdZGFgi"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"keccak256":"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08","license":"MIT","urls":["bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7","dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ"]},"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"keccak256":"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e","license":"MIT","urls":["bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746","dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"keccak256":"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5","license":"MIT","urls":["bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d","dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"keccak256":"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98","license":"MIT","urls":["bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92","dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"keccak256":"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e","license":"MIT","urls":["bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834","dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc"]},"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"keccak256":"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7","license":"MIT","urls":["bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051","dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw"]},"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"keccak256":"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3","license":"MIT","urls":["bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d","dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i"]},"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol":{"keccak256":"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830","license":"MIT","urls":["bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98","dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5"]},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"keccak256":"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53","license":"MIT","urls":["bzz-raw://f4015f62e5e8aa154baa555dc39ce36b498e6d875a53f793d62b8556e6b97ccb","dweb:/ipfs/QmUVHyEe3hZZZQum5ct6yDY8qduj62Ta7f7x5Kw95LpQbg"]},"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"keccak256":"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078","license":"MIT","urls":["bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6","dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx"]},"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol":{"keccak256":"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29","license":"MIT","urls":["bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0","dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN"]},"node_modules/permit2/src/interfaces/IEIP712.sol":{"keccak256":"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138","license":"MIT","urls":["bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72","dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint16":{"label":"uint16","encoding":"inplace","numberOfBytes":"2"},"t_uint24":{"label":"uint24","encoding":"inplace","numberOfBytes":"3"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint128":{"label":"uint128","encoding":"inplace","numberOfBytes":"16"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(Launch)4408_storage":{"label":"struct ClankLaunchFactory.Launch","members":[{"slot":"0","type":"t_address","astId":4363,"label":"token","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_address","astId":4365,"label":"curve","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_address","astId":4367,"label":"creator","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_address","astId":4369,"label":"pairToken","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_bytes32","astId":4371,"label":"launchId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"5","type":"t_uint256","astId":4373,"label":"launchConfigId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"6","type":"t_bytes32","astId":4375,"label":"economics","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"7","type":"t_string_storage","astId":4377,"label":"name","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"8","type":"t_string_storage","astId":4379,"label":"symbol","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"9","type":"t_string_storage","astId":4381,"label":"logo","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_uint128","astId":4383,"label":"supply","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_uint128","astId":4385,"label":"phantomQuote","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint128","astId":4387,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint16","astId":4389,"label":"curveFeeBps","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint24","astId":4391,"label":"poolFee","offset":18,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_int24","astId":4393,"label":"tickSpacing","offset":21,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint128","astId":4395,"label":"sweptQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint128","astId":4397,"label":"sweptTokens","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint64","astId":4399,"label":"sweptAt","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint128","astId":4401,"label":"targetLpTokens","offset":8,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_uint128","astId":4403,"label":"seededQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_uint128","astId":4405,"label":"seededToken","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"15","type":"t_uint256","astId":4407,"label":"positionId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"512"},"t_mapping(t_address,t_address)":{"key":"t_address","label":"mapping(address => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"},"t_struct(LaunchConfig)4291_storage":{"label":"struct ClankLaunchFactory.LaunchConfig","members":[{"slot":"0","type":"t_uint256","astId":4278,"label":"supply","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_uint256","astId":4280,"label":"curveFeeBps","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_uint256","astId":4282,"label":"phantomQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_uint256","astId":4284,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_uint24","astId":4286,"label":"poolFee","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_int24","astId":4288,"label":"tickSpacing","offset":3,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_bool","astId":4290,"label":"enabled","offset":6,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"160"},"t_contract(ClankLaunchDeployer)4167":{"label":"contract ClankLaunchDeployer","encoding":"inplace","numberOfBytes":"20"},"t_struct(PairTokenEconomics)4299_storage":{"label":"struct ClankLaunchFactory.PairTokenEconomics","members":[{"slot":"0","type":"t_uint256","astId":4294,"label":"phantomQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_uint256","astId":4296,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_uint8","astId":4298,"label":"decimals","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"96"},"t_mapping(t_address,t_struct(Launch)4408_storage)":{"key":"t_address","label":"mapping(address => struct ClankLaunchFactory.Launch)","value":"t_struct(Launch)4408_storage","encoding":"mapping","numberOfBytes":"32"},"t_array(t_struct(LaunchConfig)4291_storage)dyn_storage":{"base":"t_struct(LaunchConfig)4291_storage","label":"struct ClankLaunchFactory.LaunchConfig[]","encoding":"dynamic_array","numberOfBytes":"32"},"t_mapping(t_address,t_struct(PairTokenEconomics)4299_storage)":{"key":"t_address","label":"mapping(address => struct ClankLaunchFactory.PairTokenEconomics)","value":"t_struct(PairTokenEconomics)4299_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":9384,"label":"_owner","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_address","astId":9532,"label":"_pendingOwner","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_address","astId":4569,"label":"feeDestination","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_uint256","astId":4572,"label":"launchFee","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_contract(ClankLaunchDeployer)4167","astId":4601,"label":"launchDeployer","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"5","type":"t_address","astId":4604,"label":"launchForwarder","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"6","type":"t_address","astId":4607,"label":"pairTokenAuthority","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"7","type":"t_array(t_struct(LaunchConfig)4291_storage)dyn_storage","astId":4615,"label":"_launchConfigs","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"8","type":"t_mapping(t_address,t_struct(Launch)4408_storage)","astId":4620,"label":"_launches","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"9","type":"t_mapping(t_address,t_address)","astId":4625,"label":"tokenForCurve","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_mapping(t_address,t_bool)","astId":4630,"label":"approvedPairTokens","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_mapping(t_address,t_struct(PairTokenEconomics)4299_storage)","astId":4636,"label":"pairTokenEconomics","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint256","astId":4639,"label":"snipeTaxStartBps","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint256","astId":4643,"label":"snipeTaxSeconds","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_bool","astId":4646,"label":"launchEnabled","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"15","type":"t_mapping(t_address,t_address)","astId":4650,"label":"_creatorFeeRecipients","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"16","type":"t_address","astId":4653,"label":"_expectedNativeSender","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","errors":{"AlreadyUnlocked()":[{"notice":"Thrown when unlock is called, but the contract is already unlocked"}]},"events":{"PoolGraduated(address,uint256,uint256,uint256)":{"notice":"Compact Pons-compatible graduation event."},"TokenLaunched(address,address,address,address,uint256,uint256)":{"notice":"Pons-compatible launch event for generic launchpad indexers."}},"notice":"Manages launch configuration, deploys predictable token/curve pairs with CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.","methods":{"locker()":{"notice":"Permanent liquidity-position sink shared by all launches."},"permit2()":{"notice":"Permit2 instance used during V4 position creation."},"memeHook()":{"notice":"Pons-compatible pool hook getter used by third-party graduation clients."},"feeEscrow()":{"notice":"Shared pull-payment escrow for protocol credits."},"launchFee()":{"notice":"Pons-compatible launch-fee getter that always returns zero."},"poolManager()":{"notice":"Uniswap V4 PoolManager used by every launch from this factory."},"launchEnabled()":{"notice":"Global gate for creation of new launches."},"feeDestination()":{"notice":"Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees."},"launchDeployer()":{"notice":"Dedicated CREATE2 deployer shared by all launches and wired once after deployment."},"graduate(address)":{"notice":"Advances a Ready launch to Swept by collecting its exact tracked reserves."},"graduationGuard()":{"notice":"Stateless V4 seed preflight used before reserves leave a curve."},"launchForwarder()":{"notice":"Trusted router allowed to preserve the original deployer on forwarded launches."},"positionManager()":{"notice":"Uniswap V4 PositionManager used by every launch from this factory."},"snipeTaxSeconds()":{"notice":"Anti-snipe decay window snapshotted by new launches."},"canLaunch(address)":{"notice":"Returns whether a creator may launch through the current public gate."},"getLaunch(address)":{"notice":"Returns the stored launch record for a token."},"snipeTaxStartBps()":{"notice":"Peak total buy fee snapshotted by new launches; zero disables snipe tax."},"launchConfigCount()":{"notice":"Returns the number of configured launch templates."},"renounceOwnership()":{"notice":"Disabled to preserve the owner-operated delayed recovery path."},"collectFees(address)":{"notice":"Permissionlessly forwards all accrued native or ERC-20 protocol credits."},"graduationExecutor()":{"notice":"Shared adapter that executes V4 graduation."},"initializationHook()":{"notice":"No-fee V4 hook that restricts initialization to this factory."},"pairTokenAuthority()":{"notice":"Authority allowed to approve pair tokens and update their economics."},"RESCUE_MIGRATION_GAS()":{"notice":"Fixed execution budget for force-sweep graduation and rescue migration attempts."},"protocolFeeRecipient()":{"notice":"Legacy getter retained for integrations that used the previous immutable name."},"setLaunchEnabled(bool)":{"notice":"Enables or disables all new launch creation."},"tokenForCurve(address)":{"notice":"Token deployed for each curve address."},"getLaunchConfig(uint256)":{"notice":"Returns a launch configuration by identifier."},"getLaunchedToken(address)":{"notice":"Returns a Pons-shaped record for launchpad indexers and bots."},"setFeeDestination(address)":{"notice":"Updates the sole recipient used by every protocol fee collection path."},"setLaunchDeployer(address)":{"notice":"Wires the Pons-style CREATE2 helper exactly once."},"approvedPairTokens(address)":{"notice":"ERC-20 quote assets available to new launches."},"pairTokenEconomics(address)":{"notice":"Curve economics denominated in each ERC-20 quote asset's smallest unit."},"setLaunchForwarder(address)":{"notice":"Sets the trusted launch-and-buy router; the owner may rotate it."},"setSnipeTaxSeconds(uint256)":{"notice":"Sets the anti-snipe decay window snapshotted by each new launch."},"createGraduatedPool(address)":{"notice":"Advances a Swept launch to PoolCreated and permanently locks V4 liquidity."},"setSnipeTaxStartBps(uint256)":{"notice":"Sets the peak total buy fee snapshotted by each new launch."},"forceSweptGraduation(address)":{"notice":"After seven days in Ready, retries graduation before sweeping without the seed preflight."},"setPairTokenAuthority(address)":{"notice":"Changes the authority that manages ERC-20 pair assets and their economics."},"previewLaunchEconomics(uint256)":{"notice":"Returns the current economic commitment hash for a launch configuration."},"setPairTokenApproved(address,bool)":{"notice":"Enables or disables an ERC-20 quote asset for new launches."},"setLaunchConfigEnabled(uint256,bool)":{"notice":"Enables or disables one configuration for new launches."},"rescueSweptGraduation(address,address)":{"notice":"Seven days after sweeping, retries migration before releasing failed reserves to the owner."},"previewLaunchEconomics(uint256,address)":{"notice":"Pons-compatible economics preview for native or approved ERC-20 quote launches."},"setPairTokenEconomics(address,uint256,uint256,uint8)":{"notice":"Sets quote-denominated economics before an ERC-20 pair can be approved."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Adds a validated configuration for new launches."},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Replaces a configuration used by new launches."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Pons-compatible native or approved ERC-20 quote launch entrypoint."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address[])":{"notice":"Creates a launch with up to 32 additional snipe-tax-exempt recipients."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Predicts the exact Pons-compatible launch, including quote asset and full metadata."},"launchTokenFor((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address,address[])":{"notice":"Creates a launch for the trusted router's original caller."}},"version":1},"devdoc":{"kind":"dev","title":"Clank launch factory and graduation coordinator","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"details":"Existing curves retain their economic snapshot. The owner controls new-launch terms and availability, the current fee destination, and delayed recovery of failed swept launches. Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.","methods":{"owner()":{"details":"Returns the address of the current owner."},"constructor":{"params":{"config":"Initial owner and validated V4 infrastructure addresses."}},"pendingOwner()":{"details":"Returns the address of the pending owner."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"graduate(address)":{"params":{"token":"Launched token identifying the curve."},"details":"Permissionless and retryable. Forced ETH is not swept. A revert restores both the curve state and this factory's scoped receive guard."},"canLaunch(address)":{"details":"The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist."},"getLaunch(address)":{"details":"An unknown token returns an all-zero record; state-changing functions use _requireLaunch."},"collectFees(address)":{"params":{"asset":"Native ETH when zero, otherwise the ERC-20 quote asset to collect."}},"setLaunchEnabled(bool)":{"details":"This gate does not stop trading or graduation for existing launches."},"getLaunchConfig(uint256)":{"params":{"id":"Zero-based configuration identifier."}},"setLaunchDeployer(address)":{"details":"The helper must already identify this factory as its immutable caller."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"forceSweptGraduation(address)":{"details":"The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure."},"setPairTokenAuthority(address)":{"details":"Setting the authority to the zero address disables pair-token administration."},"attemptForceGraduation(address)":{"details":"Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active."},"attemptRescueMigration(address)":{"details":"External rollback boundary for rescue's try/catch. Only the guarded rescue may enter. The outer nonReentrant guard remains active throughout migration and reserve release."},"previewLaunchEconomics(uint256)":{"details":"Creators include this digest in LaunchParams to prevent an admin configuration update from silently changing economics between address prediction and transaction execution."},"rescueSweptGraduation(address,address)":{"params":{"recipient":"Retained for ABI compatibility; must be nonzero. Recovery always pays owner()."},"details":"Ordinary migration remains permissionless and retryable without resetting sweptAt. Any failure within the fixed migration gas budget permits recovery, including out-of-gas."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"params":{"config":"Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters."},"returns":{"id":"Identifier assigned to the new configuration."}},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"params":{"id":"Configuration to replace.","config":"New validated configuration."},"details":"Existing launch snapshots are not modified."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics value waives the economics pin as in Pons."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Applies launch metadata bounds and returns the committed launch identifier with both addresses."}},"version":1,"stateVariables":{"RESCUE_GAS_RESERVE":{"details":"Covers call setup, error handling, and recovery after forwarding the full migration budget."},"_expectedNativeSender":{"details":"Scoped sender permitted to deliver tracked native reserves during graduation."}}},"sourceIds":{"contracts/ClankFeeEscrow.sol":{"id":1},"contracts/ClankBondingCurve.sol":{"id":0},"contracts/ClankLaunchLocker.sol":{"id":7},"contracts/ClankLaunchFactory.sol":{"id":6},"contracts/ClankLauncherToken.sol":{"id":8},"contracts/ClankLaunchDeployer.sol":{"id":5},"contracts/ClankGraduationGuard.sol":{"id":3},"contracts/ClankGraduationExecutor.sol":{"id":2},"contracts/libraries/ClankCurveMath.sol":{"id":9},"contracts/ClankInitializationGuardHook.sol":{"id":4},"contracts/libraries/ClankMigrationMath.sol":{"id":10},"node_modules/permit2/src/interfaces/IEIP712.sol":{"id":85},"node_modules/@uniswap/v4-core/src/types/Slot0.sol":{"id":69},"node_modules/@uniswap/v4-core/src/types/PoolId.sol":{"id":66},"node_modules/@uniswap/v4-core/src/types/PoolKey.sol":{"id":67},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":27},"node_modules/@uniswap/v4-core/src/libraries/Lock.sol":{"id":49},"node_modules/@uniswap/v4-core/src/libraries/Pool.sol":{"id":52},"node_modules/@uniswap/v4-core/src/types/Currency.sol":{"id":65},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":25},"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol":{"id":46},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":23},"node_modules/@openzeppelin/contracts/utils/Create2.sol":{"id":24},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":11},"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol":{"id":35},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"id":40},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":31},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"id":45},"node_modules/@uniswap/v4-core/src/libraries/Position.sol":{"id":53},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"id":55},"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol":{"id":58},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"id":60},"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol":{"id":63},"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol":{"id":68},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":15},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"id":17},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":29},"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol":{"id":33},"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol":{"id":34},"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol":{"id":51},"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol":{"id":59},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"id":62},"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol":{"id":84},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":14},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":18},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":26},"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"id":64},"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol":{"id":12},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":13},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":32},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"id":42},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"id":44},"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"id":47},"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol":{"id":57},"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol":{"id":81},"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"id":36},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"id":43},"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"id":48},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"id":56},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":28},"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"id":37},"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"id":75},"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"id":41},"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"id":70},"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol":{"id":73},"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"id":50},"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"id":79},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":16},"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"id":54},"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"id":74},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":21},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":30},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":22},"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"id":61},"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"id":72},"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"id":80},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"id":82},"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"id":71},"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"id":78},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":38},"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"id":76},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":39},"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"id":83},"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"id":77},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"id":19},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":20}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/ClankFeeEscrow.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/// @title Clank fee escrow\n/// @notice Holds beneficiary-specific native and ERC-20 credits and lets beneficiaries pull them later.\n/// @dev Separating crediting from claiming prevents trade execution from calling an untrusted\n/// fee recipient. Forced ETH is surplus and does not create a beneficiary credit.\ncontract ClankFeeEscrow is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    error InvalidBeneficiary();\n    error NothingToClaim();\n    error NativeTransferFailed();\n    error InvalidToken();\n\n    /// @notice Claimable native balance for each beneficiary.\n    mapping(address beneficiary => uint256 amount) private _credits;\n    /// @notice Sum of all beneficiary credits backed by this contract.\n    uint256 public totalCredits;\n    mapping(address beneficiary => mapping(address token => uint256 amount)) private _tokenCredits;\n    mapping(address token => uint256 amount) public totalTokenCredits;\n\n    event Credited(address indexed beneficiary, uint256 amount);\n    event Claimed(address indexed beneficiary, address indexed recipient, uint256 amount);\n    event TokenCredited(address indexed beneficiary, address indexed token, uint256 amount);\n    event TokenClaimed(address indexed beneficiary, address indexed token, address indexed recipient, uint256 amount);\n\n    /// @notice Adds the attached native amount to a beneficiary's claimable credit.\n    /// @dev Any caller may fund a beneficiary, but cannot redirect or withdraw that credit.\n    /// @param beneficiary Account whose credit is increased.\n    function credit(address beneficiary) external payable {\n        if (beneficiary == address(0)) revert InvalidBeneficiary();\n        _credits[beneficiary] += msg.value;\n        totalCredits += msg.value;\n        emit Credited(beneficiary, msg.value);\n    }\n\n    /// @notice Claims the caller's complete credit to an explicit recipient.\n    /// @dev This lets a trusted controller keep the credited beneficiary stable while routing\n    /// collections to a destination that may change over time.\n    function claimTo(address payable recipient) external nonReentrant returns (uint256 amount) {\n        if (recipient == address(0)) revert InvalidBeneficiary();\n        amount = _credits[msg.sender];\n        if (amount == 0) revert NothingToClaim();\n        _claim(msg.sender, recipient, amount);\n    }\n\n    /// @notice Returns a beneficiary's claimable native balance.\n    function balanceOf(address beneficiary) external view returns (uint256) {\n        return _credits[beneficiary];\n    }\n\n    /// @notice Pulls quote tokens from the caller and credits them to a beneficiary.\n    function creditToken(address beneficiary, address token, uint256 amount) external nonReentrant {\n        if (beneficiary == address(0)) revert InvalidBeneficiary();\n        if (token == address(0) || token.code.length == 0) revert InvalidToken();\n        if (amount == 0) return;\n\n        IERC20 quoteToken = IERC20(token);\n        uint256 balanceBefore = quoteToken.balanceOf(address(this));\n        quoteToken.safeTransferFrom(msg.sender, address(this), amount);\n        uint256 received = quoteToken.balanceOf(address(this)) - balanceBefore;\n        if (received != amount) revert InvalidToken();\n\n        _tokenCredits[beneficiary][token] += amount;\n        totalTokenCredits[token] += amount;\n        emit TokenCredited(beneficiary, token, amount);\n    }\n\n    /// @notice Claims the caller's complete ERC-20 credit to an explicit recipient.\n    function claimTokenTo(address token, address recipient) external nonReentrant returns (uint256 amount) {\n        if (recipient == address(0)) revert InvalidBeneficiary();\n        amount = _tokenCredits[msg.sender][token];\n        if (amount == 0) revert NothingToClaim();\n        _claimToken(msg.sender, token, recipient, amount);\n    }\n\n    function balanceOfToken(address beneficiary, address token) external view returns (uint256) {\n        return _tokenCredits[beneficiary][token];\n    }\n\n    function _claim(address beneficiary, address payable recipient, uint256 amount) private {\n        _credits[beneficiary] -= amount;\n        totalCredits -= amount;\n\n        (bool success,) = recipient.call{value: amount}(\"\");\n        if (!success) revert NativeTransferFailed();\n\n        emit Claimed(beneficiary, recipient, amount);\n    }\n\n    function _claimToken(address beneficiary, address token, address recipient, uint256 amount) private {\n        _tokenCredits[beneficiary][token] -= amount;\n        totalTokenCredits[token] -= amount;\n        IERC20(token).safeTransfer(recipient, amount);\n        emit TokenClaimed(beneficiary, token, recipient, amount);\n    }\n}\n"},"contracts/ClankBondingCurve.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\n\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {ClankGraduationGuard} from \"./ClankGraduationGuard.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\ninterface IClankLaunchFactoryGraduation {\n    function graduate(address token) external;\n}\n\n/// @title Clank bonding curve\n/// @notice Trades a fixed-supply launch token against tracked native ETH or an approved ERC-20 using virtual-reserve\n/// XYK pricing until 780M tokens have been sold, leaving 220M for migration.\n/// @dev Pricing depends on trackedQuote, never on address(this).balance. Consequently forced\n/// ETH cannot change price or trigger graduation. Direct native transfers revert, trading fees\n/// are credited outside the pricing reserve, and terminal overpayment is returned immediately.\ncontract ClankBondingCurve is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    uint16 private constant BPS = 10_000;\n\n    /// @notice Lifecycle of one bonding curve and its graduation.\n    enum State {\n        /// @notice Buy and sell operations are enabled.\n        Trading,\n        /// @notice The sale allocation is exhausted and trading is permanently closed.\n        Ready,\n        /// @notice The factory collected the tracked reserves for migration.\n        Swept,\n        /// @notice The factory confirmed creation of the locked V4 position.\n        PoolCreated,\n        /// @notice The factory released unseedable swept reserves through the delayed recovery path.\n        Rescued\n    }\n\n    /// @notice Immutable deployment parameters supplied by the launch factory.\n    struct Config {\n        address factory;\n        address feeEscrow;\n        address protocolFeeRecipient;\n        address creator;\n        address pairToken;\n        uint16 feeBps;\n        uint16 snipeTaxStartBps;\n        uint32 snipeTaxSeconds;\n        uint128 phantomQuote;\n        uint128 graduationThreshold;\n        address graduationGuard;\n        int24 tickSpacing;\n    }\n\n    struct BuyQuote {\n        uint256 grossQuoteUsed;\n        uint256 netQuoteIn;\n        uint256 fee;\n        uint256 tax;\n        uint256 tokensOut;\n        uint256 refund;\n    }\n\n    error AlreadyInitialized();\n    error CurveGraduated();\n    error ZeroAmount();\n    error ZeroAddress();\n    error NativeValueMismatch(uint256 supplied, uint256 expected);\n    error UnexpectedNativeValue();\n    error DirectNativeTransferDisabled();\n    error FeeEscrowCallFailed();\n    error InsufficientRealReserve();\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidConfiguration();\n    error InvalidState(State expected, State actual);\n    error TransferFailed();\n    error QuoteTransferFailed();\n    error NotFactory();\n    error SlippageExceeded(uint256 actual, uint256 minimum);\n    error NotInitialized();\n    error ZeroOutput();\n\n    /// @notice Factory authorised to initialize and advance this curve's lifecycle.\n    address public immutable factory;\n    /// @notice Pull-payment escrow receiving protocol fees.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Stable escrow beneficiary credited with bonding fees; this is the factory, not the final fee destination.\n    /// @dev Permissionless collection forwards these credits to the factory's current feeDestination, so even previously\n    /// accrued fees follow a destination update until they have been collected.\n    address public immutable protocolFeeRecipient;\n    /// @notice Launch creator, exempt from the globally configured snipe tax.\n    address public immutable creator;\n    /// @notice Quote asset; address(0) represents native ETH.\n    address public immutable pairToken;\n    /// @notice Bonding fee snapshotted for this launch, denominated in basis points.\n    uint256 public immutable feeBps;\n    /// @notice Peak total buy fee globally configured when this launch was created.\n    uint16 public immutable snipeTaxStartBps;\n    /// @notice Duration of the globally configured anti-snipe decay.\n    uint32 public immutable snipeTaxSeconds;\n    /// @notice Curve deployment timestamp used for anti-snipe fee decay.\n    uint64 public immutable launchedAt;\n    /// @notice Virtual quote reserve used for pricing but never held as a real asset.\n    uint256 public immutable phantomQuote;\n    /// @notice Nominal net quote target; actual funding includes XYK trade rounding.\n    uint256 public immutable graduationThreshold;\n\n    ClankGraduationGuard private immutable _graduationGuard;\n    int24 private immutable _tickSpacing;\n\n    /// @notice Fixed-supply token traded by this curve, initialized once by the factory.\n    IERC20 public token;\n    /// @notice Current lifecycle state.\n    State public state;\n    /// @notice Timestamp of the terminal buy; preserved across graduation retries.\n    uint64 public readyAt;\n    /// @notice Real quote assets included in pricing and reserved for traders or graduation.\n    uint256 public trackedQuote;\n    /// @notice Real tokens reserved for traders or graduation; excludes virtual tokens.\n    uint256 public trackedTokens;\n    /// @notice Recipients exempt from the launch-window snipe tax.\n    mapping(address account => bool exempt) public snipeTaxExempt;\n    event SnipeTaxExempted(address indexed account);\n    event TokenInitialized(address indexed token, uint256 supply);\n    event Initialized(address token);\n    event StateChanged(State indexed previousState, State indexed newState);\n    /// @notice Pons-compatible compact buy event.\n    event CurveBuy(\n        address indexed buyer, address indexed recipient, uint256 quoteIn, uint256 tokensOut, uint256 fee, uint256 tax\n    );\n    /// @notice Pons-compatible signal for an immediately returned terminal-buy remainder.\n    event CurveBuyRefunded(address indexed buyer, uint256 refund);\n    /// @notice Pons-compatible compact sell event; creator tax is always zero.\n    event CurveSell(\n        address indexed seller, address indexed recipient, uint256 tokensIn, uint256 quoteOut, uint256 fee, uint256 tax\n    );\n    event CurveCompleted(address recipient, uint256 quoteOut, uint256 tokenOut);\n    event AutoGraduationFailed(address indexed token, uint256 gasRemaining);\n\n    modifier onlyFactory() {\n        if (msg.sender != factory) revert NotFactory();\n        _;\n    }\n\n    modifier inState(State expected) {\n        if (state != expected) {\n            if (expected == State.Trading) revert CurveGraduated();\n            revert InvalidState(expected, state);\n        }\n        _;\n    }\n\n    /// @param config Immutable factory, fee, virtual reserve, and graduation configuration.\n    constructor(Config memory config) {\n        if (\n            config.factory == address(0) || config.feeEscrow == address(0) || config.protocolFeeRecipient == address(0)\n                || config.creator == address(0) || config.graduationGuard.code.length == 0\n        ) {\n            revert InvalidAddress();\n        }\n        if (\n            config.feeBps >= BPS || config.snipeTaxStartBps >= BPS || config.snipeTaxSeconds == 0\n                || config.phantomQuote == 0 || config.tickSpacing < TickMath.MIN_TICK_SPACING\n                || config.tickSpacing > TickMath.MAX_TICK_SPACING\n                || config.graduationThreshold != ClankCurveMath.graduationThreshold(config.phantomQuote)\n        ) {\n            revert InvalidConfiguration();\n        }\n\n        factory = config.factory;\n        feeEscrow = ClankFeeEscrow(config.feeEscrow);\n        protocolFeeRecipient = config.protocolFeeRecipient;\n        creator = config.creator;\n        if (config.pairToken != address(0) && config.pairToken.code.length == 0) revert InvalidAddress();\n        pairToken = config.pairToken;\n        feeBps = config.feeBps;\n        snipeTaxStartBps = config.snipeTaxStartBps;\n        snipeTaxSeconds = config.snipeTaxSeconds;\n        launchedAt = uint64(block.timestamp);\n        phantomQuote = config.phantomQuote;\n        graduationThreshold = config.graduationThreshold;\n        _graduationGuard = ClankGraduationGuard(config.graduationGuard);\n        _tickSpacing = config.tickSpacing;\n    }\n\n    /// @notice Rejects accidental native transfers that do not call a trading entrypoint.\n    /// @dev Forced ETH remains possible at the EVM level and is excluded from tracked accounting.\n    receive() external payable {\n        revert DirectNativeTransferDisabled();\n    }\n\n    /// @notice Binds the fixed-supply token to the curve and snapshots its full reserve.\n    /// @dev Callable exactly once by the factory after the token has minted its supply here.\n    /// @param token_ Address of the launched ERC-20 token.\n    function initialize(address token_) external onlyFactory {\n        if (address(token) != address(0)) revert AlreadyInitialized();\n        if (token_ == address(0)) revert ZeroAddress();\n\n        uint256 supply = IERC20(token_).balanceOf(address(this));\n        if (supply != ClankCurveMath.TOKEN_SUPPLY) revert InvalidAmount();\n\n        token = IERC20(token_);\n        trackedTokens = supply;\n        emit TokenInitialized(token_, supply);\n        emit Initialized(token_);\n    }\n\n    function isNativeQuote() external view returns (bool) {\n        return pairToken == address(0);\n    }\n\n    /// @notice Returns effective pricing reserves, including both virtual reserves.\n    function getReserves() external view returns (uint256 quoteReserve_, uint256 tokenReserve_) {\n        return (_effectiveQuoteReserve(), tokenReserve());\n    }\n\n    function quoteReserve() external view returns (uint256 quoteReserve_) {\n        return _effectiveQuoteReserve();\n    }\n\n    function realQuoteReserve() external view returns (uint256) {\n        return trackedQuote;\n    }\n\n    /// @notice Real tokens held in tracked accounting, excluding donations and virtual tokens.\n    function realTokenReserve() external view returns (uint256) {\n        return trackedTokens;\n    }\n\n    /// @notice Additive pricing reserve; these tokens are never minted or transferred.\n    function virtualTokenReserve() external pure returns (uint256) {\n        return ClankCurveMath.VIRTUAL_TOKENS;\n    }\n\n    /// @notice Effective token reserve for Pons XYK pricing.\n    function tokenReserve() public view returns (uint256 tokenReserve_) {\n        return trackedTokens + ClankCurveMath.VIRTUAL_TOKENS;\n    }\n\n    function readyToGraduate() external view returns (bool) {\n        return state == State.Ready;\n    }\n\n    function graduated() external view returns (bool) {\n        return state == State.Swept || state == State.PoolCreated || state == State.Rescued;\n    }\n\n    /// @notice Exempts a recipient from snipe tax; only the factory may grant exemptions.\n    function exemptFromSnipeTax(address account) external onlyFactory {\n        if (account == address(0)) revert InvalidAddress();\n        snipeTaxExempt[account] = true;\n        emit SnipeTaxExempted(account);\n    }\n\n    /// @notice Returns the additional protocol tax currently applied to a token recipient.\n    /// @dev A zero snapshotted start rate disables the tax for this launch.\n    function currentSnipeTaxBps(address recipient) public view returns (uint256) {\n        // Read the exemption mapping second to avoid a storage read when the tax is disabled.\n        if (snipeTaxStartBps <= feeBps || snipeTaxExempt[recipient]) return 0;\n\n        uint256 elapsed = block.timestamp - launchedAt;\n        if (elapsed >= snipeTaxSeconds) return 0;\n\n        uint256 initialTaxBps = uint256(snipeTaxStartBps) - feeBps;\n        return Math.mulDiv(initialTaxBps, snipeTaxSeconds - elapsed, snipeTaxSeconds);\n    }\n\n    /// @dev Returns the virtual plus tracked real quote reserve used in XYK pricing.\n    function _effectiveQuoteReserve() private view returns (uint256) {\n        return uint256(phantomQuote) + trackedQuote;\n    }\n\n    /// @notice Quotes a gross quote-asset buy, including terminal partial-fill behaviour.\n    /// @param grossQuoteIn Total quote amount offered, including the bonding fee.\n    /// @return grossQuoteUsed Portion of the offer consumed by the trade, including fee.\n    /// @return netQuoteIn Portion added to the tracked pricing reserve.\n    /// @return fee Amount credited to the protocol beneficiary.\n    /// @return tokensOut Token output rounded down.\n    /// @return refund Unused gross amount returned to the buyer.\n    function quoteBuy(uint256 grossQuoteIn)\n        external\n        view\n        returns (uint256 grossQuoteUsed, uint256 netQuoteIn, uint256 fee, uint256 tokensOut, uint256 refund)\n    {\n        BuyQuote memory quote = _quoteBuy(grossQuoteIn, msg.sender);\n        return (quote.grossQuoteUsed, quote.netQuoteIn, quote.fee + quote.tax, quote.tokensOut, quote.refund);\n    }\n\n    /// @notice Quotes a buy for an explicit token recipient under the globally configured fee policy.\n    function quoteBuyFor(address recipient, uint256 grossQuoteIn)\n        external\n        view\n        returns (uint256 grossQuoteUsed, uint256 netQuoteIn, uint256 fee, uint256 tokensOut, uint256 refund)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        BuyQuote memory quote = _quoteBuy(grossQuoteIn, recipient);\n        return (quote.grossQuoteUsed, quote.netQuoteIn, quote.fee + quote.tax, quote.tokensOut, quote.refund);\n    }\n\n    /// @notice Quotes a token sale against the current tracked reserves.\n    /// @dev Reverts under the same reserve and lifecycle conditions as an executable sale.\n    /// @param tokensIn Token amount offered for sale.\n    /// @return grossQuoteOut Quote amount removed from the tracked reserve before fee.\n    /// @return netQuoteOut Quote amount paid to the recipient after fee.\n    /// @return fee Amount credited to the protocol beneficiary.\n    function quoteSell(uint256 tokensIn)\n        external\n        view\n        returns (uint256 grossQuoteOut, uint256 netQuoteOut, uint256 fee)\n    {\n        return _quoteSell(tokensIn);\n    }\n\n    /// @notice Pons-compatible buy without an execution deadline.\n    /// @dev Native buys require msg.value == quoteIn; ERC-20 buys require zero msg.value and pull\n    /// quoteIn from msg.sender. A terminal remainder is returned immediately in the quote asset.\n    /// Failure to return it reverts the buy. A terminal buy then attempts a permissionless reserve\n    /// sweep without making the sweep a condition of trade success.\n    function buy(uint256 quoteIn, uint256 minTokensOut, address recipient)\n        external\n        payable\n        nonReentrant\n        inState(State.Trading)\n        returns (uint256 tokensOut)\n    {\n        if (pairToken == address(0)) {\n            if (msg.value != quoteIn) revert NativeValueMismatch(msg.value, quoteIn);\n        } else if (msg.value != 0) {\n            revert UnexpectedNativeValue();\n        }\n        (tokensOut,) = _buy(quoteIn, minTokensOut, recipient);\n        if (state == State.Ready) _tryAutoGraduate();\n    }\n\n    function _buy(uint256 quoteIn, uint256 minTokensOut, address recipient)\n        private\n        returns (uint256 tokensOut, uint256 grossQuoteUsed)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (quoteIn == 0) revert ZeroAmount();\n\n        _receiveQuote(quoteIn);\n\n        BuyQuote memory quote = _quoteBuy(quoteIn, recipient);\n        grossQuoteUsed = quote.grossQuoteUsed;\n        tokensOut = quote.tokensOut;\n        if (quote.netQuoteIn == 0) revert ZeroAmount();\n\n        uint256 proportionalMinimum = Math.mulDiv(minTokensOut, grossQuoteUsed, quoteIn, Math.Rounding.Ceil);\n        if (tokensOut < proportionalMinimum) revert SlippageExceeded(tokensOut, minTokensOut);\n\n        trackedQuote += quote.netQuoteIn;\n        trackedTokens -= tokensOut;\n\n        if (trackedTokens == ClankCurveMath.MIGRATION_TOKENS) _transition(State.Ready);\n\n        _creditFee(quote.fee + quote.tax);\n        token.safeTransfer(recipient, tokensOut);\n        if (quote.refund != 0) {\n            _sendQuote(msg.sender, quote.refund);\n            emit CurveBuyRefunded(msg.sender, quote.refund);\n        }\n\n        emit CurveBuy(msg.sender, recipient, grossQuoteUsed, tokensOut, quote.fee, quote.tax);\n    }\n\n    /// @notice Pons-compatible sell without an execution deadline.\n    function sell(uint256 tokensIn, uint256 minQuoteOut, address recipient)\n        external\n        nonReentrant\n        inState(State.Trading)\n        returns (uint256 quoteOut)\n    {\n        return _sell(tokensIn, minQuoteOut, payable(recipient));\n    }\n\n    function _sell(uint256 tokensIn, uint256 minEthOut, address payable recipient)\n        private\n        returns (uint256 netQuoteOut)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (tokensIn == 0) revert ZeroAmount();\n\n        uint256 grossQuoteOut;\n        uint256 fee;\n        (grossQuoteOut, netQuoteOut, fee) = _quoteSell(tokensIn);\n        if (netQuoteOut < minEthOut) revert SlippageExceeded(netQuoteOut, minEthOut);\n\n        trackedQuote -= grossQuoteOut;\n        trackedTokens += tokensIn;\n\n        token.safeTransferFrom(msg.sender, address(this), tokensIn);\n        _creditFee(fee);\n\n        _sendQuote(recipient, netQuoteOut);\n\n        emit CurveSell(msg.sender, recipient, tokensIn, netQuoteOut, fee, 0);\n    }\n\n    /// @notice Transfers a Ready curve's exact tracked reserves into factory custody.\n    /// @dev Forced ETH remains excluded from graduation assets. This entrypoint deliberately does\n    /// not use nonReentrant because the factory may call it back from a terminal buy's guarded scope.\n    /// Safety comes from onlyFactory plus the Ready-to-Swept checks-effects-interactions transition.\n    function graduate(address recipient)\n        external\n        onlyFactory\n        inState(State.Ready)\n        returns (uint256 quoteOut, uint256 tokenOut)\n    {\n        if (recipient == address(0)) revert ZeroAddress();\n\n        quoteOut = trackedQuote;\n        tokenOut = trackedTokens;\n        trackedQuote = 0;\n        trackedTokens = 0;\n        _transition(State.Swept);\n\n        token.safeTransfer(recipient, tokenOut);\n        _sendQuote(recipient, quoteOut);\n\n        emit CurveCompleted(recipient, quoteOut, tokenOut);\n    }\n\n    /// @dev Mirrors Pons best-effort auto-graduation: a failed sweep never reverts the crossing buy,\n    /// and the public factory entrypoint remains available for a permissionless retry.\n    function _tryAutoGraduate() private {\n        try IClankLaunchFactoryGraduation(factory).graduate(address(token)) {}\n        catch {\n            emit AutoGraduationFailed(address(token), gasleft());\n        }\n    }\n\n    /// @notice Confirms that the factory completed V4 pool creation and position locking.\n    function markPoolCreated() external onlyFactory inState(State.Swept) {\n        _transition(State.PoolCreated);\n    }\n\n    /// @notice Confirms that the factory completed the delayed recovery of swept reserves.\n    function markRescued() external onlyFactory inState(State.Swept) {\n        _transition(State.Rescued);\n    }\n\n    /// @dev Caps token output at the remaining sale allocation and charges its rounded-up XYK cost.\n    function _quoteBuy(uint256 grossQuoteIn, address recipient) private view returns (BuyQuote memory quote) {\n        if (state != State.Trading) revert CurveGraduated();\n        if (address(token) == address(0)) revert NotInitialized();\n        if (grossQuoteIn == 0) revert ZeroAmount();\n\n        uint256 taxBps = currentSnipeTaxBps(recipient);\n        uint256 totalFeeBps = uint256(feeBps) + taxBps;\n        uint256 offeredNet = ClankCurveMath.netFromGross(grossQuoteIn, totalFeeBps);\n        if (offeredNet == 0) revert ZeroAmount();\n        uint256 sellable = trackedTokens - ClankCurveMath.MIGRATION_TOKENS;\n        quote.tokensOut = ClankCurveMath.buyOutput(_effectiveQuoteReserve(), tokenReserve(), offeredNet);\n        bool terminalFill = quote.tokensOut >= sellable;\n        if (terminalFill) quote.tokensOut = sellable;\n        if (quote.tokensOut == 0) revert ZeroOutput();\n        quote.netQuoteIn = terminalFill\n            ? ClankCurveMath.requiredBuyInput(_effectiveQuoteReserve(), tokenReserve(), quote.tokensOut)\n            : offeredNet;\n        _validateGraduation(trackedQuote + quote.netQuoteIn, trackedTokens - quote.tokensOut);\n        quote.grossQuoteUsed = terminalFill ? ClankCurveMath.grossFromNet(quote.netQuoteIn, totalFeeBps) : grossQuoteIn;\n        uint256 totalFee = quote.grossQuoteUsed - quote.netQuoteIn;\n        quote.fee = ClankCurveMath.feeFromGross(quote.grossQuoteUsed, feeBps);\n        quote.tax = totalFee - quote.fee;\n        quote.refund = grossQuoteIn - quote.grossQuoteUsed;\n    }\n\n    /// @dev Mirrors the executable sell checks so routing quotes cannot describe an impossible trade.\n    function _quoteSell(uint256 tokensIn)\n        private\n        view\n        returns (uint256 grossQuoteOut, uint256 netQuoteOut, uint256 fee)\n    {\n        if (state != State.Trading) {\n            revert CurveGraduated();\n        }\n        if (address(token) == address(0)) revert NotInitialized();\n        if (tokensIn == 0) revert ZeroAmount();\n\n        grossQuoteOut = ClankCurveMath.sellOutput(_effectiveQuoteReserve(), tokenReserve(), tokensIn);\n        if (grossQuoteOut == 0) revert ZeroOutput();\n        if (grossQuoteOut > trackedQuote) revert InsufficientRealReserve();\n        _validateGraduation(trackedQuote - grossQuoteOut, trackedTokens + tokensIn);\n\n        fee = ClankCurveMath.feeFromGross(grossQuoteOut, feeBps);\n        netQuoteOut = grossQuoteOut - fee;\n    }\n\n    /// @dev Every accepted trade must leave enough headroom to finish the sale and seed V4.\n    function _validateGraduation(uint256 realQuote, uint256 realTokens) private view {\n        uint256 terminalQuote = ClankCurveMath.validateGraduationQuote(realQuote, realTokens, phantomQuote);\n        _graduationGuard.assertSeedableForCurve(\n            address(token), pairToken, _tickSpacing, terminalQuote, ClankCurveMath.MIGRATION_TOKENS, phantomQuote\n        );\n    }\n\n    /// @dev Credits protocol fees without calling the beneficiary during trade execution.\n    function _creditFee(uint256 fee) private {\n        if (fee == 0) return;\n        if (pairToken == address(0)) {\n            try feeEscrow.credit{value: fee}(protocolFeeRecipient) {}\n            catch {\n                revert FeeEscrowCallFailed();\n            }\n        } else {\n            IERC20 quoteToken = IERC20(pairToken);\n            quoteToken.forceApprove(address(feeEscrow), fee);\n            try feeEscrow.creditToken(protocolFeeRecipient, pairToken, fee) {}\n            catch {\n                revert FeeEscrowCallFailed();\n            }\n            quoteToken.forceApprove(address(feeEscrow), 0);\n        }\n    }\n\n    function _receiveQuote(uint256 amount) private {\n        if (pairToken == address(0)) {\n            if (msg.value != amount) revert NativeValueMismatch(msg.value, amount);\n            return;\n        }\n\n        IERC20 quoteToken = IERC20(pairToken);\n        uint256 balanceBefore = quoteToken.balanceOf(address(this));\n        quoteToken.safeTransferFrom(msg.sender, address(this), amount);\n        if (quoteToken.balanceOf(address(this)) - balanceBefore != amount) revert QuoteTransferFailed();\n    }\n\n    function _sendQuote(address recipient, uint256 amount) private {\n        if (pairToken == address(0)) {\n            (bool success,) = payable(recipient).call{value: amount}(\"\");\n            if (!success) revert TransferFailed();\n        } else {\n            IERC20(pairToken).safeTransfer(recipient, amount);\n        }\n    }\n\n    /// @dev Records a one-way lifecycle transition and emits the corresponding state event.\n    function _transition(State next) private {\n        State previous = state;\n        state = next;\n        if (next == State.Ready) readyAt = uint64(block.timestamp);\n        emit StateChanged(previous, next);\n    }\n}\n"},"contracts/ClankLaunchLocker.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC721Receiver} from \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {Actions} from \"@uniswap/v4-periphery/src/libraries/Actions.sol\";\n\n/// @notice Minimal ownership query used to verify a Uniswap V4 position recipient.\ninterface IERC721Owner {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/// @notice Current protocol fee destination exposed by the factory.\ninterface IClankFeeDestination {\n    function feeDestination() external view returns (address);\n}\n\n/// @title Clank permanent liquidity locker\n/// @notice Receives and records each graduated launch's Uniswap V4 position NFT.\n/// @dev The contract intentionally exposes no withdrawal, approval, transfer, or arbitrary-call\n/// surface. A recorded position therefore remains owned by this locker permanently.\ncontract ClankLaunchLocker is IERC721Receiver, ReentrancyGuard {\n    error InvalidCurrencyPair();\n    error InvalidPositionOwner();\n    error NotFactory();\n    error NotPositionManager();\n    error PositionAlreadyRecorded();\n\n    /// @notice Factory authorised to record positions after successful graduation.\n    address public immutable factory;\n    /// @notice Only ERC-721 contract accepted by this locker.\n    address public immutable positionManager;\n\n    /// @notice Position NFT associated with each launched token.\n    mapping(address token => uint256 positionId) public lockedPositions;\n    /// @notice Explicit token marker because a zero position ID is valid.\n    mapping(address token => bool recorded) private _locked;\n    /// @notice Explicit position marker prevents one NFT from representing multiple launches.\n    mapping(uint256 positionId => bool recorded) private _positionRecorded;\n    /// @notice Quote currency paired with each launched token; address(0) represents native ETH.\n    mapping(address token => address pairToken) public pairTokenForToken;\n\n    event PositionLocked(address indexed token, uint256 indexed tokenId);\n    event LpFeesCollected(address indexed token, uint256 indexed positionId, address indexed beneficiary);\n\n    /// @param positionManager_ Uniswap V4 PositionManager whose NFTs may be received.\n    constructor(address positionManager_) {\n        if (positionManager_ == address(0)) revert NotPositionManager();\n        factory = msg.sender;\n        positionManager = positionManager_;\n    }\n\n    /// @notice Records the permanent token-to-position relationship.\n    /// @dev The NFT must already be owned by this locker. Explicit markers prevent reuse even when\n    /// positionId is zero.\n    function lockPosition(address token, uint256 positionId, address pairToken) external {\n        if (msg.sender != factory) revert NotFactory();\n        if (token == address(0) || token == pairToken) revert InvalidCurrencyPair();\n        if (_positionRecorded[positionId] || _locked[token]) {\n            revert PositionAlreadyRecorded();\n        }\n        if (IERC721Owner(positionManager).ownerOf(positionId) != address(this)) {\n            revert InvalidPositionOwner();\n        }\n\n        lockedPositions[token] = positionId;\n        pairTokenForToken[token] = pairToken;\n        _locked[token] = true;\n        _positionRecorded[positionId] = true;\n        emit PositionLocked(token, positionId);\n    }\n\n    /// @notice Permissionlessly collects both currencies earned by a locked V4 position.\n    /// @dev Zero liquidity is removed, so principal stays permanently locked while fees go directly\n    /// to the factory's current protocol fee destination.\n    function collectFees(address token) external nonReentrant {\n        _collectFees(token, IClankFeeDestination(factory).feeDestination());\n    }\n\n    function _collectFees(address token, address recipient) private {\n        if (!_locked[token]) revert InvalidPositionOwner();\n\n        address pairToken = pairTokenForToken[token];\n        Currency currency0 = Currency.wrap(pairToken < token ? pairToken : token);\n        Currency currency1 = Currency.wrap(pairToken < token ? token : pairToken);\n        bytes memory actions = abi.encodePacked(uint8(Actions.DECREASE_LIQUIDITY), uint8(Actions.TAKE_PAIR));\n        bytes[] memory params = new bytes[](2);\n        params[0] = abi.encode(lockedPositions[token], uint256(0), uint128(0), uint128(0), bytes(\"\"));\n        params[1] = abi.encode(currency0, currency1, recipient);\n\n        IPositionManager(positionManager).modifyLiquidities(abi.encode(actions, params), block.timestamp);\n        emit LpFeesCollected(token, lockedPositions[token], recipient);\n    }\n\n    /// @notice Returns whether a launch position has been permanently recorded.\n    function isLocked(address token) external view returns (bool) {\n        return _locked[token];\n    }\n\n    /// @notice Permanently locked migration dust and direct token donations.\n    function lockedTokenSupply(address token) external view returns (uint256) {\n        if (token.code.length == 0) return 0;\n        return IERC20(token).balanceOf(address(this));\n    }\n\n    /// @notice Accepts a position NFT only from the immutable PositionManager.\n    /// @return ERC-721 receiver selector confirming acceptance.\n    function onERC721Received(address, address, uint256, bytes calldata) external view returns (bytes4) {\n        if (msg.sender != positionManager) revert NotPositionManager();\n        return IERC721Receiver.onERC721Received.selector;\n    }\n}\n"},"contracts/ClankLaunchFactory.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {Hooks} from \"@uniswap/v4-core/src/libraries/Hooks.sol\";\nimport {TransientStateLibrary} from \"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {IMsgSender} from \"@uniswap/v4-periphery/src/interfaces/IMsgSender.sol\";\n\nimport {ClankBondingCurve} from \"./ClankBondingCurve.sol\";\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {ClankGraduationGuard} from \"./ClankGraduationGuard.sol\";\nimport {ClankGraduationExecutor} from \"./ClankGraduationExecutor.sol\";\nimport {ClankInitializationGuardHook} from \"./ClankInitializationGuardHook.sol\";\nimport {ClankLaunchDeployer, ClankLaunchDeployment} from \"./ClankLaunchDeployer.sol\";\nimport {ClankLaunchLocker} from \"./ClankLaunchLocker.sol\";\nimport {ClankLauncherToken} from \"./ClankLauncherToken.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank launch factory and graduation coordinator\n/// @notice Manages launch configuration, deploys predictable token/curve pairs with\n/// CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.\n/// @dev Existing curves retain their economic snapshot. The owner controls new-launch terms and\n/// availability, the current fee destination, and delayed recovery of failed swept launches.\n/// Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.\ncontract ClankLaunchFactory is Ownable2Step, ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    uint256 public constant MAX_NAME_LENGTH = 64;\n    uint256 public constant MAX_SYMBOL_LENGTH = 16;\n    uint256 public constant MAX_LOGO_LENGTH = 256;\n    uint256 public constant MAX_DESCRIPTION_LENGTH = 1_024;\n    uint256 public constant MAX_SOCIAL_URI_LENGTH = 256;\n    uint16 public constant MAX_CURVE_FEE_BPS = 1_000;\n    uint256 private constant MAX_TOTAL_TRADE_FEE_BPS = 2_000;\n    uint256 private constant MAX_SNIPE_TAX_START_BPS = 9_900;\n    uint256 private constant MAX_SNIPE_TAX_SECONDS = 60;\n    uint256 private constant MAX_SNIPE_TAX_EXEMPTIONS = 32;\n    uint8 public constant MIN_PAIR_TOKEN_DECIMALS = 6;\n    uint24 public constant MAX_V4_STATIC_FEE = 999_999;\n    int24 public constant MAX_V4_TICK_SPACING = 32_767;\n    uint256 public constant GRADUATION_RESCUE_DELAY = 7 days;\n    /// @notice Fixed execution budget for force-sweep graduation and rescue migration attempts.\n    uint256 public constant RESCUE_MIGRATION_GAS = 5_000_000;\n    /// @dev Covers call setup, error handling, and recovery after forwarding the full migration budget.\n    uint256 private constant RESCUE_GAS_RESERVE = 500_000;\n\n    /// @notice Economic template snapshotted by new launches.\n    /// @dev Field order and ABI types intentionally match Pons V2.\n    struct LaunchConfig {\n        uint256 supply;\n        uint256 curveFeeBps;\n        uint256 phantomQuote;\n        uint256 graduationThreshold;\n        uint24 poolFee;\n        int24 tickSpacing;\n        bool enabled;\n    }\n\n    /// @notice Quote-denominated curve terms for one approved ERC-20 pair asset.\n    struct PairTokenEconomics {\n        uint256 phantomQuote;\n        uint256 graduationThreshold;\n        uint8 decimals;\n    }\n\n    /// @notice External infrastructure and governance addresses fixed at factory deployment.\n    struct DeploymentConfig {\n        address initialOwner;\n        address poolManager;\n        address positionManager;\n        address permit2;\n        address initializationHook;\n    }\n\n    /// @notice Creator-supplied launch metadata, config selection, and CREATE2 entropy.\n    struct LaunchParams {\n        string name;\n        string symbol;\n        string logo;\n        uint256 launchConfigId;\n        bytes32 expectedEconomics;\n        bytes32 userSalt;\n    }\n\n    /// @notice Pons-compatible social metadata tuple.\n    struct Socials {\n        string twitter;\n        string telegram;\n        string discord;\n        string website;\n        string farcaster;\n    }\n\n    /// @notice Pons-compatible launch parameters accepted by the compatibility overload.\n    /// @dev Clank rejects creator tax and buyback requests.\n    struct TokenParams {\n        string name;\n        string symbol;\n        string logo;\n        string description;\n        Socials socials;\n        address creatorFeeRecipient;\n        uint16 creatorTaxBps;\n        bool buybackEnabled;\n        bytes32 expectedEconomics;\n        bytes32 salt;\n    }\n\n    /// @notice Immutable launch snapshot plus migration progress and result data.\n    struct Launch {\n        address token;\n        address curve;\n        address creator;\n        address pairToken;\n        bytes32 launchId;\n        uint256 launchConfigId;\n        bytes32 economics;\n        string name;\n        string symbol;\n        string logo;\n        uint128 supply;\n        uint128 phantomQuote;\n        uint128 graduationThreshold;\n        uint16 curveFeeBps;\n        uint24 poolFee;\n        int24 tickSpacing;\n        uint128 sweptQuote;\n        uint128 sweptTokens;\n        uint64 sweptAt;\n        uint128 targetLpTokens;\n        uint128 seededQuote;\n        uint128 seededToken;\n        uint256 positionId;\n    }\n\n    /// @notice Pons-shaped launch record for generic launchpad integrations.\n    /// @dev Unsupported creator-fee and buyback fields are returned as zero values.\n    struct LaunchedToken {\n        address token;\n        address curve;\n        address deployer;\n        address creatorFeeRecipient;\n        address pairToken;\n        uint256 graduationThreshold;\n        uint24 poolFee;\n        int24 tickSpacing;\n        uint16 creatorTaxBps;\n        bool buybackEnabled;\n        uint8 phase;\n        uint256 sweptQuote;\n        uint256 sweptTokens;\n        uint256 sweptAt;\n        bool exists;\n    }\n\n    error AddressMismatch(address expected, address actual);\n    error ZeroAddress();\n    error InvalidEconomics();\n    error InvalidBasisPoints();\n    error InvalidSnipeTaxWindow();\n    error CurveFeeTooHigh();\n    error InvalidInitializationHook();\n    error InvalidLaunchConfigId();\n    error InvalidMetadata();\n    error InvalidPoolConfiguration();\n    error LaunchFeeNotPaid();\n    error NotLaunchForwarder();\n    error ExemptionListTooLong();\n    error AlreadySet();\n    error LaunchDeployerNotSet();\n    error LaunchDeployerWiringMismatch();\n    error LaunchAlreadyExists();\n    error LaunchConfigDisabled();\n    error LaunchEconomicsMismatch(bytes32 expected, bytes32 actual);\n    error NotWhitelisted();\n    error TokenNotFound();\n    error MigrationAmountTooSmall();\n    error MissingCode(address dependency);\n    error PositionManagerPoolMismatch(address expected, address actual);\n    error PositionManagerPermit2Mismatch(address expected, address actual);\n    error UnsupportedBuyback();\n    error UnsupportedCreatorTax();\n    error PairTokenValidationFailed();\n    error PairTokenNotApproved();\n    error PairTokenEconomicsInvalid();\n    error PairTokenDecimalsMismatch(uint8 expected, uint8 actual);\n    error PairTokenDecimalsUnavailable();\n    error PairTokenAuthorityUnauthorizedAccount(address account);\n    error InitializationHookFactoryMismatch(address expected, address actual);\n    error InitializationHookOwnerMismatch(address expected, address actual);\n    error InitializationHookPoolMismatch(address expected, address actual);\n    error UnexpectedNativeSender();\n    error GraduationRescueTooEarly(uint256 availableAt);\n    error NothingToGraduate();\n    error OnlySelf();\n    error InsufficientRescueGas();\n    error PositionManagerLocked();\n    error FeeTransferFailed();\n    error OwnershipCannotBeRenounced();\n\n    /// @notice Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees.\n    address public feeDestination;\n    /// @notice Pons-compatible launch-fee getter that always returns zero.\n    uint256 public launchFee;\n    /// @notice Uniswap V4 PoolManager used by every launch from this factory.\n    address public immutable poolManager;\n    /// @notice Uniswap V4 PositionManager used by every launch from this factory.\n    address public immutable positionManager;\n    /// @notice Permit2 instance used during V4 position creation.\n    address public immutable permit2;\n    /// @notice No-fee V4 hook that restricts initialization to this factory.\n    ClankInitializationGuardHook public immutable initializationHook;\n    /// @notice Shared pull-payment escrow for protocol credits.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Permanent liquidity-position sink shared by all launches.\n    ClankLaunchLocker public immutable locker;\n    /// @notice Shared adapter that executes V4 graduation.\n    ClankGraduationExecutor public immutable graduationExecutor;\n    /// @notice Dedicated CREATE2 deployer shared by all launches and wired once after deployment.\n    ClankLaunchDeployer public launchDeployer;\n    /// @notice Trusted router allowed to preserve the original deployer on forwarded launches.\n    address public launchForwarder;\n    /// @notice Authority allowed to approve pair tokens and update their economics.\n    address public pairTokenAuthority;\n    /// @notice Stateless V4 seed preflight used before reserves leave a curve.\n    ClankGraduationGuard public immutable graduationGuard;\n\n    LaunchConfig[] private _launchConfigs;\n    mapping(address token => Launch launch) private _launches;\n    /// @notice Token deployed for each curve address.\n    mapping(address curve => address token) public tokenForCurve;\n    /// @notice ERC-20 quote assets available to new launches.\n    mapping(address pairToken => bool approved) public approvedPairTokens;\n    /// @notice Curve economics denominated in each ERC-20 quote asset's smallest unit.\n    mapping(address pairToken => PairTokenEconomics economics) public pairTokenEconomics;\n    /// @notice Peak total buy fee snapshotted by new launches; zero disables snipe tax.\n    uint256 public snipeTaxStartBps;\n    /// @notice Anti-snipe decay window snapshotted by new launches.\n    uint256 public snipeTaxSeconds = 15;\n    /// @notice Global gate for creation of new launches.\n    bool public launchEnabled;\n    mapping(address token => address recipient) private _creatorFeeRecipients;\n    /// @dev Scoped sender permitted to deliver tracked native reserves during graduation.\n    address private _expectedNativeSender;\n\n    event LaunchConfigAdded(uint256 indexed id);\n    event LaunchConfigUpdated(uint256 indexed id);\n    event LaunchConfigEnabledUpdated(uint256 indexed launchConfigId, bool enabled);\n    event LaunchEnabledUpdated(bool enabled);\n    event LaunchForwarderSet(address forwarder);\n    event LaunchDeployerSet(address deployer);\n    event PairTokenAuthorityUpdated(address indexed previousAuthority, address indexed newAuthority);\n    event PairTokenApprovalUpdated(address indexed pairToken, bool approved);\n    event PairTokenEconomicsUpdated(\n        address indexed pairToken, uint256 phantomQuote, uint256 graduationThreshold, uint8 decimals\n    );\n    event SnipeTaxStartBpsUpdated(uint256 bps);\n    event SnipeTaxSecondsUpdated(uint256 secondsWindow);\n    event FeeDestinationUpdated(address indexed previousDestination, address indexed newDestination);\n    event FeesCollected(address indexed asset, address indexed destination, uint256 amount);\n\n    /// @notice Pons-compatible launch event for generic launchpad indexers.\n    event TokenLaunched(\n        address indexed token,\n        address indexed curve,\n        address indexed deployer,\n        address pairToken,\n        uint256 launchConfigId,\n        uint256 graduationThreshold\n    );\n    event LaunchSwept(address indexed token, uint256 quoteOut, uint256 tokenOut);\n    event LaunchForceSwept(address indexed token);\n    event LaunchGraduationRescued(\n        address indexed token, address indexed recipient, uint256 quoteAmount, uint256 tokenAmount\n    );\n    /// @notice Compact Pons-compatible graduation event.\n    event PoolGraduated(address indexed token, uint256 positionId, uint256 tokenAmount, uint256 pairTokenAmount);\n\n    /// @param config Initial owner and validated V4 infrastructure addresses.\n    constructor(DeploymentConfig memory config) Ownable(config.initialOwner) {\n        if (\n            config.poolManager == address(0) || config.positionManager == address(0) || config.permit2 == address(0)\n                || config.initializationHook == address(0)\n        ) revert ZeroAddress();\n        if (config.poolManager.code.length == 0) revert MissingCode(config.poolManager);\n        if (config.positionManager.code.length == 0) revert MissingCode(config.positionManager);\n        if (config.permit2.code.length == 0) revert MissingCode(config.permit2);\n        if (config.initializationHook.code.length == 0) revert MissingCode(config.initializationHook);\n\n        address wiredPoolManager = address(IPositionManager(config.positionManager).poolManager());\n        if (wiredPoolManager != config.poolManager) {\n            revert PositionManagerPoolMismatch(config.poolManager, wiredPoolManager);\n        }\n        address wiredPermit2 = address(IPositionManagerPermit2(config.positionManager).permit2());\n        if (wiredPermit2 != config.permit2) {\n            revert PositionManagerPermit2Mismatch(config.permit2, wiredPermit2);\n        }\n\n        ClankInitializationGuardHook hook = ClankInitializationGuardHook(config.initializationHook);\n        if ((uint160(config.initializationHook) & Hooks.ALL_HOOK_MASK) != Hooks.BEFORE_INITIALIZE_FLAG) {\n            revert InvalidInitializationHook();\n        }\n        address hookPoolManager = address(hook.poolManager());\n        if (hookPoolManager != config.poolManager) {\n            revert InitializationHookPoolMismatch(config.poolManager, hookPoolManager);\n        }\n        address hookOwner = hook.owner();\n        if (hookOwner != config.initialOwner) {\n            revert InitializationHookOwnerMismatch(config.initialOwner, hookOwner);\n        }\n        if (hook.factory() != address(0)) revert InvalidInitializationHook();\n\n        feeDestination = config.initialOwner;\n        pairTokenAuthority = config.initialOwner;\n        poolManager = config.poolManager;\n        positionManager = config.positionManager;\n        permit2 = config.permit2;\n        initializationHook = hook;\n        feeEscrow = new ClankFeeEscrow();\n        locker = new ClankLaunchLocker(config.positionManager);\n        graduationGuard = new ClankGraduationGuard();\n        graduationExecutor = new ClankGraduationExecutor(\n            address(this),\n            config.poolManager,\n            config.positionManager,\n            config.permit2,\n            config.initializationHook,\n            address(locker),\n            address(feeEscrow),\n            address(this)\n        );\n        emit PairTokenAuthorityUpdated(address(0), config.initialOwner);\n    }\n\n    modifier onlyPairTokenAuthority() {\n        if (msg.sender != pairTokenAuthority) revert PairTokenAuthorityUnauthorizedAccount(msg.sender);\n        _;\n    }\n\n    /// @notice Accepts native ETH only from the curve currently being swept by this factory.\n    /// @dev The scoped sender prevents unsolicited ETH from being mixed with migration accounting.\n    receive() external payable {\n        if (msg.sender != _expectedNativeSender) revert UnexpectedNativeSender();\n    }\n\n    /// @notice Returns the number of configured launch templates.\n    function launchConfigCount() external view returns (uint256) {\n        return _launchConfigs.length;\n    }\n\n    /// @notice Returns a launch configuration by identifier.\n    /// @param id Zero-based configuration identifier.\n    function getLaunchConfig(uint256 id) external view returns (LaunchConfig memory) {\n        return _requireLaunchConfig(id);\n    }\n\n    /// @notice Returns the current economic commitment hash for a launch configuration.\n    /// @dev Creators include this digest in LaunchParams to prevent an admin configuration update\n    /// from silently changing economics between address prediction and transaction execution.\n    function previewLaunchEconomics(uint256 launchConfigId) public view returns (bytes32) {\n        LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n        return _economicsDigest(config, address(0), config.phantomQuote, config.graduationThreshold);\n    }\n\n    /// @notice Pons-compatible economics preview for native or approved ERC-20 quote launches.\n    function previewLaunchEconomics(uint256 launchConfigId, address pairToken) external view returns (bytes32) {\n        LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n        (uint128 phantomQuote, uint128 threshold) = _quoteEconomics(config, pairToken);\n        return _economicsDigest(config, pairToken, phantomQuote, threshold);\n    }\n\n    /// @notice Changes the authority that manages ERC-20 pair assets and their economics.\n    /// @dev Setting the authority to the zero address disables pair-token administration.\n    function setPairTokenAuthority(address newAuthority) external onlyOwner {\n        address previousAuthority = pairTokenAuthority;\n        pairTokenAuthority = newAuthority;\n        emit PairTokenAuthorityUpdated(previousAuthority, newAuthority);\n    }\n\n    /// @notice Sets quote-denominated economics before an ERC-20 pair can be approved.\n    function setPairTokenEconomics(\n        address pairToken,\n        uint256 phantomQuote,\n        uint256 graduationThreshold,\n        uint8 expectedDecimals\n    ) external onlyPairTokenAuthority {\n        if (\n            pairToken == address(0) || pairToken.code.length == 0 || phantomQuote == 0\n                || phantomQuote > ClankCurveMath.MAX_PHANTOM_QUOTE || expectedDecimals < MIN_PAIR_TOKEN_DECIMALS\n                || graduationThreshold != ClankCurveMath.graduationThreshold(phantomQuote)\n        ) {\n            revert PairTokenEconomicsInvalid();\n        }\n        _requirePairTokenDecimals(pairToken, expectedDecimals);\n        // Check both currency orderings with V4's strictest per-tick liquidity limit.\n        _validateResolvedMigration(address(1), address(0), 1, uint128(phantomQuote));\n        _validateResolvedMigration(address(1), address(2), 1, uint128(phantomQuote));\n        pairTokenEconomics[pairToken] = PairTokenEconomics(phantomQuote, graduationThreshold, expectedDecimals);\n        emit PairTokenEconomicsUpdated(pairToken, phantomQuote, graduationThreshold, expectedDecimals);\n    }\n\n    /// @notice Enables or disables an ERC-20 quote asset for new launches.\n    function setPairTokenApproved(address pairToken, bool approved) external onlyPairTokenAuthority {\n        if (pairToken == address(0) || pairToken.code.length == 0) revert PairTokenValidationFailed();\n        if (approved) {\n            PairTokenEconomics memory economics = pairTokenEconomics[pairToken];\n            if (economics.phantomQuote == 0 || economics.graduationThreshold == 0) {\n                revert PairTokenEconomicsInvalid();\n            }\n            _requirePairTokenDecimals(pairToken, economics.decimals);\n        }\n        approvedPairTokens[pairToken] = approved;\n        emit PairTokenApprovalUpdated(pairToken, approved);\n    }\n\n    /// @notice Sets the peak total buy fee snapshotted by each new launch.\n    function setSnipeTaxStartBps(uint256 bps) external onlyOwner {\n        if (bps != 0 && (bps <= MAX_TOTAL_TRADE_FEE_BPS || bps > MAX_SNIPE_TAX_START_BPS)) {\n            revert InvalidBasisPoints();\n        }\n        snipeTaxStartBps = bps;\n        emit SnipeTaxStartBpsUpdated(bps);\n    }\n\n    /// @notice Sets the anti-snipe decay window snapshotted by each new launch.\n    function setSnipeTaxSeconds(uint256 secondsWindow) external onlyOwner {\n        if (secondsWindow == 0 || secondsWindow > MAX_SNIPE_TAX_SECONDS) revert InvalidSnipeTaxWindow();\n        snipeTaxSeconds = secondsWindow;\n        emit SnipeTaxSecondsUpdated(secondsWindow);\n    }\n\n    /// @notice Updates the sole recipient used by every protocol fee collection path.\n    function setFeeDestination(address newDestination) external onlyOwner {\n        if (newDestination == address(0)) revert ZeroAddress();\n        address previousDestination = feeDestination;\n        feeDestination = newDestination;\n        emit FeeDestinationUpdated(previousDestination, newDestination);\n    }\n\n    /// @notice Permissionlessly forwards all accrued native or ERC-20 protocol credits.\n    /// @param asset Native ETH when zero, otherwise the ERC-20 quote asset to collect.\n    function collectFees(address asset) external nonReentrant returns (uint256 amount) {\n        address destination = feeDestination;\n        if (asset == address(0)) {\n            amount = feeEscrow.claimTo(payable(destination));\n        } else {\n            amount = feeEscrow.claimTokenTo(asset, destination);\n        }\n        emit FeesCollected(asset, destination, amount);\n    }\n\n    /// @notice Legacy getter retained for integrations that used the previous immutable name.\n    function protocolFeeRecipient() external view returns (address) {\n        return feeDestination;\n    }\n\n    /// @notice Pons-compatible pool hook getter used by third-party graduation clients.\n    function memeHook() external view returns (address) {\n        return address(initializationHook);\n    }\n\n    /// @notice Disabled to preserve the owner-operated delayed recovery path.\n    function renounceOwnership() public pure override {\n        revert OwnershipCannotBeRenounced();\n    }\n\n    /// @notice Adds a validated configuration for new launches.\n    /// @param config Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters.\n    /// @return id Identifier assigned to the new configuration.\n    function addLaunchConfig(LaunchConfig calldata config) external onlyOwner returns (uint256 id) {\n        _validateLaunchConfig(config);\n        id = _launchConfigs.length;\n        _launchConfigs.push(config);\n        emit LaunchConfigAdded(id);\n    }\n\n    /// @notice Replaces a configuration used by new launches.\n    /// @dev Existing launch snapshots are not modified.\n    /// @param id Configuration to replace.\n    /// @param config New validated configuration.\n    function updateLaunchConfig(uint256 id, LaunchConfig calldata config) external onlyOwner {\n        _requireLaunchConfig(id);\n        _validateLaunchConfig(config);\n        _launchConfigs[id] = config;\n        emit LaunchConfigUpdated(id);\n    }\n\n    /// @notice Enables or disables one configuration for new launches.\n    function setLaunchConfigEnabled(uint256 launchConfigId, bool enabled) external onlyOwner {\n        LaunchConfig storage config = _requireLaunchConfig(launchConfigId);\n        config.enabled = enabled;\n        emit LaunchConfigEnabledUpdated(launchConfigId, enabled);\n    }\n\n    /// @notice Enables or disables all new launch creation.\n    /// @dev This gate does not stop trading or graduation for existing launches.\n    function setLaunchEnabled(bool enabled) external onlyOwner {\n        if (enabled) _requireInitializationHookWiring();\n        launchEnabled = enabled;\n        emit LaunchEnabledUpdated(enabled);\n    }\n\n    /// @notice Returns whether a creator may launch through the current public gate.\n    /// @dev The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist.\n    function canLaunch(address launcher) public view returns (bool) {\n        launcher;\n        return launchEnabled;\n    }\n\n    /// @notice Wires the Pons-style CREATE2 helper exactly once.\n    /// @dev The helper must already identify this factory as its immutable caller.\n    function setLaunchDeployer(ClankLaunchDeployer deployer) external onlyOwner {\n        if (address(launchDeployer) != address(0)) revert AlreadySet();\n        if (address(deployer) == address(0) || address(deployer).code.length == 0) {\n            revert LaunchDeployerNotSet();\n        }\n        if (deployer.factory() != address(this)) revert LaunchDeployerWiringMismatch();\n        launchDeployer = deployer;\n        emit LaunchDeployerSet(address(deployer));\n    }\n\n    /// @notice Sets the trusted launch-and-buy router; the owner may rotate it.\n    function setLaunchForwarder(address forwarder) external onlyOwner {\n        if (forwarder == address(0)) revert ZeroAddress();\n        launchForwarder = forwarder;\n        emit LaunchForwarderSet(forwarder);\n    }\n\n    /// @notice Pons-compatible native or approved ERC-20 quote launch entrypoint.\n    /// @dev Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics\n    /// value waives the economics pin as in Pons.\n    function launchToken(TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        external\n        payable\n        nonReentrant\n        returns (address token, address curve)\n    {\n        return _launchCompatibleToken(params, launchConfigId, pairToken, msg.sender);\n    }\n\n    /// @notice Creates a launch with up to 32 additional snipe-tax-exempt recipients.\n    function launchToken(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address[] calldata snipeTaxExemptions\n    ) external payable nonReentrant returns (address token, address curve) {\n        (token, curve) = _launchCompatibleToken(params, launchConfigId, pairToken, msg.sender);\n        _exemptFromSnipeTax(curve, snipeTaxExemptions);\n    }\n\n    /// @notice Creates a launch for the trusted router's original caller.\n    function launchTokenFor(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address originalDeployer,\n        address[] calldata snipeTaxExemptions\n    ) external payable nonReentrant returns (address token, address curve) {\n        if (msg.sender != launchForwarder) revert NotLaunchForwarder();\n        (token, curve) = _launchCompatibleToken(params, launchConfigId, pairToken, originalDeployer);\n        _exemptFromSnipeTax(curve, snipeTaxExemptions);\n    }\n\n    function _exemptFromSnipeTax(address curve, address[] calldata snipeTaxExemptions) private {\n        if (snipeTaxExemptions.length > MAX_SNIPE_TAX_EXEMPTIONS) revert ExemptionListTooLong();\n        for (uint256 i; i < snipeTaxExemptions.length; ++i) {\n            ClankBondingCurve(payable(curve)).exemptFromSnipeTax(snipeTaxExemptions[i]);\n        }\n    }\n\n    function _launchCompatibleToken(\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken,\n        address creator\n    ) private returns (address token, address curve) {\n        if (msg.value != 0) revert LaunchFeeNotPaid();\n        if (params.creatorTaxBps != 0) revert UnsupportedCreatorTax();\n        if (params.buybackEnabled) revert UnsupportedBuyback();\n\n        LaunchParams memory launchParams = _compatibleLaunchParams(params, launchConfigId, pairToken);\n        address creatorFeeRecipient = params.creatorFeeRecipient == address(0) ? creator : params.creatorFeeRecipient;\n        return _launchToken(\n            launchParams, creator, creatorFeeRecipient, pairToken, params.logo, params.description, params.socials\n        );\n    }\n\n    function _compatibleLaunchParams(TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        private\n        view\n        returns (LaunchParams memory launchParams)\n    {\n        bytes32 expectedEconomics = params.expectedEconomics;\n        if (expectedEconomics == bytes32(0)) {\n            LaunchConfig memory config = _requireLaunchConfig(launchConfigId);\n            (uint128 phantomQuote, uint128 threshold) = _quoteEconomics(config, pairToken);\n            expectedEconomics = _economicsDigest(config, pairToken, phantomQuote, threshold);\n        }\n        launchParams = LaunchParams({\n            name: params.name,\n            symbol: params.symbol,\n            logo: params.logo,\n            launchConfigId: launchConfigId,\n            expectedEconomics: expectedEconomics,\n            userSalt: params.salt\n        });\n    }\n\n    function _launchToken(\n        LaunchParams memory params,\n        address creator,\n        address creatorFeeRecipient,\n        address pairToken,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private returns (address token, address curve) {\n        if (address(launchDeployer) == address(0)) revert LaunchDeployerNotSet();\n        if (!canLaunch(creator)) revert NotWhitelisted();\n        _validateMetadata(params, logo, description, socials);\n        (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold) =\n            _resolveLaunchTerms(params, pairToken);\n        if (!config.enabled) revert LaunchConfigDisabled();\n        bytes32 launchId = _launchIdFor(creator, params, economics, logo, description, socials);\n        ClankLaunchDeployment memory deployment = _launchDeployment(\n            params, config, pairToken, phantomQuote, threshold, launchId, creator, logo, description, socials\n        );\n        (address predictedToken, address predictedCurve) = launchDeployer.predictLaunchAddresses(deployment);\n        _validateResolvedMigration(predictedToken, pairToken, config.tickSpacing, phantomQuote);\n\n        (token, curve) = launchDeployer.deployLaunch(deployment);\n        if (curve != predictedCurve) revert AddressMismatch(predictedCurve, curve);\n        if (token != predictedToken) revert AddressMismatch(predictedToken, token);\n        if (_launches[token].token != address(0)) revert LaunchAlreadyExists();\n\n        ClankBondingCurve(payable(curve)).initialize(token);\n        ClankBondingCurve(payable(curve)).exemptFromSnipeTax(creator);\n        if (creatorFeeRecipient != creator) {\n            ClankBondingCurve(payable(curve)).exemptFromSnipeTax(creatorFeeRecipient);\n        }\n        _launches[token] = Launch({\n            token: token,\n            curve: curve,\n            creator: creator,\n            pairToken: pairToken,\n            launchId: launchId,\n            launchConfigId: params.launchConfigId,\n            economics: economics,\n            name: params.name,\n            symbol: params.symbol,\n            logo: params.logo,\n            supply: uint128(config.supply),\n            phantomQuote: phantomQuote,\n            graduationThreshold: threshold,\n            curveFeeBps: uint16(config.curveFeeBps),\n            poolFee: config.poolFee,\n            tickSpacing: config.tickSpacing,\n            sweptQuote: 0,\n            sweptTokens: 0,\n            sweptAt: 0,\n            targetLpTokens: 0,\n            seededQuote: 0,\n            seededToken: 0,\n            positionId: 0\n        });\n        tokenForCurve[curve] = token;\n        _creatorFeeRecipients[token] = creatorFeeRecipient;\n\n        emit TokenLaunched(token, curve, creator, pairToken, params.launchConfigId, threshold);\n    }\n\n    /// @notice Returns the stored launch record for a token.\n    /// @dev An unknown token returns an all-zero record; state-changing functions use _requireLaunch.\n    function getLaunch(address token) external view returns (Launch memory) {\n        return _launches[token];\n    }\n\n    /// @notice Returns a Pons-shaped record for launchpad indexers and bots.\n    function getLaunchedToken(address token) external view returns (LaunchedToken memory launched) {\n        Launch storage launch = _launches[token];\n        bool exists = launch.token != address(0);\n        uint8 phase;\n        if (exists) {\n            ClankBondingCurve.State curveState = ClankBondingCurve(payable(launch.curve)).state();\n            if (curveState == ClankBondingCurve.State.Swept) phase = 1;\n            if (curveState == ClankBondingCurve.State.PoolCreated) phase = 2;\n            if (curveState == ClankBondingCurve.State.Rescued) phase = 3;\n        }\n        launched = LaunchedToken({\n            token: launch.token,\n            curve: launch.curve,\n            deployer: launch.creator,\n            creatorFeeRecipient: _creatorFeeRecipients[token],\n            pairToken: launch.pairToken,\n            graduationThreshold: launch.graduationThreshold,\n            poolFee: launch.poolFee,\n            tickSpacing: launch.tickSpacing,\n            creatorTaxBps: 0,\n            buybackEnabled: false,\n            phase: phase,\n            sweptQuote: launch.sweptQuote,\n            sweptTokens: launch.sweptTokens,\n            sweptAt: launch.sweptAt,\n            exists: exists\n        });\n    }\n\n    /// @notice Advances a Ready launch to Swept by collecting its exact tracked reserves.\n    /// @dev Permissionless and retryable. Forced ETH is not swept. A revert restores both the\n    /// curve state and this factory's scoped receive guard.\n    /// @param token Launched token identifying the curve.\n    function graduate(address token) external nonReentrant {\n        _graduate(token);\n    }\n\n    function _graduate(address token) private {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Ready) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Ready, curveState);\n        }\n        uint256 quotedReserve = curve.realQuoteReserve();\n        uint256 quotedTokens = curve.realTokenReserve();\n        graduationGuard.assertSeedableForCurve(\n            token, launch.pairToken, launch.tickSpacing, quotedReserve, quotedTokens, launch.phantomQuote\n        );\n\n        _sweepCurve(token, launch, curve);\n    }\n\n    /// @notice After seven days in Ready, retries graduation before sweeping without the seed preflight.\n    /// @dev The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure.\n    function forceSweptGraduation(address token) external onlyOwner nonReentrant {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Ready) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Ready, curveState);\n        }\n        uint256 availableAt = uint256(curve.readyAt()) + GRADUATION_RESCUE_DELAY;\n        if (block.timestamp < availableAt) revert GraduationRescueTooEarly(availableAt);\n\n        // Preserve the full call budget under EIP-150 and leave gas for the fallback sweep.\n        if (gasleft() < RESCUE_MIGRATION_GAS + RESCUE_MIGRATION_GAS / 63 + RESCUE_GAS_RESERVE) {\n            revert InsufficientRescueGas();\n        }\n        try this.attemptForceGraduation{gas: RESCUE_MIGRATION_GAS}(token) {\n            return;\n        } catch {}\n\n        _sweepCurve(token, launch, curve);\n        emit LaunchForceSwept(token);\n    }\n\n    /// @dev Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active.\n    function attemptForceGraduation(address token) external {\n        if (msg.sender != address(this)) revert OnlySelf();\n        _graduate(token);\n    }\n\n    function _sweepCurve(address token, Launch storage launch, ClankBondingCurve curve) private {\n        uint256 quoteBalanceBefore =\n            launch.pairToken == address(0) ? address(this).balance : IERC20(launch.pairToken).balanceOf(address(this));\n        if (launch.pairToken == address(0)) _expectedNativeSender = launch.curve;\n        (, uint256 tokenAmount) = curve.graduate(address(this));\n        _expectedNativeSender = address(0);\n        uint256 quoteBalanceAfter =\n            launch.pairToken == address(0) ? address(this).balance : IERC20(launch.pairToken).balanceOf(address(this));\n        if (quoteBalanceAfter < quoteBalanceBefore) revert InvalidEconomics();\n        uint256 quoteAmount = quoteBalanceAfter - quoteBalanceBefore;\n        if (quoteAmount == 0 || tokenAmount == 0) revert NothingToGraduate();\n        if (quoteAmount > type(uint128).max || tokenAmount > type(uint128).max) {\n            revert InvalidEconomics();\n        }\n\n        launch.sweptQuote = uint128(quoteAmount);\n        launch.sweptTokens = uint128(tokenAmount);\n        launch.sweptAt = uint64(block.timestamp);\n        emit LaunchSwept(token, quoteAmount, tokenAmount);\n    }\n\n    /// @notice Advances a Swept launch to PoolCreated and permanently locks V4 liquidity.\n    function createGraduatedPool(address token) external nonReentrant returns (uint256 positionId) {\n        ClankGraduationExecutor.Result memory result = _createGraduatedPool(token);\n        return result.positionId;\n    }\n\n    function _createGraduatedPool(address token) private returns (ClankGraduationExecutor.Result memory result) {\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Swept) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Swept, curveState);\n        }\n        uint256 quoteAmount = launch.sweptQuote;\n        uint256 tokenAmount = launch.sweptTokens;\n        if (quoteAmount == 0 || tokenAmount == 0) revert MigrationAmountTooSmall();\n\n        launch.targetLpTokens = uint128(tokenAmount);\n\n        _requireInitializationHookWiring();\n        bool quoteIsCurrency0 = launch.pairToken < token;\n        address currency0 = quoteIsCurrency0 ? launch.pairToken : token;\n        address currency1 = quoteIsCurrency0 ? token : launch.pairToken;\n        PoolKey memory key = PoolKey({\n            currency0: Currency.wrap(currency0),\n            currency1: Currency.wrap(currency1),\n            fee: launch.poolFee,\n            tickSpacing: launch.tickSpacing,\n            hooks: IHooks(address(initializationHook))\n        });\n        uint160 sqrtPriceX96 = graduationGuard.assertSeedableForCurve(\n            token, launch.pairToken, launch.tickSpacing, quoteAmount, tokenAmount, launch.phantomQuote\n        );\n        IPoolManager(poolManager).initialize(key, sqrtPriceX96);\n\n        IERC20(token).safeTransfer(address(graduationExecutor), tokenAmount);\n        if (launch.pairToken != address(0)) {\n            IERC20(launch.pairToken).safeTransfer(address(graduationExecutor), quoteAmount);\n        }\n\n        result = graduationExecutor.mintFullRangePosition{value: launch.pairToken == address(0) ? quoteAmount : 0}(\n            token, launch.pairToken, launch.poolFee, launch.tickSpacing, uint128(quoteAmount), uint128(tokenAmount)\n        );\n\n        launch.seededQuote = result.seededQuote;\n        launch.seededToken = result.seededToken;\n        launch.positionId = result.positionId;\n        launch.sweptQuote = 0;\n        launch.sweptTokens = 0;\n        launch.sweptAt = 0;\n\n        locker.lockPosition(token, result.positionId, launch.pairToken);\n        curve.markPoolCreated();\n\n        emit PoolGraduated(token, result.positionId, result.seededToken, result.seededQuote);\n    }\n\n    /// @notice Seven days after sweeping, retries migration before releasing failed reserves to the owner.\n    /// @dev Ordinary migration remains permissionless and retryable without resetting sweptAt.\n    /// Any failure within the fixed migration gas budget permits recovery, including out-of-gas.\n    /// @param recipient Retained for ABI compatibility; must be nonzero. Recovery always pays owner().\n    function rescueSweptGraduation(address token, address recipient) external onlyOwner nonReentrant {\n        if (recipient == address(0)) revert ZeroAddress();\n        Launch storage launch = _requireLaunch(token);\n        ClankBondingCurve curve = ClankBondingCurve(payable(launch.curve));\n        ClankBondingCurve.State curveState = curve.state();\n        if (curveState != ClankBondingCurve.State.Swept) {\n            revert ClankBondingCurve.InvalidState(ClankBondingCurve.State.Swept, curveState);\n        }\n\n        uint256 availableAt = uint256(launch.sweptAt) + GRADUATION_RESCUE_DELAY;\n        if (block.timestamp < availableAt) revert GraduationRescueTooEarly(availableAt);\n\n        // Active Uniswap callbacks are not migration failures and must never authorize recovery.\n        if (TransientStateLibrary.isUnlocked(IPoolManager(poolManager))) revert IPoolManager.AlreadyUnlocked();\n        if (IMsgSender(positionManager).msgSender() != address(0)) revert PositionManagerLocked();\n\n        // Include the EIP-150 headroom so the EVM cannot silently truncate the requested call gas.\n        if (gasleft() < RESCUE_MIGRATION_GAS + RESCUE_MIGRATION_GAS / 63 + RESCUE_GAS_RESERVE) {\n            revert InsufficientRescueGas();\n        }\n        try this.attemptRescueMigration{gas: RESCUE_MIGRATION_GAS}(token) {\n            return;\n        } catch {}\n\n        uint256 quoteAmount = launch.sweptQuote;\n        uint256 tokenAmount = launch.sweptTokens;\n        if (quoteAmount == 0 || tokenAmount == 0) revert NothingToGraduate();\n        address pairToken = launch.pairToken;\n        address recoveryOwner = owner();\n\n        launch.sweptQuote = 0;\n        launch.sweptTokens = 0;\n        launch.sweptAt = 0;\n        curve.markRescued();\n\n        if (pairToken == address(0)) {\n            (bool sent,) = payable(recoveryOwner).call{value: quoteAmount}(\"\");\n            if (!sent) revert FeeTransferFailed();\n        } else {\n            IERC20(pairToken).safeTransfer(recoveryOwner, quoteAmount);\n        }\n        IERC20(token).safeTransfer(recoveryOwner, tokenAmount);\n\n        emit LaunchGraduationRescued(token, recoveryOwner, quoteAmount, tokenAmount);\n    }\n\n    /// @dev External rollback boundary for rescue's try/catch. Only the guarded rescue may enter.\n    /// The outer nonReentrant guard remains active throughout migration and reserve release.\n    function attemptRescueMigration(address token) external {\n        if (msg.sender != address(this)) revert OnlySelf();\n        _createGraduatedPool(token);\n    }\n\n    /// @notice Predicts the exact Pons-compatible launch, including quote asset and full metadata.\n    /// @dev Applies launch metadata bounds and returns the committed launch identifier with both addresses.\n    function predictLaunch(address creator, TokenParams calldata params, uint256 launchConfigId, address pairToken)\n        external\n        view\n        returns (address token, address curve, bytes32 launchId)\n    {\n        return _predictCompatibleLaunch(creator, params, launchConfigId, pairToken);\n    }\n\n    function _predictCompatibleLaunch(\n        address creator,\n        TokenParams calldata params,\n        uint256 launchConfigId,\n        address pairToken\n    ) private view returns (address token, address curve, bytes32 launchId) {\n        if (address(launchDeployer) == address(0)) revert LaunchDeployerNotSet();\n        if (params.creatorTaxBps != 0) revert UnsupportedCreatorTax();\n        if (params.buybackEnabled) revert UnsupportedBuyback();\n\n        LaunchParams memory launchParams = _compatibleLaunchParams(params, launchConfigId, pairToken);\n        _validateMetadata(launchParams, params.logo, params.description, params.socials);\n        (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold) =\n            _resolveLaunchTerms(launchParams, pairToken);\n        launchId = _launchIdFor(creator, launchParams, economics, params.logo, params.description, params.socials);\n        (token, curve) = launchDeployer.predictLaunchAddresses(\n            _launchDeployment(\n                launchParams,\n                config,\n                pairToken,\n                phantomQuote,\n                threshold,\n                launchId,\n                creator,\n                params.logo,\n                params.description,\n                params.socials\n            )\n        );\n    }\n\n    /// @dev Builds the exact deployer input shared by deployment and address prediction.\n    function _launchDeployment(\n        LaunchParams memory params,\n        LaunchConfig memory config,\n        address pairToken,\n        uint128 phantomQuote,\n        uint128 graduationThreshold,\n        bytes32 launchId,\n        address creator,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private view returns (ClankLaunchDeployment memory deployment) {\n        ClankBondingCurve.Config memory curveConfig = ClankBondingCurve.Config({\n            factory: address(this),\n            feeEscrow: address(feeEscrow),\n            protocolFeeRecipient: address(this),\n            creator: creator,\n            pairToken: pairToken,\n            feeBps: uint16(config.curveFeeBps),\n            snipeTaxStartBps: uint16(snipeTaxStartBps),\n            snipeTaxSeconds: uint32(snipeTaxSeconds),\n            phantomQuote: phantomQuote,\n            graduationThreshold: graduationThreshold,\n            graduationGuard: address(graduationGuard),\n            tickSpacing: config.tickSpacing\n        });\n        deployment = ClankLaunchDeployment({\n            name: params.name,\n            symbol: params.symbol,\n            metadata: ClankLauncherToken.Metadata({\n                logo: logo,\n                description: description,\n                socials: ClankLauncherToken.Socials({\n                    twitter: socials.twitter,\n                    telegram: socials.telegram,\n                    discord: socials.discord,\n                    website: socials.website,\n                    farcaster: socials.farcaster\n                })\n            }),\n            creator: creator,\n            supply: config.supply,\n            launchId: launchId,\n            curveConfig: curveConfig\n        });\n    }\n\n    /// @dev Commits creator identity, metadata, config identifier, economics, and user salt.\n    function _launchIdFor(\n        address creator,\n        LaunchParams memory params,\n        bytes32 economics,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private pure returns (bytes32) {\n        bytes32 metadataDigest = keccak256(abi.encode(logo, description, socials));\n        return keccak256(\n            abi.encode(\n                creator,\n                params.name,\n                params.symbol,\n                params.logo,\n                metadataDigest,\n                params.launchConfigId,\n                economics,\n                params.userSalt\n            )\n        );\n    }\n\n    /// @dev Resolves the current config and requires the creator's expected economics commitment.\n    function _resolveLaunchTerms(LaunchParams memory params, address pairToken)\n        private\n        view\n        returns (LaunchConfig memory config, bytes32 economics, uint128 phantomQuote, uint128 threshold)\n    {\n        config = _requireLaunchConfig(params.launchConfigId);\n        (phantomQuote, threshold) = _quoteEconomics(config, pairToken);\n        economics = _economicsDigest(config, pairToken, phantomQuote, threshold);\n        if (params.expectedEconomics != economics) {\n            revert LaunchEconomicsMismatch(params.expectedEconomics, economics);\n        }\n    }\n\n    /// @dev Hashes every economic field that determines curve or V4 launch behaviour.\n    function _economicsDigest(\n        LaunchConfig memory config,\n        address pairToken,\n        uint256 phantomQuote,\n        uint256 graduationThreshold\n    ) private view returns (bytes32) {\n        return keccak256(\n            abi.encode(\n                config.supply,\n                pairToken,\n                phantomQuote,\n                graduationThreshold,\n                config.curveFeeBps,\n                config.poolFee,\n                config.tickSpacing,\n                snipeTaxStartBps,\n                snipeTaxSeconds\n            )\n        );\n    }\n\n    function _quoteEconomics(LaunchConfig memory config, address pairToken)\n        private\n        view\n        returns (uint128 phantomQuote, uint128 threshold)\n    {\n        if (pairToken == address(0)) {\n            return (uint128(config.phantomQuote), uint128(config.graduationThreshold));\n        }\n        if (!approvedPairTokens[pairToken]) revert PairTokenNotApproved();\n        PairTokenEconomics memory economics = pairTokenEconomics[pairToken];\n        if (economics.phantomQuote == 0 || economics.graduationThreshold == 0) {\n            revert PairTokenEconomicsInvalid();\n        }\n        _requirePairTokenDecimals(pairToken, economics.decimals);\n        if (economics.phantomQuote > type(uint128).max || economics.graduationThreshold > type(uint128).max) {\n            revert PairTokenEconomicsInvalid();\n        }\n        return (uint128(economics.phantomQuote), uint128(economics.graduationThreshold));\n    }\n\n    function _requirePairTokenDecimals(address pairToken, uint8 expectedDecimals) private view {\n        try IERC20Metadata(pairToken).decimals() returns (uint8 actual) {\n            if (actual != expectedDecimals) revert PairTokenDecimalsMismatch(expectedDecimals, actual);\n        } catch {\n            revert PairTokenDecimalsUnavailable();\n        }\n    }\n\n    function _validateResolvedMigration(address token, address pairToken, int24 tickSpacing, uint128 phantomQuote)\n        private\n        view\n    {\n        uint256 quoteAmount = ClankCurveMath.minimumTerminalQuote(phantomQuote);\n        graduationGuard.assertSeedableForCurve(\n            token, pairToken, tickSpacing, quoteAmount, ClankCurveMath.MIGRATION_TOKENS, phantomQuote\n        );\n    }\n\n    /// @dev Applies bounded metadata lengths before constructor bytecode and storage allocation.\n    function _validateMetadata(\n        LaunchParams memory params,\n        string memory logo,\n        string memory description,\n        Socials memory socials\n    ) private pure {\n        uint256 nameLength = bytes(params.name).length;\n        uint256 symbolLength = bytes(params.symbol).length;\n        if (\n            nameLength == 0 || nameLength > MAX_NAME_LENGTH || symbolLength == 0 || symbolLength > MAX_SYMBOL_LENGTH\n                || bytes(params.logo).length == 0 || bytes(params.logo).length > MAX_LOGO_LENGTH\n                || bytes(logo).length == 0 || bytes(logo).length > MAX_LOGO_LENGTH\n                || bytes(description).length > MAX_DESCRIPTION_LENGTH\n                || bytes(socials.twitter).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.telegram).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.discord).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.website).length > MAX_SOCIAL_URI_LENGTH\n                || bytes(socials.farcaster).length > MAX_SOCIAL_URI_LENGTH\n        ) revert InvalidMetadata();\n    }\n\n    /// @dev Rejects zero economics, invalid V4 parameters, and configurations that cannot produce\n    /// a non-zero terminal liquidity token allocation.\n    function _validateLaunchConfig(LaunchConfig memory config) private view {\n        if (\n            config.supply != ClankCurveMath.TOKEN_SUPPLY || config.phantomQuote == 0\n                || config.phantomQuote > ClankCurveMath.MAX_PHANTOM_QUOTE\n                || config.graduationThreshold != ClankCurveMath.graduationThreshold(config.phantomQuote)\n        ) {\n            revert InvalidEconomics();\n        }\n        if (config.curveFeeBps > MAX_CURVE_FEE_BPS) revert CurveFeeTooHigh();\n        if (config.poolFee > MAX_V4_STATIC_FEE || config.tickSpacing <= 0 || config.tickSpacing > MAX_V4_TICK_SPACING) {\n            revert InvalidPoolConfiguration();\n        }\n\n        _validateResolvedMigration(address(1), address(0), config.tickSpacing, uint128(config.phantomQuote));\n    }\n\n    /// @dev Returns a config storage reference or reverts for an unknown identifier.\n    function _requireLaunchConfig(uint256 launchConfigId) private view returns (LaunchConfig storage config) {\n        if (launchConfigId >= _launchConfigs.length) revert InvalidLaunchConfigId();\n        config = _launchConfigs[launchConfigId];\n    }\n\n    /// @dev Returns a launch storage reference or reverts for an unknown token.\n    function _requireLaunch(address token) private view returns (Launch storage launch) {\n        launch = _launches[token];\n        if (launch.token == address(0)) revert TokenNotFound();\n    }\n\n    /// @dev Ensures the one-time hook wiring is complete before a pool can be initialized.\n    function _requireInitializationHookWiring() private view {\n        address wiredFactory = initializationHook.factory();\n        if (wiredFactory != address(this)) {\n            revert InitializationHookFactoryMismatch(address(this), wiredFactory);\n        }\n    }\n}\n\n/// @dev PositionManager's public immutable Permit2 getter is not declared by IPositionManager.\ninterface IPositionManagerPermit2 {\n    function permit2() external view returns (address);\n}\n"},"contracts/ClankLauncherToken.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport {ERC20Burnable} from \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank launcher token\n/// @notice Fixed-supply ERC-20 deployed for one launch and minted completely to its curve.\n/// @dev The reference and metadata fields mirror the Pons launcher-token model for indexer\n/// compatibility and grant no privileges.\ncontract ClankLauncherToken is ERC20, ERC20Burnable {\n    struct Socials {\n        string twitter;\n        string telegram;\n        string discord;\n        string website;\n        string farcaster;\n    }\n\n    struct Metadata {\n        string logo;\n        string description;\n        Socials socials;\n    }\n\n    error InvalidAddress();\n    error InvalidSupply();\n    error FixedSupply();\n\n    address public immutable deployer;\n    address public immutable launchFactory;\n    address public immutable curve;\n    string public logo;\n    string public description;\n\n    Socials private _socials;\n\n    constructor(\n        string memory name_,\n        string memory symbol_,\n        Metadata memory metadata_,\n        address deployer_,\n        address curve_,\n        address launchFactory_,\n        uint256 supply_\n    ) ERC20(name_, symbol_) {\n        if (deployer_ == address(0) || curve_ == address(0) || launchFactory_ == address(0)) {\n            revert InvalidAddress();\n        }\n        if (supply_ != ClankCurveMath.TOKEN_SUPPLY) revert InvalidSupply();\n\n        deployer = deployer_;\n        launchFactory = launchFactory_;\n        curve = curve_;\n        logo = metadata_.logo;\n        description = metadata_.description;\n        _socials = metadata_.socials;\n        _mint(curve_, supply_);\n    }\n\n    /// @dev Retain the ERC20Burnable selectors but forbid supply changes after the initial mint.\n    function _update(address from, address to, uint256 value) internal override {\n        if (to == address(0)) revert FixedSupply();\n        super._update(from, to, value);\n    }\n\n    /// @notice Returns the five social metadata fields in the Pons-compatible order.\n    function socials()\n        external\n        view\n        returns (\n            string memory twitter,\n            string memory telegram,\n            string memory discord,\n            string memory website,\n            string memory farcaster\n        )\n    {\n        Socials memory values = _socials;\n        return (values.twitter, values.telegram, values.discord, values.website, values.farcaster);\n    }\n\n    /// @notice Returns creator and metadata in the Pons-compatible launcher-token tuple.\n    function getTokenInfo()\n        external\n        view\n        returns (\n            address tokenDeployer,\n            string memory tokenLogo,\n            string memory tokenDescription,\n            Socials memory tokenSocials\n        )\n    {\n        return (deployer, logo, description, _socials);\n    }\n}\n"},"contracts/ClankLaunchDeployer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Create2} from \"@openzeppelin/contracts/utils/Create2.sol\";\n\nimport {ClankBondingCurve} from \"./ClankBondingCurve.sol\";\nimport {ClankLauncherToken} from \"./ClankLauncherToken.sol\";\n\n/// @notice Complete deterministic deployment input for one curve/token pair.\nstruct ClankLaunchDeployment {\n    string name;\n    string symbol;\n    ClankLauncherToken.Metadata metadata;\n    address creator;\n    uint256 supply;\n    bytes32 launchId;\n    ClankBondingCurve.Config curveConfig;\n}\n\n/// @title Clank launch deployer\n/// @notice Handles CREATE2 deployment and address prediction for launch curve/token pairs.\n/// @dev Split from the factory to mirror Pons' contract responsibilities and keep deployment\n/// bytecode out of the orchestration surface exposed to integrations.\ncontract ClankLaunchDeployer {\n    error AddressMismatch(address expected, address actual);\n    error InvalidAddress();\n    error NotFactory();\n\n    address public immutable factory;\n\n    constructor(address factory_) {\n        if (factory_ == address(0)) revert InvalidAddress();\n        factory = factory_;\n    }\n\n    modifier onlyFactory() {\n        if (msg.sender != factory) revert NotFactory();\n        _;\n    }\n\n    function deployLaunch(ClankLaunchDeployment calldata params)\n        external\n        onlyFactory\n        returns (address token, address curve)\n    {\n        (address predictedToken, address predictedCurve) = predictLaunchAddresses(params);\n\n        curve = address(new ClankBondingCurve{salt: curveSalt(params.launchId)}(params.curveConfig));\n        if (curve != predictedCurve) revert AddressMismatch(predictedCurve, curve);\n\n        token = address(\n            new ClankLauncherToken{salt: tokenSalt(params.launchId)}(\n                params.name, params.symbol, params.metadata, params.creator, curve, factory, params.supply\n            )\n        );\n        if (token != predictedToken) revert AddressMismatch(predictedToken, token);\n    }\n\n    function predictLaunchAddresses(ClankLaunchDeployment calldata params)\n        public\n        view\n        returns (address token, address curve)\n    {\n        bytes32 curveBytecodeHash =\n            keccak256(abi.encodePacked(type(ClankBondingCurve).creationCode, abi.encode(params.curveConfig)));\n        curve = Create2.computeAddress(curveSalt(params.launchId), curveBytecodeHash, address(this));\n\n        bytes32 tokenBytecodeHash = keccak256(\n            abi.encodePacked(\n                type(ClankLauncherToken).creationCode,\n                abi.encode(params.name, params.symbol, params.metadata, params.creator, curve, factory, params.supply)\n            )\n        );\n        token = Create2.computeAddress(tokenSalt(params.launchId), tokenBytecodeHash, address(this));\n    }\n\n    function curveSalt(bytes32 launchId) public pure returns (bytes32) {\n        return keccak256(abi.encodePacked(launchId, \"CLANK_CURVE\"));\n    }\n\n    function tokenSalt(bytes32 launchId) public pure returns (bytes32) {\n        return keccak256(abi.encodePacked(launchId, \"CLANK_TOKEN\"));\n    }\n}\n"},"contracts/ClankGraduationGuard.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Pool} from \"@uniswap/v4-core/src/libraries/Pool.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\n\nimport {ClankMigrationMath} from \"./libraries/ClankMigrationMath.sol\";\nimport {ClankCurveMath} from \"./libraries/ClankCurveMath.sol\";\n\n/// @title Clank graduation preflight\n/// @notice Validates that terminal assets produce nonzero full-range liquidity within V4's per-tick limit.\ncontract ClankGraduationGuard {\n    error GraduationSeedNotViable();\n    error InvalidAddress();\n    error InvalidTickSpacing();\n    error SqrtPriceOutOfBounds();\n\n    /// @notice Checks a curve's terminal assets and returns the price used to initialize V4.\n    function assertSeedableForCurve(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount,\n        uint256 phantomQuote\n    ) external pure returns (uint160 price) {\n        price = ClankMigrationMath.migrationPrice(token, pairToken, quoteAmount, tokenAmount, phantomQuote);\n        _assertSeedableAtPrice(token, pairToken, tickSpacing, quoteAmount, tokenAmount, price);\n    }\n\n    function assertSeedable(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount\n    ) external pure {\n        (uint256 amount0, uint256 amount1) = pairToken < token ? (quoteAmount, tokenAmount) : (tokenAmount, quoteAmount);\n        _assertSeedableAtPrice(\n            token, pairToken, tickSpacing, quoteAmount, tokenAmount, ClankMigrationMath.sqrtPriceX96(amount0, amount1)\n        );\n    }\n\n    function _assertSeedableAtPrice(\n        address token,\n        address pairToken,\n        int24 tickSpacing,\n        uint256 quoteAmount,\n        uint256 tokenAmount,\n        uint160 sqrtPriceX96\n    ) private pure {\n        if (token == address(0)) revert InvalidAddress();\n        if (pairToken == token) revert InvalidAddress();\n        if (tickSpacing <= 0) revert InvalidTickSpacing();\n        if (\n            quoteAmount == 0 || tokenAmount == 0 || quoteAmount > ClankCurveMath.MAX_GRADUATION_QUOTE\n                || tokenAmount > ClankCurveMath.MAX_GRADUATION_QUOTE\n        ) {\n            revert GraduationSeedNotViable();\n        }\n\n        (uint256 amount0, uint256 amount1) = pairToken < token ? (quoteAmount, tokenAmount) : (tokenAmount, quoteAmount);\n        if (sqrtPriceX96 <= TickMath.MIN_SQRT_PRICE || sqrtPriceX96 >= TickMath.MAX_SQRT_PRICE) {\n            revert SqrtPriceOutOfBounds();\n        }\n\n        int24 tickLower = TickMath.minUsableTick(tickSpacing);\n        int24 tickUpper = TickMath.maxUsableTick(tickSpacing);\n        uint128 liquidity = LiquidityAmounts.getLiquidityForAmounts(\n            sqrtPriceX96,\n            TickMath.getSqrtPriceAtTick(tickLower),\n            TickMath.getSqrtPriceAtTick(tickUpper),\n            amount0,\n            amount1\n        );\n        if (liquidity == 0 || liquidity > Pool.tickSpacingToMaxLiquidityPerTick(tickSpacing)) {\n            revert GraduationSeedNotViable();\n        }\n    }\n}\n"},"contracts/ClankGraduationExecutor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\n\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {StateLibrary} from \"@uniswap/v4-core/src/libraries/StateLibrary.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PoolIdLibrary} from \"@uniswap/v4-core/src/types/PoolId.sol\";\nimport {IPositionManager} from \"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\";\nimport {Actions} from \"@uniswap/v4-periphery/src/libraries/Actions.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\n\nimport {ClankFeeEscrow} from \"./ClankFeeEscrow.sol\";\nimport {IERC721Owner} from \"./ClankLaunchLocker.sol\";\n\n/// @title Clank Uniswap V4 graduation executor\n/// @notice Mints a full-range native-ETH or ERC-20 quote V4 position directly to the immutable launch locker.\n/// @dev This contract isolates V4-specific approval, action encoding, dust accounting, and\n/// position ownership checks from launch administration. Only the factory may execute a migration.\ncontract ClankGraduationExecutor is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    /// @notice Auditable outcome of a V4 graduation attempt.\n    struct Result {\n        uint256 positionId;\n        uint160 sqrtPriceX96;\n        uint128 liquidity;\n        uint128 seededQuote;\n        uint128 seededToken;\n        uint128 quoteDust;\n        /// @notice Unused launch tokens permanently transferred to the locker.\n        uint128 tokenDust;\n    }\n\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidPositionOwner();\n    error InvalidSqrtPrice();\n    error NoLiquidity();\n    error NotFactory();\n    error NothingToFlush();\n    error UnexpectedNativeSender();\n\n    /// @notice Launch factory authorised to invoke pool creation.\n    address public immutable factory;\n    /// @notice Uniswap V4 pool registry and accounting manager.\n    IPoolManager public immutable poolManager;\n    /// @notice Uniswap V4 position NFT manager.\n    IPositionManager public immutable positionManager;\n    /// @notice Permit2 instance used by PositionManager to pull launched tokens.\n    IAllowanceTransfer public immutable permit2;\n    /// @notice Initialization-only hook embedded in every graduated PoolKey.\n    IHooks public immutable initializationHook;\n    /// @notice Permanent recipient of every minted liquidity position.\n    address public immutable locker;\n    /// @notice Pull-payment escrow receiving migration dust.\n    ClankFeeEscrow public immutable feeEscrow;\n    /// @notice Beneficiary credited with migration dust and recovered foreign native ETH.\n    address public immutable protocolFeeRecipient;\n    /// @notice Unflushed ERC-20 quote dust, excluding pre-existing donations.\n    mapping(address asset => uint256 amount) public pendingQuoteDust;\n\n    event PoolCreated(\n        address indexed token,\n        uint256 indexed positionId,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        uint128 seededQuote,\n        uint128 seededToken,\n        uint128 quoteDust,\n        uint128 tokenDust\n    );\n    event ForeignNativeRecovered(uint256 amount, address indexed escrowBeneficiary);\n    event QuoteDustFlushed(address indexed asset, uint256 amount);\n\n    /// @param factory_ Launch factory authorised to call mintFullRangePosition.\n    /// @param poolManager_ Uniswap V4 PoolManager.\n    /// @param positionManager_ Uniswap V4 PositionManager wired to poolManager_.\n    /// @param permit2_ Permit2 contract used by PositionManager.\n    /// @param initializationHook_ No-fee hook restricting pool initialization to the factory.\n    /// @param locker_ Permanent liquidity-position recipient.\n    /// @param feeEscrow_ Native and ERC-20 credit escrow.\n    /// @param protocolFeeRecipient_ Beneficiary for migration dust and recovered foreign native ETH.\n    constructor(\n        address factory_,\n        address poolManager_,\n        address positionManager_,\n        address permit2_,\n        address initializationHook_,\n        address locker_,\n        address feeEscrow_,\n        address protocolFeeRecipient_\n    ) {\n        if (\n            factory_ == address(0) || poolManager_ == address(0) || positionManager_ == address(0)\n                || permit2_ == address(0) || initializationHook_ == address(0) || locker_ == address(0)\n                || feeEscrow_ == address(0) || protocolFeeRecipient_ == address(0)\n        ) revert InvalidAddress();\n\n        factory = factory_;\n        poolManager = IPoolManager(poolManager_);\n        positionManager = IPositionManager(positionManager_);\n        permit2 = IAllowanceTransfer(permit2_);\n        initializationHook = IHooks(initializationHook_);\n        locker = locker_;\n        feeEscrow = ClankFeeEscrow(feeEscrow_);\n        protocolFeeRecipient = protocolFeeRecipient_;\n    }\n\n    /// @notice Accepts native refunds and sweep output only from PositionManager.\n    receive() external payable {\n        if (msg.sender != address(positionManager)) revert UnexpectedNativeSender();\n    }\n\n    /// @notice Permissionlessly transfers accumulated ERC-20 quote dust to the fixed escrow beneficiary.\n    /// @dev Failed transfers revert the pending amount and remain retryable after pool creation.\n    function flushQuoteDust(address asset) external nonReentrant returns (uint256 amount) {\n        amount = pendingQuoteDust[asset];\n        if (amount == 0) revert NothingToFlush();\n        pendingQuoteDust[asset] = 0;\n\n        IERC20 quoteToken = IERC20(asset);\n        quoteToken.forceApprove(address(feeEscrow), amount);\n        feeEscrow.creditToken(protocolFeeRecipient, asset, amount);\n        quoteToken.forceApprove(address(feeEscrow), 0);\n\n        emit QuoteDustFlushed(asset, amount);\n    }\n\n    /// @notice Mints a full-range position into the factory-initialized V4 pool.\n    /// @dev Currencies are sorted by address and the PoolKey contains the initialization-only guard.\n    /// The executor snapshots its own and PositionManager's pre-existing balances so foreign native\n    /// ETH returned by SWEEP is never attributed to the current launch.\n    /// Temporary approvals are cleared on success.\n    /// @param tokenAddress Launched ERC-20 token.\n    /// @param pairToken Quote asset; address(0) represents native ETH.\n    /// @param poolFee Static V4 LP fee encoded in the PoolKey.\n    /// @param tickSpacing Tick spacing encoded in the PoolKey.\n    /// @param quoteAmount Quote asset allocated to the position.\n    /// @param tokenAmount Token amount allocated to the position.\n    /// @return result Position identifier, price, liquidity, seeded amounts, and rounding dust.\n    function mintFullRangePosition(\n        address tokenAddress,\n        address pairToken,\n        uint24 poolFee,\n        int24 tickSpacing,\n        uint128 quoteAmount,\n        uint128 tokenAmount\n    ) external payable nonReentrant returns (Result memory result) {\n        if (msg.sender != factory) revert NotFactory();\n        if (\n            tokenAddress == address(0) || pairToken == tokenAddress || quoteAmount == 0 || tokenAmount == 0\n                || (pairToken == address(0) ? msg.value != quoteAmount : msg.value != 0)\n        ) {\n            revert InvalidAmount();\n        }\n\n        IERC20 token = IERC20(tokenAddress);\n        uint256 tokenBalance = token.balanceOf(address(this));\n        if (tokenBalance < tokenAmount) revert InvalidAmount();\n        IERC20 quoteToken = IERC20(pairToken);\n        uint256 quoteTokenBalance;\n        if (pairToken != address(0)) {\n            quoteTokenBalance = quoteToken.balanceOf(address(this));\n            if (quoteTokenBalance < quoteAmount) revert InvalidAmount();\n        }\n\n        // Separate assets supplied for this launch from balances that predate the call.\n        uint256 nativeBaseline = address(this).balance - msg.value;\n        uint256 tokenBaseline = tokenBalance - tokenAmount;\n        uint256 quoteTokenBaseline = pairToken == address(0) ? 0 : quoteTokenBalance - quoteAmount;\n        uint256 positionManagerNativeBaseline = address(positionManager).balance;\n\n        bool quoteIsCurrency0 = pairToken < tokenAddress;\n        address currency0 = quoteIsCurrency0 ? pairToken : tokenAddress;\n        address currency1 = quoteIsCurrency0 ? tokenAddress : pairToken;\n        uint128 amount0Max = quoteIsCurrency0 ? quoteAmount : tokenAmount;\n        uint128 amount1Max = quoteIsCurrency0 ? tokenAmount : quoteAmount;\n        PoolKey memory key = PoolKey({\n            currency0: Currency.wrap(currency0),\n            currency1: Currency.wrap(currency1),\n            fee: poolFee,\n            tickSpacing: tickSpacing,\n            hooks: initializationHook\n        });\n        (result.sqrtPriceX96,,,) = StateLibrary.getSlot0(poolManager, PoolIdLibrary.toId(key));\n        if (result.sqrtPriceX96 <= TickMath.MIN_SQRT_PRICE || result.sqrtPriceX96 >= TickMath.MAX_SQRT_PRICE) {\n            revert InvalidSqrtPrice();\n        }\n\n        int24 tickLower = TickMath.minUsableTick(tickSpacing);\n        int24 tickUpper = TickMath.maxUsableTick(tickSpacing);\n        result.liquidity = LiquidityAmounts.getLiquidityForAmounts(\n            result.sqrtPriceX96,\n            TickMath.getSqrtPriceAtTick(tickLower),\n            TickMath.getSqrtPriceAtTick(tickUpper),\n            amount0Max,\n            amount1Max\n        );\n        if (result.liquidity == 0) revert NoLiquidity();\n\n        token.forceApprove(address(permit2), tokenAmount);\n        permit2.approve(\n            tokenAddress, address(positionManager), uint160(tokenAmount), uint48(block.timestamp + 5 minutes)\n        );\n        if (pairToken != address(0)) {\n            quoteToken.forceApprove(address(permit2), quoteAmount);\n            permit2.approve(\n                pairToken, address(positionManager), uint160(quoteAmount), uint48(block.timestamp + 5 minutes)\n            );\n        }\n\n        result.positionId = positionManager.nextTokenId();\n\n        // Mint directly to the locker, settle both currencies, then recover unused native ETH.\n        bool hasNative = currency0 == address(0);\n        bytes memory actions = hasNative\n            ? abi.encodePacked(uint8(Actions.MINT_POSITION), uint8(Actions.SETTLE_PAIR), uint8(Actions.SWEEP))\n            : abi.encodePacked(uint8(Actions.MINT_POSITION), uint8(Actions.SETTLE_PAIR));\n        bytes[] memory params = new bytes[](hasNative ? 3 : 2);\n        params[0] =\n            abi.encode(key, tickLower, tickUpper, uint256(result.liquidity), amount0Max, amount1Max, locker, bytes(\"\"));\n        params[1] = abi.encode(key.currency0, key.currency1);\n        if (hasNative) params[2] = abi.encode(key.currency0, address(this));\n\n        positionManager.modifyLiquidities{value: msg.value}(abi.encode(actions, params), block.timestamp + 5 minutes);\n        if (IERC721Owner(address(positionManager)).ownerOf(result.positionId) != locker) {\n            revert InvalidPositionOwner();\n        }\n\n        permit2.approve(tokenAddress, address(positionManager), 0, 0);\n        token.forceApprove(address(permit2), 0);\n        if (pairToken != address(0)) {\n            permit2.approve(pairToken, address(positionManager), 0, 0);\n            quoteToken.forceApprove(address(permit2), 0);\n        }\n\n        // PositionManager's SWEEP may include native ETH it held before this launch. Attribute at most\n        // its baseline balance to foreign ETH, and only the remainder to this launch's rounding dust.\n        uint256 foreignNative;\n        uint256 launchQuoteDust;\n        if (pairToken == address(0)) {\n            uint256 nativeDelta = address(this).balance - nativeBaseline;\n            foreignNative = Math.min(positionManagerNativeBaseline, nativeDelta);\n            launchQuoteDust = nativeDelta - foreignNative;\n        } else {\n            uint256 quoteAfter = quoteToken.balanceOf(address(this));\n            if (quoteAfter < quoteTokenBaseline) revert InvalidAmount();\n            launchQuoteDust = quoteAfter - quoteTokenBaseline;\n        }\n        if (launchQuoteDust > quoteAmount) revert InvalidAmount();\n\n        uint256 tokenAfter = token.balanceOf(address(this));\n        if (tokenAfter < tokenBaseline) revert InvalidAmount();\n        uint256 launchTokenDust = tokenAfter - tokenBaseline;\n        if (launchTokenDust > tokenAmount) revert InvalidAmount();\n\n        result.quoteDust = uint128(launchQuoteDust);\n        result.tokenDust = uint128(launchTokenDust);\n        result.seededQuote = quoteAmount - result.quoteDust;\n        result.seededToken = tokenAmount - result.tokenDust;\n\n        if (launchTokenDust != 0) token.safeTransfer(locker, launchTokenDust);\n\n        if (launchQuoteDust != 0) {\n            if (pairToken == address(0)) {\n                feeEscrow.credit{value: launchQuoteDust}(protocolFeeRecipient);\n            } else {\n                pendingQuoteDust[pairToken] += launchQuoteDust;\n            }\n        }\n        uint256 totalForeignNative = nativeBaseline + foreignNative;\n        if (totalForeignNative != 0) {\n            feeEscrow.credit{value: totalForeignNative}(protocolFeeRecipient);\n            emit ForeignNativeRecovered(totalForeignNative, protocolFeeRecipient);\n        }\n\n        emit PoolCreated(\n            tokenAddress,\n            result.positionId,\n            result.sqrtPriceX96,\n            result.liquidity,\n            result.seededQuote,\n            result.seededToken,\n            result.quoteDust,\n            result.tokenDust\n        );\n    }\n}\n"},"contracts/libraries/ClankCurveMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\n\n/// @title Clank bonding-curve mathematics\n/// @notice Contains fee conversions and virtual-reserve XYK quote functions.\n/// @dev Rounding deliberately favours protocol solvency: outputs round down while required\n/// inputs and fees round up.\nlibrary ClankCurveMath {\n    error GraduationQuoteTooLarge();\n\n    uint256 internal constant BPS = 10_000;\n    uint256 internal constant MAX_GRADUATION_QUOTE = uint256(uint128(type(int128).max));\n    uint256 internal constant TOKEN_SUPPLY = 1_000_000_000 ether;\n    uint256 internal constant MIGRATION_TOKENS = 220_000_000 ether;\n    uint256 internal constant SOLD_TOKENS = TOKEN_SUPPLY - MIGRATION_TOKENS;\n    uint256 internal constant ALLOCATION_DIFFERENCE = SOLD_TOKENS - MIGRATION_TOKENS;\n    // U = L^2 / (A - L). Round down by less than one token base unit.\n    uint256 internal constant VIRTUAL_TOKENS = MIGRATION_TOKENS * MIGRATION_TOKENS / ALLOCATION_DIFFERENCE;\n    // Absolute full-range V4 seed boundary for the fixed allocation at tick spacing 1 with the token sorted first.\n    // The boundary leaves no rounding headroom: intermediate trades near it may revert when their projected terminal\n    // liquidity exceeds V4's per-tick cap. We deliberately retain the theoretical maximum for initial configuration\n    // and rely on the curve's per-trade graduation validation to ensure every accepted state remains migratable.\n    uint256 internal constant MAX_PHANTOM_QUOTE = 65_662_411_597_810_441_635_668_862_687_492_298_262;\n\n    /// @notice Required net quote threshold for the fixed 780M/220M allocation.\n    /// @dev Quote inputs are bounded to uint128 by callers; multiplication cannot overflow.\n    function graduationThreshold(uint256 phantomQuote) internal pure returns (uint256) {\n        return Math.mulDiv(phantomQuote, ALLOCATION_DIFFERENCE, MIGRATION_TOKENS);\n    }\n\n    /// @notice Quote required to sell the allocation in one trade, including integer rounding.\n    function minimumTerminalQuote(uint256 phantomQuote) internal pure returns (uint256) {\n        return requiredBuyInput(phantomQuote, TOKEN_SUPPLY + VIRTUAL_TOKENS, SOLD_TOKENS);\n    }\n\n    /// @notice Rejects trades whose rounded reserves would exceed V4's signed quote limit at graduation.\n    function validateGraduationQuote(uint256 realQuote, uint256 realTokens, uint256 phantomQuote)\n        internal\n        pure\n        returns (uint256 terminalQuote)\n    {\n        terminalQuote = realQuote\n            + requiredBuyInput(realQuote + phantomQuote, realTokens + VIRTUAL_TOKENS, realTokens - MIGRATION_TOKENS);\n        if (terminalQuote > MAX_GRADUATION_QUOTE) revert GraduationQuoteTooLarge();\n    }\n\n    /// @notice Calculates a fee included in a gross amount.\n    /// @param grossAmount Total amount including the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Fee amount rounded up.\n    function feeFromGross(uint256 grossAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(grossAmount, feeBps, BPS, Math.Rounding.Ceil);\n    }\n\n    /// @notice Converts a gross amount into the amount available after its included fee.\n    /// @param grossAmount Total amount including the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Net amount rounded down.\n    function netFromGross(uint256 grossAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(grossAmount, BPS - feeBps, BPS);\n    }\n\n    /// @notice Calculates the gross amount required to produce an exact net amount.\n    /// @param netAmount Amount that must remain after the fee.\n    /// @param feeBps Fee rate in basis points.\n    /// @return Gross amount rounded up.\n    function grossFromNet(uint256 netAmount, uint256 feeBps) internal pure returns (uint256) {\n        return Math.mulDiv(netAmount, BPS, BPS - feeBps, Math.Rounding.Ceil);\n    }\n\n    /// @notice Quotes token output for a net quote-asset input.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param netQuoteIn Quote amount entering the pricing reserve after fees.\n    /// @return Token output rounded down.\n    function buyOutput(uint256 effectiveQuote, uint256 tokenReserve, uint256 netQuoteIn)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(netQuoteIn, tokenReserve, effectiveQuote + netQuoteIn);\n    }\n\n    /// @notice Quotes the net quote input required for an exact token output.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param tokensOut Exact token amount requested.\n    /// @return Required quote input rounded up.\n    function requiredBuyInput(uint256 effectiveQuote, uint256 tokenReserve, uint256 tokensOut)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(effectiveQuote, tokensOut, tokenReserve - tokensOut, Math.Rounding.Ceil);\n    }\n\n    /// @notice Quotes gross quote output for a token input.\n    /// @param effectiveQuote Virtual plus tracked real quote reserve before the trade.\n    /// @param tokenReserve Virtual plus tracked real token reserve before the trade.\n    /// @param tokensIn Token amount entering the reserve.\n    /// @return Gross quote output rounded down.\n    function sellOutput(uint256 effectiveQuote, uint256 tokenReserve, uint256 tokensIn)\n        internal\n        pure\n        returns (uint256)\n    {\n        return Math.mulDiv(effectiveQuote, tokensIn, tokenReserve + tokensIn);\n    }\n}\n"},"contracts/ClankInitializationGuardHook.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {Hooks} from \"@uniswap/v4-core/src/libraries/Hooks.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title Clank V4 initialization guard\n/// @notice Prevents third parties from initializing predictable Clank pool keys before graduation.\n/// @dev The hook has only beforeInitialize permission. It never runs during swaps and charges no fee.\ncontract ClankInitializationGuardHook is Ownable2Step {\n    error FactoryAlreadySet();\n    error InvalidAddress();\n    error NotPoolManager();\n    error NotFactory();\n    error OwnershipCannotBeRenounced();\n\n    /// @notice Uniswap V4 PoolManager allowed to invoke the hook callback.\n    IPoolManager public immutable poolManager;\n    /// @notice Factory exclusively authorized to initialize pools using this hook.\n    address public factory;\n\n    event FactorySet(address indexed factory);\n\n    constructor(IPoolManager poolManager_, address initialOwner) Ownable(initialOwner) {\n        if (address(poolManager_) == address(0) || initialOwner == address(0)) revert InvalidAddress();\n        poolManager = poolManager_;\n        Hooks.validateHookPermissions(IHooks(address(this)), getHookPermissions());\n    }\n\n    /// @notice Preserves the owner required to complete factory wiring.\n    function renounceOwnership() public pure override {\n        revert OwnershipCannotBeRenounced();\n    }\n\n    /// @notice Declares that only the initialization callback is enabled.\n    function getHookPermissions() public pure returns (Hooks.Permissions memory) {\n        return Hooks.Permissions({\n            beforeInitialize: true,\n            afterInitialize: false,\n            beforeAddLiquidity: false,\n            afterAddLiquidity: false,\n            beforeRemoveLiquidity: false,\n            afterRemoveLiquidity: false,\n            beforeSwap: false,\n            afterSwap: false,\n            beforeDonate: false,\n            afterDonate: false,\n            beforeSwapReturnDelta: false,\n            afterSwapReturnDelta: false,\n            afterAddLiquidityReturnDelta: false,\n            afterRemoveLiquidityReturnDelta: false\n        });\n    }\n\n    /// @notice Permanently wires the factory after both contracts have been deployed.\n    function setFactory(address factory_) external onlyOwner {\n        if (factory != address(0)) revert FactoryAlreadySet();\n        if (factory_ == address(0) || factory_.code.length == 0) revert InvalidAddress();\n        factory = factory_;\n        emit FactorySet(factory_);\n    }\n\n    /// @dev Rejects every pool initialization not initiated directly by the wired factory.\n    function beforeInitialize(address sender, PoolKey calldata, uint160) external view returns (bytes4) {\n        if (msg.sender != address(poolManager)) revert NotPoolManager();\n        if (sender != factory) revert NotFactory();\n        return IHooks.beforeInitialize.selector;\n    }\n}\n"},"contracts/libraries/ClankMigrationMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {ClankCurveMath} from \"./ClankCurveMath.sol\";\n\n/// @title Clank graduation mathematics\n/// @notice Converts terminal curve reserves into Uniswap V4 prices.\nlibrary ClankMigrationMath {\n    error UnsupportedPrice();\n    error ZeroAmount();\n\n    /// @notice Computes the terminal curve price from the same effective reserves used for trading.\n    function migrationPrice(\n        address token,\n        address pairToken,\n        uint256 realQuote,\n        uint256 realTokens,\n        uint256 phantomQuote\n    ) internal pure returns (uint160) {\n        uint256 quote = realQuote + phantomQuote;\n        uint256 tokens = realTokens + ClankCurveMath.VIRTUAL_TOKENS;\n        return pairToken < token ? sqrtPriceX96(quote, tokens) : sqrtPriceX96(tokens, quote);\n    }\n\n    /// @notice Converts an amount1/amount0 ratio into Uniswap's Q64.96 square-root price.\n    /// @dev Uses two precision paths to avoid overflow across the supported uint256 range.\n    /// @param amount0 Amount of the address-sorted currency0.\n    /// @param amount1 Amount of the address-sorted currency1.\n    /// @return result floor(sqrt(amount1 / amount0) * 2^96).\n    function sqrtPriceX96(uint256 amount0, uint256 amount1) internal pure returns (uint160 result) {\n        if (amount0 == 0 || amount1 == 0) revert ZeroAmount();\n\n        if (amount0 > type(uint192).max || amount1 < (amount0 << 64)) {\n            uint256 ratioX192 = FullMath.mulDiv(amount1, 1 << 192, amount0);\n            uint256 root = Math.sqrt(ratioX192);\n            if (root > type(uint160).max) revert UnsupportedPrice();\n            return uint160(root);\n        }\n\n        if (amount0 <= type(uint128).max && amount1 >= (amount0 << 128)) revert UnsupportedPrice();\n        uint256 ratioX128 = FullMath.mulDiv(amount1, 1 << 128, amount0);\n        uint256 rootX64 = Math.sqrt(ratioX128);\n        if (rootX64 > type(uint128).max) revert UnsupportedPrice();\n        result = uint160(rootX64 << 32);\n    }\n}\n"},"node_modules/permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"node_modules/@uniswap/v4-core/src/types/Slot0.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @dev Slot0 is a packed version of solidity structure.\n * Using the packaged version saves gas by not storing the structure fields in memory slots.\n *\n * Layout:\n * 24 bits empty | 24 bits lpFee | 12 bits protocolFee 1->0 | 12 bits protocolFee 0->1 | 24 bits tick | 160 bits sqrtPriceX96\n *\n * Fields in the direction from the least significant bit:\n *\n * The current price\n * uint160 sqrtPriceX96;\n *\n * The current tick\n * int24 tick;\n *\n * Protocol fee, expressed in hundredths of a bip, upper 12 bits are for 1->0, and the lower 12 are for 0->1\n * the maximum is 1000 - meaning the maximum protocol fee is 0.1%\n * the protocolFee is taken from the input first, then the lpFee is taken from the remaining input\n * uint24 protocolFee;\n *\n * The current LP fee of the pool. If the pool is dynamic, this does not include the dynamic fee flag.\n * uint24 lpFee;\n */\ntype Slot0 is bytes32;\n\nusing Slot0Library for Slot0 global;\n\n/// @notice Library for getting and setting values in the Slot0 type\nlibrary Slot0Library {\n    uint160 internal constant MASK_160_BITS = 0x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n\n    uint8 internal constant TICK_OFFSET = 160;\n    uint8 internal constant PROTOCOL_FEE_OFFSET = 184;\n    uint8 internal constant LP_FEE_OFFSET = 208;\n\n    // #### GETTERS ####\n    function sqrtPriceX96(Slot0 _packed) internal pure returns (uint160 _sqrtPriceX96) {\n        assembly (\"memory-safe\") {\n            _sqrtPriceX96 := and(MASK_160_BITS, _packed)\n        }\n    }\n\n    function tick(Slot0 _packed) internal pure returns (int24 _tick) {\n        assembly (\"memory-safe\") {\n            _tick := signextend(2, shr(TICK_OFFSET, _packed))\n        }\n    }\n\n    function protocolFee(Slot0 _packed) internal pure returns (uint24 _protocolFee) {\n        assembly (\"memory-safe\") {\n            _protocolFee := and(MASK_24_BITS, shr(PROTOCOL_FEE_OFFSET, _packed))\n        }\n    }\n\n    function lpFee(Slot0 _packed) internal pure returns (uint24 _lpFee) {\n        assembly (\"memory-safe\") {\n            _lpFee := and(MASK_24_BITS, shr(LP_FEE_OFFSET, _packed))\n        }\n    }\n\n    // #### SETTERS ####\n    function setSqrtPriceX96(Slot0 _packed, uint160 _sqrtPriceX96) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(MASK_160_BITS), _packed), and(MASK_160_BITS, _sqrtPriceX96))\n        }\n    }\n\n    function setTick(Slot0 _packed, int24 _tick) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(shl(TICK_OFFSET, MASK_24_BITS)), _packed), shl(TICK_OFFSET, and(MASK_24_BITS, _tick)))\n        }\n    }\n\n    function setProtocolFee(Slot0 _packed, uint24 _protocolFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(\n                    and(not(shl(PROTOCOL_FEE_OFFSET, MASK_24_BITS)), _packed),\n                    shl(PROTOCOL_FEE_OFFSET, and(MASK_24_BITS, _protocolFee))\n                )\n        }\n    }\n\n    function setLpFee(Slot0 _packed, uint24 _lpFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(and(not(shl(LP_FEE_OFFSET, MASK_24_BITS)), _packed), shl(LP_FEE_OFFSET, and(MASK_24_BITS, _lpFee)))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolId.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"./PoolKey.sol\";\n\ntype PoolId is bytes32;\n\n/// @notice Library for computing the ID of a pool\nlibrary PoolIdLibrary {\n    /// @notice Returns value equal to keccak256(abi.encode(poolKey))\n    function toId(PoolKey memory poolKey) internal pure returns (PoolId poolId) {\n        assembly (\"memory-safe\") {\n            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)\n            poolId := keccak256(poolKey, 0xa0)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolKey.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./Currency.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {PoolIdLibrary} from \"./PoolId.sol\";\n\nusing PoolIdLibrary for PoolKey global;\n\n/// @notice Returns the key for identifying a pool\nstruct PoolKey {\n    /// @notice The lower currency of the pool, sorted numerically\n    Currency currency0;\n    /// @notice The higher currency of the pool, sorted numerically\n    Currency currency1;\n    /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000\n    uint24 fee;\n    /// @notice Ticks that involve positions must be a multiple of tick spacing\n    int24 tickSpacing;\n    /// @notice The hooks of the pool\n    IHooks hooks;\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Lock.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary Lock {\n    // The slot holding the unlocked state, transiently. bytes32(uint256(keccak256(\"Unlocked\")) - 1)\n    bytes32 internal constant IS_UNLOCKED_SLOT = 0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;\n\n    function unlock() internal {\n        assembly (\"memory-safe\") {\n            // unlock\n            tstore(IS_UNLOCKED_SLOT, true)\n        }\n    }\n\n    function lock() internal {\n        assembly (\"memory-safe\") {\n            tstore(IS_UNLOCKED_SLOT, false)\n        }\n    }\n\n    function isUnlocked() internal view returns (bool unlocked) {\n        assembly (\"memory-safe\") {\n            unlocked := tload(IS_UNLOCKED_SLOT)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Pool.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {TickBitmap} from \"./TickBitmap.sol\";\nimport {Position} from \"./Position.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {TickMath} from \"./TickMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\nimport {SwapMath} from \"./SwapMath.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {Slot0} from \"../types/Slot0.sol\";\nimport {ProtocolFeeLibrary} from \"./ProtocolFeeLibrary.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice a library with all actions that can be performed on a pool\nlibrary Pool {\n    using SafeCast for *;\n    using TickBitmap for mapping(int16 => uint256);\n    using Position for mapping(bytes32 => Position.State);\n    using Position for Position.State;\n    using Pool for State;\n    using ProtocolFeeLibrary for *;\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when tickLower is not below tickUpper\n    /// @param tickLower The invalid tickLower\n    /// @param tickUpper The invalid tickUpper\n    error TicksMisordered(int24 tickLower, int24 tickUpper);\n\n    /// @notice Thrown when tickLower is less than min tick\n    /// @param tickLower The invalid tickLower\n    error TickLowerOutOfBounds(int24 tickLower);\n\n    /// @notice Thrown when tickUpper exceeds max tick\n    /// @param tickUpper The invalid tickUpper\n    error TickUpperOutOfBounds(int24 tickUpper);\n\n    /// @notice For the tick spacing, the tick has too much liquidity\n    error TickLiquidityOverflow(int24 tick);\n\n    /// @notice Thrown when trying to initialize an already initialized pool\n    error PoolAlreadyInitialized();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when sqrtPriceLimitX96 on a swap has already exceeded its limit\n    /// @param sqrtPriceCurrentX96 The invalid, already surpassed sqrtPriceLimitX96\n    /// @param sqrtPriceLimitX96 The surpassed price limit\n    error PriceLimitAlreadyExceeded(uint160 sqrtPriceCurrentX96, uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown when sqrtPriceLimitX96 lies outside of valid tick/price range\n    /// @param sqrtPriceLimitX96 The invalid, out-of-bounds sqrtPriceLimitX96\n    error PriceLimitOutOfBounds(uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown by donate if there is currently 0 liquidity, since the fees will not go to any liquidity providers\n    error NoLiquidityToReceiveFees();\n\n    /// @notice Thrown when trying to swap with max lp fee and specifying an output amount\n    error InvalidFeeForExactOut();\n\n    // info stored for each initialized individual tick\n    struct TickInfo {\n        // the total position liquidity that references this tick\n        uint128 liquidityGross;\n        // amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left),\n        int128 liquidityNet;\n        // fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n        // only has relative meaning, not absolute — the value depends on when the tick is initialized\n        uint256 feeGrowthOutside0X128;\n        uint256 feeGrowthOutside1X128;\n    }\n\n    /// @notice The state of a pool\n    /// @dev Note that feeGrowthGlobal can be artificially inflated\n    /// For pools with a single liquidity position, actors can donate to themselves to freely inflate feeGrowthGlobal\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    struct State {\n        Slot0 slot0;\n        uint256 feeGrowthGlobal0X128;\n        uint256 feeGrowthGlobal1X128;\n        uint128 liquidity;\n        mapping(int24 tick => TickInfo) ticks;\n        mapping(int16 wordPos => uint256) tickBitmap;\n        mapping(bytes32 positionKey => Position.State) positions;\n    }\n\n    /// @dev Common checks for valid tick inputs.\n    function checkTicks(int24 tickLower, int24 tickUpper) private pure {\n        if (tickLower >= tickUpper) TicksMisordered.selector.revertWith(tickLower, tickUpper);\n        if (tickLower < TickMath.MIN_TICK) TickLowerOutOfBounds.selector.revertWith(tickLower);\n        if (tickUpper > TickMath.MAX_TICK) TickUpperOutOfBounds.selector.revertWith(tickUpper);\n    }\n\n    function initialize(State storage self, uint160 sqrtPriceX96, uint24 lpFee) internal returns (int24 tick) {\n        if (self.slot0.sqrtPriceX96() != 0) PoolAlreadyInitialized.selector.revertWith();\n\n        tick = TickMath.getTickAtSqrtPrice(sqrtPriceX96);\n\n        // the initial protocolFee is 0 so doesn't need to be set\n        self.slot0 = Slot0.wrap(bytes32(0)).setSqrtPriceX96(sqrtPriceX96).setTick(tick).setLpFee(lpFee);\n    }\n\n    function setProtocolFee(State storage self, uint24 protocolFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setProtocolFee(protocolFee);\n    }\n\n    /// @notice Only dynamic fee pools may update the lp fee.\n    function setLPFee(State storage self, uint24 lpFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setLpFee(lpFee);\n    }\n\n    struct ModifyLiquidityParams {\n        // the address that owns the position\n        address owner;\n        // the lower and upper tick of the position\n        int24 tickLower;\n        int24 tickUpper;\n        // any change in liquidity\n        int128 liquidityDelta;\n        // the spacing between ticks\n        int24 tickSpacing;\n        // used to distinguish positions of the same owner, at the same tick range\n        bytes32 salt;\n    }\n\n    struct ModifyLiquidityState {\n        bool flippedLower;\n        uint128 liquidityGrossAfterLower;\n        bool flippedUpper;\n        uint128 liquidityGrossAfterUpper;\n    }\n\n    /// @notice Effect changes to a position in a pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    /// @param params the position details and the change to the position's liquidity to effect\n    /// @return delta the deltas of the token balances of the pool, from the liquidity change\n    /// @return feeDelta the fees generated by the liquidity range\n    function modifyLiquidity(State storage self, ModifyLiquidityParams memory params)\n        internal\n        returns (BalanceDelta delta, BalanceDelta feeDelta)\n    {\n        int128 liquidityDelta = params.liquidityDelta;\n        int24 tickLower = params.tickLower;\n        int24 tickUpper = params.tickUpper;\n        checkTicks(tickLower, tickUpper);\n\n        {\n            ModifyLiquidityState memory state;\n\n            // if we need to update the ticks, do it\n            if (liquidityDelta != 0) {\n                (state.flippedLower, state.liquidityGrossAfterLower) =\n                    updateTick(self, tickLower, liquidityDelta, false);\n                (state.flippedUpper, state.liquidityGrossAfterUpper) = updateTick(self, tickUpper, liquidityDelta, true);\n\n                // `>` and `>=` are logically equivalent here but `>=` is cheaper\n                if (liquidityDelta >= 0) {\n                    uint128 maxLiquidityPerTick = tickSpacingToMaxLiquidityPerTick(params.tickSpacing);\n                    if (state.liquidityGrossAfterLower > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickLower);\n                    }\n                    if (state.liquidityGrossAfterUpper > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickUpper);\n                    }\n                }\n\n                if (state.flippedLower) {\n                    self.tickBitmap.flipTick(tickLower, params.tickSpacing);\n                }\n                if (state.flippedUpper) {\n                    self.tickBitmap.flipTick(tickUpper, params.tickSpacing);\n                }\n            }\n\n            {\n                (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128) =\n                    getFeeGrowthInside(self, tickLower, tickUpper);\n\n                Position.State storage position = self.positions.get(params.owner, tickLower, tickUpper, params.salt);\n                (uint256 feesOwed0, uint256 feesOwed1) =\n                    position.update(liquidityDelta, feeGrowthInside0X128, feeGrowthInside1X128);\n\n                // Fees earned from LPing are calculated, and returned\n                feeDelta = toBalanceDelta(feesOwed0.toInt128(), feesOwed1.toInt128());\n            }\n\n            // clear any tick data that is no longer needed\n            if (liquidityDelta < 0) {\n                if (state.flippedLower) {\n                    clearTick(self, tickLower);\n                }\n                if (state.flippedUpper) {\n                    clearTick(self, tickUpper);\n                }\n            }\n        }\n\n        if (liquidityDelta != 0) {\n            Slot0 _slot0 = self.slot0;\n            (int24 tick, uint160 sqrtPriceX96) = (_slot0.tick(), _slot0.sqrtPriceX96());\n            if (tick < tickLower) {\n                // current tick is below the passed range; liquidity can only become in range by crossing from left to\n                // right, when we'll need _more_ currency0 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128(),\n                    0\n                );\n            } else if (tick < tickUpper) {\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(sqrtPriceX96, TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta)\n                        .toInt128(),\n                    SqrtPriceMath.getAmount1Delta(TickMath.getSqrtPriceAtTick(tickLower), sqrtPriceX96, liquidityDelta)\n                        .toInt128()\n                );\n\n                self.liquidity = LiquidityMath.addDelta(self.liquidity, liquidityDelta);\n            } else {\n                // current tick is above the passed range; liquidity can only become in range by crossing from right to\n                // left, when we'll need _more_ currency1 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    0,\n                    SqrtPriceMath.getAmount1Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128()\n                );\n            }\n        }\n    }\n\n    // Tracks the state of a pool throughout a swap, and returns these values at the end of the swap\n    struct SwapResult {\n        // the current sqrt(price)\n        uint160 sqrtPriceX96;\n        // the tick associated with the current price\n        int24 tick;\n        // the current liquidity in range\n        uint128 liquidity;\n    }\n\n    struct StepComputations {\n        // the price at the beginning of the step\n        uint160 sqrtPriceStartX96;\n        // the next tick to swap to from the current tick in the swap direction\n        int24 tickNext;\n        // whether tickNext is initialized or not\n        bool initialized;\n        // sqrt(price) for the next tick (1/0)\n        uint160 sqrtPriceNextX96;\n        // how much is being swapped in in this step\n        uint256 amountIn;\n        // how much is being swapped out\n        uint256 amountOut;\n        // how much fee is being paid in\n        uint256 feeAmount;\n        // the global fee growth of the input token. updated in storage at the end of swap\n        uint256 feeGrowthGlobalX128;\n    }\n\n    struct SwapParams {\n        int256 amountSpecified;\n        int24 tickSpacing;\n        bool zeroForOne;\n        uint160 sqrtPriceLimitX96;\n        uint24 lpFeeOverride;\n    }\n\n    /// @notice Executes a swap against the state, and returns the amount deltas of the pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    function swap(State storage self, SwapParams memory params)\n        internal\n        returns (BalanceDelta swapDelta, uint256 amountToProtocol, uint24 swapFee, SwapResult memory result)\n    {\n        Slot0 slot0Start = self.slot0;\n        bool zeroForOne = params.zeroForOne;\n\n        uint256 protocolFee =\n            zeroForOne ? slot0Start.protocolFee().getZeroForOneFee() : slot0Start.protocolFee().getOneForZeroFee();\n\n        // the amount remaining to be swapped in/out of the input/output asset. initially set to the amountSpecified\n        int256 amountSpecifiedRemaining = params.amountSpecified;\n        // the amount swapped out/in of the output/input asset. initially set to 0\n        int256 amountCalculated = 0;\n        // initialize to the current sqrt(price)\n        result.sqrtPriceX96 = slot0Start.sqrtPriceX96();\n        // initialize to the current tick\n        result.tick = slot0Start.tick();\n        // initialize to the current liquidity\n        result.liquidity = self.liquidity;\n\n        // if the beforeSwap hook returned a valid fee override, use that as the LP fee, otherwise load from storage\n        // lpFee, swapFee, and protocolFee are all in pips\n        {\n            uint24 lpFee = params.lpFeeOverride.isOverride()\n                ? params.lpFeeOverride.removeOverrideFlagAndValidate()\n                : slot0Start.lpFee();\n\n            swapFee = protocolFee == 0 ? lpFee : uint16(protocolFee).calculateSwapFee(lpFee);\n        }\n\n        // a swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n        if (swapFee >= SwapMath.MAX_SWAP_FEE) {\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                InvalidFeeForExactOut.selector.revertWith();\n            }\n        }\n\n        // swapFee is the pool's fee in pips (LP fee + protocol fee)\n        // when the amount swapped is 0, there is no protocolFee applied and the fee amount paid to the protocol is set to 0\n        if (params.amountSpecified == 0) return (BalanceDeltaLibrary.ZERO_DELTA, 0, swapFee, result);\n\n        if (zeroForOne) {\n            if (params.sqrtPriceLimitX96 >= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            // Swaps can never occur at MIN_TICK, only at MIN_TICK + 1, except at initialization of a pool\n            // Under certain circumstances outlined below, the tick will preemptively reach MIN_TICK without swapping there\n            if (params.sqrtPriceLimitX96 <= TickMath.MIN_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        } else {\n            if (params.sqrtPriceLimitX96 <= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            if (params.sqrtPriceLimitX96 >= TickMath.MAX_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        }\n\n        StepComputations memory step;\n        step.feeGrowthGlobalX128 = zeroForOne ? self.feeGrowthGlobal0X128 : self.feeGrowthGlobal1X128;\n\n        // continue swapping as long as we haven't used the entire input/output and haven't reached the price limit\n        while (!(amountSpecifiedRemaining == 0 || result.sqrtPriceX96 == params.sqrtPriceLimitX96)) {\n            step.sqrtPriceStartX96 = result.sqrtPriceX96;\n\n            (step.tickNext, step.initialized) =\n                self.tickBitmap.nextInitializedTickWithinOneWord(result.tick, params.tickSpacing, zeroForOne);\n\n            // ensure that we do not overshoot the min/max tick, as the tick bitmap is not aware of these bounds\n            if (step.tickNext <= TickMath.MIN_TICK) {\n                step.tickNext = TickMath.MIN_TICK;\n            }\n            if (step.tickNext >= TickMath.MAX_TICK) {\n                step.tickNext = TickMath.MAX_TICK;\n            }\n\n            // get the price for the next tick\n            step.sqrtPriceNextX96 = TickMath.getSqrtPriceAtTick(step.tickNext);\n\n            // compute values to swap to the target tick, price limit, or point where input/output amount is exhausted\n            (result.sqrtPriceX96, step.amountIn, step.amountOut, step.feeAmount) = SwapMath.computeSwapStep(\n                result.sqrtPriceX96,\n                SwapMath.getSqrtPriceTarget(zeroForOne, step.sqrtPriceNextX96, params.sqrtPriceLimitX96),\n                result.liquidity,\n                amountSpecifiedRemaining,\n                swapFee\n            );\n\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                unchecked {\n                    amountSpecifiedRemaining -= step.amountOut.toInt256();\n                }\n                amountCalculated -= (step.amountIn + step.feeAmount).toInt256();\n            } else {\n                // safe because we test that amountSpecified > amountIn + feeAmount in SwapMath\n                unchecked {\n                    amountSpecifiedRemaining += (step.amountIn + step.feeAmount).toInt256();\n                }\n                amountCalculated += step.amountOut.toInt256();\n            }\n\n            // if the protocol fee is on, calculate how much is owed, decrement feeAmount, and increment protocolFee\n            if (protocolFee > 0) {\n                unchecked {\n                    // step.amountIn does not include the swap fee, as it's already been taken from it,\n                    // so add it back to get the total amountIn and use that to calculate the amount of fees owed to the protocol\n                    // cannot overflow due to limits on the size of protocolFee and params.amountSpecified\n                    // this rounds down to favor LPs over the protocol\n                    uint256 delta = (swapFee == protocolFee)\n                        ? step.feeAmount // lp fee is 0, so the entire fee is owed to the protocol instead\n                        : (step.amountIn + step.feeAmount) * protocolFee / ProtocolFeeLibrary.PIPS_DENOMINATOR;\n                    // subtract it from the total fee and add it to the protocol fee\n                    step.feeAmount -= delta;\n                    amountToProtocol += delta;\n                }\n            }\n\n            // update global fee tracker\n            if (result.liquidity > 0) {\n                unchecked {\n                    // FullMath.mulDiv isn't needed as the numerator can't overflow uint256 since tokens have a max supply of type(uint128).max\n                    step.feeGrowthGlobalX128 +=\n                        UnsafeMath.simpleMulDiv(step.feeAmount, FixedPoint128.Q128, result.liquidity);\n                }\n            }\n\n            // Shift tick if we reached the next price, and preemptively decrement for zeroForOne swaps to tickNext - 1.\n            // If the swap doesn't continue (if amountRemaining == 0 or sqrtPriceLimit is met), slot0.tick will be 1 less\n            // than getTickAtSqrtPrice(slot0.sqrtPrice). This doesn't affect swaps, but donation calls should verify both\n            // price and tick to reward the correct LPs.\n            if (result.sqrtPriceX96 == step.sqrtPriceNextX96) {\n                // if the tick is initialized, run the tick transition\n                if (step.initialized) {\n                    (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = zeroForOne\n                        ? (step.feeGrowthGlobalX128, self.feeGrowthGlobal1X128)\n                        : (self.feeGrowthGlobal0X128, step.feeGrowthGlobalX128);\n                    int128 liquidityNet =\n                        Pool.crossTick(self, step.tickNext, feeGrowthGlobal0X128, feeGrowthGlobal1X128);\n                    // if we're moving leftward, we interpret liquidityNet as the opposite sign\n                    // safe because liquidityNet cannot be type(int128).min\n                    unchecked {\n                        if (zeroForOne) liquidityNet = -liquidityNet;\n                    }\n\n                    result.liquidity = LiquidityMath.addDelta(result.liquidity, liquidityNet);\n                }\n\n                unchecked {\n                    result.tick = zeroForOne ? step.tickNext - 1 : step.tickNext;\n                }\n            } else if (result.sqrtPriceX96 != step.sqrtPriceStartX96) {\n                // recompute unless we're on a lower tick boundary (i.e. already transitioned ticks), and haven't moved\n                result.tick = TickMath.getTickAtSqrtPrice(result.sqrtPriceX96);\n            }\n        }\n\n        self.slot0 = slot0Start.setTick(result.tick).setSqrtPriceX96(result.sqrtPriceX96);\n\n        // update liquidity if it changed\n        if (self.liquidity != result.liquidity) self.liquidity = result.liquidity;\n\n        // update fee growth global\n        if (!zeroForOne) {\n            self.feeGrowthGlobal1X128 = step.feeGrowthGlobalX128;\n        } else {\n            self.feeGrowthGlobal0X128 = step.feeGrowthGlobalX128;\n        }\n\n        unchecked {\n            // \"if currency1 is specified\"\n            if (zeroForOne != (params.amountSpecified < 0)) {\n                swapDelta = toBalanceDelta(\n                    amountCalculated.toInt128(), (params.amountSpecified - amountSpecifiedRemaining).toInt128()\n                );\n            } else {\n                swapDelta = toBalanceDelta(\n                    (params.amountSpecified - amountSpecifiedRemaining).toInt128(), amountCalculated.toInt128()\n                );\n            }\n        }\n    }\n\n    /// @notice Donates the given amount of currency0 and currency1 to the pool\n    function donate(State storage state, uint256 amount0, uint256 amount1) internal returns (BalanceDelta delta) {\n        uint128 liquidity = state.liquidity;\n        if (liquidity == 0) NoLiquidityToReceiveFees.selector.revertWith();\n        unchecked {\n            // negation safe as amount0 and amount1 are always positive\n            delta = toBalanceDelta(-(amount0.toInt128()), -(amount1.toInt128()));\n            // FullMath.mulDiv is unnecessary because the numerator is bounded by type(int128).max * Q128, which is less than type(uint256).max\n            if (amount0 > 0) {\n                state.feeGrowthGlobal0X128 += UnsafeMath.simpleMulDiv(amount0, FixedPoint128.Q128, liquidity);\n            }\n            if (amount1 > 0) {\n                state.feeGrowthGlobal1X128 += UnsafeMath.simpleMulDiv(amount1, FixedPoint128.Q128, liquidity);\n            }\n        }\n    }\n\n    /// @notice Retrieves fee growth data\n    /// @param self The Pool state struct\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @return feeGrowthInside0X128 The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n    /// @return feeGrowthInside1X128 The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries\n    function getFeeGrowthInside(State storage self, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        TickInfo storage lower = self.ticks[tickLower];\n        TickInfo storage upper = self.ticks[tickUpper];\n        int24 tickCurrent = self.slot0.tick();\n\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upper.feeGrowthOutside0X128 - lower.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = upper.feeGrowthOutside1X128 - lower.feeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 =\n                    self.feeGrowthGlobal0X128 - lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 =\n                    self.feeGrowthGlobal1X128 - lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            }\n        }\n    }\n\n    /// @notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n    /// @param self The mapping containing all tick information for initialized ticks\n    /// @param tick The tick that will be updated\n    /// @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n    /// @param upper true for updating a position's upper tick, or false for updating a position's lower tick\n    /// @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa\n    /// @return liquidityGrossAfter The total amount of liquidity for all positions that references the tick after the update\n    function updateTick(State storage self, int24 tick, int128 liquidityDelta, bool upper)\n        internal\n        returns (bool flipped, uint128 liquidityGrossAfter)\n    {\n        TickInfo storage info = self.ticks[tick];\n\n        uint128 liquidityGrossBefore = info.liquidityGross;\n        int128 liquidityNetBefore = info.liquidityNet;\n\n        liquidityGrossAfter = LiquidityMath.addDelta(liquidityGrossBefore, liquidityDelta);\n\n        flipped = (liquidityGrossAfter == 0) != (liquidityGrossBefore == 0);\n\n        if (liquidityGrossBefore == 0) {\n            // by convention, we assume that all growth before a tick was initialized happened _below_ the tick\n            if (tick <= self.slot0.tick()) {\n                info.feeGrowthOutside0X128 = self.feeGrowthGlobal0X128;\n                info.feeGrowthOutside1X128 = self.feeGrowthGlobal1X128;\n            }\n        }\n\n        // when the lower (upper) tick is crossed left to right, liquidity must be added (removed)\n        // when the lower (upper) tick is crossed right to left, liquidity must be removed (added)\n        int128 liquidityNet = upper ? liquidityNetBefore - liquidityDelta : liquidityNetBefore + liquidityDelta;\n        assembly (\"memory-safe\") {\n            // liquidityGrossAfter and liquidityNet are packed in the first slot of `info`\n            // So we can store them with a single sstore by packing them ourselves first\n            sstore(\n                info.slot,\n                // bitwise OR to pack liquidityGrossAfter and liquidityNet\n                or(\n                    // Put liquidityGrossAfter in the lower bits, clearing out the upper bits\n                    and(liquidityGrossAfter, 0xffffffffffffffffffffffffffffffff),\n                    // Shift liquidityNet to put it in the upper bits (no need for signextend since we're shifting left)\n                    shl(128, liquidityNet)\n                )\n            )\n        }\n    }\n\n    /// @notice Derives max liquidity per tick from given tick spacing\n    /// @dev Executed when adding liquidity\n    /// @param tickSpacing The amount of required tick separation, realized in multiples of `tickSpacing`\n    ///     e.g., a tickSpacing of 3 requires ticks to be initialized every 3rd tick i.e., ..., -6, -3, 0, 3, 6, ...\n    /// @return result The max liquidity per tick\n    function tickSpacingToMaxLiquidityPerTick(int24 tickSpacing) internal pure returns (uint128 result) {\n        // Equivalent to:\n        // int24 minTick = (TickMath.MIN_TICK / tickSpacing);\n        // if (TickMath.MIN_TICK  % tickSpacing != 0) minTick--;\n        // int24 maxTick = (TickMath.MAX_TICK / tickSpacing);\n        // uint24 numTicks = maxTick - minTick + 1;\n        // return type(uint128).max / numTicks;\n        int24 MAX_TICK = TickMath.MAX_TICK;\n        int24 MIN_TICK = TickMath.MIN_TICK;\n        // tick spacing will never be 0 since TickMath.MIN_TICK_SPACING is 1\n        assembly (\"memory-safe\") {\n            tickSpacing := signextend(2, tickSpacing)\n            let minTick := sub(sdiv(MIN_TICK, tickSpacing), slt(smod(MIN_TICK, tickSpacing), 0))\n            let maxTick := sdiv(MAX_TICK, tickSpacing)\n            let numTicks := add(sub(maxTick, minTick), 1)\n            result := div(sub(shl(128, 1), 1), numTicks)\n        }\n    }\n\n    /// @notice Reverts if the given pool has not been initialized\n    function checkPoolInitialized(State storage self) internal view {\n        if (self.slot0.sqrtPriceX96() == 0) PoolNotInitialized.selector.revertWith();\n    }\n\n    /// @notice Clears tick data\n    /// @param self The mapping containing all initialized tick information for initialized ticks\n    /// @param tick The tick that will be cleared\n    function clearTick(State storage self, int24 tick) internal {\n        delete self.ticks[tick];\n    }\n\n    /// @notice Transitions to next tick as needed by price movement\n    /// @param self The Pool state struct\n    /// @param tick The destination tick of the transition\n    /// @param feeGrowthGlobal0X128 The all-time global fee growth, per unit of liquidity, in token0\n    /// @param feeGrowthGlobal1X128 The all-time global fee growth, per unit of liquidity, in token1\n    /// @return liquidityNet The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)\n    function crossTick(State storage self, int24 tick, uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128)\n        internal\n        returns (int128 liquidityNet)\n    {\n        unchecked {\n            TickInfo storage info = self.ticks[tick];\n            info.feeGrowthOutside0X128 = feeGrowthGlobal0X128 - info.feeGrowthOutside0X128;\n            info.feeGrowthOutside1X128 = feeGrowthGlobal1X128 - info.feeGrowthOutside1X128;\n            liquidityNet = info.liquidityNet;\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/Currency.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20Minimal} from \"../interfaces/external/IERC20Minimal.sol\";\nimport {CustomRevert} from \"../libraries/CustomRevert.sol\";\n\ntype Currency is address;\n\nusing {greaterThan as >, lessThan as <, greaterThanOrEqualTo as >=, equals as ==} for Currency global;\nusing CurrencyLibrary for Currency global;\n\nfunction equals(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) == Currency.unwrap(other);\n}\n\nfunction greaterThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) > Currency.unwrap(other);\n}\n\nfunction lessThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) < Currency.unwrap(other);\n}\n\nfunction greaterThanOrEqualTo(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) >= Currency.unwrap(other);\n}\n\n/// @title CurrencyLibrary\n/// @dev This library allows for transferring and holding native tokens and ERC20 tokens\nlibrary CurrencyLibrary {\n    /// @notice Additional context for ERC-7751 wrapped error when a native transfer fails\n    error NativeTransferFailed();\n\n    /// @notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\n    error ERC20TransferFailed();\n\n    /// @notice A constant to represent the native currency\n    Currency public constant ADDRESS_ZERO = Currency.wrap(address(0));\n\n    function transfer(Currency currency, address to, uint256 amount) internal {\n        // altered from https://github.com/transmissions11/solmate/blob/44a9963d4c78111f77caa0e65d677b8b46d6f2e6/src/utils/SafeTransferLib.sol\n        // modified custom error selectors\n\n        bool success;\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                // Transfer the ETH and revert if it fails.\n                success := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            // revert with NativeTransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(to, bytes4(0), NativeTransferFailed.selector);\n            }\n        } else {\n            assembly (\"memory-safe\") {\n                // Get a pointer to some free memory.\n                let fmp := mload(0x40)\n\n                // Write the abi-encoded calldata into memory, beginning with the function selector.\n                mstore(fmp, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n                mstore(add(fmp, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the \"to\" argument.\n                mstore(add(fmp, 36), amount) // Append the \"amount\" argument. Masking not required as it's a full 32 byte type.\n\n                success :=\n                    and(\n                        // Set success to whether the call reverted, if not we check it either\n                        // returned exactly 1 (can't just be non-zero data), or had no return data.\n                        or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                        // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                        // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                        // Counterintuitively, this call must be positioned second to the or() call in the\n                        // surrounding and() call or else returndatasize() will be zero during the computation.\n                        call(gas(), currency, 0, fmp, 68, 0, 32)\n                    )\n\n                // Now clean the memory we used\n                mstore(fmp, 0) // 4 byte `selector` and 28 bytes of `to` were stored here\n                mstore(add(fmp, 0x20), 0) // 4 bytes of `to` and 28 bytes of `amount` were stored here\n                mstore(add(fmp, 0x40), 0) // 4 bytes of `amount` were stored here\n            }\n            // revert with ERC20TransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(\n                    Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector\n                );\n            }\n        }\n    }\n\n    function balanceOfSelf(Currency currency) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return address(this).balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(address(this));\n        }\n    }\n\n    function balanceOf(Currency currency, address owner) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return owner.balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(owner);\n        }\n    }\n\n    function isAddressZero(Currency currency) internal pure returns (bool) {\n        return Currency.unwrap(currency) == Currency.unwrap(ADDRESS_ZERO);\n    }\n\n    function toId(Currency currency) internal pure returns (uint256) {\n        return uint160(Currency.unwrap(currency));\n    }\n\n    // If the upper 12 bytes are non-zero, they will be zero-ed out\n    // Therefore, fromId() and toId() are not inverses of each other\n    function fromId(uint256 id) internal pure returns (Currency) {\n        return Currency.wrap(address(uint160(id)));\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {BeforeSwapDelta, BeforeSwapDeltaLibrary} from \"../types/BeforeSwapDelta.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {ParseBytes} from \"./ParseBytes.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\nlibrary Hooks {\n    using LPFeeLibrary for uint24;\n    using Hooks for IHooks;\n    using SafeCast for int256;\n    using BeforeSwapDeltaLibrary for BeforeSwapDelta;\n    using ParseBytes for bytes;\n    using CustomRevert for bytes4;\n\n    uint160 internal constant ALL_HOOK_MASK = uint160((1 << 14) - 1);\n\n    uint160 internal constant BEFORE_INITIALIZE_FLAG = 1 << 13;\n    uint160 internal constant AFTER_INITIALIZE_FLAG = 1 << 12;\n\n    uint160 internal constant BEFORE_ADD_LIQUIDITY_FLAG = 1 << 11;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_FLAG = 1 << 10;\n\n    uint160 internal constant BEFORE_REMOVE_LIQUIDITY_FLAG = 1 << 9;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_FLAG = 1 << 8;\n\n    uint160 internal constant BEFORE_SWAP_FLAG = 1 << 7;\n    uint160 internal constant AFTER_SWAP_FLAG = 1 << 6;\n\n    uint160 internal constant BEFORE_DONATE_FLAG = 1 << 5;\n    uint160 internal constant AFTER_DONATE_FLAG = 1 << 4;\n\n    uint160 internal constant BEFORE_SWAP_RETURNS_DELTA_FLAG = 1 << 3;\n    uint160 internal constant AFTER_SWAP_RETURNS_DELTA_FLAG = 1 << 2;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 1;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 0;\n\n    struct Permissions {\n        bool beforeInitialize;\n        bool afterInitialize;\n        bool beforeAddLiquidity;\n        bool afterAddLiquidity;\n        bool beforeRemoveLiquidity;\n        bool afterRemoveLiquidity;\n        bool beforeSwap;\n        bool afterSwap;\n        bool beforeDonate;\n        bool afterDonate;\n        bool beforeSwapReturnDelta;\n        bool afterSwapReturnDelta;\n        bool afterAddLiquidityReturnDelta;\n        bool afterRemoveLiquidityReturnDelta;\n    }\n\n    /// @notice Thrown if the address will not lead to the specified hook calls being called\n    /// @param hooks The address of the hooks contract\n    error HookAddressNotValid(address hooks);\n\n    /// @notice Hook did not return its selector\n    error InvalidHookResponse();\n\n    /// @notice Additional context for ERC-7751 wrapped error when a hook call fails\n    error HookCallFailed();\n\n    /// @notice The hook's delta changed the swap from exactIn to exactOut or vice versa\n    error HookDeltaExceedsSwapAmount();\n\n    /// @notice Utility function intended to be used in hook constructors to ensure\n    /// the deployed hooks address causes the intended hooks to be called\n    /// @param permissions The hooks that are intended to be called\n    /// @dev permissions param is memory as the function will be called from constructors\n    function validateHookPermissions(IHooks self, Permissions memory permissions) internal pure {\n        if (\n            permissions.beforeInitialize != self.hasPermission(BEFORE_INITIALIZE_FLAG)\n                || permissions.afterInitialize != self.hasPermission(AFTER_INITIALIZE_FLAG)\n                || permissions.beforeAddLiquidity != self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)\n                || permissions.afterAddLiquidity != self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)\n                || permissions.beforeRemoveLiquidity != self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)\n                || permissions.afterRemoveLiquidity != self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                || permissions.beforeSwap != self.hasPermission(BEFORE_SWAP_FLAG)\n                || permissions.afterSwap != self.hasPermission(AFTER_SWAP_FLAG)\n                || permissions.beforeDonate != self.hasPermission(BEFORE_DONATE_FLAG)\n                || permissions.afterDonate != self.hasPermission(AFTER_DONATE_FLAG)\n                || permissions.beforeSwapReturnDelta != self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterSwapReturnDelta != self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterAddLiquidityReturnDelta != self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                || permissions.afterRemoveLiquidityReturnDelta\n                    != self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) {\n            HookAddressNotValid.selector.revertWith(address(self));\n        }\n    }\n\n    /// @notice Ensures that the hook address includes at least one hook flag or dynamic fees, or is the 0 address\n    /// @param self The hook to verify\n    /// @param fee The fee of the pool the hook is used with\n    /// @return bool True if the hook address is valid\n    function isValidHookAddress(IHooks self, uint24 fee) internal pure returns (bool) {\n        // The hook can only have a flag to return a hook delta on an action if it also has the corresponding action flag\n        if (!self.hasPermission(BEFORE_SWAP_FLAG) && self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_SWAP_FLAG) && self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG) && self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG))\n        {\n            return false;\n        }\n        if (\n            !self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                && self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) return false;\n\n        // If there is no hook contract set, then fee cannot be dynamic\n        // If a hook contract is set, it must have at least 1 flag set, or have a dynamic fee\n        return address(self) == address(0)\n            ? !fee.isDynamicFee()\n            : (uint160(address(self)) & ALL_HOOK_MASK > 0 || fee.isDynamicFee());\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook that doesn't return a delta\n    /// @return result The complete data returned by the hook\n    function callHook(IHooks self, bytes memory data) internal returns (bytes memory result) {\n        bool success;\n        assembly (\"memory-safe\") {\n            success := call(gas(), self, 0, add(data, 0x20), mload(data), 0, 0)\n        }\n        // Revert with FailedHookCall, containing any error message to bubble up\n        if (!success) CustomRevert.bubbleUpAndRevertWith(address(self), bytes4(data), HookCallFailed.selector);\n\n        // The call was successful, fetch the returned data\n        assembly (\"memory-safe\") {\n            // allocate result byte array from the free memory pointer\n            result := mload(0x40)\n            // store new free memory pointer at the end of the array padded to 32 bytes\n            mstore(0x40, add(result, and(add(returndatasize(), 0x3f), not(0x1f))))\n            // store length in memory\n            mstore(result, returndatasize())\n            // copy return data to result\n            returndatacopy(add(result, 0x20), 0, returndatasize())\n        }\n\n        // Length must be at least 32 to contain the selector. Check expected selector and returned selector match.\n        if (result.length < 32 || result.parseSelector() != data.parseSelector()) {\n            InvalidHookResponse.selector.revertWith();\n        }\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook\n    /// @return int256 The delta returned by the hook\n    function callHookWithReturnDelta(IHooks self, bytes memory data, bool parseReturn) internal returns (int256) {\n        bytes memory result = callHook(self, data);\n\n        // If this hook wasn't meant to return something, default to 0 delta\n        if (!parseReturn) return 0;\n\n        // A length of 64 bytes is required to return a bytes4, and a 32 byte delta\n        if (result.length != 64) InvalidHookResponse.selector.revertWith();\n        return result.parseReturnDelta();\n    }\n\n    /// @notice modifier to prevent calling a hook if they initiated the action\n    modifier noSelfCall(IHooks self) {\n        if (msg.sender != address(self)) {\n            _;\n        }\n    }\n\n    /// @notice calls beforeInitialize hook if permissioned and validates return value\n    function beforeInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96) internal noSelfCall(self) {\n        if (self.hasPermission(BEFORE_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeInitialize, (msg.sender, key, sqrtPriceX96)));\n        }\n    }\n\n    /// @notice calls afterInitialize hook if permissioned and validates return value\n    function afterInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96, int24 tick)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterInitialize, (msg.sender, key, sqrtPriceX96, tick)));\n        }\n    }\n\n    /// @notice calls beforeModifyLiquidity hook if permissioned and validates return value\n    function beforeModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        ModifyLiquidityParams memory params,\n        bytes calldata hookData\n    ) internal noSelfCall(self) {\n        if (params.liquidityDelta > 0 && self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeAddLiquidity, (msg.sender, key, params, hookData)));\n        } else if (params.liquidityDelta <= 0 && self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeRemoveLiquidity, (msg.sender, key, params, hookData)));\n        }\n    }\n\n    /// @notice calls afterModifyLiquidity hook if permissioned and validates return value\n    function afterModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        ModifyLiquidityParams memory params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) internal returns (BalanceDelta callerDelta, BalanceDelta hookDelta) {\n        if (msg.sender == address(self)) return (delta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        callerDelta = delta;\n        if (params.liquidityDelta > 0) {\n            if (self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterAddLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        } else {\n            if (self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterRemoveLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        }\n    }\n\n    /// @notice calls beforeSwap hook if permissioned and validates return value\n    function beforeSwap(IHooks self, PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        internal\n        returns (int256 amountToSwap, BeforeSwapDelta hookReturn, uint24 lpFeeOverride)\n    {\n        amountToSwap = params.amountSpecified;\n        if (msg.sender == address(self)) return (amountToSwap, BeforeSwapDeltaLibrary.ZERO_DELTA, lpFeeOverride);\n\n        if (self.hasPermission(BEFORE_SWAP_FLAG)) {\n            bytes memory result = callHook(self, abi.encodeCall(IHooks.beforeSwap, (msg.sender, key, params, hookData)));\n\n            // A length of 96 bytes is required to return a bytes4, a 32 byte delta, and an LP fee\n            if (result.length != 96) InvalidHookResponse.selector.revertWith();\n\n            // dynamic fee pools that want to override the cache fee, return a valid fee with the override flag. If override flag\n            // is set but an invalid fee is returned, the transaction will revert. Otherwise the current LP fee will be used\n            if (key.fee.isDynamicFee()) lpFeeOverride = result.parseFee();\n\n            // skip this logic for the case where the hook return is 0\n            if (self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) {\n                hookReturn = BeforeSwapDelta.wrap(result.parseReturnDelta());\n\n                // any return in unspecified is passed to the afterSwap hook for handling\n                int128 hookDeltaSpecified = hookReturn.getSpecifiedDelta();\n\n                // Update the swap amount according to the hook's return, and check that the swap type doesn't change (exact input/output)\n                if (hookDeltaSpecified != 0) {\n                    bool exactInput = amountToSwap < 0;\n                    amountToSwap += hookDeltaSpecified;\n                    if (exactInput ? amountToSwap > 0 : amountToSwap < 0) {\n                        HookDeltaExceedsSwapAmount.selector.revertWith();\n                    }\n                }\n            }\n        }\n    }\n\n    /// @notice calls afterSwap hook if permissioned and validates return value\n    function afterSwap(\n        IHooks self,\n        PoolKey memory key,\n        SwapParams memory params,\n        BalanceDelta swapDelta,\n        bytes calldata hookData,\n        BeforeSwapDelta beforeSwapHookReturn\n    ) internal returns (BalanceDelta, BalanceDelta) {\n        if (msg.sender == address(self)) return (swapDelta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        int128 hookDeltaSpecified = beforeSwapHookReturn.getSpecifiedDelta();\n        int128 hookDeltaUnspecified = beforeSwapHookReturn.getUnspecifiedDelta();\n\n        if (self.hasPermission(AFTER_SWAP_FLAG)) {\n            hookDeltaUnspecified += self.callHookWithReturnDelta(\n                abi.encodeCall(IHooks.afterSwap, (msg.sender, key, params, swapDelta, hookData)),\n                self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n            ).toInt128();\n        }\n\n        BalanceDelta hookDelta;\n        if (hookDeltaUnspecified != 0 || hookDeltaSpecified != 0) {\n            hookDelta = (params.amountSpecified < 0 == params.zeroForOne)\n                ? toBalanceDelta(hookDeltaSpecified, hookDeltaUnspecified)\n                : toBalanceDelta(hookDeltaUnspecified, hookDeltaSpecified);\n\n            // the caller has to pay for (or receive) the hook's delta\n            swapDelta = swapDelta - hookDelta;\n        }\n        return (swapDelta, hookDelta);\n    }\n\n    /// @notice calls beforeDonate hook if permissioned and validates return value\n    function beforeDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(BEFORE_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    /// @notice calls afterDonate hook if permissioned and validates return value\n    function afterDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    function hasPermission(IHooks self, uint160 flag) internal pure returns (bool) {\n        return uint160(address(self)) & flag != 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Create2.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Create2.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Helper to make usage of the `CREATE2` EVM opcode easier and safer.\n * `CREATE2` can be used to compute in advance the address where a smart\n * contract will be deployed, which allows for interesting new mechanisms known\n * as 'counterfactual interactions'.\n *\n * See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more\n * information.\n */\nlibrary Create2 {\n    /**\n     * @dev There's no code to deploy.\n     */\n    error Create2EmptyBytecode();\n\n    /**\n     * @dev Deploys a contract using `CREATE2`. The address where the contract\n     * will be deployed can be known in advance via {computeAddress}.\n     *\n     * The bytecode for a contract can be obtained from Solidity with\n     * `type(contractName).creationCode`.\n     *\n     * Requirements:\n     *\n     * - `bytecode` must not be empty.\n     * - `salt` must have not been used for `bytecode` already.\n     * - the factory must have a balance of at least `amount`.\n     * - if `amount` is non-zero, `bytecode` must have a `payable` constructor.\n     */\n    function deploy(uint256 amount, bytes32 salt, bytes memory bytecode) internal returns (address addr) {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (bytecode.length == 0) {\n            revert Create2EmptyBytecode();\n        }\n        assembly (\"memory-safe\") {\n            addr := create2(amount, add(bytecode, 0x20), mload(bytecode), salt)\n        }\n        if (addr == address(0)) {\n            if (LowLevelCall.returnDataSize() == 0) {\n                revert Errors.FailedDeployment();\n            } else {\n                LowLevelCall.bubbleRevert();\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the address where a contract will be stored if deployed via {deploy}. Any change in the\n     * `bytecodeHash` or `salt` will result in a new destination address.\n     */\n    function computeAddress(bytes32 salt, bytes32 bytecodeHash) internal view returns (address) {\n        return computeAddress(salt, bytecodeHash, address(this));\n    }\n\n    /**\n     * @dev Returns the address where a contract will be stored if deployed via {deploy} from a contract located at\n     * `deployer`. If `deployer` is this contract's address, returns the same value as {computeAddress}.\n     */\n    function computeAddress(bytes32 salt, bytes32 bytecodeHash, address deployer) internal pure returns (address addr) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40) // Get free memory pointer\n\n            // |                     | ↓ ptr ...  ↓ ptr + 0x0B (start) ...  ↓ ptr + 0x20 ...  ↓ ptr + 0x40 ...   |\n            // |---------------------|---------------------------------------------------------------------------|\n            // | bytecodeHash        |                                                        CCCCCCCCCCCCC...CC |\n            // | salt                |                                      BBBBBBBBBBBBB...BB                   |\n            // | deployer            | 000000...0000AAAAAAAAAAAAAAAAAAA...AA                                     |\n            // | 0xFF                |            FF                                                             |\n            // |---------------------|---------------------------------------------------------------------------|\n            // | memory              | 000000...00FFAAAAAAAAAAAAAAAAAAA...AABBBBBBBBBBBBB...BBCCCCCCCCCCCCC...CC |\n            // | keccak(start, 0x55) |            ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ |\n\n            mstore(add(ptr, 0x40), bytecodeHash)\n            mstore(add(ptr, 0x20), salt)\n            mstore(ptr, deployer) // Right-aligned with 12 preceding garbage bytes\n            let start := add(ptr, 0x0b) // The hashed data starts at the final garbage byte which we will set to 0xff\n            mstore8(start, 0xff)\n            addr := and(keccak256(start, 0x55), 0xffffffffffffffffffffffffffffffffffffffff)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {BeforeSwapDelta} from \"../types/BeforeSwapDelta.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n/// See the Hooks library for the full spec.\n/// @dev Should only be callable by the v4 PoolManager.\ninterface IHooks {\n    /// @notice The hook called before the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @return bytes4 The function selector for the hook\n    function beforeInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96) external returns (bytes4);\n\n    /// @notice The hook called after the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @param tick The current tick after the state of a pool is initialized\n    /// @return bytes4 The function selector for the hook\n    function afterInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96, int24 tick)\n        external\n        returns (bytes4);\n\n    /// @notice The hook called before liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    /// @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\n    function beforeSwap(address sender, PoolKey calldata key, SwapParams calldata params, bytes calldata hookData)\n        external\n        returns (bytes4, BeforeSwapDelta, uint24);\n\n    /// @notice The hook called after a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterSwap(\n        address sender,\n        PoolKey calldata key,\n        SwapParams calldata params,\n        BalanceDelta delta,\n        bytes calldata hookData\n    ) external returns (bytes4, int128);\n\n    /// @notice The hook called before donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function afterDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/Position.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Position\n/// @notice Positions represent an owner address' liquidity between a lower and upper tick boundary\n/// @dev Positions store additional state for tracking fees owed to the position\nlibrary Position {\n    using CustomRevert for bytes4;\n\n    /// @notice Cannot update a position with no liquidity\n    error CannotUpdateEmptyPosition();\n\n    // info stored for each user's position\n    struct State {\n        // the amount of liquidity owned by this position\n        uint128 liquidity;\n        // fee growth per unit of liquidity as of the last update to liquidity or fees owed\n        uint256 feeGrowthInside0LastX128;\n        uint256 feeGrowthInside1LastX128;\n    }\n\n    /// @notice Returns the State struct of a position, given an owner and position boundaries\n    /// @param self The mapping containing all user positions\n    /// @param owner The address of the position owner\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range\n    /// @return position The position info struct of the given owners' position\n    function get(mapping(bytes32 => State) storage self, address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        view\n        returns (State storage position)\n    {\n        bytes32 positionKey = calculatePositionKey(owner, tickLower, tickUpper, salt);\n        position = self[positionKey];\n    }\n\n    /// @notice A helper function to calculate the position key\n    /// @param owner The address of the position owner\n    /// @param tickLower the lower tick boundary of the position\n    /// @param tickUpper the upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range, by the same owner. Passed in by the caller.\n    function calculatePositionKey(address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        pure\n        returns (bytes32 positionKey)\n    {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(add(fmp, 0x26), salt) // [0x26, 0x46)\n            mstore(add(fmp, 0x06), tickUpper) // [0x23, 0x26)\n            mstore(add(fmp, 0x03), tickLower) // [0x20, 0x23)\n            mstore(fmp, owner) // [0x0c, 0x20)\n            positionKey := keccak256(add(fmp, 0x0c), 0x3a) // len is 58 bytes\n\n            // now clean the memory we used\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held salt\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held tickLower, tickUpper, salt\n            mstore(fmp, 0) // fmp held owner\n        }\n    }\n\n    /// @notice Credits accumulated fees to a user's position\n    /// @param self The individual position to update\n    /// @param liquidityDelta The change in pool liquidity as a result of the position update\n    /// @param feeGrowthInside0X128 The all-time fee growth in currency0, per unit of liquidity, inside the position's tick boundaries\n    /// @param feeGrowthInside1X128 The all-time fee growth in currency1, per unit of liquidity, inside the position's tick boundaries\n    /// @return feesOwed0 The amount of currency0 owed to the position owner\n    /// @return feesOwed1 The amount of currency1 owed to the position owner\n    function update(\n        State storage self,\n        int128 liquidityDelta,\n        uint256 feeGrowthInside0X128,\n        uint256 feeGrowthInside1X128\n    ) internal returns (uint256 feesOwed0, uint256 feesOwed1) {\n        uint128 liquidity = self.liquidity;\n\n        if (liquidityDelta == 0) {\n            // disallow pokes for 0 liquidity positions\n            if (liquidity == 0) CannotUpdateEmptyPosition.selector.revertWith();\n        } else {\n            self.liquidity = LiquidityMath.addDelta(liquidity, liquidityDelta);\n        }\n\n        // calculate accumulated fees. overflow in the subtraction of fee growth is expected\n        unchecked {\n            feesOwed0 =\n                FullMath.mulDiv(feeGrowthInside0X128 - self.feeGrowthInside0LastX128, liquidity, FixedPoint128.Q128);\n            feesOwed1 =\n                FullMath.mulDiv(feeGrowthInside1X128 - self.feeGrowthInside1LastX128, liquidity, FixedPoint128.Q128);\n        }\n\n        // update the position\n        self.feeGrowthInside0LastX128 = feeGrowthInside0X128;\n        self.feeGrowthInside1LastX128 = feeGrowthInside1X128;\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\n\n/// @title Computes the result of a swap within ticks\n/// @notice Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick.\nlibrary SwapMath {\n    /// @notice the swap fee is represented in hundredths of a bip, so the max is 100%\n    /// @dev the swap fee is the total fee on a swap, including both LP and Protocol fee\n    uint256 internal constant MAX_SWAP_FEE = 1e6;\n\n    /// @notice Computes the sqrt price target for the next swap step\n    /// @param zeroForOne The direction of the swap, true for currency0 to currency1, false for currency1 to currency0\n    /// @param sqrtPriceNextX96 The Q64.96 sqrt price for the next initialized tick\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value\n    /// after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @return sqrtPriceTargetX96 The price target for the next swap step\n    function getSqrtPriceTarget(bool zeroForOne, uint160 sqrtPriceNextX96, uint160 sqrtPriceLimitX96)\n        internal\n        pure\n        returns (uint160 sqrtPriceTargetX96)\n    {\n        assembly (\"memory-safe\") {\n            // a flag to toggle between sqrtPriceNextX96 and sqrtPriceLimitX96\n            // when zeroForOne == true, nextOrLimit reduces to sqrtPriceNextX96 >= sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = max(sqrtPriceNextX96, sqrtPriceLimitX96)\n            // when zeroForOne == false, nextOrLimit reduces to sqrtPriceNextX96 < sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = min(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceNextX96 := and(sqrtPriceNextX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            sqrtPriceLimitX96 := and(sqrtPriceLimitX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            let nextOrLimit := xor(lt(sqrtPriceNextX96, sqrtPriceLimitX96), and(zeroForOne, 0x1))\n            let symDiff := xor(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceTargetX96 := xor(sqrtPriceLimitX96, mul(symDiff, nextOrLimit))\n        }\n    }\n\n    /// @notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap\n    /// @dev If the swap's amountSpecified is negative, the combined fee and input amount will never exceed the absolute value of the remaining amount.\n    /// @param sqrtPriceCurrentX96 The current sqrt price of the pool\n    /// @param sqrtPriceTargetX96 The price that cannot be exceeded, from which the direction of the swap is inferred\n    /// @param liquidity The usable liquidity\n    /// @param amountRemaining How much input or output amount is remaining to be swapped in/out\n    /// @param feePips The fee taken from the input amount, expressed in hundredths of a bip\n    /// @return sqrtPriceNextX96 The price after swapping the amount in/out, not to exceed the price target\n    /// @return amountIn The amount to be swapped in, of either currency0 or currency1, based on the direction of the swap\n    /// @return amountOut The amount to be received, of either currency0 or currency1, based on the direction of the swap\n    /// @return feeAmount The amount of input that will be taken as a fee\n    /// @dev feePips must be no larger than MAX_SWAP_FEE for this function. We ensure that before setting a fee using LPFeeLibrary.isValid.\n    function computeSwapStep(\n        uint160 sqrtPriceCurrentX96,\n        uint160 sqrtPriceTargetX96,\n        uint128 liquidity,\n        int256 amountRemaining,\n        uint24 feePips\n    ) internal pure returns (uint160 sqrtPriceNextX96, uint256 amountIn, uint256 amountOut, uint256 feeAmount) {\n        unchecked {\n            uint256 _feePips = feePips; // upcast once and cache\n            bool zeroForOne = sqrtPriceCurrentX96 >= sqrtPriceTargetX96;\n            bool exactIn = amountRemaining < 0;\n\n            if (exactIn) {\n                uint256 amountRemainingLessFee =\n                    FullMath.mulDiv(uint256(-amountRemaining), MAX_SWAP_FEE - _feePips, MAX_SWAP_FEE);\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, true);\n                if (amountRemainingLessFee >= amountIn) {\n                    // `amountIn` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                    feeAmount = _feePips == MAX_SWAP_FEE\n                        ? amountIn // amountIn is always 0 here, as amountRemainingLessFee == 0 and amountRemainingLessFee >= amountIn\n                        : FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n                } else {\n                    // exhaust the remaining amount\n                    amountIn = amountRemainingLessFee;\n                    sqrtPriceNextX96 = SqrtPriceMath.getNextSqrtPriceFromInput(\n                        sqrtPriceCurrentX96, liquidity, amountRemainingLessFee, zeroForOne\n                    );\n                    // we didn't reach the target, so take the remainder of the maximum input as fee\n                    feeAmount = uint256(-amountRemaining) - amountIn;\n                }\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, false);\n            } else {\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, false);\n                if (uint256(amountRemaining) >= amountOut) {\n                    // `amountOut` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                } else {\n                    // cap the output amount to not exceed the remaining output amount\n                    amountOut = uint256(amountRemaining);\n                    sqrtPriceNextX96 =\n                        SqrtPriceMath.getNextSqrtPriceFromOutput(sqrtPriceCurrentX96, liquidity, amountOut, zeroForOne);\n                }\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, true);\n                // `feePips` cannot be `MAX_SWAP_FEE` for exact out\n                feeAmount = FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"../libraries/SafeCast.sol\";\n\n/// @dev Two `int128` values packed into a single `int256` where the upper 128 bits represent the amount0\n/// and the lower 128 bits represent the amount1.\ntype BalanceDelta is int256;\n\nusing {add as +, sub as -, eq as ==, neq as !=} for BalanceDelta global;\nusing BalanceDeltaLibrary for BalanceDelta global;\nusing SafeCast for int256;\n\nfunction toBalanceDelta(int128 _amount0, int128 _amount1) pure returns (BalanceDelta balanceDelta) {\n    assembly (\"memory-safe\") {\n        balanceDelta := or(shl(128, _amount0), and(sub(shl(128, 1), 1), _amount1))\n    }\n}\n\nfunction add(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := add(a0, b0)\n        res1 := add(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction sub(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := sub(a0, b0)\n        res1 := sub(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction eq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) == BalanceDelta.unwrap(b);\n}\n\nfunction neq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) != BalanceDelta.unwrap(b);\n}\n\n/// @notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type\nlibrary BalanceDeltaLibrary {\n    /// @notice A BalanceDelta of 0\n    BalanceDelta public constant ZERO_DELTA = BalanceDelta.wrap(0);\n\n    function amount0(BalanceDelta balanceDelta) internal pure returns (int128 _amount0) {\n        assembly (\"memory-safe\") {\n            _amount0 := sar(128, balanceDelta)\n        }\n    }\n\n    function amount1(BalanceDelta balanceDelta) internal pure returns (int128 _amount1) {\n        assembly (\"memory-safe\") {\n            _amount1 := signextend(15, balanceDelta)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\n\n/// @notice Parameter struct for `ModifyLiquidity` pool operations\nstruct ModifyLiquidityParams {\n    // the lower and upper tick of the position\n    int24 tickLower;\n    int24 tickUpper;\n    // how to modify the liquidity\n    int256 liquidityDelta;\n    // a value to set if you want unique liquidity positions at the same range\n    bytes32 salt;\n}\n\n/// @notice Parameter struct for `Swap` pool operations\nstruct SwapParams {\n    /// Whether to swap token0 for token1 or vice versa\n    bool zeroForOne;\n    /// The desired input amount if negative (exactIn), or the desired output amount if positive (exactOut)\n    int256 amountSpecified;\n    /// The sqrt price at which, if reached, the swap will stop executing\n    uint160 sqrtPriceLimitX96;\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * Both values are immutable: they can only be set once during construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /// @inheritdoc IERC20\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /// @inheritdoc IERC20\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /// @inheritdoc IERC20\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation sets the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the `transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for functions to access any storage slot in a contract\ninterface IExtsload {\n    /// @notice Called by external contracts to access granular pool state\n    /// @param slot Key of slot to sload\n    /// @return value The value of the slot as bytes32\n    function extsload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access granular pool state\n    /// @param startSlot Key of slot to start sloading from\n    /// @param nSlots Number of slots to load into return value\n    /// @return values List of loaded values.\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory values);\n\n    /// @notice Called by external contracts to access sparse pool state\n    /// @param slots List of slots to SLOAD from.\n    /// @return values List of loaded values.\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Interface for functions to access any transient storage slot in a contract\ninterface IExttload {\n    /// @notice Called by external contracts to access transient storage of the contract\n    /// @param slot Key of slot to tload\n    /// @return value The value of the slot as bytes32\n    function exttload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access sparse transient pool state\n    /// @param slots List of slots to tload\n    /// @return values List of loaded values\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @notice Parses bytes returned from hooks and the byte selector used to check return selectors from hooks.\n/// @dev parseSelector also is used to parse the expected selector\n/// For parsing hook returns, note that all hooks return either bytes4 or (bytes4, 32-byte-delta) or (bytes4, 32-byte-delta, uint24).\nlibrary ParseBytes {\n    function parseSelector(bytes memory result) internal pure returns (bytes4 selector) {\n        // equivalent: (selector,) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            selector := mload(add(result, 0x20))\n        }\n    }\n\n    function parseFee(bytes memory result) internal pure returns (uint24 lpFee) {\n        // equivalent: (,, lpFee) = abi.decode(result, (bytes4, int256, uint24));\n        assembly (\"memory-safe\") {\n            lpFee := mload(add(result, 0x60))\n        }\n    }\n\n    function parseReturnDelta(bytes memory result) internal pure returns (int256 hookReturn) {\n        // equivalent: (, hookReturnDelta) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            hookReturn := mload(add(result, 0x40))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\n\n/// @title Packed tick initialized state library\n/// @notice Stores a packed mapping of tick index to its initialized state\n/// @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word.\nlibrary TickBitmap {\n    /// @notice Thrown when the tick is not enumerated by the tick spacing\n    /// @param tick the invalid tick\n    /// @param tickSpacing The tick spacing of the pool\n    error TickMisaligned(int24 tick, int24 tickSpacing);\n\n    /// @dev round towards negative infinity\n    function compress(int24 tick, int24 tickSpacing) internal pure returns (int24 compressed) {\n        // compressed = tick / tickSpacing;\n        // if (tick < 0 && tick % tickSpacing != 0) compressed--;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            compressed :=\n                sub(\n                    sdiv(tick, tickSpacing),\n                    // if (tick < 0 && tick % tickSpacing != 0) then tick % tickSpacing < 0, vice versa\n                    slt(smod(tick, tickSpacing), 0)\n                )\n        }\n    }\n\n    /// @notice Computes the position in the mapping where the initialized bit for a tick lives\n    /// @param tick The tick for which to compute the position\n    /// @return wordPos The key in the mapping containing the word in which the bit is stored\n    /// @return bitPos The bit position in the word where the flag is stored\n    function position(int24 tick) internal pure returns (int16 wordPos, uint8 bitPos) {\n        assembly (\"memory-safe\") {\n            // signed arithmetic shift right\n            wordPos := sar(8, signextend(2, tick))\n            bitPos := and(tick, 0xff)\n        }\n    }\n\n    /// @notice Flips the initialized state for a given tick from false to true, or vice versa\n    /// @param self The mapping in which to flip the tick\n    /// @param tick The tick to flip\n    /// @param tickSpacing The spacing between usable ticks\n    function flipTick(mapping(int16 => uint256) storage self, int24 tick, int24 tickSpacing) internal {\n        // Equivalent to the following Solidity:\n        //     if (tick % tickSpacing != 0) revert TickMisaligned(tick, tickSpacing);\n        //     (int16 wordPos, uint8 bitPos) = position(tick / tickSpacing);\n        //     uint256 mask = 1 << bitPos;\n        //     self[wordPos] ^= mask;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            // ensure that the tick is spaced\n            if smod(tick, tickSpacing) {\n                let fmp := mload(0x40)\n                mstore(fmp, 0xd4d8f3e6) // selector for TickMisaligned(int24,int24)\n                mstore(add(fmp, 0x20), tick)\n                mstore(add(fmp, 0x40), tickSpacing)\n                revert(add(fmp, 0x1c), 0x44)\n            }\n            tick := sdiv(tick, tickSpacing)\n            // calculate the storage slot corresponding to the tick\n            // wordPos = tick >> 8\n            mstore(0, sar(8, tick))\n            mstore(0x20, self.slot)\n            // the slot of self[wordPos] is keccak256(abi.encode(wordPos, self.slot))\n            let slot := keccak256(0, 0x40)\n            // mask = 1 << bitPos = 1 << (tick % 256)\n            // self[wordPos] ^= mask\n            sstore(slot, xor(sload(slot), shl(and(tick, 0xff), 1)))\n        }\n    }\n\n    /// @notice Returns the next initialized tick contained in the same word (or adjacent word) as the tick that is either\n    /// to the left (less than or equal to) or right (greater than) of the given tick\n    /// @param self The mapping in which to compute the next initialized tick\n    /// @param tick The starting tick\n    /// @param tickSpacing The spacing between usable ticks\n    /// @param lte Whether to search for the next initialized tick to the left (less than or equal to the starting tick)\n    /// @return next The next initialized or uninitialized tick up to 256 ticks away from the current tick\n    /// @return initialized Whether the next tick is initialized, as the function only searches within up to 256 ticks\n    function nextInitializedTickWithinOneWord(\n        mapping(int16 => uint256) storage self,\n        int24 tick,\n        int24 tickSpacing,\n        bool lte\n    ) internal view returns (int24 next, bool initialized) {\n        unchecked {\n            int24 compressed = compress(tick, tickSpacing);\n\n            if (lte) {\n                (int16 wordPos, uint8 bitPos) = position(compressed);\n                // all the 1s at or to the right of the current bitPos\n                uint256 mask = type(uint256).max >> (uint256(type(uint8).max) - bitPos);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the right of or at the current tick, return rightmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed - int24(uint24(bitPos - BitMath.mostSignificantBit(masked)))) * tickSpacing\n                    : (compressed - int24(uint24(bitPos))) * tickSpacing;\n            } else {\n                // start from the word of the next tick, since the current tick state doesn't matter\n                (int16 wordPos, uint8 bitPos) = position(++compressed);\n                // all the 1s at or to the left of the bitPos\n                uint256 mask = ~((1 << bitPos) - 1);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the left of the current tick, return leftmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed + int24(uint24(BitMath.leastSignificantBit(masked) - bitPos))) * tickSpacing\n                    : (compressed + int24(uint24(type(uint8).max - bitPos))) * tickSpacing;\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n"},"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Return type of the beforeSwap hook.\n// Upper 128 bits is the delta in specified tokens. Lower 128 bits is delta in unspecified tokens (to match the afterSwap hook)\ntype BeforeSwapDelta is int256;\n\n// Creates a BeforeSwapDelta from specified and unspecified\nfunction toBeforeSwapDelta(int128 deltaSpecified, int128 deltaUnspecified)\n    pure\n    returns (BeforeSwapDelta beforeSwapDelta)\n{\n    assembly (\"memory-safe\") {\n        beforeSwapDelta := or(shl(128, deltaSpecified), and(sub(shl(128, 1), 1), deltaUnspecified))\n    }\n}\n\n/// @notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\nlibrary BeforeSwapDeltaLibrary {\n    /// @notice A BeforeSwapDelta of 0\n    BeforeSwapDelta public constant ZERO_DELTA = BeforeSwapDelta.wrap(0);\n\n    /// extracts int128 from the upper 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap\n    function getSpecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaSpecified) {\n        assembly (\"memory-safe\") {\n            deltaSpecified := sar(128, delta)\n        }\n    }\n\n    /// extracts int128 from the lower 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap and afterSwap\n    function getUnspecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaUnspecified) {\n        assembly (\"memory-safe\") {\n            deltaUnspecified := signextend(15, delta)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\n\npragma solidity ^0.8.20;\n\nimport {Ownable} from \"./Ownable.sol\";\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\n * old one. This can help prevent common mistakes, such as transfers of ownership to\n * incorrect accounts, or to contracts that are unable to interact with the\n * permission system.\n *\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (Ownable).\n */\nabstract contract Ownable2Step is Ownable {\n    address private _pendingOwner;\n\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        return _pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     *\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        _pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        delete _pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice Library of helper functions for a pools LP fee\nlibrary LPFeeLibrary {\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the static or dynamic fee on a pool exceeds 100%.\n    error LPFeeTooLarge(uint24 fee);\n\n    /// @notice An lp fee of exactly 0b1000000... signals a dynamic fee pool. This isn't a valid static fee as it is > MAX_LP_FEE\n    uint24 public constant DYNAMIC_FEE_FLAG = 0x800000;\n\n    /// @notice the second bit of the fee returned by beforeSwap is used to signal if the stored LP fee should be overridden in this swap\n    // only dynamic-fee pools can return a fee via the beforeSwap hook\n    uint24 public constant OVERRIDE_FEE_FLAG = 0x400000;\n\n    /// @notice mask to remove the override fee flag from a fee returned by the beforeSwaphook\n    uint24 public constant REMOVE_OVERRIDE_MASK = 0xBFFFFF;\n\n    /// @notice the lp fee is represented in hundredths of a bip, so the max is 100%\n    uint24 public constant MAX_LP_FEE = 1000000;\n\n    /// @notice returns true if a pool's LP fee signals that the pool has a dynamic fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is dynamic\n    function isDynamicFee(uint24 self) internal pure returns (bool) {\n        return self == DYNAMIC_FEE_FLAG;\n    }\n\n    /// @notice returns true if an LP fee is valid, aka not above the maximum permitted fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is valid\n    function isValid(uint24 self) internal pure returns (bool) {\n        return self <= MAX_LP_FEE;\n    }\n\n    /// @notice validates whether an LP fee is larger than the maximum, and reverts if invalid\n    /// @param self The fee to validate\n    function validate(uint24 self) internal pure {\n        if (!self.isValid()) LPFeeTooLarge.selector.revertWith(self);\n    }\n\n    /// @notice gets and validates the initial LP fee for a pool. Dynamic fee pools have an initial fee of 0.\n    /// @dev if a dynamic fee pool wants a non-0 initial fee, it should call `updateDynamicLPFee` in the afterInitialize hook\n    /// @param self The fee to get the initial LP from\n    /// @return initialFee 0 if the fee is dynamic, otherwise the fee (if valid)\n    function getInitialLPFee(uint24 self) internal pure returns (uint24) {\n        // the initial fee for a dynamic fee pool is 0\n        if (self.isDynamicFee()) return 0;\n        self.validate();\n        return self;\n    }\n\n    /// @notice returns true if the fee has the override flag set (2nd highest bit of the uint24)\n    /// @param self The fee to check\n    /// @return bool True of the fee has the override flag set\n    function isOverride(uint24 self) internal pure returns (bool) {\n        return self & OVERRIDE_FEE_FLAG != 0;\n    }\n\n    /// @notice returns a fee with the override flag removed\n    /// @param self The fee to remove the override flag from\n    /// @return fee The fee without the override flag set\n    function removeOverrideFlag(uint24 self) internal pure returns (uint24) {\n        return self & REMOVE_OVERRIDE_MASK;\n    }\n\n    /// @notice Removes the override flag and validates the fee (reverts if the fee is too large)\n    /// @param self The fee to remove the override flag from, and then validate\n    /// @return fee The fee without the override flag set (if valid)\n    function removeOverrideFlagAndValidate(uint24 self) internal pure returns (uint24 fee) {\n        fee = self.removeOverrideFlag();\n        fee.validate();\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Position} from \"./Position.sol\";\n\n/// @notice A helper library to provide state getters that use extsload\nlibrary StateLibrary {\n    /// @notice index of pools mapping in the PoolManager\n    bytes32 public constant POOLS_SLOT = bytes32(uint256(6));\n\n    /// @notice index of feeGrowthGlobal0X128 in Pool.State\n    uint256 public constant FEE_GROWTH_GLOBAL0_OFFSET = 1;\n\n    // feeGrowthGlobal1X128 offset in Pool.State = 2\n\n    /// @notice index of liquidity in Pool.State\n    uint256 public constant LIQUIDITY_OFFSET = 3;\n\n    /// @notice index of TicksInfo mapping in Pool.State: mapping(int24 => TickInfo) ticks;\n    uint256 public constant TICKS_OFFSET = 4;\n\n    /// @notice index of tickBitmap mapping in Pool.State\n    uint256 public constant TICK_BITMAP_OFFSET = 5;\n\n    /// @notice index of Position.State mapping in Pool.State: mapping(bytes32 => Position.State) positions;\n    uint256 public constant POSITIONS_OFFSET = 6;\n\n    /**\n     * @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee\n     * @dev Corresponds to pools[poolId].slot0\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return sqrtPriceX96 The square root of the price of the pool, in Q96 precision.\n     * @return tick The current tick of the pool.\n     * @return protocolFee The protocol fee of the pool.\n     * @return lpFee The swap fee of the pool.\n     */\n    function getSlot0(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        bytes32 data = manager.extsload(stateSlot);\n\n        //   24 bits  |24bits|24bits      |24 bits|160 bits\n        // 0x000000   |000bb8|000000      |ffff75 |0000000000000000fe3aa841ba359daa0ea9eff7\n        // ---------- | fee  |protocolfee | tick  | sqrtPriceX96\n        assembly (\"memory-safe\") {\n            // bottom 160 bits of data\n            sqrtPriceX96 := and(data, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            // next 24 bits of data\n            tick := signextend(2, shr(160, data))\n            // next 24 bits of data\n            protocolFee := and(shr(184, data), 0xFFFFFF)\n            // last 24 bits of data\n            lpFee := and(shr(208, data), 0xFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the tick information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve information for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickInfo(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128\n        )\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // read all 3 words of the TickInfo struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n        assembly (\"memory-safe\") {\n            let firstWord := mload(add(data, 32))\n            liquidityNet := sar(128, firstWord)\n            liquidityGross := and(firstWord, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            feeGrowthOutside0X128 := mload(add(data, 64))\n            feeGrowthOutside1X128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick].liquidityGross and pools[poolId].ticks[tick].liquidityNet. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve liquidity for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     */\n    function getTickLiquidity(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint128 liquidityGross, int128 liquidityNet)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        bytes32 value = manager.extsload(slot);\n        assembly (\"memory-safe\") {\n            liquidityNet := sar(128, value)\n            liquidityGross := and(value, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the fee growth outside a tick range of a pool\n     * @dev Corresponds to pools[poolId].ticks[tick].feeGrowthOutside0X128 and pools[poolId].ticks[tick].feeGrowthOutside1X128. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve fee growth for.\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickFeeGrowthOutside(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // offset by 1 word, since the first word is liquidityGross + liquidityNet\n        bytes32[] memory data = manager.extsload(bytes32(uint256(slot) + 1), 2);\n        assembly (\"memory-safe\") {\n            feeGrowthOutside0X128 := mload(add(data, 32))\n            feeGrowthOutside1X128 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves the global fee growth of a pool.\n     * @dev Corresponds to pools[poolId].feeGrowthGlobal0X128 and pools[poolId].feeGrowthGlobal1X128\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return feeGrowthGlobal0 The global fee growth for token0.\n     * @return feeGrowthGlobal1 The global fee growth for token1.\n     * @dev Note that feeGrowthGlobal can be artificially inflated\n     * For pools with a single liquidity position, actors can donate to themselves to freely inflate feeGrowthGlobal\n     * atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n     */\n    function getFeeGrowthGlobals(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint256 feeGrowthGlobal0, uint256 feeGrowthGlobal1)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State, `uint256 feeGrowthGlobal0X128`\n        bytes32 slot_feeGrowthGlobal0X128 = bytes32(uint256(stateSlot) + FEE_GROWTH_GLOBAL0_OFFSET);\n\n        // read the 2 words of feeGrowthGlobal\n        bytes32[] memory data = manager.extsload(slot_feeGrowthGlobal0X128, 2);\n        assembly (\"memory-safe\") {\n            feeGrowthGlobal0 := mload(add(data, 32))\n            feeGrowthGlobal1 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves total the liquidity of a pool.\n     * @dev Corresponds to pools[poolId].liquidity\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return liquidity The liquidity of the pool.\n     */\n    function getLiquidity(IPoolManager manager, PoolId poolId) internal view returns (uint128 liquidity) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `uint128 liquidity`\n        bytes32 slot = bytes32(uint256(stateSlot) + LIQUIDITY_OFFSET);\n\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Retrieves the tick bitmap of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].tickBitmap[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve the bitmap for.\n     * @return tickBitmap The bitmap of the tick.\n     */\n    function getTickBitmap(IPoolManager manager, PoolId poolId, int16 tick)\n        internal\n        view\n        returns (uint256 tickBitmap)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int16 => uint256) tickBitmap;`\n        bytes32 tickBitmapMapping = bytes32(uint256(stateSlot) + TICK_BITMAP_OFFSET);\n\n        // slot id of the mapping key: `pools[poolId].tickBitmap[tick]\n        bytes32 slot = keccak256(abi.encodePacked(int256(tick), tickBitmapMapping));\n\n        tickBitmap = uint256(manager.extsload(slot));\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool without needing to calculate the `positionId`.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param poolId The ID of the pool.\n     * @param owner The owner of the liquidity position.\n     * @param tickLower The lower tick of the liquidity range.\n     * @param tickUpper The upper tick of the liquidity range.\n     * @param salt The bytes32 randomness to further distinguish position state.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(\n        IPoolManager manager,\n        PoolId poolId,\n        address owner,\n        int24 tickLower,\n        int24 tickUpper,\n        bytes32 salt\n    ) internal view returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128) {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        bytes32 positionKey = Position.calculatePositionKey(owner, tickLower, tickUpper, salt);\n\n        (liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128) = getPositionInfo(manager, poolId, positionKey);\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool at a specific position ID.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n\n        // read all 3 words of the Position.State struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n\n        assembly (\"memory-safe\") {\n            liquidity := mload(add(data, 32))\n            feeGrowthInside0LastX128 := mload(add(data, 64))\n            feeGrowthInside1LastX128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity of a position.\n     * @dev Corresponds to pools[poolId].positions[positionId].liquidity. More gas efficient for just retrieiving liquidity as compared to getPositionInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     */\n    function getPositionLiquidity(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Calculate the fee growth inside a tick range of a pool\n     * @dev pools[poolId].feeGrowthInside0LastX128 in Position.State is cached and can become stale. This function will calculate the up to date feeGrowthInside\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tickLower The lower tick of the range.\n     * @param tickUpper The upper tick of the range.\n     * @return feeGrowthInside0X128 The fee growth inside the tick range for token0.\n     * @return feeGrowthInside1X128 The fee growth inside the tick range for token1.\n     */\n    function getFeeGrowthInside(IPoolManager manager, PoolId poolId, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = getFeeGrowthGlobals(manager, poolId);\n\n        (uint256 lowerFeeGrowthOutside0X128, uint256 lowerFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickLower);\n        (uint256 upperFeeGrowthOutside0X128, uint256 upperFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickUpper);\n        (, int24 tickCurrent,,) = getSlot0(manager, poolId);\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upperFeeGrowthOutside0X128 - lowerFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = upperFeeGrowthOutside1X128 - lowerFeeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 = feeGrowthGlobal0X128 - lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = feeGrowthGlobal1X128 - lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            }\n        }\n    }\n\n    function _getPoolStateSlot(PoolId poolId) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(PoolId.unwrap(poolId), POOLS_SLOT));\n    }\n\n    function _getTickInfoSlot(PoolId poolId, int24 tick) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int24 => TickInfo) ticks`\n        bytes32 ticksMappingSlot = bytes32(uint256(stateSlot) + TICKS_OFFSET);\n\n        // slot key of the tick key: `pools[poolId].ticks[tick]\n        return keccak256(abi.encodePacked(int256(tick), ticksMappingSlot));\n    }\n\n    function _getPositionInfoSlot(PoolId poolId, bytes32 positionId) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(bytes32 => Position.State) positions;`\n        bytes32 positionMapping = bytes32(uint256(stateSlot) + POSITIONS_OFFSET);\n\n        // slot of the mapping key: `pools[poolId].positions[positionId]\n        return keccak256(abi.encodePacked(positionId, positionMapping));\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Library to define different pool actions.\n/// @dev These are suggested common commands, however additional commands should be defined as required\n/// Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts.\nlibrary Actions {\n    // pool actions\n    // liquidity actions\n    uint256 internal constant INCREASE_LIQUIDITY = 0x00;\n    uint256 internal constant DECREASE_LIQUIDITY = 0x01;\n    uint256 internal constant MINT_POSITION = 0x02;\n    uint256 internal constant BURN_POSITION = 0x03;\n    uint256 internal constant INCREASE_LIQUIDITY_FROM_DELTAS = 0x04;\n    uint256 internal constant MINT_POSITION_FROM_DELTAS = 0x05;\n\n    // swapping\n    uint256 internal constant SWAP_EXACT_IN_SINGLE = 0x06;\n    uint256 internal constant SWAP_EXACT_IN = 0x07;\n    uint256 internal constant SWAP_EXACT_OUT_SINGLE = 0x08;\n    uint256 internal constant SWAP_EXACT_OUT = 0x09;\n\n    // donate\n    // note this is not supported in the position manager or router\n    uint256 internal constant DONATE = 0x0a;\n\n    // closing deltas on the pool manager\n    // settling\n    uint256 internal constant SETTLE = 0x0b;\n    uint256 internal constant SETTLE_ALL = 0x0c;\n    uint256 internal constant SETTLE_PAIR = 0x0d;\n    // taking\n    uint256 internal constant TAKE = 0x0e;\n    uint256 internal constant TAKE_ALL = 0x0f;\n    uint256 internal constant TAKE_PORTION = 0x10;\n    uint256 internal constant TAKE_PAIR = 0x11;\n\n    uint256 internal constant CLOSE_CURRENCY = 0x12;\n    uint256 internal constant CLEAR_OR_TAKE = 0x13;\n    uint256 internal constant SWEEP = 0x14;\n\n    uint256 internal constant WRAP = 0x15;\n    uint256 internal constant UNWRAP = 0x16;\n\n    // minting/burning 6909s to close deltas\n    // note this is not supported in the position manager or router\n    uint256 internal constant MINT_6909 = 0x17;\n    uint256 internal constant BURN_6909 = 0x18;\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"./IHooks.sol\";\nimport {IERC6909Claims} from \"./external/IERC6909Claims.sol\";\nimport {IProtocolFees} from \"./IProtocolFees.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IExtsload} from \"./IExtsload.sol\";\nimport {IExttload} from \"./IExttload.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\n\n/// @notice Interface for the PoolManager\ninterface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload {\n    /// @notice Thrown when a currency is not netted out after the contract is unlocked\n    error CurrencyNotSettled();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when unlock is called, but the contract is already unlocked\n    error AlreadyUnlocked();\n\n    /// @notice Thrown when a function is called that requires the contract to be unlocked, but it is not\n    error ManagerLocked();\n\n    /// @notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\n    error TickSpacingTooLarge(int24 tickSpacing);\n\n    /// @notice Pools must have a positive non-zero tickSpacing passed to #initialize\n    error TickSpacingTooSmall(int24 tickSpacing);\n\n    /// @notice PoolKey must have currencies where address(currency0) < address(currency1)\n    error CurrenciesOutOfOrderOrEqual(address currency0, address currency1);\n\n    /// @notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n    /// or on a pool that does not have a dynamic swap fee.\n    error UnauthorizedDynamicLPFeeUpdate();\n\n    /// @notice Thrown when trying to swap amount of 0\n    error SwapAmountCannotBeZero();\n\n    ///@notice Thrown when native currency is passed to a non native settlement\n    error NonzeroNativeValue();\n\n    /// @notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\n    error MustClearExactPositiveDelta();\n\n    /// @notice Emitted when a new pool is initialized\n    /// @param id The abi encoded hash of the pool key struct for the new pool\n    /// @param currency0 The first currency of the pool by address sort order\n    /// @param currency1 The second currency of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param hooks The hooks contract address for the pool, or address(0) if none\n    /// @param sqrtPriceX96 The price of the pool on initialization\n    /// @param tick The initial tick of the pool corresponding to the initialized price\n    event Initialize(\n        PoolId indexed id,\n        Currency indexed currency0,\n        Currency indexed currency1,\n        uint24 fee,\n        int24 tickSpacing,\n        IHooks hooks,\n        uint160 sqrtPriceX96,\n        int24 tick\n    );\n\n    /// @notice Emitted when a liquidity position is modified\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that modified the pool\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param liquidityDelta The amount of liquidity that was added or removed\n    /// @param salt The extra data to make positions unique\n    event ModifyLiquidity(\n        PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta, bytes32 salt\n    );\n\n    /// @notice Emitted for swaps between currency0 and currency1\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param amount0 The delta of the currency0 balance of the pool\n    /// @param amount1 The delta of the currency1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of the price of the pool after the swap\n    /// @param fee The swap fee in hundredths of a bip\n    event Swap(\n        PoolId indexed id,\n        address indexed sender,\n        int128 amount0,\n        int128 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick,\n        uint24 fee\n    );\n\n    /// @notice Emitted for donations\n    /// @param id The abi encoded hash of the pool key struct for the pool that was donated to\n    /// @param sender The address that initiated the donate call\n    /// @param amount0 The amount donated in currency0\n    /// @param amount1 The amount donated in currency1\n    event Donate(PoolId indexed id, address indexed sender, uint256 amount0, uint256 amount1);\n\n    /// @notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n    /// `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n    /// @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n    /// @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n    /// @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\n    function unlock(bytes calldata data) external returns (bytes memory);\n\n    /// @notice Initialize the state for a given pool ID\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The pool key for the pool to initialize\n    /// @param sqrtPriceX96 The initial square root price\n    /// @return tick The initial tick of the pool\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external returns (int24 tick);\n\n    /// @notice Modify the liquidity for the given pool\n    /// @dev Poke by calling with a zero liquidityDelta\n    /// @param key The pool to modify liquidity in\n    /// @param params The parameters for modifying the liquidity\n    /// @param hookData The data to pass through to the add/removeLiquidity hooks\n    /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n    /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious actor and integrators should be careful using the value\n    /// For pools with a single liquidity position, actors can donate to themselves to inflate feeGrowthGlobal (and consequently feesAccrued)\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);\n\n    /// @notice Swap against the given pool\n    /// @param key The pool to swap in\n    /// @param params The parameters for swapping\n    /// @param hookData The data to pass through to the swap hooks\n    /// @return swapDelta The balance delta of the address swapping\n    /// @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n    /// Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n    /// the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\n    function swap(PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta swapDelta);\n\n    /// @notice Donate the given currency amounts to the in-range liquidity providers of a pool\n    /// @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n    /// Donors should keep this in mind when designing donation mechanisms.\n    /// @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n    /// a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n    /// `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n    /// Read the comments in `Pool.swap()` for more information about this.\n    /// @param key The key of the pool to donate to\n    /// @param amount0 The amount of currency0 to donate\n    /// @param amount1 The amount of currency1 to donate\n    /// @param hookData The data to pass through to the donate hooks\n    /// @return BalanceDelta The delta of the caller after the donate\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        returns (BalanceDelta);\n\n    /// @notice Writes the current ERC20 balance of the specified currency to transient storage\n    /// This is used to checkpoint balances for the manager and derive deltas for the caller.\n    /// @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n    /// for native tokens because the amount to settle is determined by the sent value.\n    /// However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n    /// native funds, this function can be called with the native currency to then be able to settle the native currency\n    function sync(Currency currency) external;\n\n    /// @notice Called by the user to net out some value owed to the user\n    /// @dev Will revert if the requested amount is not available, consider using `mint` instead\n    /// @dev Can also be used as a mechanism for free flash loans\n    /// @param currency The currency to withdraw from the pool manager\n    /// @param to The address to withdraw to\n    /// @param amount The amount of currency to withdraw\n    function take(Currency currency, address to, uint256 amount) external;\n\n    /// @notice Called by the user to pay what is owed\n    /// @return paid The amount of currency settled\n    function settle() external payable returns (uint256 paid);\n\n    /// @notice Called by the user to pay on behalf of another address\n    /// @param recipient The address to credit for the payment\n    /// @return paid The amount of currency settled\n    function settleFor(address recipient) external payable returns (uint256 paid);\n\n    /// @notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n    /// A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n    /// @dev This could be used to clear a balance that is considered dust.\n    /// Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\n    function clear(Currency currency, uint256 amount) external;\n\n    /// @notice Called by the user to move value into ERC6909 balance\n    /// @param to The address to mint the tokens to\n    /// @param id The currency address to mint to ERC6909s, as a uint256\n    /// @param amount The amount of currency to mint\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function mint(address to, uint256 id, uint256 amount) external;\n\n    /// @notice Called by the user to move value from ERC6909 balance\n    /// @param from The address to burn the tokens from\n    /// @param id The currency address to burn from ERC6909s, as a uint256\n    /// @param amount The amount of currency to burn\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function burn(address from, uint256 id, uint256 amount) external;\n\n    /// @notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The key of the pool to update dynamic LP fees for\n    /// @param newDynamicLPFee The new dynamic pool LP fee\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint128\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\nlibrary FixedPoint128 {\n    uint256 internal constant Q128 = 0x100000000000000000000000000000000;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math library for liquidity\nlibrary LiquidityMath {\n    /// @notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n    /// @param x The liquidity before change\n    /// @param y The delta by which liquidity should be changed\n    /// @return z The liquidity delta\n    function addDelta(uint128 x, int128 y) internal pure returns (uint128 z) {\n        assembly (\"memory-safe\") {\n            z := add(and(x, 0xffffffffffffffffffffffffffffffff), signextend(15, y))\n            if shr(128, z) {\n                // revert SafeCastOverflow()\n                mstore(0, 0x93dafdf1)\n                revert(0x1c, 0x04)\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\n\n/// @notice Interface for all protocol-fee related functions in the pool manager\ninterface IProtocolFees {\n    /// @notice Thrown when protocol fee is set too high\n    error ProtocolFeeTooLarge(uint24 fee);\n\n    /// @notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\n    error InvalidCaller();\n\n    /// @notice Thrown when collectProtocolFees is attempted on a token that is synced.\n    error ProtocolFeeCurrencySynced();\n\n    /// @notice Emitted when the protocol fee controller address is updated in setProtocolFeeController.\n    event ProtocolFeeControllerUpdated(address indexed protocolFeeController);\n\n    /// @notice Emitted when the protocol fee is updated for a pool.\n    event ProtocolFeeUpdated(PoolId indexed id, uint24 protocolFee);\n\n    /// @notice Given a currency address, returns the protocol fees accrued in that currency\n    /// @param currency The currency to check\n    /// @return amount The amount of protocol fees accrued in the currency\n    function protocolFeesAccrued(Currency currency) external view returns (uint256 amount);\n\n    /// @notice Sets the protocol fee for the given pool\n    /// @param key The key of the pool to set a protocol fee for\n    /// @param newProtocolFee The fee to set\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external;\n\n    /// @notice Sets the protocol fee controller\n    /// @param controller The new protocol fee controller\n    function setProtocolFeeController(address controller) external;\n\n    /// @notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n    /// @dev This will revert if the contract is unlocked\n    /// @param recipient The address to receive the protocol fees\n    /// @param currency The currency to withdraw\n    /// @param amount The amount of currency to withdraw\n    /// @return amountCollected The amount of currency successfully withdrawn\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected);\n\n    /// @notice Returns the current protocol fee controller address\n    /// @return address The current protocol fee controller address\n    function protocolFeeController() external view returns (address);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ISubscriber} from \"./ISubscriber.sol\";\n\n/// @title INotifier\n/// @notice Interface for the Notifier contract\ninterface INotifier {\n    /// @notice Thrown when unsubscribing without a subscriber\n    error NotSubscribed();\n    /// @notice Thrown when a subscriber does not have code\n    error NoCodeSubscriber();\n    /// @notice Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\n    error GasLimitTooLow();\n    /// @notice Wraps the revert message of the subscriber contract on a reverting subscription\n    error SubscriptionReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\n    error ModifyLiquidityNotificationReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting burn notification\n    error BurnNotificationReverted(address subscriber, bytes reason);\n    /// @notice Thrown when a tokenId already has a subscriber\n    error AlreadySubscribed(uint256 tokenId, address subscriber);\n\n    /// @notice Emitted on a successful call to subscribe\n    event Subscription(uint256 indexed tokenId, address indexed subscriber);\n    /// @notice Emitted on a successful call to unsubscribe\n    event Unsubscription(uint256 indexed tokenId, address indexed subscriber);\n\n    /// @notice Returns the subscriber for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @return subscriber the subscriber contract\n    function subscriber(uint256 tokenId) external view returns (ISubscriber subscriber);\n\n    /// @notice Enables the subscriber to receive notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @param newSubscriber the address of the subscriber contract\n    /// @param data caller-provided data that's forwarded to the subscriber contract\n    /// @dev Calling subscribe when a position is already subscribed will revert\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev will revert if pool manager is locked\n    function subscribe(uint256 tokenId, address newSubscriber, bytes calldata data) external payable;\n\n    /// @notice Removes the subscriber from receiving notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @dev Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notified\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev Must always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.\n    /// @dev will revert if pool manager is locked\n    function unsubscribe(uint256 tokenId) external payable;\n\n    /// @notice Returns and determines the maximum allowable gas-used for notifying unsubscribe\n    /// @return uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\n    function unsubscribeGasLimit() external view returns (uint256);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\nlibrary CurrencyReserves {\n    using CustomRevert for bytes4;\n\n    /// bytes32(uint256(keccak256(\"ReservesOf\")) - 1)\n    bytes32 constant RESERVES_OF_SLOT = 0x1e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd95;\n    /// bytes32(uint256(keccak256(\"Currency\")) - 1)\n    bytes32 constant CURRENCY_SLOT = 0x27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b9;\n\n    function getSyncedCurrency() internal view returns (Currency currency) {\n        assembly (\"memory-safe\") {\n            currency := tload(CURRENCY_SLOT)\n        }\n    }\n\n    function resetCurrency() internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, 0)\n        }\n    }\n\n    function syncCurrencyAndReserves(Currency currency, uint256 value) internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            tstore(RESERVES_OF_SLOT, value)\n        }\n    }\n\n    function getSyncedReserves() internal view returns (uint256 value) {\n        assembly (\"memory-safe\") {\n            value := tload(RESERVES_OF_SLOT)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IEIP712_v4\n/// @notice Interface for the EIP712 contract\ninterface IEIP712_v4 {\n    /// @notice Returns the domain separator for the current chain.\n    /// @return bytes32 The domain separator\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IMsgSender\n/// @notice Interface for contracts that expose the original caller\ninterface IMsgSender {\n    /// @notice Returns the address of the original caller (msg.sender)\n    /// @dev Uniswap v4 periphery contracts implement a callback pattern which lose\n    /// the original msg.sender caller context. This view function provides a way for\n    /// integrating contracts (e.g. hooks) to access the original caller address.\n    /// @return The address of the original caller\n    function msgSender() external view returns (address);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// for the nonzero delta count.\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary NonzeroDeltaCount {\n    // The slot holding the number of nonzero deltas. bytes32(uint256(keccak256(\"NonzeroDeltaCount\")) - 1)\n    bytes32 internal constant NONZERO_DELTA_COUNT_SLOT =\n        0x7d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0b;\n\n    function read() internal view returns (uint256 count) {\n        assembly (\"memory-safe\") {\n            count := tload(NONZERO_DELTA_COUNT_SLOT)\n        }\n    }\n\n    function increment() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := add(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n\n    /// @notice Potential to underflow. Ensure checks are performed by integrating contracts to ensure this does not happen.\n    /// Current usage ensures this will not happen because we call decrement with known boundaries (only up to the number of times we call increment).\n    function decrement() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := sub(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\n/// @title ISubscriber\n/// @notice Interface that a Subscriber contract should implement to receive updates from the v4 position manager\ninterface ISubscriber {\n    /// @notice Called when a position subscribes to this subscriber contract\n    /// @param tokenId the token ID of the position\n    /// @param data additional data passed in by the caller\n    function notifySubscribe(uint256 tokenId, bytes memory data) external;\n\n    /// @notice Called when a position unsubscribes from the subscriber\n    /// @dev This call's gas is capped at `unsubscribeGasLimit` (set at deployment)\n    /// @dev Because of EIP-150, solidity may only allocate 63/64 of gasleft()\n    /// @param tokenId the token ID of the position\n    function notifyUnsubscribe(uint256 tokenId) external;\n\n    /// @notice Called when a position is burned\n    /// @param tokenId the token ID of the position\n    /// @param owner the current owner of the tokenId\n    /// @param info information about the position\n    /// @param liquidity the amount of liquidity decreased in the position, may be 0\n    /// @param feesAccrued the fees accrued by the position if liquidity was decreased\n    function notifyBurn(uint256 tokenId, address owner, PositionInfo info, uint256 liquidity, BalanceDelta feesAccrued)\n        external;\n\n    /// @notice Called when a position modifies its liquidity or collects fees\n    /// @param tokenId the token ID of the position\n    /// @param liquidityChange the change in liquidity on the underlying position\n    /// @param feesAccrued the fees to be collected from the position as a result of the modifyLiquidity call\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious user\n    /// Pools with a single liquidity position can inflate feeGrowthGlobal (and consequently feesAccrued) by donating to themselves;\n    /// atomically donating and collecting fees within the same unlockCallback may further inflate feeGrowthGlobal/feesAccrued\n    function notifyModifyLiquidity(uint256 tokenId, int256 liquidityChange, BalanceDelta feesAccrued) external;\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice library of functions related to protocol fees\nlibrary ProtocolFeeLibrary {\n    /// @notice Max protocol fee is 0.1% (1000 pips)\n    /// @dev Increasing these values could lead to overflow in Pool.swap\n    uint16 public constant MAX_PROTOCOL_FEE = 1000;\n\n    /// @notice Thresholds used for optimized bounds checks on protocol fees\n    uint24 internal constant FEE_0_THRESHOLD = 1001;\n    uint24 internal constant FEE_1_THRESHOLD = 1001 << 12;\n\n    /// @notice the protocol fee is represented in hundredths of a bip\n    uint256 internal constant PIPS_DENOMINATOR = 1_000_000;\n\n    function getZeroForOneFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self & 0xfff);\n    }\n\n    function getOneForZeroFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self >> 12);\n    }\n\n    function isValidProtocolFee(uint24 self) internal pure returns (bool valid) {\n        // Equivalent to: getZeroForOneFee(self) <= MAX_PROTOCOL_FEE && getOneForZeroFee(self) <= MAX_PROTOCOL_FEE\n        assembly (\"memory-safe\") {\n            let isZeroForOneFeeOk := lt(and(self, 0xfff), FEE_0_THRESHOLD)\n            let isOneForZeroFeeOk := lt(and(self, 0xfff000), FEE_1_THRESHOLD)\n            valid := and(isZeroForOneFeeOk, isOneForZeroFeeOk)\n        }\n    }\n\n    // The protocol fee is taken from the input amount first and then the LP fee is taken from the remaining\n    // The swap fee is capped at 100%\n    // Equivalent to protocolFee + lpFee(1_000_000 - protocolFee) / 1_000_000 (rounded up)\n    /// @dev here `self` is just a single direction's protocol fee, not a packed type of 2 protocol fees\n    function calculateSwapFee(uint16 self, uint24 lpFee) internal pure returns (uint24 swapFee) {\n        // protocolFee + lpFee - (protocolFee * lpFee / 1_000_000)\n        assembly (\"memory-safe\") {\n            self := and(self, 0xfff)\n            lpFee := and(lpFee, 0xffffff)\n            let numerator := mul(self, lpFee)\n            swapFee := sub(add(self, lpFee), div(numerator, PIPS_DENOMINATOR))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IMulticall_v4\n/// @notice Interface for the Multicall_v4 contract\ninterface IMulticall_v4 {\n    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed\n    /// @dev The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether.\n    /// Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\n    /// @param data The encoded function data for each of the calls to make to this contract\n    /// @return results The results from each of the calls passed in via data\n    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Currency} from \"../types/Currency.sol\";\nimport {CurrencyReserves} from \"./CurrencyReserves.sol\";\nimport {NonzeroDeltaCount} from \"./NonzeroDeltaCount.sol\";\nimport {Lock} from \"./Lock.sol\";\n\n/// @notice A helper library to provide state getters that use exttload\nlibrary TransientStateLibrary {\n    /// @notice returns the reserves for the synced currency\n    /// @param manager The pool manager contract.\n\n    /// @return uint256 The reserves of the currency.\n    /// @dev returns 0 if the reserves are not synced or value is 0.\n    /// Checks the synced currency to only return valid reserve values (after a sync and before a settle).\n    function getSyncedReserves(IPoolManager manager) internal view returns (uint256) {\n        if (getSyncedCurrency(manager).isAddressZero()) return 0;\n        return uint256(manager.exttload(CurrencyReserves.RESERVES_OF_SLOT));\n    }\n\n    function getSyncedCurrency(IPoolManager manager) internal view returns (Currency) {\n        return Currency.wrap(address(uint160(uint256(manager.exttload(CurrencyReserves.CURRENCY_SLOT)))));\n    }\n\n    /// @notice Returns the number of nonzero deltas open on the PoolManager that must be zeroed out before the contract is locked\n    function getNonzeroDeltaCount(IPoolManager manager) internal view returns (uint256) {\n        return uint256(manager.exttload(NonzeroDeltaCount.NONZERO_DELTA_COUNT_SLOT));\n    }\n\n    /// @notice Get the current delta for a caller in the given currency\n    /// @param target The credited account address\n    /// @param currency The currency for which to lookup the delta\n    function currencyDelta(IPoolManager manager, address target, Currency currency) internal view returns (int256) {\n        bytes32 key;\n        assembly (\"memory-safe\") {\n            mstore(0, and(target, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(32, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            key := keccak256(0, 64)\n        }\n        return int256(uint256(manager.exttload(key)));\n    }\n\n    /// @notice Returns whether the contract is unlocked or not\n    function isUnlocked(IPoolManager manager) internal view returns (bool) {\n        return manager.exttload(Lock.IS_UNLOCKED_SLOT) != 0x0;\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\n\n/// @title IImmutableState\n/// @notice Interface for the ImmutableState contract\ninterface IImmutableState {\n    /// @notice The Uniswap v4 PoolManager contract\n    function poolManager() external view returns (IPoolManager);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IUnorderedNonce\n/// @notice Interface for the UnorderedNonce contract\ninterface IUnorderedNonce {\n    error NonceAlreadyUsed();\n\n    /// @notice mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\n    /// @dev word is at most type(uint248).max\n    function nonces(address owner, uint256 word) external view returns (uint256);\n\n    /// @notice Revoke a nonce by spending it, preventing it from being used again\n    /// @dev Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the nonce\n    /// @dev payable so it can be multicalled with native-token related actions\n    function revokeNonce(uint256 nonce) external payable;\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IERC721Permit_v4\n/// @notice Interface for the ERC721Permit_v4 contract\ninterface IERC721Permit_v4 {\n    error SignatureDeadlineExpired();\n    error NoSelfPermit();\n    error Unauthorized();\n\n    /// @notice Approve of a specific token ID for spending by spender via signature\n    /// @param spender The account that is being approved\n    /// @param tokenId The ID of the token that is being approved for spending\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permit(address spender, uint256 tokenId, uint256 deadline, uint256 nonce, bytes calldata signature)\n        external\n        payable;\n\n    /// @notice Set an operator with full permission to an owner's tokens via signature\n    /// @param owner The address that is setting the operator\n    /// @param operator The address that will be set as an operator for the owner\n    /// @param approved The permission to set on the operator\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permitForAll(\n        address owner,\n        address operator,\n        bool approved,\n        uint256 deadline,\n        uint256 nonce,\n        bytes calldata signature\n    ) external payable;\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\nimport {INotifier} from \"./INotifier.sol\";\nimport {IImmutableState} from \"./IImmutableState.sol\";\nimport {IERC721Permit_v4} from \"./IERC721Permit_v4.sol\";\nimport {IEIP712_v4} from \"./IEIP712_v4.sol\";\nimport {IMulticall_v4} from \"./IMulticall_v4.sol\";\nimport {IPoolInitializer_v4} from \"./IPoolInitializer_v4.sol\";\nimport {IUnorderedNonce} from \"./IUnorderedNonce.sol\";\nimport {IPermit2Forwarder} from \"./IPermit2Forwarder.sol\";\n\n/// @title IPositionManager\n/// @notice Interface for the PositionManager contract\ninterface IPositionManager is\n    INotifier,\n    IImmutableState,\n    IERC721Permit_v4,\n    IEIP712_v4,\n    IMulticall_v4,\n    IPoolInitializer_v4,\n    IUnorderedNonce,\n    IPermit2Forwarder\n{\n    /// @notice Thrown when the caller is not approved to modify a position\n    error NotApproved(address caller);\n    /// @notice Thrown when the block.timestamp exceeds the user-provided deadline\n    error DeadlinePassed(uint256 deadline);\n    /// @notice Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\n    /// @dev This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\n    error PoolManagerMustBeLocked();\n\n    /// @notice Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\n    /// @dev This is the standard entrypoint for the PositionManager\n    /// @param unlockData is an encoding of actions, and parameters for those actions\n    /// @param deadline is the deadline for the batched actions to be executed\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n\n    /// @notice Batches actions for modifying liquidity without unlocking v4 PoolManager\n    /// @dev This must be called by a contract that has already unlocked the v4 PoolManager\n    /// @param actions the actions to perform\n    /// @param params the parameters to provide for the actions\n    function modifyLiquiditiesWithoutUnlock(bytes calldata actions, bytes[] calldata params) external payable;\n\n    /// @notice Used to get the ID that will be used for the next minted liquidity position\n    /// @return uint256 The next token ID\n    function nextTokenId() external view returns (uint256);\n\n    /// @notice Returns the liquidity of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return liquidity the position's liquidity, as a liquidityAmount\n    /// @dev this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128 liquidity);\n\n    /// @notice Returns the pool key and position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return poolKey the pool key of the position\n    /// @return PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory, PositionInfo);\n\n    /// @notice Returns the position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function positionInfo(uint256 tokenId) external view returns (PositionInfo);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Minimal ERC20 interface for Uniswap\n/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3\ninterface IERC20Minimal {\n    /// @notice Returns an account's balance in the token\n    /// @param account The account for which to look up the number of tokens it has, i.e. its balance\n    /// @return The number of tokens held by the account\n    function balanceOf(address account) external view returns (uint256);\n\n    /// @notice Transfers the amount of token from the `msg.sender` to the recipient\n    /// @param recipient The account that will receive the amount transferred\n    /// @param amount The number of tokens to send from the sender to the recipient\n    /// @return Returns true for a successful transfer, false for an unsuccessful transfer\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Returns the current allowance given to a spender by an owner\n    /// @param owner The account of the token owner\n    /// @param spender The account of the token spender\n    /// @return The current allowance granted by `owner` to `spender`\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n    /// @param spender The account which will be allowed to spend a given amount of the owners tokens\n    /// @param amount The amount of tokens allowed to be used by `spender`\n    /// @return Returns true for a successful approval, false for unsuccessful\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n    /// @param sender The account from which the transfer will be initiated\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount of the transfer\n    /// @return Returns true for a successful transfer, false for unsuccessful\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n    /// @param from The account from which the tokens were sent, i.e. the balance decreased\n    /// @param to The account to which the tokens were sent, i.e. the balance increased\n    /// @param value The amount of tokens that were transferred\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n    /// @param owner The account that approved spending of its tokens\n    /// @param spender The account for which the spending allowance was modified\n    /// @param value The new allowance from the owner to the spender\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\n\n/// @title IPermit2Forwarder\n/// @notice Interface for the Permit2Forwarder contract\ninterface IPermit2Forwarder {\n    /// @notice allows forwarding a single permit to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param permitSingle the permit data\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permit(address owner, IAllowanceTransfer.PermitSingle calldata permitSingle, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n\n    /// @notice allows forwarding batch permits to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param _permitBatch a batch of approvals\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permitBatch(address owner, IAllowanceTransfer.PermitBatch calldata _permitBatch, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n}\n"},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for claims over a contract balance, wrapped as a ERC6909\ninterface IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OperatorSet(address indexed owner, address indexed operator, bool approved);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    event Transfer(address caller, address indexed from, address indexed to, uint256 indexed id, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                                 FUNCTIONS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Owner balance of an id.\n    /// @param owner The address of the owner.\n    /// @param id The id of the token.\n    /// @return amount The balance of the token.\n    function balanceOf(address owner, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Spender allowance of an id.\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @return amount The allowance of the token.\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Checks if a spender is approved by an owner as an operator\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @return approved The approval status.\n    function isOperator(address owner, address spender) external view returns (bool approved);\n\n    /// @notice Transfers an amount of an id from the caller to a receiver.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Transfers an amount of an id from a sender to a receiver.\n    /// @param sender The address of the sender.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Approves an amount of an id to a spender.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Sets or removes an operator for the caller.\n    /// @param operator The address of the operator.\n    /// @param approved The approval status.\n    /// @return bool True, always\n    function setOperator(address operator, bool approved) external returns (bool);\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PoolId} from \"@uniswap/v4-core/src/types/PoolId.sol\";\n\n/**\n * @dev PositionInfo is a packed version of solidity structure.\n * Using the packaged version saves gas and memory by not storing the structure fields in memory slots.\n *\n * Layout:\n * 200 bits poolId | 24 bits tickUpper | 24 bits tickLower | 8 bits hasSubscriber\n *\n * Fields in the direction from the least significant bit:\n *\n * A flag to know if the tokenId is subscribed to an address\n * uint8 hasSubscriber;\n *\n * The tickUpper of the position\n * int24 tickUpper;\n *\n * The tickLower of the position\n * int24 tickLower;\n *\n * The truncated poolId. Truncates a bytes32 value so the most signifcant (highest) 200 bits are used.\n * bytes25 poolId;\n *\n * Note: If more bits are needed, hasSubscriber can be a single bit.\n *\n */\ntype PositionInfo is uint256;\n\nusing PositionInfoLibrary for PositionInfo global;\n\nlibrary PositionInfoLibrary {\n    PositionInfo internal constant EMPTY_POSITION_INFO = PositionInfo.wrap(0);\n\n    uint256 internal constant MASK_UPPER_200_BITS = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000;\n    uint256 internal constant MASK_8_BITS = 0xFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n    uint256 internal constant SET_UNSUBSCRIBE = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00;\n    uint256 internal constant SET_SUBSCRIBE = 0x01;\n    uint8 internal constant TICK_LOWER_OFFSET = 8;\n    uint8 internal constant TICK_UPPER_OFFSET = 32;\n\n    /// @dev This poolId is NOT compatible with the poolId used in UniswapV4 core. It is truncated to 25 bytes, and just used to lookup PoolKey in the poolKeys mapping.\n    function poolId(PositionInfo info) internal pure returns (bytes25 _poolId) {\n        assembly (\"memory-safe\") {\n            _poolId := and(MASK_UPPER_200_BITS, info)\n        }\n    }\n\n    function tickLower(PositionInfo info) internal pure returns (int24 _tickLower) {\n        assembly (\"memory-safe\") {\n            _tickLower := signextend(2, shr(TICK_LOWER_OFFSET, info))\n        }\n    }\n\n    function tickUpper(PositionInfo info) internal pure returns (int24 _tickUpper) {\n        assembly (\"memory-safe\") {\n            _tickUpper := signextend(2, shr(TICK_UPPER_OFFSET, info))\n        }\n    }\n\n    function hasSubscriber(PositionInfo info) internal pure returns (bool _hasSubscriber) {\n        assembly (\"memory-safe\") {\n            _hasSubscriber := and(MASK_8_BITS, info)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setSubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := or(info, SET_SUBSCRIBE)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setUnsubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := and(info, SET_UNSUBSCRIBE)\n        }\n    }\n\n    /// @notice Creates the default PositionInfo struct\n    /// @dev Called when minting a new position\n    /// @param _poolKey the pool key of the position\n    /// @param _tickLower the lower tick of the position\n    /// @param _tickUpper the upper tick of the position\n    /// @return info packed position info, with the truncated poolId and the hasSubscriber flag set to false\n    function initialize(PoolKey memory _poolKey, int24 _tickLower, int24 _tickUpper)\n        internal\n        pure\n        returns (PositionInfo info)\n    {\n        bytes25 _poolId = bytes25(PoolId.unwrap(_poolKey.toId()));\n        assembly {\n            info :=\n                or(\n                    or(and(MASK_UPPER_200_BITS, _poolId), shl(TICK_UPPER_OFFSET, and(MASK_24_BITS, _tickUpper))),\n                    shl(TICK_LOWER_OFFSET, and(MASK_24_BITS, _tickLower))\n                )\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title IPoolInitializer_v4\n/// @notice Interface for the PoolInitializer_v4 contract\ninterface IPoolInitializer_v4 {\n    /// @notice Initialize a Uniswap v4 Pool\n    /// @dev If the pool is already initialized, this function will not revert and just return type(int24).max\n    /// @param key The PoolKey of the pool to initialize\n    /// @param sqrtPriceX96 The initial starting price of the pool, expressed as a sqrtPriceX96\n    /// @return The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\n    function initializePool(PoolKey calldata key, uint160 sqrtPriceX96) external payable returns (int24);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC20} from \"../ERC20.sol\";\nimport {Context} from \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys a `value` amount of tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 value) public virtual {\n        _burn(_msgSender(), value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, deducting from\n     * the caller's allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `value`.\n     */\n    function burnFrom(address account, uint256 value) public virtual {\n        _spendAllowance(account, _msgSender(), value);\n        _burn(account, value);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["forge-std/=node_modules/forge-std/src/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@uniswap/v4-core/=node_modules/@uniswap/v4-core/","@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/","permit2/=node_modules/permit2/"]}},"stdJsonOutput":{"sources":{"contracts/ClankFeeEscrow.sol":{"id":1},"contracts/ClankBondingCurve.sol":{"id":0},"contracts/ClankLaunchLocker.sol":{"id":7},"contracts/ClankLaunchFactory.sol":{"id":6},"contracts/ClankLauncherToken.sol":{"id":8},"contracts/ClankLaunchDeployer.sol":{"id":5},"contracts/ClankGraduationGuard.sol":{"id":3},"contracts/ClankGraduationExecutor.sol":{"id":2},"contracts/libraries/ClankCurveMath.sol":{"id":9},"contracts/ClankInitializationGuardHook.sol":{"id":4},"contracts/libraries/ClankMigrationMath.sol":{"id":10},"node_modules/permit2/src/interfaces/IEIP712.sol":{"id":85},"node_modules/@uniswap/v4-core/src/types/Slot0.sol":{"id":69},"node_modules/@uniswap/v4-core/src/types/PoolId.sol":{"id":66},"node_modules/@uniswap/v4-core/src/types/PoolKey.sol":{"id":67},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":27},"node_modules/@uniswap/v4-core/src/libraries/Lock.sol":{"id":49},"node_modules/@uniswap/v4-core/src/libraries/Pool.sol":{"id":52},"node_modules/@uniswap/v4-core/src/types/Currency.sol":{"id":65},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":25},"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol":{"id":46},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":23},"node_modules/@openzeppelin/contracts/utils/Create2.sol":{"id":24},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":11},"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol":{"id":35},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"id":40},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":31},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"id":45},"node_modules/@uniswap/v4-core/src/libraries/Position.sol":{"id":53},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"id":55},"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol":{"id":58},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"id":60},"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol":{"id":63},"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol":{"id":68},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":15},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"id":17},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":29},"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol":{"id":33},"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol":{"id":34},"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol":{"id":51},"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol":{"id":59},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"id":62},"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol":{"id":84},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":14},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":18},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":26},"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"id":64},"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol":{"id":12},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":13},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":32},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"id":42},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"id":44},"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"id":47},"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol":{"id":57},"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol":{"id":81},"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"id":36},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"id":43},"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"id":48},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"id":56},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":28},"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"id":37},"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"id":75},"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"id":41},"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"id":70},"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol":{"id":73},"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"id":50},"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"id":79},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":16},"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"id":54},"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"id":74},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":21},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":30},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":22},"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"id":61},"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"id":72},"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"id":80},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"id":82},"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"id":71},"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"id":78},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":38},"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"id":76},"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":39},"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"id":83},"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"id":77},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"id":19},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":20}},"contracts":{"contracts/ClankLaunchFactory.sol":{"ClankLaunchFactory":{"abi":[{"type":"constructor","inputs":[{"name":"config","type":"tuple","components":[{"name":"initialOwner","type":"address","internalType":"address"},{"name":"poolManager","type":"address","internalType":"address"},{"name":"positionManager","type":"address","internalType":"address"},{"name":"permit2","type":"address","internalType":"address"},{"name":"initializationHook","type":"address","internalType":"address"}],"internalType":"struct ClankLaunchFactory.DeploymentConfig"}],"stateMutability":"nonpayable"},{"name":"AddressMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"AlreadySet","type":"error","inputs":[]},{"name":"AlreadyUnlocked","type":"error","inputs":[]},{"name":"CurveFeeTooHigh","type":"error","inputs":[]},{"name":"ExemptionListTooLong","type":"error","inputs":[]},{"name":"FeeTransferFailed","type":"error","inputs":[]},{"name":"GraduationRescueTooEarly","type":"error","inputs":[{"name":"availableAt","type":"uint256","internalType":"uint256"}]},{"name":"InitializationHookFactoryMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InitializationHookOwnerMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InitializationHookPoolMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"InsufficientRescueGas","type":"error","inputs":[]},{"name":"InvalidBasisPoints","type":"error","inputs":[]},{"name":"InvalidEconomics","type":"error","inputs":[]},{"name":"InvalidInitializationHook","type":"error","inputs":[]},{"name":"InvalidLaunchConfigId","type":"error","inputs":[]},{"name":"InvalidMetadata","type":"error","inputs":[]},{"name":"InvalidPoolConfiguration","type":"error","inputs":[]},{"name":"InvalidSnipeTaxWindow","type":"error","inputs":[]},{"name":"InvalidState","type":"error","inputs":[{"name":"expected","type":"uint8","internalType":"enum ClankBondingCurve.State"},{"name":"actual","type":"uint8","internalType":"enum ClankBondingCurve.State"}]},{"name":"LaunchAlreadyExists","type":"error","inputs":[]},{"name":"LaunchConfigDisabled","type":"error","inputs":[]},{"name":"LaunchDeployerNotSet","type":"error","inputs":[]},{"name":"LaunchDeployerWiringMismatch","type":"error","inputs":[]},{"name":"LaunchEconomicsMismatch","type":"error","inputs":[{"name":"expected","type":"bytes32","internalType":"bytes32"},{"name":"actual","type":"bytes32","internalType":"bytes32"}]},{"name":"LaunchFeeNotPaid","type":"error","inputs":[]},{"name":"MigrationAmountTooSmall","type":"error","inputs":[]},{"name":"MissingCode","type":"error","inputs":[{"name":"dependency","type":"address","internalType":"address"}]},{"name":"NotLaunchForwarder","type":"error","inputs":[]},{"name":"NotWhitelisted","type":"error","inputs":[]},{"name":"NothingToGraduate","type":"error","inputs":[]},{"name":"OnlySelf","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"OwnershipCannotBeRenounced","type":"error","inputs":[]},{"name":"PairTokenAuthorityUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PairTokenDecimalsMismatch","type":"error","inputs":[{"name":"expected","type":"uint8","internalType":"uint8"},{"name":"actual","type":"uint8","internalType":"uint8"}]},{"name":"PairTokenDecimalsUnavailable","type":"error","inputs":[]},{"name":"PairTokenEconomicsInvalid","type":"error","inputs":[]},{"name":"PairTokenNotApproved","type":"error","inputs":[]},{"name":"PairTokenValidationFailed","type":"error","inputs":[]},{"name":"PositionManagerLocked","type":"error","inputs":[]},{"name":"PositionManagerPermit2Mismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"PositionManagerPoolMismatch","type":"error","inputs":[{"name":"expected","type":"address","internalType":"address"},{"name":"actual","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"TokenNotFound","type":"error","inputs":[]},{"name":"UnexpectedNativeSender","type":"error","inputs":[]},{"name":"UnsupportedBuyback","type":"error","inputs":[]},{"name":"UnsupportedCreatorTax","type":"error","inputs":[]},{"name":"ZeroAddress","type":"error","inputs":[]},{"name":"FeeDestinationUpdated","type":"event","inputs":[{"name":"previousDestination","type":"address","indexed":true,"internalType":"address"},{"name":"newDestination","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeesCollected","type":"event","inputs":[{"name":"asset","type":"address","indexed":true,"internalType":"address"},{"name":"destination","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchConfigAdded","type":"event","inputs":[{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchConfigEnabledUpdated","type":"event","inputs":[{"name":"launchConfigId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"LaunchConfigUpdated","type":"event","inputs":[{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchDeployerSet","type":"event","inputs":[{"name":"deployer","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"LaunchEnabledUpdated","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"LaunchForceSwept","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"LaunchForwarderSet","type":"event","inputs":[{"name":"forwarder","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"LaunchGraduationRescued","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"quoteAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LaunchSwept","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"quoteOut","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenOut","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"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},{"name":"PairTokenApprovalUpdated","type":"event","inputs":[{"name":"pairToken","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"PairTokenAuthorityUpdated","type":"event","inputs":[{"name":"previousAuthority","type":"address","indexed":true,"internalType":"address"},{"name":"newAuthority","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PairTokenEconomicsUpdated","type":"event","inputs":[{"name":"pairToken","type":"address","indexed":true,"internalType":"address"},{"name":"phantomQuote","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"PoolGraduated","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"positionId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"pairTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SnipeTaxSecondsUpdated","type":"event","inputs":[{"name":"secondsWindow","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SnipeTaxStartBpsUpdated","type":"event","inputs":[{"name":"bps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TokenLaunched","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"curve","type":"address","indexed":true,"internalType":"address"},{"name":"deployer","type":"address","indexed":true,"internalType":"address"},{"name":"pairToken","type":"address","indexed":false,"internalType":"address"},{"name":"launchConfigId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GRADUATION_RESCUE_DELAY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_CURVE_FEE_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"MAX_DESCRIPTION_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_LOGO_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_NAME_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SOCIAL_URI_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SYMBOL_LENGTH","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_V4_STATIC_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"MAX_V4_TICK_SPACING","type":"function","inputs":[],"outputs":[{"name":"","type":"int24","internalType":"int24"}],"stateMutability":"view"},{"name":"MIN_PAIR_TOKEN_DECIMALS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"RESCUE_MIGRATION_GAS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"addLaunchConfig","type":"function","inputs":[{"name":"config","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"outputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"approvedPairTokens","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"approved","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"attemptForceGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"attemptRescueMigration","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"canLaunch","type":"function","inputs":[{"name":"launcher","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"collectFees","type":"function","inputs":[{"name":"asset","type":"address","internalType":"address"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"createGraduatedPool","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"positionId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"feeDestination","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"feeEscrow","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankFeeEscrow"}],"stateMutability":"view"},{"name":"forceSweptGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getLaunch","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"creator","type":"address","internalType":"address"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"launchId","type":"bytes32","internalType":"bytes32"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"economics","type":"bytes32","internalType":"bytes32"},{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"supply","type":"uint128","internalType":"uint128"},{"name":"phantomQuote","type":"uint128","internalType":"uint128"},{"name":"graduationThreshold","type":"uint128","internalType":"uint128"},{"name":"curveFeeBps","type":"uint16","internalType":"uint16"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"sweptQuote","type":"uint128","internalType":"uint128"},{"name":"sweptTokens","type":"uint128","internalType":"uint128"},{"name":"sweptAt","type":"uint64","internalType":"uint64"},{"name":"targetLpTokens","type":"uint128","internalType":"uint128"},{"name":"seededQuote","type":"uint128","internalType":"uint128"},{"name":"seededToken","type":"uint128","internalType":"uint128"},{"name":"positionId","type":"uint256","internalType":"uint256"}],"internalType":"struct ClankLaunchFactory.Launch"}],"stateMutability":"view"},{"name":"getLaunchConfig","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"stateMutability":"view"},{"name":"getLaunchedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"launched","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"deployer","type":"address","internalType":"address"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"phase","type":"uint8","internalType":"uint8"},{"name":"sweptQuote","type":"uint256","internalType":"uint256"},{"name":"sweptTokens","type":"uint256","internalType":"uint256"},{"name":"sweptAt","type":"uint256","internalType":"uint256"},{"name":"exists","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchedToken"}],"stateMutability":"view"},{"name":"graduate","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"graduationExecutor","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankGraduationExecutor"}],"stateMutability":"view"},{"name":"graduationGuard","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankGraduationGuard"}],"stateMutability":"view"},{"name":"initializationHook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankInitializationGuardHook"}],"stateMutability":"view"},{"name":"launchConfigCount","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"launchDeployer","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankLaunchDeployer"}],"stateMutability":"view"},{"name":"launchEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"launchFee","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"launchForwarder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"launchToken","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"snipeTaxExemptions","type":"address[]","internalType":"address[]"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"launchToken","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"launchTokenFor","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"},{"name":"originalDeployer","type":"address","internalType":"address"},{"name":"snipeTaxExemptions","type":"address[]","internalType":"address[]"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"}],"stateMutability":"payable"},{"name":"locker","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ClankLaunchLocker"}],"stateMutability":"view"},{"name":"memeHook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairTokenAuthority","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairTokenEconomics","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"decimals","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"positionManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictLaunch","type":"function","inputs":[{"name":"creator","type":"address","internalType":"address"},{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"logo","type":"string","internalType":"string"},{"name":"description","type":"string","internalType":"string"},{"name":"socials","type":"tuple","components":[{"name":"twitter","type":"string","internalType":"string"},{"name":"telegram","type":"string","internalType":"string"},{"name":"discord","type":"string","internalType":"string"},{"name":"website","type":"string","internalType":"string"},{"name":"farcaster","type":"string","internalType":"string"}],"internalType":"struct ClankLaunchFactory.Socials"},{"name":"creatorFeeRecipient","type":"address","internalType":"address"},{"name":"creatorTaxBps","type":"uint16","internalType":"uint16"},{"name":"buybackEnabled","type":"bool","internalType":"bool"},{"name":"expectedEconomics","type":"bytes32","internalType":"bytes32"},{"name":"salt","type":"bytes32","internalType":"bytes32"}],"internalType":"struct ClankLaunchFactory.TokenParams"},{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"curve","type":"address","internalType":"address"},{"name":"launchId","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"previewLaunchEconomics","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"previewLaunchEconomics","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"pairToken","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"protocolFeeRecipient","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"pure"},{"name":"rescueSweptGraduation","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeDestination","type":"function","inputs":[{"name":"newDestination","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchConfigEnabled","type":"function","inputs":[{"name":"launchConfigId","type":"uint256","internalType":"uint256"},{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchDeployer","type":"function","inputs":[{"name":"deployer","type":"address","internalType":"contract ClankLaunchDeployer"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchEnabled","type":"function","inputs":[{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setLaunchForwarder","type":"function","inputs":[{"name":"forwarder","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenApproved","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenAuthority","type":"function","inputs":[{"name":"newAuthority","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPairTokenEconomics","type":"function","inputs":[{"name":"pairToken","type":"address","internalType":"address"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"expectedDecimals","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSnipeTaxSeconds","type":"function","inputs":[{"name":"secondsWindow","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSnipeTaxStartBps","type":"function","inputs":[{"name":"bps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"snipeTaxSeconds","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"snipeTaxStartBps","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tokenForCurve","type":"function","inputs":[{"name":"curve","type":"address","internalType":"address"}],"outputs":[{"name":"token","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateLaunchConfig","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"config","type":"tuple","components":[{"name":"supply","type":"uint256","internalType":"uint256"},{"name":"curveFeeBps","type":"uint256","internalType":"uint256"},{"name":"phantomQuote","type":"uint256","internalType":"uint256"},{"name":"graduationThreshold","type":"uint256","internalType":"uint256"},{"name":"poolFee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"enabled","type":"bool","internalType":"bool"}],"internalType":"struct ClankLaunchFactory.LaunchConfig"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"poolManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"positionManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"permit2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initializationHook\",\"type\":\"address\"}],\"internalType\":\"struct ClankLaunchFactory.DeploymentConfig\",\"name\":\"config\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"AddressMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyUnlocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurveFeeTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExemptionListTooLong\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeTransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"availableAt\",\"type\":\"uint256\"}],\"name\":\"GraduationRescueTooEarly\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"InitializationHookFactoryMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"InitializationHookOwnerMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"InitializationHookPoolMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientRescueGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBasisPoints\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEconomics\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitializationHook\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLaunchConfigId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMetadata\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolConfiguration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSnipeTaxWindow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enum ClankBondingCurve.State\",\"name\":\"expected\",\"type\":\"uint8\"},{\"internalType\":\"enum ClankBondingCurve.State\",\"name\":\"actual\",\"type\":\"uint8\"}],\"name\":\"InvalidState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LaunchAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LaunchConfigDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LaunchDeployerNotSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LaunchDeployerWiringMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"LaunchEconomicsMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LaunchFeeNotPaid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MigrationAmountTooSmall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dependency\",\"type\":\"address\"}],\"name\":\"MissingCode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotLaunchForwarder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotWhitelisted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NothingToGraduate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlySelf\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnershipCannotBeRenounced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PairTokenAuthorityUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"expected\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"actual\",\"type\":\"uint8\"}],\"name\":\"PairTokenDecimalsMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PairTokenDecimalsUnavailable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PairTokenEconomicsInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PairTokenNotApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PairTokenValidationFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PositionManagerLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"PositionManagerPermit2Mismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"PositionManagerPoolMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedNativeSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsupportedBuyback\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsupportedCreatorTax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousDestination\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDestination\",\"type\":\"address\"}],\"name\":\"FeeDestinationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesCollected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"LaunchConfigAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"LaunchConfigEnabledUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"LaunchConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"LaunchDeployerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"LaunchEnabledUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"LaunchForceSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"LaunchForwarderSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"quoteAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"LaunchGraduationRescued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"quoteOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenOut\",\"type\":\"uint256\"}],\"name\":\"LaunchSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"PairTokenApprovalUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousAuthority\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAuthority\",\"type\":\"address\"}],\"name\":\"PairTokenAuthorityUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"PairTokenEconomicsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pairTokenAmount\",\"type\":\"uint256\"}],\"name\":\"PoolGraduated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"secondsWindow\",\"type\":\"uint256\"}],\"name\":\"SnipeTaxSecondsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"SnipeTaxStartBpsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"}],\"name\":\"TokenLaunched\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GRADUATION_RESCUE_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_CURVE_FEE_BPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_DESCRIPTION_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_LOGO_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NAME_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_SOCIAL_URI_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_SYMBOL_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_V4_STATIC_FEE\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_V4_TICK_SPACING\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_PAIR_TOKEN_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RESCUE_MIGRATION_GAS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"curveFeeBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"poolFee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"internalType\":\"struct ClankLaunchFactory.LaunchConfig\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"addLaunchConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"}],\"name\":\"approvedPairTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"attemptForceGraduation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"attemptRescueMigration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"launcher\",\"type\":\"address\"}],\"name\":\"canLaunch\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"collectFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"createGraduatedPool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDestination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeEscrow\",\"outputs\":[{\"internalType\":\"contract ClankFeeEscrow\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"forceSweptGraduation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getLaunch\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"launchId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"economics\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"logo\",\"type\":\"string\"},{\"internalType\":\"uint128\",\"name\":\"supply\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"phantomQuote\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"graduationThreshold\",\"type\":\"uint128\"},{\"internalType\":\"uint16\",\"name\":\"curveFeeBps\",\"type\":\"uint16\"},{\"internalType\":\"uint24\",\"name\":\"poolFee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"sweptQuote\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"sweptTokens\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"sweptAt\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"targetLpTokens\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"seededQuote\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"seededToken\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"internalType\":\"struct ClankLaunchFactory.Launch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getLaunchConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"curveFeeBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"poolFee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"internalType\":\"struct ClankLaunchFactory.LaunchConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getLaunchedToken\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creatorFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"poolFee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"creatorTaxBps\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"buybackEnabled\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"phase\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"sweptQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sweptTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sweptAt\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"internalType\":\"struct ClankLaunchFactory.LaunchedToken\",\"name\":\"launched\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"graduate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"graduationExecutor\",\"outputs\":[{\"internalType\":\"contract ClankGraduationExecutor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"graduationGuard\",\"outputs\":[{\"internalType\":\"contract ClankGraduationGuard\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializationHook\",\"outputs\":[{\"internalType\":\"contract ClankInitializationGuardHook\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"launchConfigCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"launchDeployer\",\"outputs\":[{\"internalType\":\"contract ClankLaunchDeployer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"launchEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"launchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"launchForwarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"logo\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"twitter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"telegram\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"discord\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"website\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"farcaster\",\"type\":\"string\"}],\"internalType\":\"struct ClankLaunchFactory.Socials\",\"name\":\"socials\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"creatorFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"creatorTaxBps\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"buybackEnabled\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"expectedEconomics\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct ClankLaunchFactory.TokenParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"snipeTaxExemptions\",\"type\":\"address[]\"}],\"name\":\"launchToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"logo\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"twitter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"telegram\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"discord\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"website\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"farcaster\",\"type\":\"string\"}],\"internalType\":\"struct ClankLaunchFactory.Socials\",\"name\":\"socials\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"creatorFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"creatorTaxBps\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"buybackEnabled\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"expectedEconomics\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct ClankLaunchFactory.TokenParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"}],\"name\":\"launchToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"logo\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"twitter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"telegram\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"discord\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"website\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"farcaster\",\"type\":\"string\"}],\"internalType\":\"struct ClankLaunchFactory.Socials\",\"name\":\"socials\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"creatorFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"creatorTaxBps\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"buybackEnabled\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"expectedEconomics\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct ClankLaunchFactory.TokenParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originalDeployer\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"snipeTaxExemptions\",\"type\":\"address[]\"}],\"name\":\"launchTokenFor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"locker\",\"outputs\":[{\"internalType\":\"contract ClankLaunchLocker\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memeHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairTokenAuthority\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"}],\"name\":\"pairTokenEconomics\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"positionManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"logo\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"twitter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"telegram\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"discord\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"website\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"farcaster\",\"type\":\"string\"}],\"internalType\":\"struct ClankLaunchFactory.Socials\",\"name\":\"socials\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"creatorFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"creatorTaxBps\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"buybackEnabled\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"expectedEconomics\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct ClankLaunchFactory.TokenParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"}],\"name\":\"predictLaunch\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"launchId\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"}],\"name\":\"previewLaunchEconomics\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"}],\"name\":\"previewLaunchEconomics\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"rescueSweptGraduation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newDestination\",\"type\":\"address\"}],\"name\":\"setFeeDestination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"launchConfigId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setLaunchConfigEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ClankLaunchDeployer\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"setLaunchDeployer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setLaunchEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"setLaunchForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setPairTokenApproved\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAuthority\",\"type\":\"address\"}],\"name\":\"setPairTokenAuthority\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pairToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"expectedDecimals\",\"type\":\"uint8\"}],\"name\":\"setPairTokenEconomics\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"secondsWindow\",\"type\":\"uint256\"}],\"name\":\"setSnipeTaxSeconds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"setSnipeTaxStartBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snipeTaxSeconds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snipeTaxStartBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"curve\",\"type\":\"address\"}],\"name\":\"tokenForCurve\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"curveFeeBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"phantomQuote\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"graduationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"poolFee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"internalType\":\"struct ClankLaunchFactory.LaunchConfig\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"updateLaunchConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Existing curves retain their economic snapshot. The owner controls new-launch terms and availability, the current fee destination, and delayed recovery of failed swept launches. Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.\",\"errors\":{\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))\":{\"params\":{\"config\":\"Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters.\"},\"returns\":{\"id\":\"Identifier assigned to the new configuration.\"}},\"attemptForceGraduation(address)\":{\"details\":\"Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active.\"},\"attemptRescueMigration(address)\":{\"details\":\"External rollback boundary for rescue's try/catch. Only the guarded rescue may enter. The outer nonReentrant guard remains active throughout migration and reserve release.\"},\"canLaunch(address)\":{\"details\":\"The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist.\"},\"collectFees(address)\":{\"params\":{\"asset\":\"Native ETH when zero, otherwise the ERC-20 quote asset to collect.\"}},\"constructor\":{\"params\":{\"config\":\"Initial owner and validated V4 infrastructure addresses.\"}},\"forceSweptGraduation(address)\":{\"details\":\"The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure.\"},\"getLaunch(address)\":{\"details\":\"An unknown token returns an all-zero record; state-changing functions use _requireLaunch.\"},\"getLaunchConfig(uint256)\":{\"params\":{\"id\":\"Zero-based configuration identifier.\"}},\"graduate(address)\":{\"details\":\"Permissionless and retryable. Forced ETH is not swept. A revert restores both the curve state and this factory's scoped receive guard.\",\"params\":{\"token\":\"Launched token identifying the curve.\"}},\"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)\":{\"details\":\"Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics value waives the economics pin as in Pons.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)\":{\"details\":\"Applies launch metadata bounds and returns the committed launch identifier with both addresses.\"},\"previewLaunchEconomics(uint256)\":{\"details\":\"Creators include this digest in LaunchParams to prevent an admin configuration update from silently changing economics between address prediction and transaction execution.\"},\"rescueSweptGraduation(address,address)\":{\"details\":\"Ordinary migration remains permissionless and retryable without resetting sweptAt. Any failure within the fixed migration gas budget permits recovery, including out-of-gas.\",\"params\":{\"recipient\":\"Retained for ABI compatibility; must be nonzero. Recovery always pays owner().\"}},\"setLaunchDeployer(address)\":{\"details\":\"The helper must already identify this factory as its immutable caller.\"},\"setLaunchEnabled(bool)\":{\"details\":\"This gate does not stop trading or graduation for existing launches.\"},\"setPairTokenAuthority(address)\":{\"details\":\"Setting the authority to the zero address disables pair-token administration.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\"},\"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))\":{\"details\":\"Existing launch snapshots are not modified.\",\"params\":{\"config\":\"New validated configuration.\",\"id\":\"Configuration to replace.\"}}},\"stateVariables\":{\"RESCUE_GAS_RESERVE\":{\"details\":\"Covers call setup, error handling, and recovery after forwarding the full migration budget.\"},\"_expectedNativeSender\":{\"details\":\"Scoped sender permitted to deliver tracked native reserves during graduation.\"}},\"title\":\"Clank launch factory and graduation coordinator\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadyUnlocked()\":[{\"notice\":\"Thrown when unlock is called, but the contract is already unlocked\"}]},\"events\":{\"PoolGraduated(address,uint256,uint256,uint256)\":{\"notice\":\"Compact Pons-compatible graduation event.\"},\"TokenLaunched(address,address,address,address,uint256,uint256)\":{\"notice\":\"Pons-compatible launch event for generic launchpad indexers.\"}},\"kind\":\"user\",\"methods\":{\"RESCUE_MIGRATION_GAS()\":{\"notice\":\"Fixed execution budget for force-sweep graduation and rescue migration attempts.\"},\"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))\":{\"notice\":\"Adds a validated configuration for new launches.\"},\"approvedPairTokens(address)\":{\"notice\":\"ERC-20 quote assets available to new launches.\"},\"canLaunch(address)\":{\"notice\":\"Returns whether a creator may launch through the current public gate.\"},\"collectFees(address)\":{\"notice\":\"Permissionlessly forwards all accrued native or ERC-20 protocol credits.\"},\"createGraduatedPool(address)\":{\"notice\":\"Advances a Swept launch to PoolCreated and permanently locks V4 liquidity.\"},\"feeDestination()\":{\"notice\":\"Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees.\"},\"feeEscrow()\":{\"notice\":\"Shared pull-payment escrow for protocol credits.\"},\"forceSweptGraduation(address)\":{\"notice\":\"After seven days in Ready, retries graduation before sweeping without the seed preflight.\"},\"getLaunch(address)\":{\"notice\":\"Returns the stored launch record for a token.\"},\"getLaunchConfig(uint256)\":{\"notice\":\"Returns a launch configuration by identifier.\"},\"getLaunchedToken(address)\":{\"notice\":\"Returns a Pons-shaped record for launchpad indexers and bots.\"},\"graduate(address)\":{\"notice\":\"Advances a Ready launch to Swept by collecting its exact tracked reserves.\"},\"graduationExecutor()\":{\"notice\":\"Shared adapter that executes V4 graduation.\"},\"graduationGuard()\":{\"notice\":\"Stateless V4 seed preflight used before reserves leave a curve.\"},\"initializationHook()\":{\"notice\":\"No-fee V4 hook that restricts initialization to this factory.\"},\"launchConfigCount()\":{\"notice\":\"Returns the number of configured launch templates.\"},\"launchDeployer()\":{\"notice\":\"Dedicated CREATE2 deployer shared by all launches and wired once after deployment.\"},\"launchEnabled()\":{\"notice\":\"Global gate for creation of new launches.\"},\"launchFee()\":{\"notice\":\"Pons-compatible launch-fee getter that always returns zero.\"},\"launchForwarder()\":{\"notice\":\"Trusted router allowed to preserve the original deployer on forwarded launches.\"},\"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)\":{\"notice\":\"Pons-compatible native or approved ERC-20 quote launch entrypoint.\"},\"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address[])\":{\"notice\":\"Creates a launch with up to 32 additional snipe-tax-exempt recipients.\"},\"launchTokenFor((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address,address[])\":{\"notice\":\"Creates a launch for the trusted router's original caller.\"},\"locker()\":{\"notice\":\"Permanent liquidity-position sink shared by all launches.\"},\"memeHook()\":{\"notice\":\"Pons-compatible pool hook getter used by third-party graduation clients.\"},\"pairTokenAuthority()\":{\"notice\":\"Authority allowed to approve pair tokens and update their economics.\"},\"pairTokenEconomics(address)\":{\"notice\":\"Curve economics denominated in each ERC-20 quote asset's smallest unit.\"},\"permit2()\":{\"notice\":\"Permit2 instance used during V4 position creation.\"},\"poolManager()\":{\"notice\":\"Uniswap V4 PoolManager used by every launch from this factory.\"},\"positionManager()\":{\"notice\":\"Uniswap V4 PositionManager used by every launch from this factory.\"},\"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)\":{\"notice\":\"Predicts the exact Pons-compatible launch, including quote asset and full metadata.\"},\"previewLaunchEconomics(uint256)\":{\"notice\":\"Returns the current economic commitment hash for a launch configuration.\"},\"previewLaunchEconomics(uint256,address)\":{\"notice\":\"Pons-compatible economics preview for native or approved ERC-20 quote launches.\"},\"protocolFeeRecipient()\":{\"notice\":\"Legacy getter retained for integrations that used the previous immutable name.\"},\"renounceOwnership()\":{\"notice\":\"Disabled to preserve the owner-operated delayed recovery path.\"},\"rescueSweptGraduation(address,address)\":{\"notice\":\"Seven days after sweeping, retries migration before releasing failed reserves to the owner.\"},\"setFeeDestination(address)\":{\"notice\":\"Updates the sole recipient used by every protocol fee collection path.\"},\"setLaunchConfigEnabled(uint256,bool)\":{\"notice\":\"Enables or disables one configuration for new launches.\"},\"setLaunchDeployer(address)\":{\"notice\":\"Wires the Pons-style CREATE2 helper exactly once.\"},\"setLaunchEnabled(bool)\":{\"notice\":\"Enables or disables all new launch creation.\"},\"setLaunchForwarder(address)\":{\"notice\":\"Sets the trusted launch-and-buy router; the owner may rotate it.\"},\"setPairTokenApproved(address,bool)\":{\"notice\":\"Enables or disables an ERC-20 quote asset for new launches.\"},\"setPairTokenAuthority(address)\":{\"notice\":\"Changes the authority that manages ERC-20 pair assets and their economics.\"},\"setPairTokenEconomics(address,uint256,uint256,uint8)\":{\"notice\":\"Sets quote-denominated economics before an ERC-20 pair can be approved.\"},\"setSnipeTaxSeconds(uint256)\":{\"notice\":\"Sets the anti-snipe decay window snapshotted by each new launch.\"},\"setSnipeTaxStartBps(uint256)\":{\"notice\":\"Sets the peak total buy fee snapshotted by each new launch.\"},\"snipeTaxSeconds()\":{\"notice\":\"Anti-snipe decay window snapshotted by new launches.\"},\"snipeTaxStartBps()\":{\"notice\":\"Peak total buy fee snapshotted by new launches; zero disables snipe tax.\"},\"tokenForCurve(address)\":{\"notice\":\"Token deployed for each curve address.\"},\"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))\":{\"notice\":\"Replaces a configuration used by new launches.\"}},\"notice\":\"Manages launch configuration, deploys predictable token/curve pairs with CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ClankLaunchFactory.sol\":\"ClankLaunchFactory\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@uniswap/v4-core/=node_modules/@uniswap/v4-core/\",\":@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/\",\":forge-std/=node_modules/forge-std/src/\",\":permit2/=node_modules/permit2/\"],\"viaIR\":true},\"sources\":{\"contracts/ClankBondingCurve.sol\":{\"keccak256\":\"0x1a73785a878cea25211d377fcc80dbc7d7a040d57aeb7714037cbabd26f59437\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11b18351782d12a54bbde4977b6a9788974208405a2289843be66ef430bd971c\",\"dweb:/ipfs/QmcQGcUgBGRyfzDEt972FQq8RNNRnrbqRHv7PQa5EtZM2G\"]},\"contracts/ClankFeeEscrow.sol\":{\"keccak256\":\"0xa896ed74c23c94aaab3609871fd8c6c20a7ead1d4489f58793088b1903372110\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4be266ed917c28139fa96b2c219da5eb9438bae390c99e6c9073b9a36bdcac3d\",\"dweb:/ipfs/QmTXxmRHk6ZVDxqqdd9VCDVdmTaAeKvddQz7CVQZNyG1rm\"]},\"contracts/ClankGraduationExecutor.sol\":{\"keccak256\":\"0x62df7ad4469e93a458cc1c02332561913c7136e469c1035766dea0555b2a977c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://38bf4ee2b48f00e9163231af3b172bde242e391c596e2f621811f8e8b82c96ad\",\"dweb:/ipfs/QmXmC59RHNPRkFJtKGgmD1Aypwq6tTeUwm3mBtwTiJGLSZ\"]},\"contracts/ClankGraduationGuard.sol\":{\"keccak256\":\"0x6baef6ddf401125b1d561de399dceb13581c7fa28ac95483163a9160f50b203c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6de5f43cec7057e9fec50ec16a16f7542f0f0305527283d210ffa57f980c3423\",\"dweb:/ipfs/Qme4wwu1wkmca2dWFRanHqhwdfjhS8GGKWFr82Fe8re4zE\"]},\"contracts/ClankInitializationGuardHook.sol\":{\"keccak256\":\"0x8fbfea47fe840fc7c690a5389ffa41b1ef54761b972f633054dd77d345bcf702\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b6052113aa94f8ab93cd9127cdf08d7ee0a180c10dcfd3ebf4f059ccb0f4359a\",\"dweb:/ipfs/QmUZ9SwEaDvcTBSUWPBrUaW55zvJpEpELp3TxFLdcxRUVa\"]},\"contracts/ClankLaunchDeployer.sol\":{\"keccak256\":\"0xf23e55376e25df82cac0826c050d663a47c2f608bffd017b676956053b74ff76\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0a7bf097efdcff4975bc40e3fdcaa2da5b8fb229c5651a0fb7d8cde9b2ee0c25\",\"dweb:/ipfs/QmaeDN9bdUvMNtb8gs1UaFE2zspjyU8JETcR1GpqE6KniU\"]},\"contracts/ClankLaunchFactory.sol\":{\"keccak256\":\"0xf524a0875a1e382fdf9ce2bd17cc9025d3af17e3820d2b947290d83ca689130c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62c1468180f60e2ca3effd32e8cabb064970561e7b6ef2bd580f588b8a35dc06\",\"dweb:/ipfs/QmPEKeXBZkwtdCiMbD5j76heGqeXWAGYtyf6nfoJii3zYH\"]},\"contracts/ClankLaunchLocker.sol\":{\"keccak256\":\"0x15a4293e12fa634e22d3546779c6cec998a4dadd8770f6c142563aa7b639da68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b1f1d92f3d9033341d036be6d2f929c42fe2fa88bbf6958ec1fb89027231fcb\",\"dweb:/ipfs/QmR3JTn2SA9y2xYF2NnRpDPHN7233MkubpTDhsFhaQ1gKQ\"]},\"contracts/ClankLauncherToken.sol\":{\"keccak256\":\"0x86901b706eb11edecffd64c2d4e1c93bbf8f4884a435236a377af61b980dae0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fff3967fa784e07ff6846c5330d4df73682955ce2069eda849560fe0260dfe19\",\"dweb:/ipfs/QmNXPSyfSCbT3RbKb9e1gsNU2L5nPtTt3hLntS6KuJucH6\"]},\"contracts/libraries/ClankCurveMath.sol\":{\"keccak256\":\"0xdaeede9363184f0c5e6be52fdc3ce0019c73f4f77f67e2236e6037405bc25585\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d9cd94d57413dfa869f0d444109b55e6b365d8fe9127a56fbad30513c634e97\",\"dweb:/ipfs/QmPpYUz9PR8AR2ieK2GgnLREorh134xnMbVnCbvSxiFmYy\"]},\"contracts/libraries/ClankMigrationMath.sol\":{\"keccak256\":\"0x970a595ead7685ecfa2f75ddb49713381d5c9a6d9084a52c7a2eeef8675772ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f7e3de742749a2d9f798908d5ee1b40e1d7af250758f6bb28c6f9baba1d994e\",\"dweb:/ipfs/QmSzHNZbZtF7DGTsfknUZ82maJ9ryFizqpZGFPgHyNzu6a\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"node_modules/@openzeppelin/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0\",\"dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100\",\"dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037\",\"dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d\",\"dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c\",\"dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x669464167428061ee0f8618b73b3ee90aff8405683e7ddde8cd77dadaa1afe29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0dda78587a7358b4fdf6b9fca0fde5a5e34930f36d5268a16028627fc0170195\",\"dweb:/ipfs/QmQ1b6cCceDRWNxti9HifsTCzmVP25Haxs1bWugm52vTqH\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\":{\"keccak256\":\"0x2659248df25e34000ed214b3dc8da2160bc39874c992b477d9e2b1b3283dc073\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c345af1b0e7ea28d1216d6a04ab28f5534a5229b9edf9ca3cd0e84950ae58d26\",\"dweb:/ipfs/QmY63jtSrYpLRe8Gj1ep2vMDCKxGNNG3hnNVKBVnrs2nmA\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e\",\"dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://299ced486011781dc98f638059678323c03079fefae1482abaa2135b22fa92d0\",\"dweb:/ipfs/QmbZNbcPTBxNvwChavN2kkZZs7xHhYL7mv51KrxMhsMs3j\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e\",\"dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0xe06ddfff69f3ba154d92102d9a85db2780e045303a587360cf12195216e851ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac19cc390a227758c239c06d3a11d0a2c40c8f58eabb034154b661269d4a0851\",\"dweb:/ipfs/QmdSsfYsPX5RyAXSfHRvR5zdY9MffAgZVa3vdxQUypFBa5\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol\":{\"keccak256\":\"0x6ba3db1346fc75a832aa6cd075e12f6f1fa172fa2122a020f324c319fe5be75e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab92e9e1cb08144c43fa3a383a87c48f49a652d51156950b928c2a50bee6b3a5\",\"dweb:/ipfs/QmWeKkKZBgLDKgRFGKCzsKybYF7C8g9ysg5kU1b1p7QFBi\"]},\"node_modules/@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99\",\"dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N\"]},\"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"node_modules/@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"node_modules/@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"node_modules/@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec\",\"dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G\"]},\"node_modules/@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4\",\"dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi\"]},\"node_modules/@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"node_modules/@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"node_modules/@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"node_modules/@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"node_modules/@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"node_modules/@uniswap/v4-core/src/libraries/Hooks.sol\":{\"keccak256\":\"0xd679b4b2d429689bc44f136050ebc958fb2d7d0d3a3c7b3e48c08ab4fba09aaa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287190cb72840e5eb63cc7a8a1d0b9150af17d8e4ea0323f47c7e7928f2033cb\",\"dweb:/ipfs/QmVfqWBnAQM2jUcuREDdvjcP21gNuLU35CoL3NG5CEhNcx\"]},\"node_modules/@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"node_modules/@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"node_modules/@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"node_modules/@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"node_modules/@uniswap/v4-core/src/libraries/ParseBytes.sol\":{\"keccak256\":\"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17\",\"dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa\"]},\"node_modules/@uniswap/v4-core/src/libraries/Pool.sol\":{\"keccak256\":\"0xb8191707c5913f5e2f589cec5167e3fac4a5b86bd84f61fdba0fbe6a8ce8a3a0\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://a609f9c365f05becf61877d9dc767e7825bce8c34607dbfc0f0437a71f6ff407\",\"dweb:/ipfs/QmThDUzLePs2Hbp6XTpRSHT67rdsjQLhdmS6krm8cpKSey\"]},\"node_modules/@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"node_modules/@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]},\"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"node_modules/@uniswap/v4-core/src/libraries/StateLibrary.sol\":{\"keccak256\":\"0x96db333ee126a841dd959e38e452cc59d73583cb0437a1d48b2052e33a74f952\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8672bba1eb69608299b0904f4ff305238eb18479d371c26518f278c9ee184cd0\",\"dweb:/ipfs/QmTLu3s6ECvsEDHStQv8HTVHYtvkviBbdjPrFJd4SpVRFY\"]},\"node_modules/@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"node_modules/@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]},\"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"node_modules/@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]},\"node_modules/@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"node_modules/@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"node_modules/@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"node_modules/@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"node_modules/@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"node_modules/@uniswap/v4-core/src/types/PoolOperation.sol\":{\"keccak256\":\"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07\",\"dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c\"]},\"node_modules/@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IMsgSender.sol\":{\"keccak256\":\"0xcc7d4e3f2fde34cf1ad9f05a8e43977e04d19624f71eb8a8c295feaf64b362a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e02044b5e19cc9ca24d23f55667142fde6daefba66408b56c4f620b625fc189\",\"dweb:/ipfs/QmUqWdRBqWi2tZkNAPhzLZbknP26TZbD8iRQMd3fdZGFgi\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"node_modules/@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"node_modules/@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":{\"keccak256\":\"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4015f62e5e8aa154baa555dc39ce36b498e6d875a53f793d62b8556e6b97ccb\",\"dweb:/ipfs/QmUVHyEe3hZZZQum5ct6yDY8qduj62Ta7f7x5Kw95LpQbg\"]},\"node_modules/@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"node_modules/permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"node_modules/permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"AlreadyUnlocked()":[{"notice":"Thrown when unlock is called, but the contract is already unlocked"}]},"events":{"PoolGraduated(address,uint256,uint256,uint256)":{"notice":"Compact Pons-compatible graduation event."},"TokenLaunched(address,address,address,address,uint256,uint256)":{"notice":"Pons-compatible launch event for generic launchpad indexers."}},"notice":"Manages launch configuration, deploys predictable token/curve pairs with CREATE2, snapshots each launch's economics, and coordinates permissionless V4 graduation.","methods":{"locker()":{"notice":"Permanent liquidity-position sink shared by all launches."},"permit2()":{"notice":"Permit2 instance used during V4 position creation."},"memeHook()":{"notice":"Pons-compatible pool hook getter used by third-party graduation clients."},"feeEscrow()":{"notice":"Shared pull-payment escrow for protocol credits."},"launchFee()":{"notice":"Pons-compatible launch-fee getter that always returns zero."},"poolManager()":{"notice":"Uniswap V4 PoolManager used by every launch from this factory."},"launchEnabled()":{"notice":"Global gate for creation of new launches."},"feeDestination()":{"notice":"Current recipient of bonding, snipe-tax, migration-dust, and V4 LP fees."},"launchDeployer()":{"notice":"Dedicated CREATE2 deployer shared by all launches and wired once after deployment."},"graduate(address)":{"notice":"Advances a Ready launch to Swept by collecting its exact tracked reserves."},"graduationGuard()":{"notice":"Stateless V4 seed preflight used before reserves leave a curve."},"launchForwarder()":{"notice":"Trusted router allowed to preserve the original deployer on forwarded launches."},"positionManager()":{"notice":"Uniswap V4 PositionManager used by every launch from this factory."},"snipeTaxSeconds()":{"notice":"Anti-snipe decay window snapshotted by new launches."},"canLaunch(address)":{"notice":"Returns whether a creator may launch through the current public gate."},"getLaunch(address)":{"notice":"Returns the stored launch record for a token."},"snipeTaxStartBps()":{"notice":"Peak total buy fee snapshotted by new launches; zero disables snipe tax."},"launchConfigCount()":{"notice":"Returns the number of configured launch templates."},"renounceOwnership()":{"notice":"Disabled to preserve the owner-operated delayed recovery path."},"collectFees(address)":{"notice":"Permissionlessly forwards all accrued native or ERC-20 protocol credits."},"graduationExecutor()":{"notice":"Shared adapter that executes V4 graduation."},"initializationHook()":{"notice":"No-fee V4 hook that restricts initialization to this factory."},"pairTokenAuthority()":{"notice":"Authority allowed to approve pair tokens and update their economics."},"RESCUE_MIGRATION_GAS()":{"notice":"Fixed execution budget for force-sweep graduation and rescue migration attempts."},"protocolFeeRecipient()":{"notice":"Legacy getter retained for integrations that used the previous immutable name."},"setLaunchEnabled(bool)":{"notice":"Enables or disables all new launch creation."},"tokenForCurve(address)":{"notice":"Token deployed for each curve address."},"getLaunchConfig(uint256)":{"notice":"Returns a launch configuration by identifier."},"getLaunchedToken(address)":{"notice":"Returns a Pons-shaped record for launchpad indexers and bots."},"setFeeDestination(address)":{"notice":"Updates the sole recipient used by every protocol fee collection path."},"setLaunchDeployer(address)":{"notice":"Wires the Pons-style CREATE2 helper exactly once."},"approvedPairTokens(address)":{"notice":"ERC-20 quote assets available to new launches."},"pairTokenEconomics(address)":{"notice":"Curve economics denominated in each ERC-20 quote asset's smallest unit."},"setLaunchForwarder(address)":{"notice":"Sets the trusted launch-and-buy router; the owner may rotate it."},"setSnipeTaxSeconds(uint256)":{"notice":"Sets the anti-snipe decay window snapshotted by each new launch."},"createGraduatedPool(address)":{"notice":"Advances a Swept launch to PoolCreated and permanently locks V4 liquidity."},"setSnipeTaxStartBps(uint256)":{"notice":"Sets the peak total buy fee snapshotted by each new launch."},"forceSweptGraduation(address)":{"notice":"After seven days in Ready, retries graduation before sweeping without the seed preflight."},"setPairTokenAuthority(address)":{"notice":"Changes the authority that manages ERC-20 pair assets and their economics."},"previewLaunchEconomics(uint256)":{"notice":"Returns the current economic commitment hash for a launch configuration."},"setPairTokenApproved(address,bool)":{"notice":"Enables or disables an ERC-20 quote asset for new launches."},"setLaunchConfigEnabled(uint256,bool)":{"notice":"Enables or disables one configuration for new launches."},"rescueSweptGraduation(address,address)":{"notice":"Seven days after sweeping, retries migration before releasing failed reserves to the owner."},"previewLaunchEconomics(uint256,address)":{"notice":"Pons-compatible economics preview for native or approved ERC-20 quote launches."},"setPairTokenEconomics(address,uint256,uint256,uint8)":{"notice":"Sets quote-denominated economics before an ERC-20 pair can be approved."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Adds a validated configuration for new launches."},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"notice":"Replaces a configuration used by new launches."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Pons-compatible native or approved ERC-20 quote launch entrypoint."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address[])":{"notice":"Creates a launch with up to 32 additional snipe-tax-exempt recipients."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"notice":"Predicts the exact Pons-compatible launch, including quote asset and full metadata."},"launchTokenFor((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address,address[])":{"notice":"Creates a launch for the trusted router's original caller."}},"version":1},"devdoc":{"kind":"dev","title":"Clank launch factory and graduation coordinator","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"details":"Existing curves retain their economic snapshot. The owner controls new-launch terms and availability, the current fee destination, and delayed recovery of failed swept launches. Recovery retries migration before releasing reserves; locked positions cannot be withdrawn.","methods":{"owner()":{"details":"Returns the address of the current owner."},"constructor":{"params":{"config":"Initial owner and validated V4 infrastructure addresses."}},"pendingOwner()":{"details":"Returns the address of the pending owner."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"graduate(address)":{"params":{"token":"Launched token identifying the curve."},"details":"Permissionless and retryable. Forced ETH is not swept. A revert restores both the curve state and this factory's scoped receive guard."},"canLaunch(address)":{"details":"The argument is retained for Pons router compatibility; Clank does not maintain a separate whitelist."},"getLaunch(address)":{"details":"An unknown token returns an all-zero record; state-changing functions use _requireLaunch."},"collectFees(address)":{"params":{"asset":"Native ETH when zero, otherwise the ERC-20 quote asset to collect."}},"setLaunchEnabled(bool)":{"details":"This gate does not stop trading or graduation for existing launches."},"getLaunchConfig(uint256)":{"params":{"id":"Zero-based configuration identifier."}},"setLaunchDeployer(address)":{"details":"The helper must already identify this factory as its immutable caller."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"forceSweptGraduation(address)":{"details":"The normal attempt uses the rescue gas budget and rolls back before the fallback sweep on failure."},"setPairTokenAuthority(address)":{"details":"Setting the authority to the zero address disables pair-token administration."},"attemptForceGraduation(address)":{"details":"Rollback boundary for force-sweep's normal graduation attempt; the outer guard stays active."},"attemptRescueMigration(address)":{"details":"External rollback boundary for rescue's try/catch. Only the guarded rescue may enter. The outer nonReentrant guard remains active throughout migration and reserve release."},"previewLaunchEconomics(uint256)":{"details":"Creators include this digest in LaunchParams to prevent an admin configuration update from silently changing economics between address prediction and transaction execution."},"rescueSweptGraduation(address,address)":{"params":{"recipient":"Retained for ABI compatibility; must be nonzero. Recovery always pays owner()."},"details":"Ordinary migration remains permissionless and retryable without resetting sweptAt. Any failure within the fixed migration gas budget permits recovery, including out-of-gas."},"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))":{"params":{"config":"Supply, virtual reserve, threshold, bonding fee, and V4 pool parameters."},"returns":{"id":"Identifier assigned to the new configuration."}},"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))":{"params":{"id":"Configuration to replace.","config":"New validated configuration."},"details":"Existing launch snapshots are not modified."},"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Creator tax, buyback, and launch payments are unsupported. A zero expectedEconomics value waives the economics pin as in Pons."},"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)":{"details":"Applies launch metadata bounds and returns the committed launch identifier with both addresses."}},"version":1,"stateVariables":{"RESCUE_GAS_RESERVE":{"details":"Covers call setup, error handling, and recovery after forwarding the full migration budget."},"_expectedNativeSender":{"details":"Scoped sender permitted to deliver tracked native reserves during graduation."}}},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint16":{"label":"uint16","encoding":"inplace","numberOfBytes":"2"},"t_uint24":{"label":"uint24","encoding":"inplace","numberOfBytes":"3"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint128":{"label":"uint128","encoding":"inplace","numberOfBytes":"16"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(Launch)4408_storage":{"label":"struct ClankLaunchFactory.Launch","members":[{"slot":"0","type":"t_address","astId":4363,"label":"token","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_address","astId":4365,"label":"curve","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_address","astId":4367,"label":"creator","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_address","astId":4369,"label":"pairToken","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_bytes32","astId":4371,"label":"launchId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"5","type":"t_uint256","astId":4373,"label":"launchConfigId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"6","type":"t_bytes32","astId":4375,"label":"economics","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"7","type":"t_string_storage","astId":4377,"label":"name","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"8","type":"t_string_storage","astId":4379,"label":"symbol","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"9","type":"t_string_storage","astId":4381,"label":"logo","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_uint128","astId":4383,"label":"supply","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_uint128","astId":4385,"label":"phantomQuote","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint128","astId":4387,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint16","astId":4389,"label":"curveFeeBps","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_uint24","astId":4391,"label":"poolFee","offset":18,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_int24","astId":4393,"label":"tickSpacing","offset":21,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint128","astId":4395,"label":"sweptQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint128","astId":4397,"label":"sweptTokens","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint64","astId":4399,"label":"sweptAt","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint128","astId":4401,"label":"targetLpTokens","offset":8,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_uint128","astId":4403,"label":"seededQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_uint128","astId":4405,"label":"seededToken","offset":16,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"15","type":"t_uint256","astId":4407,"label":"positionId","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"512"},"t_mapping(t_address,t_address)":{"key":"t_address","label":"mapping(address => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"},"t_struct(LaunchConfig)4291_storage":{"label":"struct ClankLaunchFactory.LaunchConfig","members":[{"slot":"0","type":"t_uint256","astId":4278,"label":"supply","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_uint256","astId":4280,"label":"curveFeeBps","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_uint256","astId":4282,"label":"phantomQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_uint256","astId":4284,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_uint24","astId":4286,"label":"poolFee","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_int24","astId":4288,"label":"tickSpacing","offset":3,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_bool","astId":4290,"label":"enabled","offset":6,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"160"},"t_contract(ClankLaunchDeployer)4167":{"label":"contract ClankLaunchDeployer","encoding":"inplace","numberOfBytes":"20"},"t_struct(PairTokenEconomics)4299_storage":{"label":"struct ClankLaunchFactory.PairTokenEconomics","members":[{"slot":"0","type":"t_uint256","astId":4294,"label":"phantomQuote","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_uint256","astId":4296,"label":"graduationThreshold","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_uint8","astId":4298,"label":"decimals","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}],"encoding":"inplace","numberOfBytes":"96"},"t_mapping(t_address,t_struct(Launch)4408_storage)":{"key":"t_address","label":"mapping(address => struct ClankLaunchFactory.Launch)","value":"t_struct(Launch)4408_storage","encoding":"mapping","numberOfBytes":"32"},"t_array(t_struct(LaunchConfig)4291_storage)dyn_storage":{"base":"t_struct(LaunchConfig)4291_storage","label":"struct ClankLaunchFactory.LaunchConfig[]","encoding":"dynamic_array","numberOfBytes":"32"},"t_mapping(t_address,t_struct(PairTokenEconomics)4299_storage)":{"key":"t_address","label":"mapping(address => struct ClankLaunchFactory.PairTokenEconomics)","value":"t_struct(PairTokenEconomics)4299_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":9384,"label":"_owner","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"1","type":"t_address","astId":9532,"label":"_pendingOwner","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"2","type":"t_address","astId":4569,"label":"feeDestination","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"3","type":"t_uint256","astId":4572,"label":"launchFee","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"4","type":"t_contract(ClankLaunchDeployer)4167","astId":4601,"label":"launchDeployer","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"5","type":"t_address","astId":4604,"label":"launchForwarder","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"6","type":"t_address","astId":4607,"label":"pairTokenAuthority","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"7","type":"t_array(t_struct(LaunchConfig)4291_storage)dyn_storage","astId":4615,"label":"_launchConfigs","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"8","type":"t_mapping(t_address,t_struct(Launch)4408_storage)","astId":4620,"label":"_launches","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"9","type":"t_mapping(t_address,t_address)","astId":4625,"label":"tokenForCurve","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"10","type":"t_mapping(t_address,t_bool)","astId":4630,"label":"approvedPairTokens","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"11","type":"t_mapping(t_address,t_struct(PairTokenEconomics)4299_storage)","astId":4636,"label":"pairTokenEconomics","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"12","type":"t_uint256","astId":4639,"label":"snipeTaxStartBps","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"13","type":"t_uint256","astId":4643,"label":"snipeTaxSeconds","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"14","type":"t_bool","astId":4646,"label":"launchEnabled","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"15","type":"t_mapping(t_address,t_address)","astId":4650,"label":"_creatorFeeRecipients","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"},{"slot":"16","type":"t_address","astId":4653,"label":"_expectedNativeSender","offset":0,"contract":"contracts/ClankLaunchFactory.sol:ClankLaunchFactory"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"61018080604052346105c75760a08161a80b80380380916100208285610753565b8339810103126105c7576040519060a082016001600160401b038111838210176105725760405261005081610776565b80835261005f60208301610776565b906020840191825261007360408401610776565b916040850192835261009a608061008c60608701610776565b956060880196875201610776565b60808601908152916001600160a01b0316801561074057600180546001600160a01b03199081169091555f80549182168317815560405192916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055600f600d5581516001600160a01b031615801561072e575b801561071c575b801561070a575b6106fb5781516001600160a01b0316803b156106e9575083516001600160a01b0316803b156106e9575084516001600160a01b0316803b156106e9575082516001600160a01b0316803b156106e95750835163dc4c90d360e01b8252602090829060049082906001600160a01b03165afa908115610567575f916106ca575b5081516001600160a01b0391821691168082036106b557505082516040516312261ee760e01b815290602090829060049082906001600160a01b03165afa908115610567575f9161067b575b5084516001600160a01b03918216911680820361066657505081516001600160a01b03811690613fff16611fff19016105865760405163dc4c90d360e01b8152602081600481855afa908115610567575f91610637575b5082516001600160a01b039182169116808203610622575050604051638da5cb5b60e01b8152602081600481855afa908115610567575f916105e8575b5086516001600160a01b0391821691168082036105d357505060405163c45a015560e01b8152602081600481855afa908115610567575f91610595575b506001600160a01b0316610586578551600280546001600160a01b039283166001600160a01b03199182168117909255600680549091169091179055825181166080528451811660a05285511660c05260e0526040516107ef8082018281106001600160401b038211176105725782916161e1833903905ff0801561056757610100528251604051906001600160a01b0316610af58083016001600160401b03811184821017610572576020928492619d16843981520301905ff080156105675761012052604051610c288082016001600160401b038111838210176105725782916190ee833903905ff080156105675761016052519151925190516101205161010051604051956001600160a01b039586169561271e95868901959382169482169382169290821691166001600160401b03861189871017610572576101009789976169d08939308752602087015260408601526060850152608084015260a083015260c08201523060e08201520301905ff08015610567576101405251604051906001600160a01b03165f7f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d8180a3615a3790816107aa823960805181818161082401528181612c830152613595015260a0518181816117010152612cd5015260c05181612110015260e0518181816118700152818161263c015281816134b8015261508b015261010051818181610a9201528181610ffe015281816110ee01526158a30152610120518181816108a201526136e0015261014051818181610a4901526135cf015261016051818181611a5b015281816123a201528181613220015281816134ff01528181613b110152818161445601526159260152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63f3a5791760e01b5f5260045ffd5b90506020813d6020116105cb575b816105b060209383610753565b810103126105c7576105c190610776565b5f6102e7565b5f80fd5b3d91506105a3565b63ecfcbf5d60e01b5f5260045260245260445ffd5b90506020813d60201161061a575b8161060360209383610753565b810103126105c75761061490610776565b5f6102aa565b3d91506105f6565b6385399a1760e01b5f5260045260245260445ffd5b610659915060203d60201161065f575b6106518183610753565b81019061078a565b5f61026d565b503d610647565b6331f6789360e21b5f5260045260245260445ffd5b90506020813d6020116106ad575b8161069660209383610753565b810103126105c7576106a790610776565b5f610216565b3d9150610689565b63c6f5398f60e01b5f5260045260245260445ffd5b6106e3915060203d60201161065f576106518183610753565b5f6101ca565b6365f36d5d60e11b5f5260045260245ffd5b63d92e233d60e01b5f5260045ffd5b5082516001600160a01b03161561014b565b5084516001600160a01b031615610144565b5083516001600160a01b03161561013d565b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761057257604052565b51906001600160a01b03821682036105c757565b908160209103126105c757516001600160a01b03811681036105c7579056fe608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f0000000000000000000000000000000000000000000000000000000000000000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af19081156110b0578a916138b1575b5060e09260c491907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000000000000000000000000000000000000000000090911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f0000000000000000000000000000000000000000000000000000000000000000166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f00000000000000000000000000000000000000000000000000000000000000001661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a00336080806040523460395760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556107b1908161003e8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c806309ad4dd91461045e57806370a0823114610427578063a262f5f814610306578063b5bd3eb9146102e9578063cb32636c14610182578063d5d44d80146100fd578063efb94a62146100c55763f59e38b714610071575f80fd5b346100c15760403660031901126100c15761008a6104a6565b6100926104bc565b6001600160a01b039182165f908152600260209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100c15760203660031901126100c1576001600160a01b036100e66104a6565b165f526003602052602060405f2054604051908152f35b60203660031901126100c1576001600160a01b036101196104a6565b16801561017357805f525f60205260405f20610136348254610515565b905561014434600154610515565b6001557f9c9e0cdb1670e88302408e5b941dc636f63a3293204694bb68910fcf3d9305f36020604051348152a2005b631559b7d760e21b5f5260045ffd5b346100c15760403660031901126100c15761019b6104a6565b6101a36104bc565b6101ab610723565b6001600160a01b031690811561017357335f52600260205260405f2060018060a01b0382165f5260205260405f20549081156102da57335f52600260205260405f2060018060a01b0382165f5260205260405f2061020a8382546104f4565b905560018060a01b031691825f52600360205260405f2061022c8382546104f4565b905560405163a9059cbb60e01b5f52816004528260245260205f60448180885af160015f51148116156102bb575b81604052156102a857928383602095527f917cf56f6f2280df7b3c3eb8338362e11cf2158bceec528e1172f3af2537f623853392a460015f8051602061075c83398151915255604051908152f35b83635274afe760e01b5f5260045260245ffd5b60018115166102d157843b15153d15161661025a565b503d5f823e3d90fd5b6312d37ee560e31b5f5260045ffd5b346100c1575f3660031901126100c1576020600154604051908152f35b346100c15760203660031901126100c1576004356001600160a01b038116908190036100c157610334610723565b801561017357335f525f60205260405f205480156102da57335f525f60205260405f206103628282546104f4565b9055610370816001546104f4565b6001555f80808084865af13d15610422573d67ffffffffffffffff811161040e57604051906103a9601f8201601f1916602001836104d2565b81525f60203d92013e5b156103ff576020916040518281527ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd3992683843392a360015f8051602061075c83398151915255604051908152f35b633d2cec6f60e21b5f5260045ffd5b634e487b7160e01b5f52604160045260245ffd5b6103b3565b346100c15760203660031901126100c1576001600160a01b036104486104a6565b165f525f602052602060405f2054604051908152f35b346100c15760603660031901126100c15761049361047a6104a6565b6104826104bc565b61048a610723565b60443591610522565b60015f8051602061075c83398151915255005b600435906001600160a01b03821682036100c157565b602435906001600160a01b03821682036100c157565b90601f8019910116810190811067ffffffffffffffff82111761040e57604052565b9190820391821161050157565b634e487b7160e01b5f52601160045260245ffd5b9190820180921161050157565b90916001600160a01b03909116908115610173576001600160a01b038316928315908115610719575b5061065d578015610714576040516370a0823160e01b8152306004820152602081602481875afa9081156106a5575f916106e2575b50604051906323b872dd60e01b5f5233600452306024528260445260205f60648180895af160015f51148116156106c3575b826040525f606052156106b0576370a0823160e01b8252306004830152602082602481885afa80156106a55783925f9161066c575b50906105f2916104f4565b0361065d5760207fd6f1b1200b83332fb4d7e0f91e1f1672c77bb36ac9954f1b998d48f1a155434e91835f526002825260405f20855f52825260405f2061063a828254610515565b9055845f526003825260405f20610652828254610515565b9055604051908152a3565b63c1ab6dc160e01b5f5260045ffd5b919250506020813d60201161069d575b81610689602093836104d2565b810103126100c157518291906105f26105e7565b3d915061067c565b6040513d5f823e3d90fd5b84635274afe760e01b5f5260045260245ffd5b60018115166106d957853b15153d1516166105b2565b823d5f823e3d90fd5b90506020813d60201161070c575b816106fd602093836104d2565b810103126100c157515f610580565b3d91506106f0565b505050565b90503b155f61054b565b60025f8051602061075c833981519152541461074c5760025f8051602061075c83398151915255565b633ee5aeb560e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ba63abe69bea1e82948d9368b70a114937fb2088bb1a6197d85ecc6c966fc53764736f6c634300081a00336101803461030657601f61271e38819003918201601f19168301916001600160401b0383118484101761030a5780849261010094604052833981010312610306576100498161031e565b906100566020820161031e565b6100626040830161031e565b61006e6060840161031e565b61007a6080850161031e565b9161008760a0860161031e565b936100a060e061009960c0890161031e565b970161031e565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055966001600160a01b0381161580156102f5575b80156102e4575b80156102d3575b80156102c2575b80156102b1575b80156102a0575b801561028f575b610280576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052610120919091521661014052610160526040516123eb908161033382396080518181816101da01526103bd015260a05181818160fe01526105ce015260c051818181601d01528181610261015281816104b60152818161077b0152818161082801528181610ae401528181610b4c01528181610ba301528181610c68015281816113450152611650015260e0518181816106f001528181610727015281816107d601528181610c1301528181610ca901528181610ce8015281816112f301528181611386015281816113c1015281816115ce015281816115fe015281816116a50152611af60152610100518181816105650152611b3701526101205181818161014c015281816109cb01528181610be9015261116f01526101405181818161019301528181610f790152818161106f01526119c70152610160518181816102a801528181610fb8015281816110ad0152611a110152f35b63e6c4247b60e01b5f5260045ffd5b506001600160a01b03881615610101565b506001600160a01b038716156100fa565b506001600160a01b038616156100f3565b506001600160a01b038516156100ec565b506001600160a01b038416156100e5565b506001600160a01b038316156100de565b506001600160a01b038216156100d7565b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103065756fe61012080604052600436101561005c575b50361561001b575f80fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361004d57005b633199b48960e11b5f5260045ffd5b5f610100525f3560e01c90816301f4727f14611b255750806312261ee714611ae15780632b216b84146119795780634e584986146102d757806364df049e14610290578063791b98bc146102495780638a3d1cf714610209578063c45a0155146101c2578063c4b7de971461017b578063d7b96d4e146101345763dc4c90d3146100e6575f610010565b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6101005180fd5b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d57602036600319011261012d576001600160a01b0361022a611b66565b1661010051526101005160205260206040610100512054604051908152f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461012d576101005136600319011261012d576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60c036600319011261012d576102eb611b66565b60c0526024356001600160a01b038116810361012d5760443562ffffff8116810361012d5760643560020b6064350361012d57608435916001600160801b038316830361012d5760a435926001600160801b038416840361012d5760405160e05260e080510160e051811067ffffffffffffffff821117611523576040526101005160e0515261010051602060e051015261010051604060e051015261010051606060e051015261010051608060e05101526101005160a060e05101526101005160c060e05101526103bb611c7d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036119645760c0516001600160a01b031615801561194d575b801561193c575b801561192b575b8015611902575b61121f57604051926370a0823160e01b845230600485015260208460248160018060a01b0360c051165afa9384156110505761010051946118ce575b506001600160801b038516841061121f5761010051936001600160a01b03841661183b575b610496906104833447611bb2565b60a0526001600160801b03871690611bb2565b936001600160a01b038416611821575061010051905b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163160805260c0518116908516109081156118185784905b82156118115760c051905b831561180a5785935b156118035788915b604051918260a081011067ffffffffffffffff60a0850111176115235762ffffff9160a0840160405260018060a01b038616845260018060a01b0316602084015216604082015260643560020b606082015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016608082015260a081206040516020810191825260066040820152604081526105ae606082611b7c565b519020604051631e2eaeaf60e01b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110505761010051916117d1575b5060018060a01b031680602060e05101526401000276a38111908115916117b2575b5061179d5760643560020b156117835760643560020b620d89e7190592610100515060643560020b620d89e805926001600160801b0360018060a01b03602060e051015116610680606435880260020b611d7c565b610690606435880260020b611d7c565b80826001600160a01b0380831690821611611778575b50506001600160a01b0382168311611723576106c69250838a16916121d2565b1680604060e05101521561170e5760c051610718906001600160801b038d16906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611d2d565b61012c420142119485611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b81526101005160c0516001600160a01b0390811660048401527f00000000000000000000000000000000000000000000000000000000000000001660248301526001600160801b038e1660448301524261012c0165ffffffffffff16606483015281806084810103816101005160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116f3575b506001600160a01b038a166115b5575b604051631d5e528f60e21b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115611050576101005191611583575b5060e051526001600160a01b03831661155757604051600160f91b6020820152600d60f81b6021820152600560fa1b6022820152600381526108a6602382611b7c565b965b6001600160a01b03841661154e5760ff60035b16956108c687611be0565b966108d46040519889611b7c565b8088526108e3601f1991611be0565b01610100515b81811061153d5750506001600160801b03604060e051015116906040519081602081011067ffffffffffffffff602084011117611523576060956001600160801b038995610a03958294610a1199602088016040526101005188526040519b8c9a60018060a01b0381511660208d015260018060a01b0360208201511660408d015262ffffff604082015116828d0152015160020b60808b01528d608060018060a01b039101511660a08b01526064350260020b60c08a01526064350260020b60e0890152610100880152166101208601521661014084015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016610160840152610180808401526101a0830190611bf8565b03601f198101835282611b7c565b610a1a84611c1c565b52610a2483611c1c565b508151602080840151604080516001600160a01b0394851693810193909352921681830152908152610a57606082611b7c565b610a6084611c3d565b52610a6a83611c3d565b506001600160a01b0316156114e2575b50610a9692604051938491604060208401526060830190611bf8565b91601f19828403016040830152805180845260208401936020808360051b83010193019461010051915b8383106114b15750505050610ade925003601f198101845283611b7c565b611497577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d57610b346040519163dd46508f60e01b8352604060048401526044830190611bf8565b4261012c0160248301526101005190829081900381347f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110505761147c575b5060e051516040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561105057610100519161143a575b506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911603611425577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b8152610100805160c0516001600160a01b0390811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af180156110505761140a575b5060c051610d10906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116611cb5565b6001600160a01b0383166112f1575b61010051906001600160a01b03841661126c575050610d4060a05147611bb2565b93610d58856080511086608051180286188096611bb2565b935b6001600160801b038316851161121f57604051906370a0823160e01b825230600483015260208260248160018060a01b0360c051165afa918215611050576101005192611234575b5080821061121f57610db391611bb2565b916001600160801b038216831161121f576001600160801b039182610df0610e0793828916908160a060e051015283881660c060e0510152611c5d565b16606060e05101528260c060e05101511690611c5d565b16608060e051015280611152575b508161105e575b5050610e2a9060a051611bd3565b80610f77575b60e0515160018060a01b03602060e0510151166001600160801b03604060e0510151166001600160801b03606060e0510151166001600160801b03608060e0510151166001600160801b0360a060e051015116916001600160801b0360c060e05101511693604051958652602086015260408501526060840152608083015260a08201527f7a9aa3a35806cfdc439496ecf14d7bd8f3931fd91386459d5ce2ae2573e6312560c060018060a01b0381511692a360015f805160206123968339815191525560e0604051815151815260018060a01b036020835101511660208201526001600160801b036040835101511660408201526001600160801b036060835101511660608201526001600160801b036080835101511660808201526001600160801b0360a0835101511660a08201526001600160801b0360c0835101511660c0820152f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316600482018190526101005190938290602490829086905af1801561105057611035575b5060207f5698ca1396b40a355669f8ac234d68316f04cd8babdff3adc39a115e90f1de5391604051908152a280610e30565b6101005161104291611b7c565b6101005161012d5782611003565b6040513d61010051823e3d90fd5b6001600160a01b03811661111f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561012d576040516301aba89b60e71b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152610100519092909183916024918391905af1801561105057611104575b50610e2a905b9082610e1c565b6101005161111191611b7c565b6101005161012d57816110f7565b90610e2a929160018060a01b031661010051526101005160205261114b60406101005120918254611bd3565b90556110fd565b610100805160405163a9059cbb60e01b9091526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600452602493909352905160c051919260209260449183918291165af19060016101005151148216156111f0575b604052156111cc5783610e15565b6101008051635274afe760e01b905260c0516001600160a01b031660045251602490fd5b9060018115166112135760c0516001600160a01b03163b15153d151616906111be565b503d61010051823e3d90fd5b63162908e360e11b6101005152600461010051fd5b9091506020813d602011611264575b8161125060209383611b7c565b8101031261126057519087610da2565b5f80fd5b3d9150611243565b6040516370a0823160e01b8152306004820152919591906020826024816001600160a01b0389165afa9182156110505761010051926112bd575b5080821061121f576112b791611bb2565b93610d5a565b9091506020813d6020116112e9575b816112d960209383611b7c565b81010312611260575190876112a6565b3d91506112cc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b0386811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501525f6044850181905260648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576113ef575b506113ea6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908516611cb5565b610d1f565b610100516113fc91611b7c565b6101005161012d57856113b3565b6101005161141791611b7c565b6101005161012d5785610cd6565b63057db18760e21b6101005152600461010051fd5b90506020813d602011611474575b8161145560209383611b7c565b8101031261012d57516001600160a01b038116810361012d5786610bde565b3d9150611448565b6101005161148991611b7c565b6101005161012d5785610b81565b634e487b7160e01b61010051526011600452602461010051fd5b919360019193955060206114d08192601f198682030187528951611bf8565b97019301930190928794929593610ac0565b51604080516001600160a01b03909216602083015230828201528152611509606082611b7c565b61151282611c4d565b5261151c81611c4d565b5088610a7a565b634e487b7160e01b61010051526041600452602461010051fd5b806060602080938c010152016108e9565b60ff60026108bb565b604051600160f91b6020820152600d60f81b60218201526002815261157d602282611b7c565b966108a8565b90506020813d6020116115ad575b8161159e60209383611b7c565b8101031261126057518d610863565b3d9150611591565b94506115f76001600160801b0389166001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116908c16611d2d565b61010051947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163b1561012d576040516387517c4560e01b815261010080516001600160a01b038d811660048501527f0000000000000000000000000000000000000000000000000000000000000000811660248501526001600160801b038d16604485015265ffffffffffff61012c42011660648501529151909183916084918391907f0000000000000000000000000000000000000000000000000000000000000000165af18015611050576116d8575b50610813565b610100516116e591611b7c565b6101005161012d578c6116d2565b6101005161170091611b7c565b6101005161012d578c610803565b636180f03f60e11b6101005152600461010051fd5b6001600160a01b03811683101561176a579061174661175092858c1690856121d2565b9284861691612195565b808316828416101561176357505b6106c6565b90506106c6565b61175e925083851691612195565b915091508f806106a6565b634e487b7160e01b61010051526012600452602461010051fd5b63063df5fd60e31b6101005152600461010051fd5b73fffd8963efd1fc6a506488495d951d5263988d26915010158a61062b565b90506020813d6020116117fb575b816117ec60209383611b7c565b8101031261012d57518a610609565b3d91506117df565b859161050a565b8893610502565b85906104f9565b60c051906104ee565b611835906001600160801b03841690611bb2565b906104ac565b6040516370a0823160e01b815230600482015294506020856024816001600160a01b0388165afa94851561105057610100519561189a575b50846001600160801b03841611156104755763162908e360e11b6101005152600461010051fd5b9094506020813d6020116118c6575b816118b660209383611b7c565b8101031261126057519386611873565b3d91506118a9565b9093506020813d6020116118fa575b816118ea60209383611b7c565b8101031261126057519285610450565b3d91506118dd565b506001600160a01b038216611923576001600160801b038116341415610414565b341515610414565b506001600160801b0384161561040d565b506001600160801b03811615610406565b5060c0516001600160a01b038381169116146103ff565b631966391b60e11b6101005152600461010051fd5b3461126057602036600319011261126057611992611b66565b61199a611c7d565b6001600160a01b03165f818152602081905260409020548015611ad2575f828152602081905260408120557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916119fb828483611d2d565b823b15611260576040516309ad4dd960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660048201526024810182905260448101839052925f8460648183855af1908115611ac757602094611a7092611ab2575b5082611cb5565b7f72a955b3e852e5b9849449e196fe76c81c7b9506dee62690faafc1c0717b287983604051848152a260015f8051602061239683398151915255604051908152f35b5f611abc91611b7c565b5f6101005285611a69565b6040513d5f823e3d90fd5b633ada528f60e21b5f5260045ffd5b34611260575f366003190112611260576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34611260575f366003190112611260577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361126057565b90601f8019910116810190811067ffffffffffffffff821117611b9e57604052565b634e487b7160e01b5f52604160045260245ffd5b91908203918211611bbf57565b634e487b7160e01b5f52601160045260245ffd5b91908201809211611bbf57565b67ffffffffffffffff8111611b9e5760051b60200190565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b805115611c295760200190565b634e487b7160e01b5f52603260045260245ffd5b805160011015611c295760400190565b805160021015611c295760600190565b906001600160801b03809116911603906001600160801b038211611bbf57565b60025f805160206123968339815191525414611ca65760025f8051602061239683398151915255565b633ee5aeb560e01b5f5260045ffd5b90611cc15f82846120a9565b15611cca575050565b611cd481836120f6565b15611d0c575f611ce4918361215a565b15611cec5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190611d3a8282856120a9565b15611d4457505050565b611d4e81846120f6565b15611d5e5790611ce4918361215a565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60020b908160ff1d82810118620d89e881116120965763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b18916002811661207a575b6004811661205e575b60088116612042575b60108116612026575b6020811661200a575b60408116611fee575b60808116611fd2575b6101008116611fb6575b6102008116611f9a575b6104008116611f7e575b6108008116611f62575b6110008116611f46575b6120008116611f2a575b6140008116611f0e575b6180008116611ef2575b620100008116611ed6575b620200008116611ebb575b620400008116611ea0575b6208000016611e87575b5f12611e7f575b0160201c90565b5f1904611e78565b6b048a170391f7dc42444e8fa290910260801c90611e71565b6d2216e584f5fa1ea926041bedfe9890920260801c91611e67565b916e5d6af8dedb81196699c329225ee6040260801c91611e5c565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91611e51565b916f31be135f97d08fd981231505542fcfa60260801c91611e46565b916f70d869a156d2a1b890bb3df62baf32f70260801c91611e3c565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91611e32565b916fd097f3bdfd2022b8845ad8f792aa58250260801c91611e28565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91611e1e565b916ff3392b0822b70005940c7a398e4b70f30260801c91611e14565b916ff987a7253ac413176f2b074cf7815e540260801c91611e0a565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91611e00565b916ffe5dee046a99a2a811c461f1969c30530260801c91611df6565b916fff2ea16466c96a3843ec78b326b528610260801c91611ded565b916fff973b41fa98c081472e6896dfb254c00260801c91611de4565b916fffcb9843d60f6159c9db58835c9266440260801c91611ddb565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91611dd2565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91611dc9565b916ffff97272373d413259a46990580e213a0260801c91611dc0565b826345c3193d60e11b5f5260045260245ffd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156120e5575b50604052565b3d15903b151516909216915f6120df565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f51148416156121385750604052565b60018492941516612151573b15153d151616915f6120df565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f51148416156121385750604052565b6121c9926121c49290916001600160a01b03808316908216116121cc575b90036001600160a01b03169061221f565b612372565b90565b906121b3565b6121c9926121c4929091906001600160a01b0380821690831611612219575b6122076001600160a01b038281169084166122a9565b9190036001600160a01b0316916122f2565b906121f1565b90606082901b905f19600160601b84099282808510940393808503948584111561126057146122a2578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b81810291905f1982820991838084109303928084039384600160601b111561126057146122e957600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039586851115611260571461236a579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b906001600160801b03821680920361238657565b6393dafdf160e01b5f5260045ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a264697066735822122051db94c9ce6c43d628e9e8fe3abc50d5a92c54867b22a5d74941750b5210739464736f6c634300081a003360808060405234601557610c0e908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80638f814132146100985763bcebea9f1461002f575f80fd5b346100945760a03660031901126100945761008861004b610148565b61005361015e565b61005b610174565b6084359160643591906001600160a01b03858116908216101561008a5761008284846103b6565b946101af565b005b61008283856103b6565b5f80fd5b346100945760c0366003190112610094576100b1610148565b6100b961015e565b6100c1610174565b91606435906084356100d560a43584610184565b926a477df63ed178cc366db6db82019586831161013457602096610119956001600160a01b03868116908916101561012b5790610111916103b6565b9586946101af565b6040516001600160a01b039091168152f35b610111916103b6565b634e487b7160e01b5f52601160045260245ffd5b600435906001600160a01b038216820361009457565b602435906001600160a01b038216820361009457565b604435908160020b820361009457565b9190820180921161013457565b811561019b570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316949193929085156103a7576001600160a01b0316948086146103a7578460020b955f8713156103985782158015610390575b8015610380575b8015610370575b6102a857101561036a575b6001600160a01b038216906401000276a3821180159061034c575b61033d57851561019b576001600160801b039286620d89e719059587620d89e8059561025c610251838a0260020b610483565b92880260020b610483565b9283836001600160a01b0380831690821611610332575b50506001600160a01b03831686116102df5750506102919350610b68565b169081159283156102b7575b50505090506102a857565b632c37d0eb60e01b5f5260045ffd5b6001600160801b0393505f60019395620d89e7190712900390030181041610805f808061029d565b919490939192906001600160a01b03821611156103265782916103069161030c9594610b68565b93610b2e565b808316828416101561031f57505b610291565b9050610291565b91505061031a92610b2e565b945092505f80610273565b63582157bb60e01b5f5260045ffd5b5073fffd8963efd1fc6a506488495d951d5263988d2682101561021e565b91610203565b5060016001607f1b0385116101f8565b5060016001607f1b0383116101f1565b5084156101ea565b63013840ad60e51b5f5260045ffd5b63e6c4247b60e01b5f5260045ffd5b908115801561047b575b61046c576001600160c01b0382118015610460575b610439576001600160801b038211158061042c575b61041d57610400916103fb9161083a565b610a09565b6001600160801b03811161041d5760201b6001600160a01b031690565b63375cdf9f60e21b5f5260045ffd5b508160801b8110156103ea565b610446916103fb916107b0565b6001600160a01b03811161041d576001600160a01b031690565b508160401b81106103d5565b631f2a200560e01b5f5260045ffd5b5080156103c0565b60020b908160ff1d82810118620d89e8811161079d5763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116610781575b60048116610765575b60088116610749575b6010811661072d575b60208116610711575b604081166106f5575b608081166106d9575b61010081166106bd575b61020081166106a1575b6104008116610685575b6108008116610669575b611000811661064d575b6120008116610631575b6140008116610615575b61800081166105f9575b6201000081166105dd575b6202000081166105c2575b6204000081166105a7575b620800001661058e575b5f12610586575b0160201c90565b5f190461057f565b6b048a170391f7dc42444e8fa290910260801c90610578565b6d2216e584f5fa1ea926041bedfe9890920260801c9161056e565b916e5d6af8dedb81196699c329225ee6040260801c91610563565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91610558565b916f31be135f97d08fd981231505542fcfa60260801c9161054d565b916f70d869a156d2a1b890bb3df62baf32f70260801c91610543565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91610539565b916fd097f3bdfd2022b8845ad8f792aa58250260801c9161052f565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91610525565b916ff3392b0822b70005940c7a398e4b70f30260801c9161051b565b916ff987a7253ac413176f2b074cf7815e540260801c91610511565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91610507565b916ffe5dee046a99a2a811c461f1969c30530260801c916104fd565b916fff2ea16466c96a3843ec78b326b528610260801c916104f4565b916fff973b41fa98c081472e6896dfb254c00260801c916104eb565b916fffcb9843d60f6159c9db58835c9266440260801c916104e2565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c916104d9565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c916104d0565b916ffff97272373d413259a46990580e213a0260801c916104c7565b826345c3193d60e11b5f5260045260245ffd5b9060c082901b905f19600160c01b8409928280851094039380850394858411156100945714610833578190600160c01b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b90608082901b905f19600160801b8409928280851094039380850394858411156100945714610833578190600160801b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b90606082901b905f19600160601b8409928280851094039380850394858411156100945714610833578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b81810291905f1982820991838084109303928084039384600160601b1115610094571461098057600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f19818509938380861095039480860395868511156100945714610a01579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001811115610b2b57806001600160801b821015610b1a575b600482600160401b610acc941015610b0d575b640100000000811015610b00575b62010000811015610af3575b610100811015610ae7575b6010811015610adb575b1015610ad3575b60030260011c610a7b8184610191565b0160011c610a898184610191565b0160011c610a978184610191565b0160011c610aa58184610191565b0160011c610ab38184610191565b0160011c610ac18184610191565b0160011c8092610191565b8111900390565b60011b610a6b565b811c9160021b91610a64565b60081c91811b91610a5a565b60101c9160081b91610a4f565b60201c9160101b91610a43565b60401c9160201b91610a35565b5050608081901c600160401b610a22565b90565b610b2b92610b5d9290916001600160a01b0380831690821611610b62575b90036001600160a01b0316906108bd565b610bb5565b90610b4c565b610b2b92610b5d929091906001600160a01b0380821690831611610baf575b610b9d6001600160a01b03828116908416610940565b9190036001600160a01b031691610989565b90610b87565b906001600160801b038216809203610bc957565b6393dafdf160e01b5f5260045ffdfea2646970667358221220327cf71118100c9d8cad8df74fe786c2c20923b005fe36bd212726cc90d4403f64736f6c634300081a003360c0346100d257601f610af538819003918201601f19168301916001600160401b038311848410176100d6578084926020946040528339810103126100d257516001600160a01b0381168082036100d25760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055156100c3573360805260a052604051610a0a90816100eb823960805181818160d10152818161017c01526105bc015260a0518181816103250152818161052d01528181610638015261080f0152f35b63041fb8cb60e31b5f5260045ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630651b0d51461085e57508063150b7a02146107ae5780634a4fbeec1461077157806372dd764614610587578063732e78e41461055c578063791b98bc14610518578063a480ca7914610100578063c45a0155146100bb5763fa22143d14610081575f80fd5b346100b85760203660031901126100b8576020906040906001600160a01b036100a861089d565b1681528083522054604051908152f35b80fd5b50346100b857806003193601126100b8576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346104645760203660031901126104645761011a61089d565b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146105095760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005560405163de53fcd560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f916104da575b506001600160a01b0382165f8181526001602052604090205490919060ff16156104cb575f828152600360205260409020546001600160a01b0316828110939084156104c45780945b156104bd57505b604051600160f81b6020820152601160f81b6021820152600281529061022b6022836108c9565b6060926040519161023c85846108c9565b60028352601f1985015f5b8181106104ad575050855f525f60205260405f205460405190602082019082821067ffffffffffffffff831117610499576102c2916040989798525f83526102b460405193849260208401525f60408401525f898401525f608084015260a08084015260c083019061097f565b03601f1981018352826108c9565b6102cb846109a3565b526102d5836109a3565b50604080516001600160a01b039889166020820152918816908201529516828601819052828652946103086080826108c9565b610311826109c4565b5261031b816109c4565b5060018060a01b037f0000000000000000000000000000000000000000000000000000000000000000169161035e6040519485926040602085015283019061097f565b91601f19828403016040830152805180845260208401936020808360051b8301019301945f915b83831061046857505050506103a3925003601f1981018452836108c9565b803b15610464576103d65f9291839260405194858094819363dd46508f60e01b835260406004840152604483019061097f565b42602483015203925af1801561045957610444575b50808352826020526040832054907f17342fa131edbe691fdcf4ca3717851d45445a2b253c303a7bd644f7d55be7d08480a460017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005580f35b6104519193505f906108c9565b5f915f6103eb565b6040513d5f823e3d90fd5b5f80fd5b919360019193955060206104878192601f19868203018752895161097f565b97019301930190928794929593610385565b634e487b7160e01b5f52604160045260245ffd5b8087602080938801015201610247565b9050610204565b81946101fd565b63057db18760e21b5f5260045ffd5b6104fc915060203d602011610502575b6104f481836108c9565b8101906108eb565b5f6101b4565b503d6104ea565b633ee5aeb560e01b5f5260045ffd5b34610464575f366003190112610464576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461046457602036600319011261046457602061057f61057a61089d565b61090a565b604051908152f35b34610464576060366003190112610464576105a061089d565b602435906044356001600160a01b0381169190829003610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610762576001600160a01b03169081158015610759575b61074a57825f52600260205260ff60405f2054168015610734575b610725576040516331a9108f60e11b8152600481018490526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610459575f91610706575b50306001600160a01b03909116036104cb57815f525f6020528260405f2055815f52600360205260405f20906bffffffffffffffffffffffff60a01b825416179055805f52600160205260405f20600160ff19825416179055815f52600260205260405f20600160ff198254161790557f2cabb2a2973327d5863ceb4707e9441851243897e86d587ee35943599752eb545f80a3005b61071f915060203d602011610502576104f481836108c9565b84610670565b630b58c0a560e11b5f5260045ffd5b50815f52600160205260ff60405f205416610618565b63af82636160e01b5f5260045ffd5b508082146105fd565b631966391b60e11b5f5260045ffd5b34610464576020366003190112610464576001600160a01b0361079261089d565b165f526001602052602060ff60405f2054166040519015158152f35b34610464576080366003190112610464576107c761089d565b506107d06108b3565b5060643567ffffffffffffffff8111610464573660238201121561046457806004013567ffffffffffffffff81116104645736910160240111610464577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361084f57604051630a85bd0160e11b8152602090f35b63041fb8cb60e31b5f5260045ffd5b34610464576020366003190112610464576020906001600160a01b0361088261089d565b165f9081526003835260409020546001600160a01b03168152f35b600435906001600160a01b038216820361046457565b602435906001600160a01b038216820361046457565b90601f8019910116810190811067ffffffffffffffff82111761049957604052565b9081602091031261046457516001600160a01b03811681036104645790565b803b1561097a576040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa908115610459575f9161094b575090565b90506020813d602011610972575b81610966602093836108c9565b81010312610464575190565b3d9150610959565b505f90565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b8051156109b05760200190565b634e487b7160e01b5f52603260045260245ffd5b8051600110156109b0576040019056fea2646970667358221220ec800e761e8c581c7282498dca818f4f12e93984178ab2a657dbd5db9d8a188064736f6c634300081a0033","sourceMap":"2272:51031:6:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;2272:51031:6;1273:26:11;;1269:95;;2272:51031:6;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;-1:-1:-1;2272:51031:6;;1397:7:46;;;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;3052:40:11;;-1:-1:-1;3052:40:11;2093:20:12;1505:66:28;2272:51031:6;10861:2;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;13050:32;:72;;;;-1:-1:-1;13050:104:6;;;;-1:-1:-1;13050:163:6;;;;-1:-1:-1;13033:211:6;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13258:30;;:35;13254:79;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13347:34;;:39;13343:87;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13444:26;;:31;13440:71;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13525:37;;:42;13521:93;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;13660:54:6;;2272:51031;;;;13660:54;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13660:54;;;;;;;-1:-1:-1;13660:54:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;13729:38;;;13725:141;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;13906:57:6;;2272:51031;;;;;13660:54;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;13906:57;;;;;;;-1:-1:-1;13906:57:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;13978:30;;;13974:128;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;1325:13:46;14218:56:6;-1:-1:-1;;14217:90:6;14213:155;;2272:51031;;-1:-1:-1;;;14411:18:6;;2272:51031;;13660:54;2272:51031;14411:18;;;;;;;;-1:-1:-1;14411:18:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;14444:37;;;14440:142;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;14611:12:6;;2272:51031;;13660:54;2272:51031;14611:12;;;;;;;;-1:-1:-1;14611:12:6;;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;14637:32;;;14633:133;;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;14779:14:6;;2272:51031;;13660:54;2272:51031;14779:14;;;;;;;;-1:-1:-1;14779:14:6;;;-1:-1:-1;;;;;;;2272:51031:6;14775:68;;2272:51031;;14854:36;1397:7:46;;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;;;;;;1397:7:46;;;;;;;;14900:40:6;1397:7:46;;;;;;;;;;2272:51031:6;;;;;14950:32;2272:51031;;;;;14992:40;2272:51031;;;15042:24;;2272:51031;15076:25;2272:51031;;15123:20;;;;;;;-1:-1:-1;;;;;15123:20:6;;;;;;;;;;;;-1:-1:-1;15123:20:6;;;;;15111:32;;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;15162:45;;;;-1:-1:-1;;;;;15162:45:6;;;;;;;;2272:51031;15162:45;;;;;;2272:51031;;15162:45;;;-1:-1:-1;15162:45:6;;;;;15153:54;;2272:51031;;15235:26;;;;-1:-1:-1;;;;;15235:26:6;;;;;;;;;;;;;;;-1:-1:-1;15235:26:6;;;;;15217:44;;2272:51031;;;;;;;15153:54;1397:7:46;15111:32:6;1397:7:46;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;15292:287;;;;;;2272:51031;;;;;;;;;;;;;;;-1:-1:-1;;;;;15292:287:6;;;;;;;;15111:32;15292:287;;;;;;15341:4;2272:51031;;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;;1397:7:46;;2272:51031:6;15042:24;1397:7:46;;2272:51031:6;15341:4;2272:51031;1397:7:46;;2272:51031:6;15292:287;;;-1:-1:-1;15292:287:6;;;;;15271:308;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;-1:-1:-1;15594:58:6;-1:-1:-1;;15594:58:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15042:24;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;15111:32;2272:51031;;;;;;;;;;;;;;;;;;;;15153:54;2272:51031;;;;;;;;;;15271:308;2272:51031;;;;;;;;;;15217:44;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15292:287;2272:51031;;;-1:-1:-1;2272:51031:6;;;;;15292:287;2272:51031;;;-1:-1:-1;2272:51031:6;;13660:54;2272:51031;;-1:-1:-1;2272:51031:6;14775:68;14330:27;;;-1:-1:-1;14816:27:6;13660:54;-1:-1:-1;14816:27:6;14779:14;;;2272:51031;14779:14;;2272:51031;14779:14;;;;;;2272:51031;14779:14;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;14779:14;;;2272:51031;-1:-1:-1;2272:51031:6;;14779:14;;;-1:-1:-1;14779:14:6;;14633:133;14692:63;;;-1:-1:-1;14692:63:6;13660:54;2272:51031;;;;-1:-1:-1;14692:63:6;14611:12;;;2272:51031;14611:12;;2272:51031;14611:12;;;;;;2272:51031;14611:12;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;14611:12;;;;;;-1:-1:-1;14611:12:6;;14440:142;14504:67;;;-1:-1:-1;14504:67:6;13660:54;2272:51031;;;;-1:-1:-1;14504:67:6;14411:18;;;;2272:51031;14411:18;2272:51031;14411:18;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;13974:128;14031:60;;;-1:-1:-1;14031:60:6;13660:54;2272:51031;;;;-1:-1:-1;14031:60:6;13906:57;;;2272:51031;13906:57;;2272:51031;13906:57;;;;;;2272:51031;13906:57;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;13906:57;;;;;;-1:-1:-1;13906:57:6;;13725:141;13790:65;;;-1:-1:-1;13790:65:6;13660:54;2272:51031;;;;-1:-1:-1;13790:65:6;13660:54;;;;2272:51031;13660:54;2272:51031;13660:54;;;;;;;:::i;:::-;;;;13521:93;13302:31;;;-1:-1:-1;13576:38:6;;2272:51031;;-1:-1:-1;13576:38:6;13033:211;13231:13;;;-1:-1:-1;13231:13:6;;-1:-1:-1;13231:13:6;13050:163;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13174:39;13050:163;;:104;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13126:28;13050:104;;:72;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;13086:36;13050:72;;1269:95:11;1322:31;;;-1:-1:-1;1322:31:11;-1:-1:-1;1322:31:11;2272:51031:6;;-1:-1:-1;1322:31:11;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;:::o","linkReferences":{}},"deployedBytecode":{"object":"608080604052600436101561003d575b50361561001a575f80fd5b6010546001600160a01b0316330361002e57005b633199b48960e11b5f5260045ffd5b5f3560e01c90816301f4727f1461262a57508063092c08bd146122995780630e5b0aae1461213f57806312261ee7146120fb5780631bd1cc0a146120d35780631cad862d146120125780631df6b8c514611fe9578063218d578f14611fcd578063236a4afb14611fab5780632b9b96fe14610a785780632bcfaf3f14611f905780632d1250b814611f735780632f53ef2f14611f2e5780633108213414611ecd578063374f90c314611eb15780633a9391e814611d915780633cf28b5a14611a8a578063496aa10014611a465780634c1c1c6e14611a0657806350e25ac2146119e9578063571a96b41461190557806358373f04146118d957806359a20bea1461189f57806364df049e146107e75780636651812c1461185b5780636783774b1461183e5780636de13a36146117c0578063715018a6146117a1578063767b7c1614611730578063791b98bc146116ec57806379ba50971461166c5780637a72f3961461164f5780637aed273e1461161e578063858f5964146115f657806386074985146115db578063867727bb146115be5780638763e3dc146114605780638da5cb5b146114395780639201ea0a1461141d5780639831705e146113e05780639b924452146113b85780639f3c193214611162578063a480ca7914610fa6578063a72101af14610f42578063ae72d87114610f25578063b20e51af14610ea5578063b3964f2314610ac1578063c4b7de9714610a7d578063cb3051af14610a78578063cc6d7a3914610a34578063cf3cf57314610a17578063d1ec471a146109a4578063d6a0eef5146108d1578063d7b96d4e1461088d578063dbcb9c7614610853578063dc4c90d31461080f578063de53fcd5146107e7578063e1d0d3d91461077e578063e30c397814610756578063e3d891711461073b578063e73e334a146105f5578063f2fde38b14610588578063f35abbcf14610509578063f56f05b214610493578063f718b78c146103ec578063fbe532341461036a5763ff6d8d051461032a575f61000f565b346103665760203660031901126103665761035361034661266b565b61034e613979565b613a2d565b60015f805160206159e283398151915255005b5f80fd5b346103665760203660031901126103665761038361266b565b61038b613109565b6001600160a01b031680156103dd57600280546001600160a01b0319811683179091556001600160a01b03167ff233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b5355225f80a3005b63d92e233d60e01b5f5260045ffd5b3461036657604036600319011261036657602061048b6001600160801b036104126126ad565b61041d60043561332d565b9060ff60046040519361042f8561275d565b805485526001810154888601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b949094169316916139b1565b604051908152f35b346103665760203660031901126103665760043580151590818103610366577f4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b916020916104df613109565b6104fc575b60ff19600e541660ff821617600e55604051908152a1005b610504615076565b6104e4565b6060366003190112610366576004356001600160401b0381116103665761014060031982360301126103665761055790610541612697565b610549613979565b33916024359060040161425d565b60015f805160206159e283398151915255604080516001600160a01b039384168152919092166020820152f35b0390f35b34610366576020366003190112610366576105a161266b565b6105a9613109565b60018060a01b0316806001600160601b0360a01b600154161760015560018060a01b035f54167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b34610366576101003660031901126103665760043560e03660231901126103665761061e613109565b6106278161332d565b506040516106348161275d565b6024359081815260443591826020830152606435908160408401526084359081606085015260a4359262ffffff84169384810361036657608086015260c435928360020b8403610366578360a087015260e43595861515870361036657808760c06106a093015261311c565b6106a988612823565b92909261072857610702976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b7f2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b5f80a2005b634e487b7160e01b5f525f60045260245ffd5b34610366575f36600319011261036657602060405160108152f35b34610366575f366003190112610366576001546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761079761266b565b61079f613109565b600680546001600160a01b039283166001600160a01b0319821681179092559091167f762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d5f80a3005b34610366575f366003190112610366576002546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760403660031901126103665761035361086f61266b565b6108776126ad565b90610880613109565b610888613979565b612bc1565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60a0366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610905612697565b61090d612681565b906084356001600160401b0381116103665761092d9036906004016126ee565b939092610938613979565b6005546001600160a01b03163303610995576109679261095e926024359060040161425d565b93909284614f59565b60015f805160206159e283398151915255604080516001600160a01b03928316815292909116602083015290f35b63754f554b60e11b5f5260045ffd5b34610366576020366003190112610366576004356109c0613109565b80158015610a0d575b6109fe576020817f2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f92600d55604051908152a1005b63d9521a8560e01b5f5260045ffd5b50603c81116109c9565b34610366575f366003190112610366576020600354604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6126c3565b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657610ada61266b565b5f6102c0604051610aea81612794565b8281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e082015260606101008201526060610120820152826101408201528261016082015282610180820152826101a0820152826101c0820152826101e08201528261020082015282610220820152826102408201528261026082015282610280820152826102a0820152015260018060a01b03165f52600860205260405f20600f60405191610ba083612794565b80546001600160a01b039081168452600182015481166020850152600282015481166040850152600382015416606084015260048101546080840152600581015460a0840152600681015460c0840152610bfc60078201612b06565b60e0840152610c0d60088201612b06565b610100840152610c1f60098201612b06565b610120840152600a8101546001600160801b03811661014085015260801c610160840152600b8101546001600160801b03811661018085015261ffff8160801c166101a085015262ffffff8160901c166101c085015260a81c60020b6101e0840152600c8101546001600160801b03811661020085015260801c6102208401526001600160801b03600d8201546001600160401b03811661024086015260401c16610260840152600e8101546001600160801b03811661028085015260801c6102a084015201546102c082015260405180916020825260018060a01b03815116602083015260018060a01b03602082015116604083015260018060a01b03604082015116606083015260018060a01b036060820151166080830152608081015160a083015260a081015160c083015260c081015160e08301526102c0610dad610d95610d7d60e08501516102e061010088015261030087019061271e565b610100850151868203601f190161012088015261271e565b610120840151858203601f190161014087015261271e565b916001600160801b03610140820151166101608501526001600160801b03610160820151166101808501526001600160801b03610180820151166101a085015261ffff6101a0820151166101c085015262ffffff6101c0820151166101e08501526101e081015160020b6102008501526001600160801b03610200820151166102208501526001600160801b03610220820151166102408501526001600160401b03610240820151166102608501526001600160801b03610260820151166102808501526001600160801b03610280820151166102a08501526001600160801b036102a0820151168285015201516102e08301520390f35b3461036657602036600319011261036657600435610ec1613109565b80151580610f0e575b610eff576020817f82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e92600c55604051908152a1005b63800c7e9160e01b5f5260045ffd5b506107d081111580610eca57506126ac8111610eca565b34610366575f366003190112610366576020600754604051908152f35b6080366003190112610366576004356001600160401b03811161036657610140600319823603011261036657610f76612697565b6064356001600160401b0381116103665761095e610f9b6109679236906004016126ee565b949093610549613979565b3461036657602036600319011261036657610fbf61266b565b610fc7613979565b6002546001600160a01b039081169190811690816110bb575060405163144c5ebf60e31b815260048101839052916020836024815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061107d575b60209350915b7f9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d84604051858152a360015f805160206159e283398151915255604051908152f35b506020833d6020116110a8575b8161109760209383612802565b810103126103665760209251611035565b3d915061108a565b6040513d5f823e3d90fd5b6040516332cc98db60e21b81526001600160a01b039182166004820152908316602482015291602083806044810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156110b0575f9061112f575b602093509161103b565b506020833d60201161115a575b8161114960209383612802565b810103126103665760209251611125565b3d915061113c565b346103665760803660031901126103665761117b61266b565b602435906001600160401b0382116103665781600401916101406003198236030112610366576111a9612681565b6004546001600160a01b03169283156113a95761ffff6111cb60c48501613ec6565b1661139a576111dc60e48401612853565b61138b576111ed8260443587615352565b9260448101916111fd8388613ed5565b939092606481019461120f868b613ed5565b926084019561121e878d613f07565b92369061122a92613f1c565b92369061123692613f1c565b903661124191613f70565b9061124c928961548a565b61125685876155c8565b92979091868c6112668782613ed5565b91906112728c83613ed5565b9461127d9193613f07565b92369061128992613f1c565b92369061129592613f1c565b90366112a091613f70565b916112ac938d8a615683565b9a6112b88c9582613ed5565b986112c39083613ed5565b986112ce9193613f07565b9836906112da92613f1c565b9636906112e692613f1c565b96366112f191613f70565b976112fb99615778565b604051623699ed60e51b815291908290819061131a90600483016140c5565b03815a93604094fa9182156110b0576060925f925f91611356575b50604080516001600160a01b03948516815291909316602082015291820152f35b905061137b91925060403d604011611384575b6113738183612802565b81019061403b565b91909184611335565b503d611369565b63f2b1147160e01b5f5260045ffd5b633f73d63b60e11b5f5260045ffd5b6357332dcf60e01b5f5260045ffd5b34610366575f366003190112610366576005546040516001600160a01b039091168152602090f35b34610366576020366003190112610366576001600160a01b0361140161266b565b165f52600a602052602060ff60405f2054166040519015158152f35b34610366575f3660031901126103665760206040516104008152f35b34610366575f366003190112610366575f546040516001600160a01b039091168152602090f35b346103665760403660031901126103665761147961266b565b6114816126df565b6006546001600160a01b031633036115ab576001600160a01b03821691821580156115a2575b61159357816114fb575b5060207f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b691835f52600a825260405f209015159060ff1981541660ff8316179055604051908152a2005b825f52600b60205260405f20916040519261151584612742565b8054808552604060ff60026001850154948560208a015201541695019485521590811561158a575b5061157b5761157460209260ff7f060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b695511690612fd0565b91506114b1565b630ec98c7960e31b5f5260045ffd5b9050158561153d565b630137dfd360e51b5f5260045ffd5b50803b156114a7565b634ad9b54f60e01b5f523360045260245ffd5b34610366575f366003190112610366576020604051624c4b408152f35b34610366575f36600319011261036657602060405160408152f35b34610366575f366003190112610366576004546040516001600160a01b039091168152602090f35b346103665760203660031901126103665761035361163a61266b565b611642613109565b61164a613979565b6128fe565b34610366575f366003190112610366576020604051620f423f8152f35b34610366575f36600319011261036657600154336001600160a01b038216036116d9576001600160a01b03199081166001555f805433928116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b63118cdaa760e01b5f523360045260245ffd5b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103665760203660031901126103665761174961266b565b611751613109565b6001600160a01b031680156103dd576020817f56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad926001600160601b0360a01b6005541617600555604051908152a1005b34610366575f366003190112610366576317d5c96560e11b5f5260045ffd5b34610366576040366003190112610366576004357f5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca060206117ff6126df565b611807613109565b6118338160046118168761332d565b019060ff60301b825491151560301b169060ff60301b1916179055565b6040519015158152a2005b34610366575f366003190112610366576020600d54604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610366576020366003190112610366576118b861266b565b3033036118ca576118c890613a2d565b005b63029a949d60e31b5f5260045ffd5b34610366576020366003190112610366576118f261266b565b50602060ff600e54166040519015158152f35b3461036657602036600319011261036657602061192360043561332d565b60405161192f8161275d565b815481526001820154918382019283526002810154918260408201526004600383015492836060840152015462ffffff6080830192818316845260ff60a08201938060181c60020b855260301c16151560c0820152519551925116905160020b90600c5492600d5494604051968988019889525f60408901526060880152608087015260a086015260c085015260e084015261010083015261012082015261012081526119de61014082612802565b519020604051908152f35b34610366575f366003190112610366576020600c54604051908152f35b34610366576020366003190112610366576001600160a01b03611a2761266b565b165f526009602052602060018060a01b0360405f205416604051908152f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657602036600319011261036657611aa361266b565b5f6101c0604051611ab381612778565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201528261010082015282610120820152826101408201528261016082015282610180820152826101a0820152015260018060a01b0316805f52600860205260405f209060018060a01b03825416908115159283925f94611cda575b600182015460028301545f948552600f602052604094859020546003850154600b860154600c870154600d9097015497516001600160a01b039586169a6001600160401b03909916989096909594851694909391929181169116611b9c87612778565b838752602087019a8b5260408701948552606087019182526080870190815260a08701906001600160801b038416825260c08801928460901c62ffffff16845260e089019460a81c60020b85526101008901955f87526101208a01975f89526101408b019960ff168a526101608b019a6001600160801b038d168c5261018081019c60801c8d526101a081019d8e526101c0019d8e526040519e8f928352600160a01b600190039051166020830152600160a01b600190039051169060400152600160a01b6001900390511660608d0152600160a01b6001900390511660808c01525160a08b01525162ffffff1660c08a01525160020b60e08901525161ffff166101008801525115156101208701525160ff166101408601525161016085015251610180840152516101a08301525115156101c08201526101e090f35b600182015460405163c19d93fb60e01b815290602090829060049082906001600160a01b03165afa9081156110b0575f91611d62575b506005811015611d4e5760028114611d45575b60038114611d3c575b600403611b395760039450611b39565b60029550611d2c565b60019550611d23565b634e487b7160e01b5f52602160045260245ffd5b611d84915060203d602011611d8a575b611d7c8183612802565b8101906128aa565b86611d10565b503d611d72565b34610366576020366003190112610366576004356001600160a01b0381169081900361036657611dbf613109565b6004546001600160a01b038116611ea25781158015611e99575b6113a95760405163c45a015560e01b8152602081600481865afa9081156110b0575f91611e5f575b50306001600160a01b0390911603611e50576001600160a01b03191681176004556040519081527fd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c90602090a1005b6395fbfce560e01b5f5260045ffd5b90506020813d602011611e91575b81611e7a60209383612802565b8101031261036657611e8b90612896565b83611e01565b3d9150611e6d565b50813b15611dd9565b63a741a04560e01b5f5260045ffd5b34610366575f366003190112610366576020604051617fff8152f35b34610366576020366003190112610366576001600160a01b03611eee61266b565b165f52600b60205260405f20805461058460ff60026001850154940154166040519384938491604091949360ff9160608501968552602085015216910152565b34610366576020366003190112610366576020611f59611f4c61266b565b611f54613979565b613367565b5160015f805160206159e283398151915255604051908152f35b34610366575f36600319011261036657602060405162093a808152f35b34610366575f36600319011261036657602060405160068152f35b34610366575f36600319011261036657602060ff600e54166040519015158152f35b34610366575f3660031901126103665760206040516103e88152f35b346103665760203660031901126103665761200261266b565b3033036118ca576118c890613367565b346103665760203660031901126103665761202b612860565b5060e061203960043561332d565b604051906120468261275d565b80549182815262ffffff600183015460208301908152600284015493604084019485526004600382015491606086019283520154946080850192848716845260ff60c060a08801978960181c60020b8952019760301c1615158752604051978852516020880152516040870152516060860152511660808401525160020b60a083015251151560c0820152f35b34610366575f366003190112610366576006546040516001600160a01b039091168152602090f35b34610366575f366003190112610366576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461036657366003190160e081126103665760e09061215c613109565b126103665760405161216d8161275d565b60043580825260243580602084015260443592836040820152606435928360608301526084359062ffffff82169182810361036657608084015260a435908160020b8203610366578160a085015260c43593841515850361036657808560c06121d793015261311c565b600754956801000000000000000087101561228557600187016007556121fc87612823565b91909161072857602098612258976004948455600184015560028301556003820155019182549160181b65ffffff000000169165ffffffffffff1916171781559060ff60301b825491151560301b169060ff60301b1916179055565b60405190807fedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce5f80a28152f35b634e487b7160e01b5f52604160045260245ffd5b34610366576080366003190112610366576122b261266b565b6024356044356064359160ff831692838103610366576006546001600160a01b031633036115ab576001600160a01b0385169485158015612621575b8015612619575b8015612600575b80156125f6575b80156125d7575b61157b578161231891612fd0565b6b0285336cba1864068c0000006b01cf389cd46047d0300000006001600160801b038416612345826128dd565b676765c793fa10079d601b1b0180676765c793fa10079d601b1b1161258857838103908111612588576123798185846152b3565b908015612574576123e691612393918685091515906128d0565b6040516347c0a09960e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694909290916020918491829190879060015f8160048701613075565b0381875afa80156110b05761259c575b61240091506128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857838303928311612588576124358385846152b3565b93831561257457612472946020946124519285091515906128d0565b6040518095819482936347c0a09960e11b8452600160028160048701613075565b03915afa80156110b057612513575b5061250e907f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19460ff60026040516124b881612742565b86815260208101888152604082019485528a5f52600b60205260405f20915182555160018201550191511660ff198254161790556040519384938491604091949360ff9160608501968552602085015216910152565b0390a2005b906020823d60201161256c575b8161252d60209383612802565b81010312610366577f67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d19461256361250e93612896565b50945090612481565b3d9150612520565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6020823d6020116125cf575b816125b560209383612802565b81010312610366576125c961240092612896565b506123f6565b3d91506125a8565b506125ee6b01cf389cd46047d03000000084615214565b84141561230a565b5060068510612303565b506f31661ed73b91deaa33980c77f429d61683116122fc565b5082156122f5565b50803b156122ee565b34610366575f366003190112610366577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600435906001600160a01b038216820361036657565b606435906001600160a01b038216820361036657565b604435906001600160a01b038216820361036657565b602435906001600160a01b038216820361036657565b34610366575f3660031901126103665760206040516101008152f35b60243590811515820361036657565b9181601f84011215610366578235916001600160401b038311610366576020808501948460051b01011161036657565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b606081019081106001600160401b0382111761228557604052565b60e081019081106001600160401b0382111761228557604052565b6101e081019081106001600160401b0382111761228557604052565b6102e081019081106001600160401b0382111761228557604052565b60a081019081106001600160401b0382111761228557604052565b60c081019081106001600160401b0382111761228557604052565b61018081019081106001600160401b0382111761228557604052565b90601f801991011681019081106001600160401b0382111761228557604052565b60075481101561283f5760075f52600560205f20910201905f90565b634e487b7160e01b5f52603260045260245ffd5b3580151581036103665790565b6040519061286d8261275d565b5f60c0838281528260208201528260408201528260608201528260808201528260a08201520152565b51906001600160a01b038216820361036657565b90816020910312610366575160058110156103665790565b6005811015611d4e57602452565b9190820180921161258857565b80156125745775815c9fb58bd8c9d8ca7a99d82faaf1100000000000000490565b61290781613c11565b600181015460405163c19d93fb60e01b81526001600160a01b03909116925f91602081600481885afa9081156110b0575f91612aaf575b506005811015611d4e5760018103612a9257506040516336e33a2960e21b8152602081600481885afa80156110b0575f90612a49575b6001600160401b0391501662093a80810180911161258857804210612a375750625522655a10612a2857303b1561036657604051632cd105f560e11b81526001600160a01b0382166004820181905294905f816024818330624c4b40f19081612a13575b50612a0c577f52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc0584093612a0892613c45565b80a2565b5050505050565b612a209194505f90612802565b5f925f6129d8565b633c6be2b360e01b5f5260045ffd5b63bdcd75af60e01b5f5260045260245ffd5b506020813d602011612a8a575b81612a6360209383612802565b8101031261036657516001600160401b0381168103610366576001600160401b0390612974565b3d9150612a56565b633bf2e2f960e11b5f526001600452612aaa906128c2565b60445ffd5b612ac8915060203d602011611d8a57611d7c8183612802565b5f61293e565b90600182811c92168015612afc575b6020831014612ae857565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612add565b9060405191825f825492612b1984612ace565b8084529360018116908115612b845750600114612b40575b50612b3e92500383612802565b565b90505f9291925260205f20905f915b818310612b68575050906020612b3e928201015f612b31565b6020919350806001915483858901015201910190918492612b4f565b905060209250612b3e94915060ff191682840152151560051b8201015f612b31565b6001600160401b03811161228557601f01601f191660200190565b5f916001600160a01b0316156103dd57612bda81613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91612fa4575b506005811015611d4e5760028103612f8c5750600d8101936001600160401b0385541662093a80810180911161258857804210612a37575060405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab2360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f5a575b50612f4b5760405163d737d0c760e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f91612f11575b506001600160a01b0316612f0257625522655a10612a2857303b1561036657604051631df6b8c560e01b81526001600160a01b0390941660048501819052935f816024818330624c4b40f19081612eed575b50612a0c57600c8201948554936001600160801b0385169460801c9385158015612ee5575b612ed6576003015483545f909855825467ffffffffffffffff19169092556001600160a01b039687169690911690803b15612ed257828091600460405180948193630b642c3b60e21b83525af18015612ec7578792918491612ea8575b505080612e7157508180808681945af13d15612e6c573d612e0181612ba6565b90612e0f6040519283612802565b81528260203d92013e5b15612e5d57507f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca916040915b612e50818787614ff5565b82519182526020820152a3565b634033e4e360e01b8152600490fd5b612e19565b847f7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca95935060409492612ea392614ff5565b612e45565b8192935090612eb691612802565b612ec3578590825f612de1565b5080fd5b6040513d85823e3d90fd5b8280fd5b636103a62360e11b8452600484fd5b508415612d84565b612efa9192505f90612802565b5f905f612d5f565b634404de2160e01b5f5260045ffd5b90506020813d602011612f43575b81612f2c60209383612802565b8101031261036657612f3d90612896565b5f612d0d565b3d9150612f1f565b6328486b6360e11b5f5260045ffd5b90506020813d602011612f84575b81612f7560209383612802565b8101031261036657515f612cbb565b3d9150612f68565b633bf2e2f960e11b5f526002600452612aaa906128c2565b612fbd915060203d602011611d8a57611d7c8183612802565b5f612c10565b9190820391821161258857565b60405163313ce56760e01b81529190602090839060049082906001600160a01b03165afa5f9281613037575b506130105763721e0a6560e11b5f5260045ffd5b60ff9182169116808203613022575050565b634e3de34f60e01b5f5260045260245260445ffd5b9092506020813d60201161306d575b8161305360209383612802565b81010312610366575160ff8116810361036657915f612ffc565b3d9150613046565b6001600160a01b0391821681529116602082015260029190910b604082015260608101919091526ab5facfe5b81c365c00000060808201526001600160801b039190911660a082015260c00190565b6001600160a01b0391821681529116602082015260029190910b6040820152606081019190915260808101919091526001600160801b0390911660a082015260c00190565b5f546001600160a01b031633036116d957565b676765c793fa10079d601b1b815114801590613321575b8015613304575b80156132dc575b6132cd576103e86020820151116132be57620f423f62ffffff6080830151161180156132ad575b801561329b575b61328c576001600160801b03604060a083015160020b92015116906b0285336cba1864068c000000906131ad6b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019182676765c793fa10079d601b1b1161258857808303928311612588576131e28382866152b3565b8315612574576020936131f99286091515906128d0565b6040516347c0a09960e11b8152938492839261321c92915f600160048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b0576132575750565b6020813d602011613284575b8161327060209383612802565b810103126103665761328190612896565b50565b3d9150613263565b63153e50cf60e11b5f5260045ffd5b50617fff60a082015160020b1361316f565b505f60a082015160020b1315613168565b6313888a8960e21b5f5260045ffd5b630b1ba79360e01b5f5260045ffd5b5060608101516132fd60408301516b01cf389cd46047d03000000090615214565b1415613141565b506f31661ed73b91deaa33980c77f429d61660408201511161313a565b50604081015115613133565b6007548110156133445761334090612823565b5090565b6368b42c5960e01b5f5260045ffd5b51906001600160801b038216820361036657565b90613370612860565b5061337a82613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169391905f90602081600481895afa9081156110b0575f9161395a575b506005811015611d4e5760028103612f8c5750600c8201908154906001600160801b0382169160801c9682158015613952575b61394357600d8501805477ffffffffffffffffffffffffffffffff0000000000000000191660408a901b600160401b600160c01b031617815597613428615076565b6003860180546001600160a01b0389811699929391169189831090811561393c5783915b1561393457898882955b600b83019660208854928360a81c60020b96604051986134758a6127b0565b60018060a01b031689528289019360018060a01b0316845262ffffff60408a019560901c1685526134fb60608a01968988528b600a60808d019a60018060a01b037f0000000000000000000000000000000000000000000000000000000000000000168c52015460801c916040519b8c9687966347c0a09960e11b8852600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9485156110b0575f956138f2575b5060405163313b65df60e11b815295516001600160a01b039081166004880152905181166024870152905162ffffff166044860152905160020b606485015290518116608484015290811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af19081156110b0578a916138b1575b5060e09260c491907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613602858285614ff5565b86546001600160a01b03168a82826138a0575b505087546001600160a01b031695905085613899578a925b549a6040519b8c97889663272c24c360e11b88526004880152602487015262ffffff8160901c16604487015260a81c60020b6064860152608485015260a48401525af19384156110b0575f946137ed575b506060840180516080808701805190911b6001600160801b0319166001600160801b0390921691909117600e8901558551600f9098018890555f909655895467ffffffffffffffff1916909955549297939488936001600160a01b03908116917f000000000000000000000000000000000000000000000000000000000000000090911690813b15610366576064895f8094604051968795869463396ebb2360e11b86526004860152602485015260448401525af180156110b0576137d8575b50803b15612ec35781809160046040518094819363af526e0d60e01b83525af180156137cd576137b5575b5050916060916001600160801b03807f0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c25995519351169151169060405192835260208301526040820152a2565b6137c0828092612802565b6137ca5780613769565b80fd5b6040513d84823e3d90fd5b6137e59192505f90612802565b5f905f61373e565b90935060e0813d60e011613891575b8161380960e09383612802565b8101031261036657600f9061388560c0604051926138268461275d565b8051845261383660208201612896565b602085015261384760408201613353565b604085015261385860608201613353565b606085015261386960808201613353565b608085015261387a60a08201613353565b60a085015201613353565b60c0820152939061367e565b3d91506137fc565b5f9261362d565b6138a992614ff5565b5f8a82613615565b90506020813d6020116138ea575b816138cc60209383612802565b810103126103665751918260020b83036103665791508860c46135c5565b3d91506138bf565b919094506020823d60201161392c575b8161390f60209383612802565b810103126103665761392462ffffff92612896565b949091613537565b3d9150613902565b898885613456565b809161344c565b632fbe4d8560e21b5f5260045ffd5b5087156133e6565b613973915060203d602011611d8a57611d7c8183612802565b5f6133b3565b60025f805160206159e283398151915254146139a25760025f805160206159e283398151915255565b633ee5aeb560e01b5f5260045ffd5b9291909183519360208101519060a062ffffff60808301511691015160020b91600c5493600d54956040519760208901998a5260018060a01b031660408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152613a2761014082612802565b51902090565b613a3681613c11565b600181015460405163c19d93fb60e01b81526001600160a01b039091169190602081600481865afa9081156110b0575f91613bf2575b506005811015611d4e5760018103612a925750604051634f1f58fd60e01b815292602084600481865afa9384156110b0575f94613bbe575b5060405163b7cb1b1360e01b8152602081600481875afa80156110b0575f90613b8b575b6020915060018060a01b03600385015416613b0d600b86015460a81c60020b92600a87015460801c90604051998a9586956347c0a09960e11b875289600488016130c4565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057613b50575b612b3e9350613c45565b6020843d602011613b83575b81613b6960209383612802565b8101031261036657613b7d612b3e94612896565b50613b46565b3d9150613b5c565b506020813d602011613bb6575b81613ba560209383612802565b810103126103665760209051613ac8565b3d9150613b98565b9093506020813d602011613bea575b81613bda60209383612802565b810103126103665751925f613aa4565b3d9150613bcd565b613c0b915060203d602011611d8a57611d7c8183612802565b5f613a6c565b6001600160a01b039081165f90815260086020526040902080549092911615613c3657565b630cbdb7b360e41b5f5260045ffd5b600382018054919392916001600160a01b0316801591908215613e5c575060405f9447935b613e37575b81516001629272fb60e01b0319815230600482015295869160249183916001600160a01b03165af19384156110b0575f94613e00575b50601080546001600160a01b0319169055546001600160a01b031680613d9b575047905b8082106132cd57613cd991612fc3565b9283158015613d93575b613d84576001600160801b0384118015613d74575b6132cd57608083901b6001600160801b0319166001600160801b03851617600c8301557fcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b492604092600d01805467ffffffffffffffff1916426001600160401b0316179055825194855260208501526001600160a01b031692a2565b506001600160801b038311613cf8565b636103a62360e11b5f5260045ffd5b508215613ce3565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613dce575b5090613cc9565b90506020813d602011613df8575b81613de960209383612802565b8101031261036657515f613dc7565b3d9150613ddc565b9093506040813d604011613e2f575b81613e1c60409383612802565b810103126103665760200151925f613ca5565b3d9150613e0f565b60018060a01b036001860154166001600160601b0360a01b6010541617601055613c6f565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156110b0575f91613e94575b505f9460409193613c6a565b90506020813d602011613ebe575b81613eaf60209383612802565b8101031261036657515f613e88565b3d9150613ea2565b3561ffff811681036103665790565b903590601e198136030182121561036657018035906001600160401b0382116103665760200191813603831361036657565b903590609e1981360301821215610366570190565b929192613f2882612ba6565b91613f366040519384612802565b829481845281830111610366578281602093845f960137010152565b9080601f8301121561036657816020613f6d93359101613f1c565b90565b919060a0838203126103665760405190613f89826127b0565b819380356001600160401b0381116103665782613fa7918301613f52565b835260208101356001600160401b0381116103665782613fc8918301613f52565b602084015260408101356001600160401b0381116103665782613fec918301613f52565b604084015260608101356001600160401b0381116103665782614010918301613f52565b60608401526080810135916001600160401b038311610366576080926140369201613f52565b910152565b919082604091031261036657613f6d602061405584612896565b9301612896565b613f6d9160806140b46140a261409061407e865160a0875260a087019061271e565b6020870151868203602088015261271e565b6040860151858203604087015261271e565b6060850151848203606086015261271e565b92015190608081840391015261271e565b6020815261024061016060c06141506141036140ed875186602089015261026088019061271e565b6020880151878203601f1901604089015261271e565b604087015190601f19878203016060880152604061413f61412d845160608552606085019061271e565b6020850151848203602086015261271e565b92015190604081840391015261405c565b9460018060a01b036060820151166080860152608081015160a086015260a081015182860152015160018060a01b0381511660e085015260018060a01b0360208201511661010085015260018060a01b0360408201511661012085015260018060a01b0360608201511661014085015260018060a01b036080820151168285015261ffff60a08201511661018085015261ffff60c0820151166101a085015263ffffffff60e0820151166101c08501526001600160801b03610100820151166101e08501526001600160801b036101208201511661020085015260018060a01b0361014082015116610220850152015160020b91015290565b356001600160a01b03811681036103665790565b919093925f9434614f4a5761ffff61427760c08601613ec6565b1661139a5761428860e08501612853565b61138b578361429e846142ec936142f497615352565b9060a081016001600160a01b036142b482614249565b16614f3557506143046142fc85925b6142d06040820182613ed5565b99906142df6060840184613ed5565b9890936080810190613f07565b9a3691613f1c565b953691613f1c565b963690613f70565b6004546001600160a01b0316989089156113a95760ff600e541615614f265761432f8189878761548a565b61433987856155c8565b979190929360c085015115614f175760406143758f9d9283868f8f908f8f918c9061436d8f9d6143909c8a918f888a615683565b9c8d94615778565b809d82518080958194623699ed60e51b8352600483016140c5565b03915afa9d8e156110b0575f915f9f614ef4575b5060a086015160020b6b0285336cba1864068c000000906143d06b01cf389cd46047d0300000006128dd565b676765c793fa10079d601b1b019081676765c793fa10079d601b1b11612588578282039182116125885761440e82846001600160801b038b166152b3565b928215612574578f93602093614431926001600160801b038c16091515906128d0565b926144528960405195869485946347c0a09960e11b86528a60048701613075565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156110b057614ebb575b50604051632501e8ab60e01b81529c8d9081906144ab90600483016140c5565b03815a6040945f91f19d8e156110b0575f9c5f9f614e94575b506001600160a01b03908116908f16819003614e7057506001600160a01b03908116908c16819003614e4c57506001600160a01b038b81165f9081526008602052604090205416614e3d576001600160a01b038d163b15610366575f808e60248e604051948593849263189acdbd60e31b845260018060a01b0316600484015260018060a01b03165af180156110b057614e28575b506001600160a01b038d163b15614def5784808e60248c60405194859384926318ffbf9160e11b845260018060a01b0316600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dfe575b50506001600160a01b03888116908c1603614d5d575b606082015190825191602084015193604001519489516001600160801b03169660208b015161ffff169960808c015162ffffff169b60a0015160020b9c6040519e8f9261461384612794565b600160a01b60019003168352600160a01b60019003166020830152600160a01b60019003169060400152600160a01b600190031660608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526001600160801b03166101608501526001600160801b0388166101808501526101a08401526101c08301526101e08201528161020082015281610220820152816102408201528161026082015281610280820152816102a0820152816102c0820152600160a01b600190038816825260086020526040822090600160a01b60019003600160a01b60019003825116166001600160601b0360a01b835416178255600160a01b600190036020820151166001830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036040820151166002830190600160a01b60019003166001600160601b0360a01b825416179055600160a01b600190036060820151166003830190600160a01b60019003166001600160601b0360a01b8254161790556080810151600483015560a0810151600583015560c0810151600683015560e08101518051906001600160401b038211614bb95781906147e26007860154612ace565b601f8111614d0d575b50602090601f8311600114614ca0578692614c95575b50508160011b915f199060031b1c19161760078301555b6101008101518051906001600160401b038211614bb957819061483e6008860154612ace565b601f8111614c45575b50602090601f8311600114614bd8578692614bcd575b50508160011b915f199060031b1c19161760088301555b6101208101518051906001600160401b038211614bb9576148986009850154612ace565b601f8111614b75575b50602090601f8311600114614af3576102c060409484889560609a9895600f956001600160801b039e9d9b92614ae8575b50508160011b915f199060031b1c19161760098501555b614923600a85018c8061014085015116168d198254161781558c610160840151166001600160801b0382549181199060801b169116179055565b600b84018b8061018084015116168c198254161781556101a0820151815462ffffff60901b6101c085015160901b16906101e085015160a81b62ffffff60a81b169261ffff60801b9060801b16906001600160401b0360801b191617171790556149bd600c85018c8061020085015116168d198254161781558c610220840151166001600160801b0382549181199060801b169116179055565b614a11600d85016001600160401b038061024085015116166001600160401b03198254161781558c61026084015116600160401b600160c01b0382549160401b1690600160401b600160c01b031916179055565b614a4b600e85018c8061028085015116168d198254161781558c6102a0840151166001600160801b0382549181199060801b169116179055565b01519101556001600160a01b038c81168083526009602090815284842080546001600160a01b03199081168f8616908117909255818652600f8352959094208054909516958316959095179093559490930151604080519986168a5292890152949093169286019290925292909216929091907f8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a8960790606090a49190565b015190505f806148d2565b9060098501865280862091865b601f1985168110614b5d575060409460018560609a9895600f956102c0956001600160801b039f9e9c99601f19811610614b45575b505050811b0160098501556148e9565b01515f1960f88460031b161c191690555f8080614b35565b91926020600181928685015181550194019201614b00565b60098501865260208620601f840160051c810160208510614bb2575b601f830160051c82018110614ba75750506148a1565b878155600101614b91565b5080614b91565b634e487b7160e01b85526041600452602485fd5b015190505f8061485d565b92506008850186528086209086935b601f1984168510614c2a576001945083601f19811610614c12575b505050811b016008830155614874565b01515f1960f88460031b161c191690555f8080614c02565b81810151835560209485019460019093019290910190614be7565b90915060088501865260208620601f840160051c810160208510614c8e575b90849392915b601f830160051c82018110614c80575050614847565b888155859450600101614c6a565b5080614c64565b015190505f80614801565b92506007850186528086209086935b601f1984168510614cf2576001945083601f19811610614cda575b505050811b016007830155614818565b01515f1960f88460031b161c191690555f8080614cca565b81810151835560209485019460019093019290910190614caf565b90915060078501865260208620601f840160051c810160208510614d56575b90849392915b601f830160051c82018110614d485750506147eb565b888155859450600101614d32565b5080614d2c565b95975092955093925050506001600160a01b038d163b15614def5784808e6024604051809481936318ffbf9160e11b835260018060a01b038d16600484015260018060a01b03165af18015614df3578e9593898e94898f94958f9996614dc5575b50506145c7565b925094975094508391959750614ddb9250612802565b614def5788928a8e9593898e94895f614dbe565b8480fd5b6040513d88823e3d90fd5b925094975094508391959750614e149250612802565b614def5788928a8e9593898e94895f6145b1565b614e359195505f90612802565b5f935f614559565b63784bb15b60e11b5f5260045ffd5b631f73225f60e01b5f9081526004919091526001600160a01b038c16602452604490fd5b631f73225f60e01b5f9081526004919091526001600160a01b038f16602452604490fd5b909e50614eb1919c5060403d604011611384576113738183612802565b9b909b9d5f6144c4565b6020813d602011614eec575b81614ed460209383612802565b8101031261036657614ee590612896565b505f61448b565b3d9150614ec7565b909e50614f10915060403d604011611384576113738183612802565b9d5f6143a4565b63545b183b60e11b5f5260045ffd5b630b094f2760e31b5f5260045ffd5b6142fc614f4461430492614249565b926142c3565b637e6d78a560e01b5f5260045ffd5b909260208311614fe6575f5b83811015614fdf576001600160a01b03831690614f87600582901b8701614249565b823b15610366576040516318ffbf9160e11b81526001600160a01b039091166004820152915f908390602490829084905af19182156110b057600192614fcf575b5001614f65565b5f614fd991612802565b5f614fc8565b5092505050565b63021c0d4360e01b5f5260045ffd5b916040519163a9059cbb60e01b5f5260018060a01b031660045260245260205f60448180865af19060015f5114821615615055575b604052156150355750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b90600181151661506d57823b15153d1516169061502a565b503d5f823e3d90fd5b60405163c45a015560e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156110b0575f916150ed575b506001600160a01b03163081036150d75750565b63760af28360e11b5f523060045260245260445ffd5b90506020813d60201161511f575b8161510860209383612802565b810103126103665761511990612896565b5f6150c3565b3d91506150fb565b9091906001600160a01b0383169081156151f95750805f52600a60205260ff60405f205416156151ea575f52600b60205260405f20916040519061516a82612742565b835490818352600185015460ff600260208601978389520154169260408501938452159081156151e1575b5061157b5760ff6151a892511690612fd0565b6001600160801b0381511180156151d0575b61157b576001600160801b038091511692511690565b506001600160801b038351116151ba565b9050155f615195565b6349285dfb60e01b5f5260045ffd5b9250506001600160801b036060816040850151169301511690565b9091905f905f19848209908481029283808410930392808403931461529d57826ab5facfe5b81c365c000000111561528b57507f08130125e9dada825d40bbdb331119e3a282c21f0216dbb4752aab603574422793946ab5facfe5b81c365c000000910990828211900360e61b9103601a1c170290565b634e487b71905260116020526024601cfd5b5050506ab5facfe5b81c365c0000009192500490565b90915f198383099280830292838086109503948086039514615344578483111561532c5790829109815f0382168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b82634e487b715f52156003026011186020526024601cfd5b505091508115612574570490565b6153d392610120925f60a0604051615369816127cb565b6060815260606020820152606060408201528260608201528260808201520152610100830135918215615408575b506153ef6153a58480613ed5565b906153e36153b66020880188613ed5565b6153da6153c660408b018b613ed5565b9590966040519d8e6127cb565b3691613f1c565b8b523691613f1c565b60208901523691613f1c565b604086015260608501526080840152013560a082015290565b8192506001600160801b03906154206154839361332d565b9060ff6004604051936154328561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528261047f8284615127565b905f615397565b9291908351519360208101515185159586156155bd575b5085156155b4575b85156155a9575b50841561559b575b841561558a575b508315615580575b8315615573575b508215615566575b508115615557575b8115615545575b8115615533575b8115615521575b8115615510575b5061550157565b635e765b2560e11b5f5260045ffd5b61010091506080015151115f6154fa565b905061010060608201515111906154f3565b905061010060408201515111906154ec565b905061010060208201515111906154e5565b905061010081515111906154de565b516104001091505f6154d6565b516101001092505f6154ce565b80511593506154c7565b60400151516101001093505f6154bf565b6040810151511594506154b8565b60101094505f6154b0565b801595506154a9565b60401095505f6154a1565b906155d1612860565b506155df606083015161332d565b9060ff6004604051936155f18561275d565b80548552600181015460208601526002810154604086015260038101546060860152015462ffffff811660808501528060181c60020b60a085015260301c16151560c08301528193608061565f6156488486615127565b9586956001600160801b03808499169316916139b1565b94015184810361566c5750565b849063ecb2731960e01b5f5260045260245260445ffd5b94926156c46156e4615730966156d6613a27976040519485936156b2602086019860608a52608087019061271e565b858103601f190160408701529061271e565b838103601f190160608501529061405c565b03601f198101835282612802565b51902090805192602082015191615754604082015161574260a06060850151940151956040519a8b9960208b01809e60018060a01b0316905261010060408c01526101208b019061271e565b898103601f190160608b01529061271e565b878103601f190160808901529061271e565b9360a086015260c085015260e084015261010083015203601f198101835282612802565b989194969397959792909260405161578f8161275d565b606080825260208201526040516157a581612742565b606080825260208201526040516157bb816127b0565b60608152602081016060905260408101606090526060810160609052608081016060905260408201526040820152606081015f9052608081015f905260a081015f90526040519061580b826127e6565b5f8252602082015f9052604082015f9052606082015f9052608082015f905260a082015f905260c082015f905260e082015f905261010082015f905261012082015f905261014082015f905261016082015f905260c00152602084015161ffff1691600c5461ffff16600d5463ffffffff169060a087015160020b94604051809d615895826127e6565b308252600160a01b600190037f0000000000000000000000000000000000000000000000000000000000000000166020830152306040830152600160a01b60019003169a8b6060830152600160a01b6001900316906080015260a08d015260c08c015260e08b01526001600160801b03166101008a01526001600160801b0316610120890152600160a01b600190037f00000000000000000000000000000000000000000000000000000000000000001661014089015261016088015287519760200151948151916020810151906040810151606082015191608001519260405195615980876127b0565b86526020860152604085015260608401526080830152604051936159a385612742565b8452602084015260408301525192604051966159be8861275d565b8752602087015260408601526060850152608084015260a083015260c08201529056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204c5a3042640aae81af68a5e1df5961a4f2ccf304688bc35dd117342a56a52eb664736f6c634300081a0033","sourceMap":"2272:51031:6:-:0;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;;16076:21;2272:51031;-1:-1:-1;;;;;2272:51031:6;16062:10;:35;16058:72;;2272:51031;16058:72;16106:24;;;-1:-1:-1;16106:24:6;2272:51031;-1:-1:-1;16106:24:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;33576:5;2272:51031;;:::i;:::-;2989:103:28;;:::i;:::-;33576:5:6;:::i;:::-;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;-1:-1:-1;;;;;2272:51031:6;20874:28;;20870:54;;20964:14;2272:51031;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;21034:58;-1:-1:-1;;21034:58:6;2272:51031;20870:54;25044:13;;;2272:51031;20911:13;2272:51031;;20911:13;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;17516:60;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;17375:36;2272:51031;;17375:36;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;17465:34;;;;;:::i;:::-;2272:51031;;;;;;17516:60;;:::i;:::-;2272:51031;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;23860:29;1500:62:11;2272:51031:6;1500:62:11;;;:::i;:::-;23765:47:6;;2272:51031;1555:50:9;;23822:23:6;2272:51031;1555:50:9;;;;;23822:23:6;2272:51031;;;;;;23860:29;2272:51031;23765:47;;;:::i;:::-;;;2272:51031;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;25597:69;2272:51031;;;:::i;:::-;2989:103:28;;:::i;:::-;25655:10:6;2272:51031;;;;;;25597:69;:::i;:::-;2272:51031;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;;1738:24:12;2272:51031:6;;;1738:24:12;2272:51031:6;;;;;;;;;1777:43:12;2272:51031:6;1777:43:12;;2272:51031:6;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;2272:51031:6;;;;1500:62:11;;:::i;:::-;23052:24:6;;;:::i;:::-;;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23086:29;2272:51031;;;23086:29;:::i;:::-;23125:18;;;:::i;:::-;2272:51031;;;;;;1555:50:9;2272:51031:6;1555:50:9;;;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;23167:23;2272:51031;23167:23;;2272:51031;;;;;;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2466:2;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;17881:18:6;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;17957:58;-1:-1:-1;;17957:58:6;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;8546:29;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;8766:36;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;3054:1:28;2272:51031:6;;:::i;:::-;;;:::i;:::-;1500:62:11;;;:::i;:::-;2989:103:28;;:::i;:::-;3054:1;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9376:41;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;26549:15:6;2272:51031;-1:-1:-1;;;;;2272:51031:6;26535:10;:29;26531:62;;26732:18;2272:51031;26620:75;2272:51031;;;;;;26620:75;:::i;:::-;26732:18;;;;;:::i;:::-;2272:51031;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;26531:62;26573:20;;;2272:51031;26573:20;2272:51031;;26573:20;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;1500:62:11;;:::i;:::-;20506:18:6;;:59;;;;2272:51031;20502:95;;2272:51031;1555:50:9;20653:37:6;1555:50:9;20607:31:6;1555:50:9;2272:51031:6;;;;;20653:37;2272:51031;20502:95;20574:23;;;2272:51031;20574:23;2272:51031;;20574:23;20506:59;20528:37;2869:2;20528:37;;20506:59;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;8657:24;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9483:59;-1:-1:-1;;;;;2272:51031:6;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9255:41;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31863:9;2272:51031;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;:::i;:::-;;;;1555:50:9;2272:51031:6;31863:9;2272:51031;;;:::i;:::-;;;;1555:50:9;2272:51031:6;;;;;:::i;:::-;;;;1555:50:9;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;1500:62:11;;:::i;:::-;20123:8:6;;;:77;;;2272:51031;20119:135;;2272:51031;1555:50:9;20300:28:6;1555:50:9;20263:22:6;1555:50:9;2272:51031:6;;;;;20300:28;2272:51031;20119:135;20223:20;;;2272:51031;20223:20;2272:51031;;20223:20;20123:77;-1:-1:-1;2747:5:6;20136:30;;;;20123:77;20136:63;20170:29;2809:5;20170:29;;20123:77;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;16288:14;2272:51031;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;26032:69;2272:51031;26138:18;2272:51031;;;;;;:::i;:::-;2989:103:28;;;;;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;21397:14:6;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;21425:19;2272:51031;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;21469:39:6;;2272:51031;21469:39;;2272:51031;;;;;;21469:39;2272:51031;-1:-1:-1;21469:9:6;-1:-1:-1;;;;;2272:51031:6;21469:39;;;;;;2272:51031;21469:39;;;21421:180;2272:51031;21460:48;;21421:180;;21615:41;2272:51031;;;;;;21615:41;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;21469:39;;2272:51031;21469:39;;2272:51031;21469:39;;;;;;2272:51031;21469:39;;;:::i;:::-;;;2272:51031;;;;;;;21469:39;;;;;-1:-1:-1;21469:39:6;;;2272:51031;;;;;;;;;21421:180;2272:51031;;-1:-1:-1;;;21548:42:6;;-1:-1:-1;;;;;2272:51031:6;;;;21548:42;;2272:51031;;;;;;;;;;;;;;;21548:42;2272:51031;;21548:9;-1:-1:-1;;;;;2272:51031:6;21548:42;;;;;;2272:51031;21548:42;;;21421:180;2272:51031;21539:51;;21421:180;;;21548:42;;2272:51031;21548:42;;2272:51031;21548:42;;;;;;2272:51031;21548:42;;;:::i;:::-;;;2272:51031;;;;;;;21548:42;;;;;-1:-1:-1;21548:42:6;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2272:51031:6;;43470:37;;43466:72;;2272:51031;43552:20;;;;;:::i;:::-;2272:51031;43548:61;;43623:21;;;;;:::i;:::-;43619:54;;43719:58;2272:51031;;;43719:58;;:::i;:::-;43819:11;2272:51031;43819:11;;;;;;;:::i;:::-;43832:18;;;2272:51031;43832:18;;;;;;;:::i;:::-;43852:14;;;;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;43787:80;;;;;:::i;:::-;43980:44;;;;:::i;:::-;44092:11;;;;;;;;;;:::i;:::-;44105:18;;;;;;:::i;:::-;44125:14;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;44045:95;;;;;;:::i;:::-;44442:11;;;;;;:::i;:::-;44471:18;;;;;:::i;:::-;44507:14;;;;;:::i;:::-;2272:51031;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;44218:317;;;;:::i;:::-;2272:51031;;-1:-1:-1;;;44167:378:6;;2272:51031;;;;;;44167:378;;2272:51031;44167:378;;;:::i;:::-;;;;;2272:51031;44167:378;;;;;;;2272:51031;44167:378;2272:51031;;;44167:378;;;2272:51031;-1:-1:-1;2272:51031:6;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;44167:378;;;;;;;2272:51031;44167:378;2272:51031;44167:378;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;43619:54;43653:20;;;2272:51031;43653:20;2272:51031;;43653:20;43548:61;43586:23;;;2272:51031;43586:23;2272:51031;;43586:23;43466:72;24632:22;;;2272:51031;43516:22;2272:51031;;43516:22;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;9790:30;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10380:69;2272:51031;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2574:5;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;:::i;:::-;15727:18;2272:51031;-1:-1:-1;;;;;2272:51031:6;15713:10;:32;15709:94;;-1:-1:-1;;;;;2272:51031:6;;;19424:23;;:53;;;;2272:51031;19420:93;;19523:327;;;2272:51031;;;19914:45;2272:51031;;;;19859:18;2272:51031;;;;;;;;1555:50:9;;;2272:51031:6;;1555:50:9;;;;;2272:51031:6;;;;;;;19914:45;2272:51031;19523:327;2272:51031;;;19589:18;2272:51031;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;2272:51031:6;;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;1555:50:9;;;19636:27:6;:65;;;;;19523:327;19632:138;;;19820:18;2272:51031;1555:50:9;2272:51031:6;19914:45;1555:50:9;;2272:51031:6;19820:18;;:::i;:::-;19523:327;;;;19632:138;18648:27;;;2272:51031;19728:27;2272:51031;;19728:27;19636:65;19667:34;;;19636:65;;;19420:93;19486:27;;;2272:51031;19486:27;2272:51031;;19486:27;19424:53;19451:21;;;:26;19424:53;;15709:94;15754:49;;;2272:51031;15754:49;15713:10;2272:51031;;;;15754:49;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3310:9;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;3054:1:28;2272:51031:6;;:::i;:::-;1500:62:11;;:::i;:::-;2989:103:28;;:::i;:::-;3054:1;:::i;2272:51031:6:-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3035:7;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;1311:13:12;2272:51031:6;735:10:23;-1:-1:-1;;;;;2272:51031:6;;2339:24:12;2335:96;;-1:-1:-1;;;;;;2272:51031:6;;;1311:13:12;2272:51031:6;;;;735:10:23;2272:51031:6;;;;;;;-1:-1:-1;;;;;2272:51031:6;;3052:40:11;;2272:51031:6;3052:40:11;2272:51031:6;2335:96:12;2386:34;;;2272:51031:6;2386:34:12;735:10:23;2272:51031:6;;;;2386:34:12;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;8891:40;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;1500:62:11;;:::i;:::-;-1:-1:-1;;;;;2272:51031:6;25012:23;;25008:49;;2272:51031;;25109:29;2272:51031;-1:-1:-1;;;;;2272:51031:6;;25067:27;2272:51031;;;25067:27;2272:51031;;;;;;25109:29;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;22216:28;;;2272:51031;22216:28;2272:51031;;22216:28;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;23489:51;2272:51031;;;:::i;:::-;1500:62:11;;:::i;:::-;23450:24:6;23404:36;2272:51031;23404:36;;;:::i;:::-;23450:14;2272:51031;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;23450:24;2272:51031;;;;;;;23489:51;2272:51031;;;;;;;-1:-1:-1;;2272:51031:6;;;;;10828:35;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;22038:18;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;35801:4;35779:10;:27;35775:50;;35845:5;;;:::i;:::-;2272:51031;35775:50;42647:10;;;2272:51031;35815:10;2272:51031;;35815:10;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;24202:13;2272:51031;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;16982:36;2272:51031;;16982:36;:::i;:::-;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;48423:16;2272:51031;;48457:15;2272:51031;;;;48166:320;;;;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48166:320;;;;;;:::i;:::-;2272:51031;48143:353;;2272:51031;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;10722:31;2272:51031;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10251:60;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;10030:53;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32099:9;2272:51031;;;;;;;;;;;;;;32139:26;;;;32175:11;;;2272:51031;32196:346;;;2272:51031;;32630:12;;2272:51031;32666:14;;;2272:51031;;;;;32715:21;2272:51031;;;;;;;;32768:16;;;2272:51031;32819:26;;;2272:51031;33044:17;;;2272:51031;33129:14;;;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;32819:26;;2272:51031;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;;;;32562:620;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;;;;;;;;;32562:620;;2272:51031;;;32666:14;2272:51031;;;;32562:620;;2272:51031;;;;;32562:620;;2272:51031;;;;;32562:620;;2272:51031;;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;1555:50:9;;2272:51031:6;32562:620;;2272:51031;;;1555:50:9;;2272:51031:6;32562:620;;1555:50:9;;;2272:51031:6;32562:620;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32666:14;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32196:346;2272:51031;32285:12;;2272:51031;;;-1:-1:-1;;;32259:48:6;;2272:51031;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;32259:48;;;;;;;2272:51031;32259:48;;;32196:346;2272:51031;;;;;;;32339:29;32325:43;;32321:58;;32196:346;32411:35;32397:49;;32393:64;;32196:346;2272:51031;32475:45;32196:346;32471:60;32411:35;;-1:-1:-1;32196:346:6;;32393:64;32339:29;;-1:-1:-1;32393:64:6;;32321:58;32285:12;;-1:-1:-1;32321:58:6;;2272:51031;;;;;;;;;;;;32259:48;;;;2272:51031;32259:48;2272:51031;32259:48;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;1500:62:11;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;24464:62;;24540:31;;:69;;;;2272:51031;24536:129;;2272:51031;;-1:-1:-1;;;24678:18:6;;2272:51031;;;;24678:18;;;;;;;;2272:51031;24678:18;;;2272:51031;-1:-1:-1;24708:4:6;-1:-1:-1;;;;;2272:51031:6;;;24678:35;24674:78;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;24802:36;;2272:51031;;24802:36;2272:51031;24674:78;24722:30;;;2272:51031;24722:30;2272:51031;;24722:30;24678:18;;;2272:51031;24678:18;;2272:51031;24678:18;;;;;;2272:51031;24678:18;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;24678:18;;;;;;-1:-1:-1;24678:18:6;;24540:69;24575:29;;;:34;24540:69;;24464:62;24514:12;;;2272:51031;24514:12;2272:51031;;24514:12;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3092:6;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;:::i;:::-;;;;10543:84;2272:51031;;;;;;;;;10543:84;;;;2272:51031;10543:84;;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;37285:27;2272:51031;;:::i;:::-;2989:103:28;;:::i;:::-;37285:27:6;:::i;:::-;1555:50:9;2365:1:28;-1:-1:-1;;;;;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;3154:6;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2985:1;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;10927:25;2272:51031;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2685:5;2272:51031;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;42633:4;42611:10;:27;42607:50;;42667:27;;;:::i;2272:51031::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;16537:24;2272:51031;;16537:24;:::i;:::-;2272:51031;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;1555:50:9;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;9911:33;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;9004:32;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;1500:62:11;;:::i;:::-;2272:51031:6;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22587:29;2272:51031;;;22587:29;:::i;:::-;22631:14;2272:51031;;;;;;;;;;;22631:14;2272:51031;;;;:::i;:::-;;;;;;;1555:50:9;2272:51031:6;1555:50:9;2272:51031:6;1555:50:9;;;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;2272:51031:6;;;;;;;;;22704:21;;;2272:51031;22704:21;;2272:51031;;;;;;;;1555:50:9;;2272:51031:6;1555:50:9;2272:51031:6;;1555:50:9;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;15727:18;2272:51031;-1:-1:-1;;;;;2272:51031:6;15713:10;:32;15709:94;;-1:-1:-1;;;;;2272:51031:6;;;18338:23;;:53;;;;2272:51031;18338:74;;;;2272:51031;18338:141;;;;2272:51031;18338:187;;;;2272:51031;18338:278;;;;2272:51031;18321:365;;18732:16;;;;:::i;:::-;679:17:9;;-1:-1:-1;;;;;2272:51031:6;;979:59:9;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;;50034:151:6;11309:25:31;11235:104;11309:25;;;;:29;;11235:104;;:::i;:::-;2272:51031:6;;-1:-1:-1;;;50034:151:6;;:15;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;50034:151;;;:::i;:::-;;;;;;;;;;;;2272:51031;979:59:9;;;;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;;50034:151:6;11309:25:31;2272:51031:6;11309:25:31;11235:104;11309:25;;;:29;;11235:104;;:::i;:::-;2272:51031:6;;;;;;;;;;;50034:151;;2272:51031;;50034:151;2272:51031;50034:151;;;:::i;:::-;;;;;;;;;;;2272:51031;;19136:89;2272:51031;19136:89;2272:51031;;;;;1555:50:9;;;:::i;:::-;;;;2272:51031:6;19050:71;;1555:50:9;;;2272:51031:6;19050:71;;1555:50:9;;;2272:51031:6;;;19018:18;2272:51031;;;;;1555:50:9;;;;;2272:51031:6;1555:50:9;;;;;;2272:51031:6;1555:50:9;;;;;;;;2272:51031:6;;19136:89;;;;2272:51031;;;;;;;;;;;;;;;;;;;;;;19136:89;;;;2272:51031;50034:151;;2272:51031;50034:151;;2272:51031;50034:151;;;;;;2272:51031;50034:151;;;:::i;:::-;;;2272:51031;;;;19136:89;2272:51031;;19136:89;2272:51031;;:::i;:::-;;50034:151;;;;;;;;-1:-1:-1;50034:151:6;;11309:25:31;2272:51031:6;;;;;;;;;;;679:17:9;2272:51031:6;;;;;;;;;;;50034:151;2272:51031;50034:151;;2272:51031;50034:151;;;;;;2272:51031;50034:151;;;:::i;:::-;;;2272:51031;;;;;979:59:9;2272:51031:6;;:::i;:::-;;50034:151;;;;;-1:-1:-1;50034:151:6;;18338:278;1912:21:9;1886:66;679:17;1886:66;;:::i;:::-;18545:71:6;;;18338:278;;:187;18483:42;15727:18;18483:42;;18338:187;;:141;18432:47;1555:50:9;18432:47:6;;18338:141;;:74;18395:17;;;18338:74;;:53;18365:21;;;:26;18338:53;;2272:51031;;;;;;-1:-1:-1;;2272:51031:6;;;;9120:64;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;2633:3;2272:51031;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;-1:-1:-1;;2272:51031:6;;;;:::o;1555:50:9:-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;2272:51031:6;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;:::-;;2272:51031:6;;;;;;1555:50:9;;;;;-1:-1:-1;;;;;1555:50:9;;;;;;;:::o;2272:51031:6:-;22631:14;2272:51031;;;;;;22631:14;-1:-1:-1;2272:51031:6;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;1555:50:9;;;;:::i;:::-;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;:::o;34546:1051::-;34657:21;;;:::i;:::-;34740:12;;;2272:51031;;;-1:-1:-1;;;34801:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;-1:-1:-1;;34801:13:6;2272:51031;34801:13;2272:51031;;34801:13;;;;;;;-1:-1:-1;34801:13:6;;;34546:1051;2272:51031;;;;;;;34740:12;34828:43;;34824:154;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;35017:15:6;;34801:13;2272:51031;34801:13;2272:51031;35017:15;;;;;;;-1:-1:-1;35017:15:6;;;34546:1051;-1:-1:-1;;;;;2272:51031:6;;;3154:6;2272:51031;;;;;;;35073:15;;:29;35069:79;;35256:9;2272:51031;35256:9;:81;35252:142;;35407:4;:61;;;;2272:51031;;-1:-1:-1;;;35407:61:6;;-1:-1:-1;;;;;2272:51031:6;;34801:13;35407:61;;2272:51031;;;;;-1:-1:-1;2272:51031:6;35407:61;2272:51031;-1:-1:-1;35407:4:6;3310:9;35407:61;;;;;34546:1051;35403:106;;;35567:23;35546:5;;;;:::i;:::-;35567:23;;34546:1051::o;35403:106::-;35483:7;;;;;:::o;35407:61::-;;;;;-1:-1:-1;35407:61:6;;:::i;:::-;-1:-1:-1;35407:61:6;;;;35252:142;35360:23;;;-1:-1:-1;35360:23:6;34801:13;-1:-1:-1;35360:23:6;35069:79;35111:37;;;-1:-1:-1;35111:37:6;34801:13;2272:51031;;-1:-1:-1;35111:37:6;35017:15;;34801:13;35017:15;;34801:13;35017:15;;;;;;34801:13;35017:15;;;:::i;:::-;;;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;-1:-1:-1;;;;;35017:15:6;;;;;;-1:-1:-1;35017:15:6;;34824:154;-1:-1:-1;;;;34894:73:6;34740:12;34801:13;2272:51031;;;;:::i;:::-;;-1:-1:-1;34894:73:6;34801:13;;;;;;;;;;;;;;:::i;:::-;;;;2272:51031;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1555:50:9;;2272:51031:6;1555:50:9;;2272:51031:6;1555:50:9;;;;;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;-1:-1:-1;;2272:51031:6;;;;:::o;40170:2172::-;40302:1;;-1:-1:-1;;;;;2272:51031:6;40281:23;40277:49;;40360:21;;;:::i;:::-;2272:51031;40443:12;;2272:51031;;;-1:-1:-1;;;40504:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;40443:12;40504:13;2272:51031;40504:13;2272:51031;;40504:13;;;;;;;40302:1;40504:13;;;40170:2172;2272:51031;;;;;;;40545:29;40531:43;;40527:154;;40721:14;;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;3154:6;2272:51031;;;;;;;40776:15;;:29;40772:79;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;2305:39:61;;417:66:49;40504:13:6;2305:39:61;;2272:51031:6;40504:13;2272:51031;2305:39:61;2272:51031:6;41010:11;-1:-1:-1;;;;;2272:51031:6;2305:39:61;;;;;;;40302:1:6;2305:39:61;;;40170:2172:6;2305:46:61;40960:102:6;;2272:51031;;-1:-1:-1;;;41076:39:6;;40504:13;2272:51031;40504:13;2272:51031;41087:15;-1:-1:-1;;;;;2272:51031:6;41076:39;;;;;;;40302:1;41076:39;;;40170:2172;-1:-1:-1;;;;;;2272:51031:6;41072:89;;2272:51031;41276:9;:81;41272:142;;41427:4;:61;;;;2272:51031;;-1:-1:-1;;;41427:61:6;;-1:-1:-1;;;;;2272:51031:6;;;40504:13;41427:61;;2272:51031;;;;-1:-1:-1;2272:51031:6;2305:39:61;2272:51031:6;-1:-1:-1;41427:4:6;3310:9;41427:61;;;;;40170:2172;41423:106;;;41561:17;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;41642:16;;;:36;;;;40170:2172;41638:68;;41736:16;;2272:51031;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;41895:19;;;;;2272:51031;;;40504:13;2272:51031;;;;;;;;;41895:19;;;;;;;;;;;;;;;40170:2172;-1:-1:-1;;41929:23:6;2272:51031;;41983:51;;;;;;;;;2272:51031;;;;;;;;:::i;:::-;;1555:50:9;2272:51031:6;;1555:50:9;;;:::i;:::-;2272:51031:6;;;40504:13;2272:51031;;;;;42052:5;42048:37;;41925:260;42264:71;41925:260;2272:51031;41925:260;;42236:11;;;;;:::i;:::-;2272:51031;;;;;40504:13;2272:51031;;;42264:71;40170:2172::o;42048:37::-;-1:-1:-1;;;42066:19:6;;40504:13;;42066:19;2272:51031;;;41925:260;42162:11;42264:71;42162:11;;;2272:51031;42162:11;;;;;:::i;:::-;41925:260;;41895:19;;;;;;;;;:::i;:::-;2272:51031;;41895:19;;;;;;2272:51031;;;;41895:19;2272:51031;;;;;;;;;41895:19;2272:51031;;;41638:68;-1:-1:-1;;;41687:19:6;;40504:13;41687:19;;41642:36;41662:16;;;41642:36;;41427:61;;;;;40302:1;41427:61;;:::i;:::-;40302:1;41427:61;;;;41072:89;41138:23;;;40302:1;41138:23;40504:13;40302:1;41138:23;41076:39;;;40504:13;41076:39;;40504:13;41076:39;;;;;;40504:13;41076:39;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;41076:39;;;;;;-1:-1:-1;41076:39:6;;40960:102;41032:30;;;40302:1;41032:30;40504:13;40302:1;41032:30;2305:39:61;;;40504:13:6;2305:39:61;;40504:13:6;2305:39:61;;;;;;40504:13:6;2305:39:61;;;:::i;:::-;;;417:66:49;;;;;2305:39:61;;;;;;-1:-1:-1;2305:39:61;;40527:154:6;-1:-1:-1;;;40302:1:6;40597:73;40545:29;40504:13;2272:51031;;;;:::i;40504:13::-;;;;;;;;;;;;;;:::i;:::-;;;;679:17:9;;;;;;;;;;:::o;49438:355:6:-;2272:51031;;-1:-1:-1;;;49543:36:6;;2272:51031;49438:355;49543:36;;2272:51031;;49543:36;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;49543:36;;-1:-1:-1;;49543:36:6;;;49438:355;-1:-1:-1;49539:248:6;;49746:30;;;-1:-1:-1;49746:30:6;49543:36;-1:-1:-1;49746:30:6;49539:248;2272:51031;;;;;;49621:26;;;49617:90;;49539:248;;49438:355::o;49617:90::-;49656:51;;;-1:-1:-1;49656:51:6;49543:36;2272:51031;;;;-1:-1:-1;49656:51:6;49543:36;;;;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;;;;;;49543:36;;;;;;;-1:-1:-1;49543:36:6;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;679:17:9;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::o;1796:162:11:-;1710:6;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;735:10:23;1855:23:11;1851:101;;1796:162::o;51541:784:6:-;-1:-1:-1;;;1555:50:9;;51640:44:6;;;:72;;;51541:784;51640:146;;;;51541:784;51640:251;;;;51541:784;51623:329;;2685:5;51965:18;;;1555:50:9;51965:38:6;51961:68;;3035:7;2272:51031;52043:14;;;2272:51031;;52043:34;:61;;;;51541:784;52043:105;;;;51541:784;52039:169;;-1:-1:-1;;;;;52297:19:6;52269:18;;;2272:51031;;;52297:19;;1555:50:9;2272:51031:6;1017:21:9;679:17;829:30;979:59;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;;;;;:::i;:::-;11309;;;;51965:18:6;11309:25:31;11235:104;11309:25;;;:29;;11235:104;;:::i;:::-;52297:19:6;2272:51031;-1:-1:-1;;;50034:151:6;;2272:51031;;;;;50034:151;;2272:51031;-1:-1:-1;2272:51031:6;;50034:151;;;:::i;:::-;;2272:51031;50034:15;-1:-1:-1;;;;;2272:51031:6;50034:151;;;;;;;;51541:784;:::o;50034:151::-;51965:18;50034:151;;51965:18;50034:151;;;;;;51965:18;50034:151;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;;51541:784::o;50034:151::-;;;-1:-1:-1;50034:151:6;;52039:169;52171:26;;;-1:-1:-1;52171:26:6;;-1:-1:-1;52171:26:6;52043:105;52108:18;3092:6;52108:18;;;2272:51031;;;52108:40;52043:105;;:61;52081:18;-1:-1:-1;52081:18:6;;;2272:51031;;;52081:23;;52043:61;;51961:68;52012:17;;;-1:-1:-1;52012:17:6;;-1:-1:-1;52012:17:6;51623:329;51923:18;;;-1:-1:-1;51923:18:6;;-1:-1:-1;51923:18:6;51640:251;51806:26;;;;1555:50:9;1886:66;51871:19:6;;;1555:50:9;679:17;1886:66;;:::i;:::-;51806:85:6;;51640:251;;:146;51732:19;1555:50:9;51732:19:6;;;1555:50:9;51732:54:6;51640:146;;:72;51688:19;;;;1555:50:9;51688:24:6;51640:72;;52417:246;52554:14;2272:51031;52536:39;;;52532:75;;52626:30;;;:::i;:::-;52617:39;52417:246;:::o;52532:75::-;52584:23;;;-1:-1:-1;52584:23:6;;-1:-1:-1;52584:23:6;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;:::o;37359:2399::-;;2272:51031;;:::i;:::-;;37501:21;;;:::i;:::-;37584:12;;;2272:51031;;;-1:-1:-1;;;37645:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;37584:12;;-1:-1:-1;;37645:13:6;2272:51031;37645:13;2272:51031;;37645:13;;;;;;;-1:-1:-1;37645:13:6;;;37359:2399;2272:51031;;;;;;;37686:29;37672:43;;37668:154;;37853:17;;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;37934:16;;;:36;;;;37359:2399;37930:74;;38015:21;;;2272:51031;;-1:-1:-1;;2272:51031:6;;;;;-1:-1:-1;;;;;;;2272:51031:6;;;;38015:21;:44;;:::i;:::-;38138:16;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;38138:16;;2272:51031;;;38138:24;;;;38192:43;;;;;;;38265;;;;;;;;38464:14;;;2272:51031;37645:13;2272:51031;;;;;;37686:29;2272:51031;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;;;;;38339:251;;;2272:51031;;;;;;;;;;;38339:251;;2272:51031;;;;;;38623:152;38339:251;;;2272:51031;;;;38339:251;38746:19;2272:51031;38339:251;;2272:51031;;;;;;38559:18;2272:51031;;;38746:19;2272:51031;;;;;;;;;;;;;;38623:152;;37645:13;38623:152;;;:::i;:::-;;2272:51031;38623:15;-1:-1:-1;;;;;2272:51031:6;38623:152;;;;;;;-1:-1:-1;38623:152:6;;;38265:43;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;38785:55:6;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;37645:13;38785:55;;2272:51031;;;;;;;;;;;;;;;;;;;37686:29;2272:51031;;;;;;;;;;;;;;;;;;;;37645:13;;2272:51031;;38785:55;;2272:51031;;-1:-1:-1;;38798:11:6;2272:51031;38785:55;;;;;;;;;;;38265:43;-1:-1:-1;2272:51031:6;;38785:55;;2272:51031;38886:18;-1:-1:-1;;;;;2272:51031:6;38907:11;;2272:51031;;38907:11;:::i;:::-;2272:51031;;-1:-1:-1;;;;;2272:51031:6;38933:30;;2272:51031;38929:140;;38265:43;-1:-1:-1;;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;39136:48;-1:-1:-1;39136:30:6;;;:48;;;2272:51031;;;;;;;;;;;;39088:224;;37645:13;39088:224;;2272:51031;;;;;;;;;;;;;;;;37686:29;2272:51031;;;;;;;;;;;;;39088:224;;;;;;;-1:-1:-1;39088:224:6;;;39136:48;-1:-1:-1;38339:251:6;39344:18;;2272:51031;;;39393:18;;;2272:51031;;;;;-1:-1:-1;;;;;;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;;;;;;39323:18;;;2272:51031;1555:50:9;;39421:17:6;;;;1555:50:9;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;;2272:51031:6;;;;;39344:18;;39393;;39344;;-1:-1:-1;;;;;2272:51031:6;;;;39560:6;2272:51031;;;;39560:63;;;;;2272:51031;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;39560:63;;37645:13;39560:63;;2272:51031;;;;;;;;;39560:63;;;;;;;;39136:48;39633:23;;;;;;2272:51031;;;37645:13;2272:51031;;;;;;;;;39633:23;;;;;;;;;;39136:48;1555:50:9;;;38339:251:6;1555:50:9;-1:-1:-1;;;;;1555:50:9;39672:79:6;1555:50:9;;2272:51031:6;;;;;;;;;;;;37645:13;2272:51031;;;;;;;39672:79;37359:2399::o;39633:23::-;;;;;;:::i;:::-;2272:51031;;39633:23;;;2272:51031;;;39633:23;2272:51031;;;;;;;;;39560:63;;;;;-1:-1:-1;39560:63:6;;:::i;:::-;-1:-1:-1;39560:63:6;;;;39088:224;;;;2272:51031;39088:224;;2272:51031;39088:224;;;;;;2272:51031;39088:224;;;:::i;:::-;;;2272:51031;;;;39421:17;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;;37645:13;2272:51031;;;:::i;:::-;37645:13;2272:51031;;;;;;;;:::i;:::-;;;;;;38339:251;2272:51031;;;:::i;:::-;38339:251;2272:51031;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;39088:224;;;;;;;-1:-1:-1;39088:224:6;;39136:48;-1:-1:-1;39136:48:6;;;38929:140;39046:11;;;:::i;:::-;38929:140;;;;;38785:55;;;37645:13;38785:55;;37645:13;38785:55;;;;;;37645:13;38785:55;;;:::i;:::-;;;2272:51031;;;;;;;37686:29;2272:51031;;;;;38785:55;-1:-1:-1;38785:55:6;;;;;;;-1:-1:-1;38785:55:6;;38623:152;;;;;37645:13;38623:152;;37645:13;38623:152;;;;;;37645:13;38623:152;;;:::i;:::-;;;2272:51031;;;;;;;;:::i;:::-;38623:152;;;;;;;;-1:-1:-1;38623:152:6;;38265:43;;;;;;38192;;;;;37930:74;37979:25;;;-1:-1:-1;37979:25:6;37645:13;-1:-1:-1;37979:25:6;37934:36;37954:16;;;37934:36;;37645:13;;;;;;;;;;;;;;:::i;:::-;;;;3749:292:28;2407:1;-1:-1:-1;;;;;;;;;;;2272:51031:6;4560:63:28;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;1555:50:9;3749:292:28:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:28;;-1:-1:-1;3696:30:28;47933:570:6;;;;;1555:50:9;;48319:18:6;;;;1555:50:9;48355:14:6;48387:18;2272:51031;48355:14;;;2272:51031;;48387:18;;2272:51031;;;;48423:16;2272:51031;;48457:15;2272:51031;;;;48166:320;48319:18;48166:320;;2272:51031;;;;;;;;;;;;;;;;;48355:14;2272:51031;;;48387:18;2272:51031;;;;;;;;;;;;;;;;;;;;48166:320;;;;;;:::i;:::-;2272:51031;48143:353;;47933:570;:::o;33595:727::-;33671:21;;;:::i;:::-;2272:51031;33754:12;;2272:51031;;;-1:-1:-1;;;33815:13:6;;-1:-1:-1;;;;;2272:51031:6;;;;33754:12;33815:13;2272:51031;33815:13;2272:51031;;33815:13;;;;;;;-1:-1:-1;33815:13:6;;;33595:727;2272:51031;;;;;;;33754:12;33842:43;;33838:154;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;34025:24:6;;2272:51031;33815:13;2272:51031;33815:13;2272:51031;34025:24;;;;;;;;-1:-1:-1;34025:24:6;;;33595:727;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;34082:24:6;;33815:13;2272:51031;33815:13;2272:51031;34082:24;;;;;;;-1:-1:-1;34082:24:6;;;33595:727;33815:13;2272:51031;;;;;;;34175:16;;;2272:51031;;34116:155;34193:18;;;2272:51031;;;;;34242:19;;;;2272:51031;;;;;;;;;;;;;;34116:155;;;33815:13;34116:155;;;:::i;:::-;;2272:51031;34116:15;-1:-1:-1;;;;;2272:51031:6;34116:155;;;;;;;;33595:727;34309:5;;;;:::i;34116:155::-;33815:13;34116:155;;33815:13;34116:155;;;;;;33815:13;34116:155;;;:::i;:::-;;;2272:51031;;;;;34309:5;2272:51031;;:::i;:::-;34116:155;;;;;;-1:-1:-1;34116:155:6;;34082:24;;33815:13;34082:24;;33815:13;34082:24;;;;;;2272:51031;34082:24;;;:::i;:::-;;;2272:51031;;;;33815:13;2272:51031;;34082:24;;;;;-1:-1:-1;34082:24:6;;34025;;;;33815:13;34025:24;;33815:13;34025:24;;;;;;2272:51031;34025:24;;;:::i;:::-;;;2272:51031;;;;;34025:24;;;;;;;-1:-1:-1;34025:24:6;;33815:13;;;;;;;;;;;;;;:::i;:::-;;;;52750:190;-1:-1:-1;;;;;2272:51031:6;;;-1:-1:-1;2272:51031:6;;;52853:9;2272:51031;;;;;;;;;;;52883:26;52879:54;;52750:190::o;52879:54::-;52918:15;;;-1:-1:-1;52918:15:6;;-1:-1:-1;52918:15:6;35864:1172;36007:16;;;2272:51031;;35864:1172;;;;-1:-1:-1;;;;;2272:51031:6;36007:30;;;:16;:106;;;;36040:21;2272:51031;-1:-1:-1;36040:21:6;;36007:106;;36123:72;;36007:106;2272:51031;;-1:-1:-1;;;;;;36231:29:6;;36254:4;36231:29;;;2272:51031;;;;36231:29;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;36231:29;;;;;;;-1:-1:-1;36231:29:6;;;36007:106;-1:-1:-1;36270:34:6;2272:51031;;-1:-1:-1;;;;;;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;36354:30;;;36387:21;;36354:106;;36474:38;;;36470:69;;36571:38;;;:::i;:::-;36623:16;;;:36;;;;36354:106;36619:68;;-1:-1:-1;;;;;36701:31:6;;:66;;;;36354:106;36697:122;;2272:51031;;;;-1:-1:-1;;;;;;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;;36829:17;;;2272:51031;36985:44;;2272:51031;;36930:14;;2272:51031;;-1:-1:-1;;2272:51031:6;36954:15;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;36985:44;35864:1172::o;36701:66::-;36736:31;-1:-1:-1;;;;;36736:31:6;;36701:66;;36619:68;41687:19;;;-1:-1:-1;36668:19:6;36231:29;-1:-1:-1;36668:19:6;36623:36;36643:16;;;36623:36;;36354:106;2272:51031;36231:29;2272:51031;;;;;;;;;;36411:49;;36254:4;36231:29;36411:49;;2272:51031;36411:49;;;;;;;-1:-1:-1;36411:49:6;;;36354:106;;;;;36411:49;;;2272:51031;36411:49;;2272:51031;36411:49;;;;;;2272:51031;36411:49;;;:::i;:::-;;;2272:51031;;;;;36411:49;;;;;;-1:-1:-1;36411:49:6;;36231:29;;;;2272:51031;36231:29;;2272:51031;36231:29;;;;;;2272:51031;36231:29;;;:::i;:::-;;;2272:51031;;;;;;;36231:29;;;;;;;-1:-1:-1;36231:29:6;;36123:72;2272:51031;;;;;36183:12;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;36159:36;2272:51031;;;36159:36;2272:51031;36123:72;;36007:106;2272:51031;36064:49;2272:51031;;;;;;;;;;36064:49;;36107:4;36064:49;;;2272:51031;36064:49;;;;;;;-1:-1:-1;36064:49:6;;;36007:106;;-1:-1:-1;36007:106:6;2272:51031;36007:106;;;;36064:49;;;2272:51031;36064:49;;2272:51031;36064:49;;;;;;2272:51031;36064:49;;;:::i;:::-;;;2272:51031;;;;;-1:-1:-1;36064:49:6;;;;;-1:-1:-1;36064:49:6;;2272:51031;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;1555:50:9;2272:51031:6;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;;;;2272:51031:6;;;;;;;:::o;27126:781::-;;;;;27359:1;27346:9;;27342:45;;2272:51031;27401:20;;;;;:::i;:::-;2272:51031;27397:61;;27472:21;;;;;:::i;:::-;27468:54;;27568:58;;;27876:14;27568:58;2272:51031;27568:58;;:::i;:::-;27666:26;;;;-1:-1:-1;;;;;27666:26:6;;;:::i;:::-;2272:51031;27666:79;;;2272:51031;;27666:79;;;27843:11;;;;;;:::i;:::-;27856:18;;;;;;;;:::i;:::-;27876:14;;;;;;;;:::i;:::-;2272:51031;;;;:::i;:::-;;;;;:::i;:::-;;;;;:::i;:::-;29091:14;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;29083:37;;29079:72;;2272:51031;24202:13;2272:51031;;29165:19;29161:48;;29264:7;;;;;;:::i;:::-;29385:38;;;;:::i;:::-;29438:14;;;;;27401:20;29438:14;;2272:51031;;29433:50;;27843:11;29632:138;29512:68;;;;;;;;;;;;;;;;29831:49;29512:68;;;;;;;:::i;:::-;29632:138;;;;:::i;:::-;2272:51031;;;;;;;;;;;;29831:49;;29091:14;29831:49;;;:::i;:::-;;;;;;;;;;27359:1;;;29831:49;;;27666:79;29944:18;27666:26;29944:18;;2272:51031;;;679:17:9;829:30;979:59;679:17;979:59;:::i;:::-;-1:-1:-1;;;2272:51031:6;;;-1:-1:-1;;;2272:51031:6;;;679:17:9;;;;;;;;11235:25:31;2272:51031:6;;-1:-1:-1;;;;;2272:51031:6;;11235:25:31;:::i;:::-;11309;;;;;2272:51031:6;;50034:151;2272:51031;11235:104:31;2272:51031:6;-1:-1:-1;;;;;2272:51031:6;;11309:25:31;:29;;11235:104;;:::i;:::-;2272:51031:6;50034:151;2272:51031;27843:11;2272:51031;;;;;;;;;50034:151;;;29091:14;50034:151;;;:::i;:::-;;2272:51031;50034:15;-1:-1:-1;;;;;2272:51031:6;50034:151;;;;;;;;27666:79;-1:-1:-1;27843:11:6;2272:51031;-1:-1:-1;;;30005:39:6;;2272:51031;;;;;30005:39;;29091:14;30005:39;;;:::i;:::-;;;;27843:11;30005:39;27359:1;30005:39;;;;;;;27359:1;;;30005:39;;;27666:79;-1:-1:-1;;;;;;2272:51031:6;;;;;;30058:23;;;30054:74;;-1:-1:-1;;;;;;2272:51031:6;;;;;;30142:23;;;30138:74;;-1:-1:-1;;;;;;2272:51031:6;;;27359:1;2272:51031;;;30226:9;50034:151;2272:51031;27843:11;2272:51031;;;;30222:70;;-1:-1:-1;;;;;2272:51031:6;;30303:51;;;;27359:1;2272:51031;;30303:51;2272:51031;27843:11;2272:51031;;;;;;;;;30303:51;;2272:51031;;;;;;29091:14;30303:51;;2272:51031;;;;;;;30303:51;;;;;;;;27666:79;-1:-1:-1;;;;;;2272:51031:6;;30364:61;;;;2272:51031;;;30303:51;2272:51031;27843:11;2272:51031;;;;;;;;;30364:61;;2272:51031;;;;;;29091:14;30364:61;;2272:51031;;;;;;;30364:61;;;;;;;;;;;;;;;;;;;;;27666:79;-1:-1:-1;;;;;;;2272:51031:6;;;;;;30439:30;30435:134;;27666:79;27856:18;30782:21;;1555:50:9;30857:11:6;;;30890:13;50034:151;30890:13;;;30923:11;27843;30923;;1555:50:9;;;-1:-1:-1;;;;;2272:51031:6;31096:18;50034:151;31096:18;;1555:50:9;2272:51031:6;;31138:14;27876;31138;;2272:51031;;;29944:18;27666:26;29944:18;2272:51031;;;;27843:11;2272:51031;1555:50:9;;;;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;50034:151;30597:804;;2272:51031;;;;;;;;30597:804;27843:11;30597:804;2272:51031;;;;;;;;27856:18;30597:804;;2272:51031;27876:14;30597:804;;1555:50:9;27666:26:6;30597:804;;1555:50:9;27401:20:6;30597:804;;1555:50:9;27472:21:6;30597:804;;1555:50:9;30597:804:6;;;1555:50:9;30597:804:6;;;1555:50:9;30597:804:6;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;30597:804;;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;2272:51031;30597:804;;;;1555:50:9;2272:51031:6;;;;;;;;;;30226:9;50034:151;2272:51031;27843:11;2272:51031;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;50034:151;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;27843:11;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;27856:18;30597:804;;2272:51031;;;;;;;;;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;27876:14;30597:804;;2272:51031;29091:14;2272:51031;;1555:50:9;27666:26:6;30597:804;;1555:50:9;2272:51031:6;;;1555:50:9;27401:20:6;30597:804;;2272:51031;;;;1555:50:9;27472:21:6;30597:804;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;:::i;:::-;;;;;;27666:79;2272:51031;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30597:804;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;30226:9;2272:51031;;;;:::i;:::-;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;30597:804;;;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;:::i;:::-;;;;;;;;50034:151;2272:51031;;;;;;;;30597:804;27843:11;2272:51031;;;;27856:18;2272:51031;;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;2272:51031;;;;;;30597:804;;;2272:51031;;;;30597:804;;;;2272:51031;;;;;;;;;;;;27876:14;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30597:804:6;;;;2272:51031;;;-1:-1:-1;;;;;2272:51031:6;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;;;2272:51031:6;;;;;;;-1:-1:-1;;;;;;;2272:51031:6;;;;;;;;24202:13;2272:51031;;30597:804;;;;;2272:51031;;;;;;;;;;;30597:804;;;;2272:51031;;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;30597:804;1555:50:9;2272:51031:6;;1555:50:9;-1:-1:-1;;;;;2272:51031:6;;;;;;;50034:151;2272:51031;;;;;;;;-1:-1:-1;;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30782:21;;;;1555:50:9;27843:11:6;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31515:81;;27856:18;;31515:81;27755:145;27126:781;:::o;2272:51031::-;;;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;27843:11;2272:51031;;;27856:18;2272:51031;;;;;30597:804;2272:51031;-1:-1:-1;;;;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;-1:-1:-1;;;1555:50:9;;;29091:14:6;1555:50:9;30303:51:6;2272:51031;1555:50:9;2272:51031:6;;;;-1:-1:-1;2272:51031:6;;;;;;;30226:9;2272:51031;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;30226:9;2272:51031;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;;;-1:-1:-1;2272:51031:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;50034:151;2272:51031;;;;;;;;;50034:151;2272:51031;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;30435:134;2272:51031;;-1:-1:-1;2272:51031:6;;-1:-1:-1;2272:51031:6;;-1:-1:-1;;;;;;;;2272:51031:6;;30485:73;;;;2272:51031;;;30303:51;27843:11;2272:51031;;;;;;;;30485:73;;2272:51031;;;;;;;29091:14;30485:73;;2272:51031;;;;;;;30485:73;;;;;;;;;;;;;;;;;;;;;30435:134;;;;;30485:73;;;;;;;;;;;;;;;;;:::i;:::-;2272:51031;;30485:73;;;;;;;;;;;;;2272:51031;;;;30485:73;27843:11;2272:51031;;;;;;;;30364:61;;;;;;;;;;;;;;;;;:::i;:::-;2272:51031;;30364:61;;;;;;;;;;;;;30303:51;;;;;27359:1;30303:51;;:::i;:::-;27359:1;30303:51;;;;30222:70;30271:21;;;27359:1;30271:21;29091:14;27359:1;30271:21;30138:74;-1:-1:-1;;;27359:1:6;30174:38;;;29091:14;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;30174:38;30054:74;-1:-1:-1;;;27359:1:6;30090:38;;;29091:14;2272:51031;;;;-1:-1:-1;;;;;2272:51031:6;;;;;;30090:38;30005:39;;;;;;;;27843:11;30005:39;27843:11;30005:39;;;;;;;:::i;:::-;;;;;;;;50034:151;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;;50034:151;;;;;;-1:-1:-1;50034:151:6;;29831:49;;;;;;;27843:11;29831:49;27843:11;29831:49;;;;;;;:::i;:::-;;;;;29433:50;29461:22;;;27359:1;29461:22;29091:14;27359:1;29461:22;29161:48;29193:16;;;27359:1;29193:16;29091:14;27359:1;29193:16;27666:79;2272:51031;27719:26;2272:51031;27719:26;;:::i;:::-;27666:79;;;27342:45;27369:18;;;27359:1;27369:18;;27359:1;27369:18;26764:356;;;2929:2;26869:52;;26865:87;;-1:-1:-1;27009:3:6;26978:29;;;;;;-1:-1:-1;;;;;2272:51031:6;;;27081:21;2929:2;;;;;;27081:21;:::i;:::-;27028:75;;;;;2272:51031;;-1:-1:-1;;;27028:75:6;;-1:-1:-1;;;;;2272:51031:6;;;27028:75;;;2272:51031;;-1:-1:-1;;2272:51031:6;;27028:75;;2272:51031;;-1:-1:-1;;27028:75:6;;;;;;;2929:2;27028:75;;;27009:3;;2929:2;26967:9;;27028:75;-1:-1:-1;27028:75:6;;;:::i;:::-;;;;26978:29;;;;;;26764:356::o;26865:87::-;26930:22;;;;;;;;1219:204:21;;8544:1067;;8509:24;;;;-1:-1:-1;8544:1067:21;2272:51031:6;;;;;8544:1067:21;;;;;;-1:-1:-1;8544:1067:21;;;;;;;1338:4;-1:-1:-1;8544:1067:21;;;;;;;1219:204;8544:1067;;1305:38;1301:116;;1219:204;:::o;1301:116::-;-1:-1:-1;;;;1366:40:21;;;-1:-1:-1;;;;;2272:51031:6;;;;8544:1067:21;2272:51031:6;8544:1067:21;;1366:40;8544:1067;;1338:4;8544:1067;;;;;;;;;;;;;;;;;;;-1:-1:-1;8544:1067:21;;;;;53038:263:6;2272:51031;;-1:-1:-1;;;53128:28:6;;;2272:51031;53128:28;2272:51031;53128:18;-1:-1:-1;;;;;2272:51031:6;53128:28;;;;;;;-1:-1:-1;53128:28:6;;;53038:263;-1:-1:-1;;;;;;2272:51031:6;53194:4;53170:29;;53166:129;;53038:263;:::o;53166:129::-;53222:62;;;-1:-1:-1;53222:62:6;53194:4;53128:28;2272:51031;;;;-1:-1:-1;53222:62:6;53128:28;;;;;;;;;;;;;;;;;:::i;:::-;;;2272:51031;;;;;;;:::i;:::-;53128:28;;;;;;-1:-1:-1;53128:28:6;;48509:923;;;;-1:-1:-1;;;;;2272:51031:6;;;48686:23;;48682:128;;2272:51031;;48707:1;2272:51031;48824:18;2272:51031;;;;48707:1;2272:51031;;;48823:30;48819:65;;48707:1;2272:51031;48932:18;2272:51031;;;48707:1;2272:51031;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;;;2272:51031:6;;;;;;;;;1555:50:9;;;;2272:51031:6;;;;;;;1555:50:9;;;48975:27:6;:65;;;;;48509:923;48971:130;;;2272:51031;49147:18;1555:50:9;;2272:51031:6;49147:18;;:::i;:::-;-1:-1:-1;;;;;1555:50:9;;49180:42:6;:95;;;;48509:923;49176:160;;-1:-1:-1;;;;;1555:50:9;;;2272:51031:6;1555:50:9;;2272:51031:6;48509:923;:::o;49180:95::-;1555:50:9;-1:-1:-1;;;;;1555:50:9;;49226:49:6;49180:95;;48975:65;49006:34;;;48975:65;;;48819;48862:22;;;48707:1;48862:22;;48707:1;48862:22;48682:128;48741:19;;;-1:-1:-1;;;;;48771:26:6;48741:19;;;;1555:50:9;2272:51031:6;48771:26;;1555:50:9;2272:51031:6;48725:74;:::o;7296:3683:31:-;;;;2272:51031:6;;-1:-1:-1;;7296:3683:31;;1412:159;;;;;;;;;;;;;;;;7552:9;;7548:365;;8023:19;679:17:9;8023:19:31;;8019:142;;8444:308;940:4:27;8444:308:31;;679:17:9;8444:308:31;;;;;;;;940:4:27;;8444:308:31;;9016:384;;9463:18;940:4:27;7296:3683:31;:::o;8019:142::-;1829:135:27;;;940:4;1829:135;;;;;7548:365:31;7881:17;;;679::9;7881::31;;;2272:51031:6;7874:24:31;:::o;7296:3683::-;;;-1:-1:-1;;7296:3683:31;;1412:159;;;;;;;;;;;;;;;;7552:9;;7548:365;;8023:19;;;;8019:142;;8444:308;;;;940:4:27;2272:51031:6;940:4:27;8971:31:31;;9016:384;;;9854:1;940:4:27;9835:1:31;940:4:27;9834:21:31;940:4:27;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;;;;9854:1:31;940:4:27;;9016:384:31;;;;2272:51031:6;9016:384:31;;;8444:308;;;;;;940:4:27;8444:308:31;;9016:384;9463:18;940:4:27;7296:3683:31;:::o;8019:142::-;1829:135:27;;2272:51031:6;1829:135:27;8082:16:31;5328:5;940:4:27;;5322:42:31;1829:135:27;;;;;7548:365:31;7881:17;;;;2272:51031:6;;;;;7874:24:31;:::o;27913:855:6:-;1555:50:9;27913:855:6;28739:11;27913:855;-1:-1:-1;2272:51031:6;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;28140:24;;;2272:51031;28178:31;;;28174:313;;27913:855;28544:11;2272:51031;28544:11;;;;:::i;:::-;28577:13;2272:51031;28577:13;2272:51031;28577:13;;;;:::i;:::-;2272:51031;28610:11;2272:51031;28610:11;;;;:::i;:::-;2272:51031;;;;;1555:50:9;;;:::i;:::-;2272:51031:6;;;:::i;:::-;1555:50:9;;2272:51031:6;;;:::i;:::-;;28511:250;;1555:50:9;2272:51031:6;;;:::i;:::-;;28511:250;;1555:50:9;2272:51031:6;28511:250;;1555:50:9;2272:51031:6;28511:250;;1555:50:9;28739:11:6;2272:51031;;28511:250;;1555:50:9;27913:855:6;:::o;28174:313::-;28254:36;;;-1:-1:-1;;;;;28254:36:6;;28416:60;28254:36;;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;28348:34;;;;;:::i;28416:60::-;28174:313;;;;50296:1084;;;;50510:11;;2272:51031;50568:13;;;;;2272:51031;50616:15;;:47;;;;;50296:1084;50616:68;;;;;50296:1084;50616:104;;;;50296:1084;50616:154;;;;;50296:1084;50616:201;;;;50296:1084;50616:244;;;;;50296:1084;50616:284;;;;50296:1084;50616:354;;;;;50296:1084;50616:427;;;;;50296:1084;50616:501;;;;50296:1084;50616:574;;;;50296:1084;50616:647;;;;50296:1084;50616:722;;;;50296:1084;50599:774;;;50296:1084::o;50599:774::-;51356:17;;;-1:-1:-1;51356:17:6;;-1:-1:-1;51356:17:6;50616:722;2633:3;51289:17;;;;;2272:51031;51283:55;50616:722;;;:647;51216:15;;2633:3;51216:15;;;;2272:51031;51210:53;50616:647;;;:574;51143:15;;2633:3;51143:15;;;;2272:51031;51137:53;50616:574;;;:501;51069:16;;2633:3;50568:13;51069:16;;;2272:51031;51063:54;50616:501;;;:427;50996:15;;2633:3;50996:15;;2272:51031;50990:53;50616:427;;;:354;2272:51031;2574:5;-1:-1:-1;50920:50:6;-1:-1:-1;50616:354:6;;;:284;2272:51031;2633:3;-1:-1:-1;50864:36:6;-1:-1:-1;50616:284:6;;;:244;2272:51031;;50837:23;;-1:-1:-1;50616:244:6;;:201;50780:11;;;2272:51031;2633:3;-1:-1:-1;50774:43:6;-1:-1:-1;50616:201:6;;;:154;50746:11;;;;2272:51031;50740:30;;-1:-1:-1;50616:154:6;;:104;2466:2;-1:-1:-1;50688:32:6;-1:-1:-1;50616:104:6;;;:68;50667:17;;;-1:-1:-1;50616:68:6;;:47;2414:2;-1:-1:-1;50635:28:6;-1:-1:-1;50616:47:6;;;47259:581;;2272:51031;;:::i;:::-;;47492:43;47513:21;;;1555:50:9;47492:43:6;:::i;:::-;2272:51031;;;;;1555:50:9;;;;:::i;:::-;2272:51031:6;;1555:50:9;;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;;;;1555:50:9;2272:51031:6;;;;47513:21;2272:51031;;1555:50:9;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;47483:52;47573:34;2272:51031;47629:60;47573:34;;;;:::i;:::-;47545:62;;;-1:-1:-1;;;;;47545:62:6;;2272:51031;;;;47629:60;;:::i;:::-;47703:24;;2272:51031;47703:37;;;47699:135;;47259:581;:::o;47699:135::-;47763:60;;;;;-1:-1:-1;47763:60:6;2272:51031;;;;;-1:-1:-1;47763:60:6;46502:652;;;2272:51031;46789:38;2272:51031;46502:652;2272:51031;46868:269;46502:652;2272:51031;;46789:38;;;2272:51031;46789:38;;;2272:51031;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;46789:38;2272:51031;;46789:38;;;;;;:::i;:::-;2272:51031;46779:49;;46921:11;;;46950:13;46789:38;46950:13;;;46981:11;2272:51031;;46981:11;;;2272:51031;47108:15;2272:51031;47042:21;;1555:50:9;47108:15:6;;2272:51031;;;;46868:269;;;46789:38;46868:269;;2272:51031;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;;;-1:-1:-1;;2272:51031:6;;;;;;;:::i;:::-;;47108:15;2272:51031;;;;;;;;;;;;;;;46868:269;2272:51031;;46868:269;;;;;;:::i;44648:1754::-;;;;;;;;;;;;2272:51031;;1555:50:9;;;:::i;:::-;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;;;;;;;1555:50:9;2272:51031:6;1555:50:9;:::i;:::-;2272:51031:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;1555:50:9;;;;:::i;:::-;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;-1:-1:-1;2272:51031:6;;;;;;45358:18;;1555:50:9;2272:51031:6;;;45416:16;2272:51031;;;45471:15;2272:51031;;;45663:18;2272:51031;45663:18;;2272:51031;;;;;;1555:50:9;;;;;:::i;:::-;45168:4:6;2272:51031;;;;;;;;45206:9;2272:51031;;45112:580;;2272:51031;45168:4;2272:51031;45112:580;;2272:51031;;;;;;;;45112:580;;2272:51031;45112:580;;2272:51031;;;;;;;;45112:580;2272:51031;45112:580;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;45112:580;;2272:51031;-1:-1:-1;;;;;2272:51031:6;;45112:580;;2272:51031;;;;;;;45620:15;2272:51031;;45112:580;;2272:51031;;45112:580;;2272:51031;45757:11;;45790:13;2272:51031;45790:13;;46010:15;;;46057:16;2272:51031;46057:16;;;46104:15;2272:51031;46104:15;;;2272:51031;46150:15;;;46198:17;2272:51031;46198:17;;2272:51031;;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;45952:282;;1555:50:9;2272:51031:6;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45827:422;;1555:50:9;2272:51031:6;45827:422;;1555:50:9;;2272:51031:6;;;1555:50:9;;;;:::i;:::-;;;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;2272:51031;;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;2272:51031:6;45715:680;;1555:50:9;44648:1754:6;:::o","linkReferences":{},"immutableReferences":{"4575":[{"start":2084,"length":32},{"start":11395,"length":32},{"start":13717,"length":32}],"4578":[{"start":5889,"length":32},{"start":11477,"length":32}],"4581":[{"start":8464,"length":32}],"4585":[{"start":6256,"length":32},{"start":9788,"length":32},{"start":13496,"length":32},{"start":20619,"length":32}],"4589":[{"start":2706,"length":32},{"start":4094,"length":32},{"start":4334,"length":32},{"start":22691,"length":32}],"4593":[{"start":2210,"length":32},{"start":14048,"length":32}],"4597":[{"start":2633,"length":32},{"start":13775,"length":32}],"4611":[{"start":6747,"length":32},{"start":9122,"length":32},{"start":12832,"length":32},{"start":13567,"length":32},{"start":15121,"length":32},{"start":17494,"length":32},{"start":22822,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"acceptOwnership()","signatureHash4":"0x79ba5097","signatureHash32":"0x79ba5097e5519a381a52113cdcc59540d13f73fd9d26abc0453484a096cc96f2"},{"signature":"addLaunchConfig((uint256,uint256,uint256,uint256,uint24,int24,bool))","signatureHash4":"0x0e5b0aae","signatureHash32":"0x0e5b0aae9b35922a6af92aaeed5d1b6dbdde9cba37211c28e79d5112c025eabf"},{"signature":"approvedPairTokens(address)","signatureHash4":"0x9831705e","signatureHash32":"0x9831705ec92f8337c24477079ae9e85138c0d1a1f382c5de84694407d75e99a1"},{"signature":"attemptForceGraduation(address)","signatureHash4":"0x59a20bea","signatureHash32":"0x59a20beab85df5edd693ad71ae356294f76eb34bb069ce44c0c6bbf7b634cb91"},{"signature":"attemptRescueMigration(address)","signatureHash4":"0x1df6b8c5","signatureHash32":"0x1df6b8c51fdf4492adc467cbaa82eb54dff4a01c2487b8a7b183ef04350c8a41"},{"signature":"canLaunch(address)","signatureHash4":"0x58373f04","signatureHash32":"0x58373f0469daa3fc0947dedcf425cac05d7c6cb45826edb6b48f4e0caf75a87d"},{"signature":"collectFees(address)","signatureHash4":"0xa480ca79","signatureHash32":"0xa480ca795ffcfa368e52bf4c581a13a7ae98b748dbf61607d48cc5874865b64f"},{"signature":"createGraduatedPool(address)","signatureHash4":"0x2f53ef2f","signatureHash32":"0x2f53ef2f40294bc097e30a05fde62d85bf26bb7e10e39a870a248c67bf3fdf98"},{"signature":"feeDestination()","signatureHash4":"0xde53fcd5","signatureHash32":"0xde53fcd5334c06072014b36f4fa3cfecca0863a53ec0c4a7e509acee779dbd0a"},{"signature":"feeEscrow()","signatureHash4":"0xc4b7de97","signatureHash32":"0xc4b7de97cd4ac57ef574c54dc88537fe05d3734b2fab89e3bb031fccc9d91d6d"},{"signature":"forceSweptGraduation(address)","signatureHash4":"0x7aed273e","signatureHash32":"0x7aed273e35676bca3b1d088f15cdaa12254c7c26655d63019c9ecda273ea3733"},{"signature":"getLaunch(address)","signatureHash4":"0xb3964f23","signatureHash32":"0xb3964f239214358d657da7419e167f8df5bddd6bbf8dd977142863557d8343a6"},{"signature":"getLaunchConfig(uint256)","signatureHash4":"0x1cad862d","signatureHash32":"0x1cad862d64da4c2690e4beb4cc19c81eb8b8bca26656d145f5ec0d0eaffcefec"},{"signature":"getLaunchedToken(address)","signatureHash4":"0x3cf28b5a","signatureHash32":"0x3cf28b5a3844992c1c67a0e5eeb78a0c7baadfe87d378f2ec6ce644e5315ed49"},{"signature":"graduate(address)","signatureHash4":"0xff6d8d05","signatureHash32":"0xff6d8d059946e9a4337cbaaa4f7a26e90504cfaccbb938c8214f55920f926e5a"},{"signature":"graduationExecutor()","signatureHash4":"0xcc6d7a39","signatureHash32":"0xcc6d7a390e52f54374af7a486f23b69b417e6025b8279af891e8ae14d0e22cd3"},{"signature":"graduationGuard()","signatureHash4":"0x496aa100","signatureHash32":"0x496aa1005c421e98a7ab873ffed77d62f5ec32e1e73573fb540450f3c6d7c28e"},{"signature":"GRADUATION_RESCUE_DELAY()","signatureHash4":"0x2d1250b8","signatureHash32":"0x2d1250b8811fe8685c3082d334c9859cbd42ec2c7d3a16b60550b361022ba9ec"},{"signature":"initializationHook()","signatureHash4":"0x01f4727f","signatureHash32":"0x01f4727ff4b3650cc366cfb347c69005a995eca95902a98753c0e3f11b55038a"},{"signature":"launchConfigCount()","signatureHash4":"0xae72d871","signatureHash32":"0xae72d871ccc0baa983bf7fb6ee46bf0b77028f4220a98c1161ad7fe3ec8e21b5"},{"signature":"launchDeployer()","signatureHash4":"0x858f5964","signatureHash32":"0x858f5964e72ff9fb9b2f5bc1429c781c81ce750675ee9476bf6d94c71ad607fc"},{"signature":"launchEnabled()","signatureHash4":"0x236a4afb","signatureHash32":"0x236a4afbfb3d45935ba7f6f9269a860c1b984bfc22ad51dc6189880bab95bab3"},{"signature":"launchFee()","signatureHash4":"0xcf3cf573","signatureHash32":"0xcf3cf573567260a691751233ec71bb7b1e18d383922c7c402e4991c719c5e344"},{"signature":"launchForwarder()","signatureHash4":"0x9b924452","signatureHash32":"0x9b92445270d20d393b647d0a54af5e0b6f765df108be3ff7bb64c5912cf5e7f9"},{"signature":"launchTokenFor((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address,address[])","signatureHash4":"0xd6a0eef5","signatureHash32":"0xd6a0eef53fcc2b543b78377a023b9e3c4bb8ef8ea10fc83151b78dc6696c8d3b"},{"signature":"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)","signatureHash4":"0xf35abbcf","signatureHash32":"0xf35abbcf14dadb3e05fe478baccf1f4b2996aca6c17ccdf560c35f8f5960545e"},{"signature":"launchToken((string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address,address[])","signatureHash4":"0xa72101af","signatureHash32":"0xa72101af41e2294fca256fcaeee1bbd621b78282da462aee93763845172c0ae2"},{"signature":"locker()","signatureHash4":"0xd7b96d4e","signatureHash32":"0xd7b96d4e7a0993c6b551e076199b2aa40ddab1e52de3a04c61aaa92aae8ef2f1"},{"signature":"MAX_CURVE_FEE_BPS()","signatureHash4":"0x218d578f","signatureHash32":"0x218d578ff26799443fda5c381a0df96c3959d4aa640b291a4c28f8a28a93aece"},{"signature":"MAX_DESCRIPTION_LENGTH()","signatureHash4":"0x9201ea0a","signatureHash32":"0x9201ea0a2b38256f04a39d3a1d3989330b469953e542c7b0116093a6a9f74011"},{"signature":"MAX_LOGO_LENGTH()","signatureHash4":"0xcb3051af","signatureHash32":"0xcb3051af08b2c2ff7d7c094d0b4092b2c0d7c1f548e9fc953a00f5dd56ddbe89"},{"signature":"MAX_NAME_LENGTH()","signatureHash4":"0x86074985","signatureHash32":"0x86074985e35826d2909472671f117ceb916eb71d3972a32df6ea857bfcadf4c6"},{"signature":"MAX_SOCIAL_URI_LENGTH()","signatureHash4":"0x2b9b96fe","signatureHash32":"0x2b9b96fe9a2ac6f530807abf08de4b9ace8751c7c88ef2d95e32f720f5f51150"},{"signature":"MAX_SYMBOL_LENGTH()","signatureHash4":"0xe3d89171","signatureHash32":"0xe3d89171473bd8aaf241b470603e8f15f1f5528644ab0ef040d687244774f2ad"},{"signature":"MAX_V4_STATIC_FEE()","signatureHash4":"0x7a72f396","signatureHash32":"0x7a72f3965693393f244d255b551643de7259d4955b5e42749f45b673211b763b"},{"signature":"MAX_V4_TICK_SPACING()","signatureHash4":"0x374f90c3","signatureHash32":"0x374f90c3d6115c937fef6ce0f9f8b0f7c4f2c6fdbe97a9b9b6555515ea79bd9f"},{"signature":"memeHook()","signatureHash4":"0x6651812c","signatureHash32":"0x6651812c0dacf511c8dccabb600a8f71a9e30457e20f5d3780ec616d1f5dd094"},{"signature":"MIN_PAIR_TOKEN_DECIMALS()","signatureHash4":"0x2bcfaf3f","signatureHash32":"0x2bcfaf3f5676b5e55523b368f5a4ff53e8834eaf8d6e3acfaa24557a9b0d81d3"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pairTokenAuthority()","signatureHash4":"0x1bd1cc0a","signatureHash32":"0x1bd1cc0a9f29e94d2a10c6870c5f6ecd0ecd653d8134fc96f74b46531126b3dd"},{"signature":"pairTokenEconomics(address)","signatureHash4":"0x31082134","signatureHash32":"0x31082134fb2bf8532bda7261db0321acc77549371f7e88e59e97577501f71783"},{"signature":"pendingOwner()","signatureHash4":"0xe30c3978","signatureHash32":"0xe30c3978ddd82956a01b5cb08d17f1a2d73e636aeefb7b36f896e41d4c2aab90"},{"signature":"permit2()","signatureHash4":"0x12261ee7","signatureHash32":"0x12261ee76a5bb07fbe973e2b852670881866842c39ea966156148e7b2b39443d"},{"signature":"poolManager()","signatureHash4":"0xdc4c90d3","signatureHash32":"0xdc4c90d3c2342c5afe26871a21a4ecf482fcb45ae1ac8294d1dcff7a134352c0"},{"signature":"positionManager()","signatureHash4":"0x791b98bc","signatureHash32":"0x791b98bc38d035871370995f0afa1d26676383e34628f71308157d4e9c5e95f9"},{"signature":"predictLaunch(address,(string,string,string,string,(string,string,string,string,string),address,uint16,bool,bytes32,bytes32),uint256,address)","signatureHash4":"0x9f3c1932","signatureHash32":"0x9f3c193281ccf169b0619998e6dfd764b550f01c08c1ab389f2f63533be5a4c9"},{"signature":"previewLaunchEconomics(uint256)","signatureHash4":"0x571a96b4","signatureHash32":"0x571a96b43c2529f40e06b41be98a1478f3cb050d669ca86caa088c3408a9ef38"},{"signature":"previewLaunchEconomics(uint256,address)","signatureHash4":"0xf718b78c","signatureHash32":"0xf718b78c083168c4cd812ce009185b782b600d8a3bc2637dc2c26b8ab5619b58"},{"signature":"protocolFeeRecipient()","signatureHash4":"0x64df049e","signatureHash32":"0x64df049ee593aa50a43f96c2ef469ffdea0d195cc25e9e238b06469e0b440e99"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"RESCUE_MIGRATION_GAS()","signatureHash4":"0x867727bb","signatureHash32":"0x867727bb306f0edfaa659088dd4db03fa45819c09c13db0192832f9fc95d72a3"},{"signature":"rescueSweptGraduation(address,address)","signatureHash4":"0xdbcb9c76","signatureHash32":"0xdbcb9c76909b531b45a4732e22ff598782560f588696c04aadfa639294ad06b6"},{"signature":"setFeeDestination(address)","signatureHash4":"0xfbe53234","signatureHash32":"0xfbe5323460cece434dee6a3436312346b6e1e439d54f250354501883b846533f"},{"signature":"setLaunchConfigEnabled(uint256,bool)","signatureHash4":"0x6de13a36","signatureHash32":"0x6de13a3632ac4f497d881f87a75ddfd4a2aaaf6726e62c02e18d22c24088b856"},{"signature":"setLaunchDeployer(address)","signatureHash4":"0x3a9391e8","signatureHash32":"0x3a9391e81239ed8227f5c89f0effdf9c1d312c7df51b14f826043fa8bc9bdf57"},{"signature":"setLaunchEnabled(bool)","signatureHash4":"0xf56f05b2","signatureHash32":"0xf56f05b2653fccf5d54ae76174c596dce554f217846fcc247131462d9636ca03"},{"signature":"setLaunchForwarder(address)","signatureHash4":"0x767b7c16","signatureHash32":"0x767b7c16513081debb659f4afd268411a46e74c83d3c2c78d4a162350085cb4f"},{"signature":"setPairTokenApproved(address,bool)","signatureHash4":"0x8763e3dc","signatureHash32":"0x8763e3dc37c926138f0fee90e5ca3937a6321fa9db80be1724940ec9d05c0f0d"},{"signature":"setPairTokenAuthority(address)","signatureHash4":"0xe1d0d3d9","signatureHash32":"0xe1d0d3d9f162c2bee25323653431314d23fb426fa1d10d2eeb6a0877daf65c76"},{"signature":"setPairTokenEconomics(address,uint256,uint256,uint8)","signatureHash4":"0x092c08bd","signatureHash32":"0x092c08bd8a73fa316a6272ade5e31d95e7f5404926e29e1afd3308befc73c91a"},{"signature":"setSnipeTaxSeconds(uint256)","signatureHash4":"0xd1ec471a","signatureHash32":"0xd1ec471a5507a6717ae51e81afab5d508ad0e2b1d275b200b040af67eaafc39b"},{"signature":"setSnipeTaxStartBps(uint256)","signatureHash4":"0xb20e51af","signatureHash32":"0xb20e51af09ffc1ccb19dfe2f9605be0d459ae6761a9df6b2cd1b09ac464db89a"},{"signature":"snipeTaxSeconds()","signatureHash4":"0x6783774b","signatureHash32":"0x6783774bda489553c5cf047da01368ed4643c07039c4f5d4a47dc4fc83552017"},{"signature":"snipeTaxStartBps()","signatureHash4":"0x50e25ac2","signatureHash32":"0x50e25ac2c81280d0af740e4f35b99f9321b5d2cef97dcfc10d4bfdb40ad2ef62"},{"signature":"tokenForCurve(address)","signatureHash4":"0x4c1c1c6e","signatureHash32":"0x4c1c1c6ed2ebc66b63a200bdba1c316c00eabe95f04011b907d4ad4ddfd466cc"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"updateLaunchConfig(uint256,(uint256,uint256,uint256,uint256,uint24,int24,bool))","signatureHash4":"0xe73e334a","signatureHash32":"0xe73e334a63d8c4cad6b669c90b73d2f03fad46410a73ec3bc1569cb133168195"}],"event":[{"signature":"FeeDestinationUpdated(address,address)","signatureHash4":"0xf233d954","signatureHash32":"0xf233d954f3686605efa967ca830039f5b89b7e36cfc29384edbcb1c19b535522"},{"signature":"FeesCollected(address,address,uint256)","signatureHash4":"0x9bcb6d1f","signatureHash32":"0x9bcb6d1f38f6800906185471a11ede9a8e16200853225aa62558db6076490f2d"},{"signature":"LaunchConfigAdded(uint256)","signatureHash4":"0xedd96c57","signatureHash32":"0xedd96c570c6e5ef9add0378e59df53579a283889dc5dab6440ef6eca2ee6c8ce"},{"signature":"LaunchConfigEnabledUpdated(uint256,bool)","signatureHash4":"0x5d4b286c","signatureHash32":"0x5d4b286c5f1a262bf5ab8f382fdf55c2daec4505a3993a63273af9dd45758ca0"},{"signature":"LaunchConfigUpdated(uint256)","signatureHash4":"0x2f8ba78a","signatureHash32":"0x2f8ba78ae68cfd0c82c7756c540eaf4eead3341aef9ccebcb91d546bff10d62b"},{"signature":"LaunchDeployerSet(address)","signatureHash4":"0xd5ea7aa3","signatureHash32":"0xd5ea7aa3e328a0594dcf6914cd9e5369779efaa194ee4dd4c5afcad4f4ebbb0c"},{"signature":"LaunchEnabledUpdated(bool)","signatureHash4":"0x4f1ea501","signatureHash32":"0x4f1ea5016c51c2f82324e00e9b8a4a95ee5aeaa10c653dabaec5f1bc9047ba0b"},{"signature":"LaunchForceSwept(address)","signatureHash4":"0x52c1a283","signatureHash32":"0x52c1a28345695afc7f6b7629133124dec5d61ee745affd65e4fd2a776bc05840"},{"signature":"LaunchForwarderSet(address)","signatureHash4":"0x56b32d36","signatureHash32":"0x56b32d3633fed72f97c4df44a78b5fa04f1d662d4bddebcd8a9b216d26d093ad"},{"signature":"LaunchGraduationRescued(address,address,uint256,uint256)","signatureHash4":"0x7017304f","signatureHash32":"0x7017304fdd491394686dce984eac721f0be1a22228346210f16694772bde44ca"},{"signature":"LaunchSwept(address,uint256,uint256)","signatureHash4":"0xcdb72f15","signatureHash32":"0xcdb72f157fd3666758a6ce201387ffb52038c7562e4fff352828da1096c4b6b4"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"OwnershipTransferStarted(address,address)","signatureHash4":"0x38d16b8c","signatureHash32":"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700"},{"signature":"PairTokenApprovalUpdated(address,bool)","signatureHash4":"0x060d1992","signatureHash32":"0x060d1992d069dc524985f328329aae36102a017c59733c5c91fc0691ee0703b6"},{"signature":"PairTokenAuthorityUpdated(address,address)","signatureHash4":"0x762e0649","signatureHash32":"0x762e06498cd232b6daa33a0f304225225dff9c7f29c2fb5073256b47f7a6c26d"},{"signature":"PairTokenEconomicsUpdated(address,uint256,uint256,uint8)","signatureHash4":"0x67d517ee","signatureHash32":"0x67d517ee0e305d608b8410ddef27bbd2ed964d843d9b936e84ea2ad1bd65e5d1"},{"signature":"PoolGraduated(address,uint256,uint256,uint256)","signatureHash4":"0x0a44ef75","signatureHash32":"0x0a44ef75df69c534f43cd6c1aa3ef8983065fe5fe79ef9e79f6494e6f258c259"},{"signature":"SnipeTaxSecondsUpdated(uint256)","signatureHash4":"0x2b1bf8cf","signatureHash32":"0x2b1bf8cf5a401a6dd314ae29520988783e31f0e50ec734aa9ef26b8b7ff24a1f"},{"signature":"SnipeTaxStartBpsUpdated(uint256)","signatureHash4":"0x82d0fc04","signatureHash32":"0x82d0fc041b26338f6e9cc240adde9cbe5b20064b4cb39ab96c953d5643687b1e"},{"signature":"TokenLaunched(address,address,address,address,uint256,uint256)","signatureHash4":"0x8d4aad49","signatureHash32":"0x8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a89607"}],"error":[{"signature":"AddressMismatch(address,address)","signatureHash4":"0x1f73225f","signatureHash32":"0x1f73225fad09fbcecc8259cb4e82aee5cf8f34f66d1850e16d395013c1e4bdf8"},{"signature":"AlreadySet()","signatureHash4":"0xa741a045","signatureHash32":"0xa741a0456e52b90bd22850f10558d4a38cdc2876b51fbd4ffc1b587676dbc61c"},{"signature":"AlreadyUnlocked()","signatureHash4":"0x5090d6c6","signatureHash32":"0x5090d6c6a3049b6f5ef3970b94a998e6d25328a236e04d5b3fe48526658677f4"},{"signature":"CurveFeeTooHigh()","signatureHash4":"0x4e222a24","signatureHash32":"0x4e222a244b583698ee2347289ac53b94b21f00ff68fc876d383efb1a9c02f317"},{"signature":"ExemptionListTooLong()","signatureHash4":"0x021c0d43","signatureHash32":"0x021c0d43fa483bcb0034b3d46feaec6931b70880e944784701792e22ce9c08df"},{"signature":"FeeTransferFailed()","signatureHash4":"0x4033e4e3","signatureHash32":"0x4033e4e3fc93d5c5a6d8860bfec7f8239386a46012124f8dc37ef38b1c403806"},{"signature":"GraduationRescueTooEarly(uint256)","signatureHash4":"0xbdcd75af","signatureHash32":"0xbdcd75af60f0af50dfc1d972e6235e0f25524a3e7b8e00ea793ec83ce533491b"},{"signature":"InitializationHookFactoryMismatch(address,address)","signatureHash4":"0xec15e506","signatureHash32":"0xec15e506c03d02f69c1a7b25f7cad9aa65c62474ac10786161712ed35224721d"},{"signature":"InitializationHookOwnerMismatch(address,address)","signatureHash4":"0xecfcbf5d","signatureHash32":"0xecfcbf5d1d0c846dcd01c2027b6c3b53eaf7c77e8706dda13055e3692b91eae0"},{"signature":"InitializationHookPoolMismatch(address,address)","signatureHash4":"0x85399a17","signatureHash32":"0x85399a17581ced93029eafb8c4e3114eeafa3d8c7de632ae373f2357e72cfba3"},{"signature":"InsufficientRescueGas()","signatureHash4":"0x3c6be2b3","signatureHash32":"0x3c6be2b38f7f6b6cb44f2692dfb9ac7a41d54dd8aa8da8908f7742ac4db211bf"},{"signature":"InvalidBasisPoints()","signatureHash4":"0x800c7e91","signatureHash32":"0x800c7e91c7902febe545634af56049dd5f1daefd969457588142d366ead490d6"},{"signature":"InvalidEconomics()","signatureHash4":"0x0b1ba793","signatureHash32":"0x0b1ba79350ec5655c870056cb8b3554c1d647eeadc450fb2cc0622af3d4dc670"},{"signature":"InvalidInitializationHook()","signatureHash4":"0xf3a57917","signatureHash32":"0xf3a579174d56e11fe3e4cb8d06ccb4a13e4a68b9da608d46bdbd7b5b7dd57ae5"},{"signature":"InvalidLaunchConfigId()","signatureHash4":"0x68b42c59","signatureHash32":"0x68b42c5966923c3e35560c47a60301c7e730e83569c3a89c012e0faae909dd95"},{"signature":"InvalidMetadata()","signatureHash4":"0xbcecb64a","signatureHash32":"0xbcecb64a064c6f73f45dff9d011acd14cfeb2e05129a3a1a7281e7d4a2bfce1d"},{"signature":"InvalidPoolConfiguration()","signatureHash4":"0x2a7ca19e","signatureHash32":"0x2a7ca19ea09dd0af45bf9e0f959e1192f32965b1e1c7bc4eefd0858a6a3bbcf6"},{"signature":"InvalidSnipeTaxWindow()","signatureHash4":"0xd9521a85","signatureHash32":"0xd9521a8576983687f83388ec36eb8319ccf611f3d1a6a6bc281a48d3748e5c30"},{"signature":"InvalidState(uint8,uint8)","signatureHash4":"0x77e5c5f2","signatureHash32":"0x77e5c5f2aa259c88bd0fc91d1ecbafc8f800d5078734b3f1589c51a9b1c980da"},{"signature":"LaunchAlreadyExists()","signatureHash4":"0xf09762b6","signatureHash32":"0xf09762b60b45df474f0ab232ebb685fbaf3c8db582f8669b729ad88d47f7abcb"},{"signature":"LaunchConfigDisabled()","signatureHash4":"0xa8b63076","signatureHash32":"0xa8b630763032f317fd76b4744d61aee3e02c4ad460c6f30d1bda5039618074f4"},{"signature":"LaunchDeployerNotSet()","signatureHash4":"0x57332dcf","signatureHash32":"0x57332dcfa397cab950c2175575ed8c913f7d0587e72ec2123a7aebd16493862c"},{"signature":"LaunchDeployerWiringMismatch()","signatureHash4":"0x95fbfce5","signatureHash32":"0x95fbfce5c76500394491c26261a3d01502aff2bead100d8cfe400ca35373dd5f"},{"signature":"LaunchEconomicsMismatch(bytes32,bytes32)","signatureHash4":"0xecb27319","signatureHash32":"0xecb2731949f18bcbb4f631ff02b2a90c66d98924fad69deab5f4b411704d7f5b"},{"signature":"LaunchFeeNotPaid()","signatureHash4":"0x7e6d78a5","signatureHash32":"0x7e6d78a5fab7d0b6c1cb3b12775106b5423500eb9da90fd839b7c9e0d9d02f74"},{"signature":"MigrationAmountTooSmall()","signatureHash4":"0xbef93614","signatureHash32":"0xbef93614b3582f1fc32d7f8019bd727685c6ed65280161fa1dbfabb9310d4718"},{"signature":"MissingCode(address)","signatureHash4":"0xcbe6daba","signatureHash32":"0xcbe6daba0cc74ecccaabdc3aa2bc58ad21f3d221f04255d4a07706338611288e"},{"signature":"NothingToGraduate()","signatureHash4":"0xc2074c46","signatureHash32":"0xc2074c468a0b7c202405e73ceb63c1d1fa924d72c94d251b8f47d0c01c43dcc7"},{"signature":"NotLaunchForwarder()","signatureHash4":"0xea9eaa96","signatureHash32":"0xea9eaa96aea0ba14076131581c967846fbf867a8d8a3ebfee45b8745efbb541a"},{"signature":"NotWhitelisted()","signatureHash4":"0x584a7938","signatureHash32":"0x584a79384c1fda40857fbf9b9412f34690de80c3d1f0a700350da3cc6e7423fe"},{"signature":"OnlySelf()","signatureHash4":"0x14d4a4e8","signatureHash32":"0x14d4a4e8a5140da60b7a280478fb427da973ca582a83cf5dbad8c5f2abee9ba4"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"OwnershipCannotBeRenounced()","signatureHash4":"0x2fab92ca","signatureHash32":"0x2fab92ca4da7e80162387e93e02720bc4b98838c093385cac8fecf71a9b7de25"},{"signature":"PairTokenAuthorityUnauthorizedAccount(address)","signatureHash4":"0x4ad9b54f","signatureHash32":"0x4ad9b54fb3141faa54c01578cea03b6987ee16a363c25259392d90bf4fa29a33"},{"signature":"PairTokenDecimalsMismatch(uint8,uint8)","signatureHash4":"0x4e3de34f","signatureHash32":"0x4e3de34fbb1e0b3892d3d20930c761dc9b8030dc201cebbb827db1c791c8e494"},{"signature":"PairTokenDecimalsUnavailable()","signatureHash4":"0xe43c14ca","signatureHash32":"0xe43c14caded207545c177ee38e9028d6ebf3cae2786ce8f0f4e017baad1c4f26"},{"signature":"PairTokenEconomicsInvalid()","signatureHash4":"0x764c63c8","signatureHash32":"0x764c63c8c54966978bcbec3e4604b214077c8b4fbe14f55be4e87d7baab6a2dd"},{"signature":"PairTokenNotApproved()","signatureHash4":"0x49285dfb","signatureHash32":"0x49285dfbe5abe7e82c5639154f2c7a3a37543bf4bdd5770d96d2311e71e466ae"},{"signature":"PairTokenValidationFailed()","signatureHash4":"0x26fbfa60","signatureHash32":"0x26fbfa60698a7f52cbf3ae31630b7ef157768ec45100dede2d9a1c04795eeb03"},{"signature":"PositionManagerLocked()","signatureHash4":"0x4404de21","signatureHash32":"0x4404de21ec6e9e1d0e79844ff3b5d57403e0c5cdc01426bc13f76e30bfccc098"},{"signature":"PositionManagerPermit2Mismatch(address,address)","signatureHash4":"0xc7d9e24c","signatureHash32":"0xc7d9e24cd20b077e311f2b0a4c23435c0aa8857325eb1eefc78e1f0395119eea"},{"signature":"PositionManagerPoolMismatch(address,address)","signatureHash4":"0xc6f5398f","signatureHash32":"0xc6f5398f77f427d7113e3f1ead29f5873befde8f0f3f99aa332255ca25e5f88a"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"TokenNotFound()","signatureHash4":"0xcbdb7b30","signatureHash32":"0xcbdb7b30e72bea18359a87883568d9e96d867bffb813a3423d40bfb5e8e06e3f"},{"signature":"UnexpectedNativeSender()","signatureHash4":"0x63336912","signatureHash32":"0x633369123e36f85d99ece848e0828213ba88f913069fca59db250a17b0f68b9a"},{"signature":"UnsupportedBuyback()","signatureHash4":"0xf2b11471","signatureHash32":"0xf2b11471fb1acc634af307d8ec356e5b309a16f11bc3fb207f4b1306371298de"},{"signature":"UnsupportedCreatorTax()","signatureHash4":"0x7ee7ac76","signatureHash32":"0x7ee7ac769fe7241f31b4812f4504a63882bf0feb1ba15a71009cc76a5c9c20cb"},{"signature":"ZeroAddress()","signatureHash4":"0xd92e233d","signatureHash32":"0xd92e233df2717d4a40030e20904abd27b68fcbeede117eaaccbbdac9618c8c73"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"4663","address":"0xB45bEB38F21Be1d29E6b9C6E9dC4222d1C12f1f1"}