{"matchId":"55782857","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-10-08T17:44:20Z","creationBytecode":{"onchainBytecode":"0x610100604052348015610010575f80fd5b506040516153be3803806153be83398101604081905261002f916100b9565b6001600160a01b0380821660805283811660a052821660e052604051309061005690610095565b6001600160a01b039091168152602001604051809103905ff08015801561007f573d5f803e3d5ffd5b506001600160a01b031660c05250610103915050565b610e638061455b83390190565b6001600160a01b03811681146100b6575f80fd5b50565b5f805f606084860312156100cb575f80fd5b83516100d6816100a2565b60208501519093506100e7816100a2565b60408501519092506100f8816100a2565b809150509250925092565b60805160a05160c05160e0516143a76101b45f395f818161033a01526107de01525f81816101f9015281816108260152611fc001525f818161036d015281816106440152818161070a01528181610f63015281816111af0152818161143d015281816114a60152818161153c01528181611563015281816116260152818161177201526118ae01525f818161029f01528181610c2a01528181611b8d0152818161207001526121dd01526143a75ff3fe6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f0000000000000000000000000000000000000000000000000000000000000000610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f0000000000000000000000000000000000000000000000000000000000000000604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f00000000000000000000000000000000000000000000000000000000000000009091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f0000000000000000000000000000000000000000000000000000000000000000836116d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f00000000000000000000000000000000000000000000000000000000000000001690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a60a0604052348015600e575f80fd5b50604051610e63380380610e63833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f80fd5b81516001600160a01b0381168114605f575f80fd5b9392505050565b608051610dde6100855f395f818161011a01526102b30152610dde5ff3fe608060405234801561000f575f80fd5b506004361061007a575f3560e01c8063453a2abc11610058578063453a2abc1461011557806352476af414610154578063d913e89814610174578063e9698e1414610189575f80fd5b806306661abd1461007e5780632582d807146100ae578063343822ef146100f5575b5f80fd5b600354610091906001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b6100e56100bc3660046107b7565b6001600160401b039081165f90815260208190526040902060010154600160401b900416151590565b60405190151581526020016100a5565b6101086101033660046107b7565b6101a9565b6040516100a591906107d9565b61013c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a5565b6101676101623660046107b7565b610212565b6040516100a5919061081b565b6101876101823660046108bb565b6102a8565b005b61019c6101973660046107b7565b61064f565b6040516100a591906109b6565b6001600160401b0381165f9081526002602090815260409182902080548351818402810184019094528084526060939283018282801561020657602002820191905f5260205f20905b8154815260200190600101908083116101f2575b50505050509050919050565b6001600160401b0381165f908152600160209081526040808320805482518185028101850190935280835260609492939192909184015b8282101561029d575f848152602090819020604080516060810182526003860290920180548352600180820154848601526002909101546001600160a01b0316918301919091529083529092019101610249565b505050509050919050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102f157604051630751a1cd60e41b815260040160405180910390fd5b5f8061030360408801602089016107b7565b6001600160401b03908116825260208201929092526040015f2060010154600160401b900416156103675761033e60408601602087016107b7565b604051637b5ced6560e11b81526001600160401b03909116600482015260240160405180910390fd5b5f8390036103885760405163a586db8960e01b815260040160405180910390fd5b845f8061039b60408401602085016107b7565b6001600160401b0316815260208101919091526040015f206103bd8282610bd7565b504290505f806103d36040890160208a016107b7565b6001600160401b03908116825260208201929092526040015f9081206001018054938316600160401b0267ffffffffffffffff60401b1990941693909317909255849081111561042557610425610a86565b60405190808252806020026020018201604052801561044e578160200160208202803683370190505b5090505f5b8481101561052a5760015f61046e60408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2086868381811061049f5761049f610c8d565b83546001810185555f94855260209094206060909102929092019260030290910190506104cc8282610cb5565b50508585828181106104e0576104e0610c8d565b90506060020160400160208101906104f89190610cf4565b82828151811061050a5761050a610c8d565b6001600160a01b0390921660209283029190910190910152600101610453565b505f5b828110156105a25760025f61054860408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2084848381811061057957610579610c8d565b8354600180820186555f958652602095869020929095029390930135920191909155500161052d565b50600380546001600160401b0316905f6105bb83610d0f565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050855f01358660200160208101906105f791906107b7565b6001600160401b03167f842d5f2a8e1a9d01abf8bc2b6269628d3a53f94e060e8fa6021414c5710382f088606001358960a0013585888860405161063f959493929190610d45565b60405180910390a3505050505050565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e08101919091526001600160401b038083165f908152602081815260409182902082516101008101845281548152600182015480861693820193909352600160401b909204909316918101919091526002820154606082015260038201546080820152600482015460a0820152600582015460c082015260068201805491929160e08401919061071990610a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461074590610a9a565b80156107905780601f1061076757610100808354040283529160200191610790565b820191905f5260205f20905b81548152906001019060200180831161077357829003601f168201915b5050505050815250509050919050565b6001600160401b03811681146107b4575f80fd5b50565b5f602082840312156107c7575f80fd5b81356107d2816107a0565b9392505050565b602080825282518282018190525f918401906040840190835b818110156108105783518352602093840193909201916001016107f2565b509095945050505050565b602080825282518282018190525f918401906040840190835b8181101561081057835180518452602080820151818601526040918201516001600160a01b03169185019190915290930192606090920191600101610834565b5f8083601f840112610884575f80fd5b5081356001600160401b0381111561089a575f80fd5b6020830191508360208260051b85010111156108b4575f80fd5b9250929050565b5f805f805f606086880312156108cf575f80fd5b85356001600160401b038111156108e4575f80fd5b860161010081890312156108f6575f80fd5b945060208601356001600160401b03811115610910575f80fd5b8601601f81018813610920575f80fd5b80356001600160401b03811115610935575f80fd5b886020606083028401011115610949575f80fd5b6020919091019450925060408601356001600160401b0381111561096b575f80fd5b61097788828901610874565b969995985093965092949392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152815160208201526001600160401b0360208301511660408201526001600160401b03604083015116606082015260608201516080820152608082015160a082015260a082015160c082015260c082015160e08201525f60e083015161010080840152610a2a610120840182610988565b949350505050565b5f8135610a3e816107a0565b92915050565b5f808335601e19843603018112610a59575f80fd5b8301803591506001600160401b03821115610a72575f80fd5b6020019150368190038213156108b4575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610aae57607f821691505b602082108103610acc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b1957805f5260205f20601f840160051c81016020851015610af75750805b601f840160051c820191505b81811015610b16575f8155600101610b03565b50505b505050565b6001600160401b03831115610b3557610b35610a86565b610b4983610b438354610a9a565b83610ad2565b5f601f841160018114610b7a575f8515610b635750838201355b5f19600387901b1c1916600186901b178355610b16565b5f83815260208120601f198716915b82811015610ba95786850135825560209485019460019092019101610b89565b5086821015610bc5575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81358155600181016020830135610bed816107a0565b6001600160401b0381166001600160401b031983541617825550610c43610c1660408501610a32565b825467ffffffffffffffff60401b191660409190911b6fffffffffffffffff000000000000000016178255565b50606082013560028201556080820135600382015560a0820135600482015560c08201356005820155610c7960e0830183610a44565b610c87818360068601610b1e565b50505050565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03811681146107b4575f80fd5b8135815560208201356001820155600281016040830135610cd581610ca1565b81546001600160a01b0319166001600160a01b03919091161790555050565b5f60208284031215610d04575f80fd5b81356107d281610ca1565b5f6001600160401b0382166001600160401b038103610d3c57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f608082018783528660208401526080604084015280865180835260a0850191506020880192505f5b81811015610d955783516001600160a01b0316835260209384019390920191600101610d6e565b505083810360608501528481526001600160fb1b03851115610db5575f80fd5b8460051b9150818660208301370160200197965050505050505056fea164736f6c634300081a000a000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90000000000000000000000000cecc29b037f5064fcdf45a5c318f132ef76aa55100000000000000000000000012c9e1007262afac205567457f5826a9416a3863","recompiledBytecode":"0x610100604052348015610010575f80fd5b506040516153be3803806153be83398101604081905261002f916100b9565b6001600160a01b0380821660805283811660a052821660e052604051309061005690610095565b6001600160a01b039091168152602001604051809103905ff08015801561007f573d5f803e3d5ffd5b506001600160a01b031660c05250610103915050565b610e638061455b83390190565b6001600160a01b03811681146100b6575f80fd5b50565b5f805f606084860312156100cb575f80fd5b83516100d6816100a2565b60208501519093506100e7816100a2565b60408501519092506100f8816100a2565b809150509250925092565b60805160a05160c05160e0516143a76101b45f395f818161033a01526107de01525f81816101f9015281816108260152611fc001525f818161036d015281816106440152818161070a01528181610f63015281816111af0152818161143d015281816114a60152818161153c01528181611563015281816116260152818161177201526118ae01525f818161029f01528181610c2a01528181611b8d0152818161207001526121dd01526143a75ff3fe6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f0000000000000000000000000000000000000000000000000000000000000000610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f0000000000000000000000000000000000000000000000000000000000000000604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f00000000000000000000000000000000000000000000000000000000000000009091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f0000000000000000000000000000000000000000000000000000000000000000836116d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f00000000000000000000000000000000000000000000000000000000000000001690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a60a0604052348015600e575f80fd5b50604051610e63380380610e63833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f80fd5b81516001600160a01b0381168114605f575f80fd5b9392505050565b608051610dde6100855f395f818161011a01526102b30152610dde5ff3fe608060405234801561000f575f80fd5b506004361061007a575f3560e01c8063453a2abc11610058578063453a2abc1461011557806352476af414610154578063d913e89814610174578063e9698e1414610189575f80fd5b806306661abd1461007e5780632582d807146100ae578063343822ef146100f5575b5f80fd5b600354610091906001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b6100e56100bc3660046107b7565b6001600160401b039081165f90815260208190526040902060010154600160401b900416151590565b60405190151581526020016100a5565b6101086101033660046107b7565b6101a9565b6040516100a591906107d9565b61013c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a5565b6101676101623660046107b7565b610212565b6040516100a5919061081b565b6101876101823660046108bb565b6102a8565b005b61019c6101973660046107b7565b61064f565b6040516100a591906109b6565b6001600160401b0381165f9081526002602090815260409182902080548351818402810184019094528084526060939283018282801561020657602002820191905f5260205f20905b8154815260200190600101908083116101f2575b50505050509050919050565b6001600160401b0381165f908152600160209081526040808320805482518185028101850190935280835260609492939192909184015b8282101561029d575f848152602090819020604080516060810182526003860290920180548352600180820154848601526002909101546001600160a01b0316918301919091529083529092019101610249565b505050509050919050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102f157604051630751a1cd60e41b815260040160405180910390fd5b5f8061030360408801602089016107b7565b6001600160401b03908116825260208201929092526040015f2060010154600160401b900416156103675761033e60408601602087016107b7565b604051637b5ced6560e11b81526001600160401b03909116600482015260240160405180910390fd5b5f8390036103885760405163a586db8960e01b815260040160405180910390fd5b845f8061039b60408401602085016107b7565b6001600160401b0316815260208101919091526040015f206103bd8282610bd7565b504290505f806103d36040890160208a016107b7565b6001600160401b03908116825260208201929092526040015f9081206001018054938316600160401b0267ffffffffffffffff60401b1990941693909317909255849081111561042557610425610a86565b60405190808252806020026020018201604052801561044e578160200160208202803683370190505b5090505f5b8481101561052a5760015f61046e60408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2086868381811061049f5761049f610c8d565b83546001810185555f94855260209094206060909102929092019260030290910190506104cc8282610cb5565b50508585828181106104e0576104e0610c8d565b90506060020160400160208101906104f89190610cf4565b82828151811061050a5761050a610c8d565b6001600160a01b0390921660209283029190910190910152600101610453565b505f5b828110156105a25760025f61054860408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2084848381811061057957610579610c8d565b8354600180820186555f958652602095869020929095029390930135920191909155500161052d565b50600380546001600160401b0316905f6105bb83610d0f565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050855f01358660200160208101906105f791906107b7565b6001600160401b03167f842d5f2a8e1a9d01abf8bc2b6269628d3a53f94e060e8fa6021414c5710382f088606001358960a0013585888860405161063f959493929190610d45565b60405180910390a3505050505050565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e08101919091526001600160401b038083165f908152602081815260409182902082516101008101845281548152600182015480861693820193909352600160401b909204909316918101919091526002820154606082015260038201546080820152600482015460a0820152600582015460c082015260068201805491929160e08401919061071990610a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461074590610a9a565b80156107905780601f1061076757610100808354040283529160200191610790565b820191905f5260205f20905b81548152906001019060200180831161077357829003601f168201915b5050505050815250509050919050565b6001600160401b03811681146107b4575f80fd5b50565b5f602082840312156107c7575f80fd5b81356107d2816107a0565b9392505050565b602080825282518282018190525f918401906040840190835b818110156108105783518352602093840193909201916001016107f2565b509095945050505050565b602080825282518282018190525f918401906040840190835b8181101561081057835180518452602080820151818601526040918201516001600160a01b03169185019190915290930192606090920191600101610834565b5f8083601f840112610884575f80fd5b5081356001600160401b0381111561089a575f80fd5b6020830191508360208260051b85010111156108b4575f80fd5b9250929050565b5f805f805f606086880312156108cf575f80fd5b85356001600160401b038111156108e4575f80fd5b860161010081890312156108f6575f80fd5b945060208601356001600160401b03811115610910575f80fd5b8601601f81018813610920575f80fd5b80356001600160401b03811115610935575f80fd5b886020606083028401011115610949575f80fd5b6020919091019450925060408601356001600160401b0381111561096b575f80fd5b61097788828901610874565b969995985093965092949392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152815160208201526001600160401b0360208301511660408201526001600160401b03604083015116606082015260608201516080820152608082015160a082015260a082015160c082015260c082015160e08201525f60e083015161010080840152610a2a610120840182610988565b949350505050565b5f8135610a3e816107a0565b92915050565b5f808335601e19843603018112610a59575f80fd5b8301803591506001600160401b03821115610a72575f80fd5b6020019150368190038213156108b4575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610aae57607f821691505b602082108103610acc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b1957805f5260205f20601f840160051c81016020851015610af75750805b601f840160051c820191505b81811015610b16575f8155600101610b03565b50505b505050565b6001600160401b03831115610b3557610b35610a86565b610b4983610b438354610a9a565b83610ad2565b5f601f841160018114610b7a575f8515610b635750838201355b5f19600387901b1c1916600186901b178355610b16565b5f83815260208120601f198716915b82811015610ba95786850135825560209485019460019092019101610b89565b5086821015610bc5575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81358155600181016020830135610bed816107a0565b6001600160401b0381166001600160401b031983541617825550610c43610c1660408501610a32565b825467ffffffffffffffff60401b191660409190911b6fffffffffffffffff000000000000000016178255565b50606082013560028201556080820135600382015560a0820135600482015560c08201356005820155610c7960e0830183610a44565b610c87818360068601610b1e565b50505050565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03811681146107b4575f80fd5b8135815560208201356001820155600281016040830135610cd581610ca1565b81546001600160a01b0319166001600160a01b03919091161790555050565b5f60208284031215610d04575f80fd5b81356107d281610ca1565b5f6001600160401b0382166001600160401b038103610d3c57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f608082018783528660208401526080604084015280865180835260a0850191506020880192505f5b81811015610d955783516001600160a01b0316835260209384019390920191600101610d6e565b505083810360608501528481526001600160fb1b03851115610db5575f80fd5b8460051b9150818660208301370160200197965050505050505056fea164736f6c634300081a000a","sourceMap":"2233:16034:32:-:0;;;5922:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3281:12:36;;;;;6024:26:32;;::::1;;::::0;6060:20;::::1;;::::0;6399:33:::1;::::0;6426:4:::1;::::0;6399:33:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;934:32:37;;;916:51;;904:2;889:18;6399:33:32::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;6388:44:32::1;;::::0;-1:-1:-1;2233:16034:32;;-1:-1:-1;;2233:16034:32;;;;;;;;;:::o;14:145:37:-;-1:-1:-1;;;;;103:31:37;;93:42;;83:70;;149:1;146;139:12;83:70;14:145;:::o;164:601::-;292:6;300;308;361:2;349:9;340:7;336:23;332:32;329:52;;;377:1;374;367:12;329:52;409:9;403:16;428:45;467:5;428:45;:::i;:::-;542:2;527:18;;521:25;492:5;;-1:-1:-1;555:47:37;521:25;555:47;:::i;:::-;673:2;658:18;;652:25;621:7;;-1:-1:-1;686:47:37;652:25;686:47;:::i;:::-;752:7;742:17;;;164:601;;;;;:::o;770:203::-;2233:16034:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{},"transformations":[{"type":"insert","offset":21438,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90000000000000000000000000cecc29b037f5064fcdf45a5c318f132ef76aa55100000000000000000000000012c9e1007262afac205567457f5826a9416a3863"}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000a47fcb220ddd1cddda865f89029bec1b9eca3bf181565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f00000000000000000000000012c9e1007262afac205567457f5826a9416a386381565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000cecc29b037f5064fcdf45a5c318f132ef76aa55181565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a901692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f000000000000000000000000cecc29b037f5064fcdf45a5c318f132ef76aa551161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000a47fcb220ddd1cddda865f89029bec1b9eca3bf116632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f00000000000000000000000012c9e1007262afac205567457f5826a9416a3863610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a909091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90836116d6565b7f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a901690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000012c9e1007262afac205567457f5826a9416a38636001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f000000000000000000000000a47fcb220ddd1cddda865f89029bec1b9eca3bf11663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000012c9e1007262afac205567457f5826a9416a38636001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000012c9e1007262afac205567457f5826a9416a38636001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a","recompiledBytecode":"0x6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f0000000000000000000000000000000000000000000000000000000000000000610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f0000000000000000000000000000000000000000000000000000000000000000604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f00000000000000000000000000000000000000000000000000000000000000009091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f0000000000000000000000000000000000000000000000000000000000000000836116d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f00000000000000000000000000000000000000000000000000000000000000001690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a","sourceMap":"2233:16034:32:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3006:56:36;;;;;;;;;;-1:-1:-1;3006:56:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;804:25:37;;;792:2;777:18;3006:56:36;;;;;;;;2804:77;;;;;;;;;;-1:-1:-1;2804:77:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;16893:215:32;;;;;;;;;;-1:-1:-1;16893:215:32;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2484:32:37;;;2466:51;;2454:2;2439:18;16893:215:32;2320:203:37;4021:378:36;;;;;;;;;;-1:-1:-1;4021:378:36;;;;;:::i;:::-;;:::i;:::-;;16513:142:32;;;;;;;;;;;;;:::i;5492:40::-;;;;;;;;;;;;;;;12361:770;;;;;;;;;;-1:-1:-1;12361:770:32;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5399:39::-;;;;;;;;;;;;5434:4;5399:39;;;;;4531:6:37;4519:19;;;4501:38;;4489:2;4474:18;5399:39:32;4357:188:37;17586:192:32;;;;;;;;;;-1:-1:-1;17586:192:32;;;;;:::i;:::-;;:::i;2600:32:36:-;;;;;;;;;;;;;;;6510:3041:32;;;;;;;;;;-1:-1:-1;6510:3041:32;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5922:32:37;;;5904:51;;5991:32;;;5986:2;5971:18;;5964:60;6060:32;;6040:18;;;6033:60;;;;5892:2;5877:18;6510:3041:32;5702:397:37;5761:91:36;;;;;;;;;;-1:-1:-1;5761:91:36;;;;;:::i;:::-;;:::i;5639:33:32:-;;;;;;;;;;;;;;;5445:41;;;;;;;;;;;;;;;4501:922:36;;;;;;;;;;-1:-1:-1;4501:922:36;;;;;:::i;:::-;;:::i;:::-;;;;6696:25:37;;;6752:2;6737:18;;6730:34;;;;6669:18;4501:922:36;6522:248:37;5539:110:36;;;;;;;;;;-1:-1:-1;5539:110:36;;;;;:::i;:::-;;:::i;3530:289::-;;;;;;;;;;-1:-1:-1;3530:289:36;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3726:23:36;3638:15;3726:23;;;;;;;;;;;;3774:11;;;;3759:53;;;;;;;;;-1:-1:-1;;;;;3759:53:36;;;;;3774:11;3759:53;;;;;;;;;;;;;-1:-1:-1;;;3759:53:36;;;;;;;;;;;-1:-1:-1;;;3759:53:36;;;3774:11;3759:53;;;;;;;;;;;;;;;;;;;3774:11;;;;3787;;;;;;;-1:-1:-1;;;3800:11:36;;;;;;3530:289;;;;;;;;;;;:::i;16893:215:32:-;17017:7;17047:54;-1:-1:-1;;;;;16304:21:32;;17083:17;;17047:8;:54::i;:::-;17040:61;;16893:215;;;;;;:::o;4021:378:36:-;-1:-1:-1;;;;;4118:23:36;;4097:18;4118:23;;;;;;;;;;4155:11;;;;-1:-1:-1;;;4155:11:36;;-1:-1:-1;;;;;4155:11:36;:25;;:54;;-1:-1:-1;4198:11:36;;;;-1:-1:-1;;;4198:11:36;;-1:-1:-1;;;;;4198:11:36;4184:10;:25;;4155:54;4151:93;;;4218:26;;-1:-1:-1;;;4218:26:36;;-1:-1:-1;;;;;7882:31:37;;4218:26:36;;;7864:50:37;7837:18;;4218:26:36;;;;;;;;4151:93;-1:-1:-1;;;;;4258:18:36;;4254:46;;4285:15;;-1:-1:-1;;;4285:15:36;;;;;;;;;;;4254:46;4346:11;;;;4315:49;;-1:-1:-1;;;;;4315:49:36;;;;-1:-1:-1;;;4346:11:36;;;;-1:-1:-1;;;;;4315:49:36;;;;;;;;4374:11;;:18;;-1:-1:-1;;;;;4374:18:36;;;-1:-1:-1;;;4374:18:36;-1:-1:-1;;;;;;4374:18:36;;;;;;;;;-1:-1:-1;4021:378:36:o;16513:142:32:-;16575:7;16611:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;16601:47;;;;;;16594:54;;16513:142;:::o;12361:770::-;12433:12;12461:10;-1:-1:-1;;;;;12483:11:32;12461:34;;12457:63;;12504:16;;-1:-1:-1;;;12504:16:32;;;;;;;;;;;12457:63;6022:7:36;;-1:-1:-1;;;6022:7:36;;;;12530:38:32;;;12554:14;12563:4;;12554:8;:14::i;:::-;12547:21;;;;12530:38;12579:22;12604:27;;;;12615:4;12604:27;:::i;:::-;12707:11;;12732:231;;;;;;;;12783:17;;;;;12732:231;;;;;;12829:17;;;;12732:231;;;;;;12895:17;;;;;-1:-1:-1;;;;;12887:26:32;12732:231;;;;12643:18;12732:231;;;;;;12666:323;;-1:-1:-1;;;12666:323:32;;12579:52;;-1:-1:-1;12643:18:32;;-1:-1:-1;;;;;12666:11:32;:27;;;;:323;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;13008:11:32;;:21;12642:347;;-1:-1:-1;13000:47:32;;13031:15;12642:347;2107:3:25;2103:22;;1958:183;13031:15:32;13000:7;:47::i;:::-;13065:11;;:21;;;13057:47;;13088:15;:5;2303:2:25;2292:28;;2147:189;13057:47:32;13115:9;;;;;;;;;;;;;;;;12361:770;;;;;:::o;17586:192::-;17705:7;17735:36;17744:8;17754:16;;17735:8;:36::i;6510:3041::-;6590:13;;;6658:10;-1:-1:-1;;;;;6672:8:32;6658:22;;6654:48;;6689:13;;-1:-1:-1;;;6689:13:32;;;;;;;;;;;6654:48;-1:-1:-1;;;;;6716:8:32;:19;;6736;;;;:6;:19;:::i;:::-;6716:40;;-1:-1:-1;;;;;;6716:40:32;;;;;;;-1:-1:-1;;;;;7882:31:37;;;6716:40:32;;;7864:50:37;7837:18;;6716:40:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6712:89;;;6781:19;;;;:6;:19;:::i;:::-;6765:36;;-1:-1:-1;;;6765:36:32;;-1:-1:-1;;;;;7882:31:37;;;6765:36:32;;;7864:50:37;7837:18;;6765:36:32;7720:200:37;6712:89:32;7038:56;7018:16;;;;;;;;:::i;:::-;:77;-1:-1:-1;;;;;7017:84:32;7100:1;7017:84;7013:154;;7124:32;;-1:-1:-1;;;7124:32:32;;;;;;;;;;;7013:154;7177:19;7199:18;5434:4;7199:6;:18;:::i;:::-;7177:40;-1:-1:-1;7231:14:32;;;;;;;;:::i;:::-;:19;;;;:52;;-1:-1:-1;7254:29:32;;;:14;;;;;;;;:::i;:::-;:29;;;7231:52;7227:97;;;7309:14;;;;;;;;:::i;:::-;7292:32;;-1:-1:-1;;;7292:32:32;;4531:6:37;4519:19;;;7292:32:32;;;4501:38:37;4474:18;;7292:32:32;4357:188:37;7227:97:32;7368:4;7338:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7338:35:32;;7334:75;;7382:27;;-1:-1:-1;;;7382:27:32;;;;;;;;;;;7334:75;7428:67;7436:24;;;;:6;:24;:::i;:::-;7428:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7462:32:32;;-1:-1:-1;7474:19:32;;-1:-1:-1;;7474:19:32;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;16304:21:32;;16206:127;7462:32;7428:7;:67::i;:::-;7420:75;-1:-1:-1;7512:49:32;7520:23;;;;:6;:23;:::i;:::-;7512:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;7545:15:32;;;;7512:7;:49::i;:::-;7505:56;-1:-1:-1;7779:41:32;7505:56;7803:16;;;;;;;;:::i;:::-;7779:17;:41::i;:::-;7774:164;;7863:4;1005:13:31;7869:16:32;;;;;;;;:::i;:::-;7843:84;;-1:-1:-1;;;7843:84:32;;-1:-1:-1;;;;;5922:32:37;;;7843:84:32;;;5904:51:37;7869:32:32;;5991::37;;;5971:18;;;5964:60;1005:13:31;2027:19;;6040:18:37;;;6033:60;5877:18;;7843:84:32;5702:397:37;7774:164:32;8297:38;;-1:-1:-1;;;8297:38:32;;8329:4;8297:38;;;2466:51:37;8282:12:32;;-1:-1:-1;;;;;8297:23:32;;;;;2439:18:37;;8297:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8282:53;;8357:6;:18;;;8349:4;:26;;:79;;;;8410:6;:18;;;8386:5;-1:-1:-1;;;;;8379:25:32;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:49;;8349:79;8345:157;;;8451:40;;-1:-1:-1;;;8451:40:32;;8466:18;;;;8451:40;;;6696:25:37;6737:18;;;6730:34;;;6669:18;;8451:40:32;6522:248:37;8345:157:32;8575:32;8587:19;;;;:6;:19;:::i;8575:32::-;8633:5;8649:4;8656;8662:24;;;;;;;;:::i;:::-;8547:153;;;;;:::i;:::-;-1:-1:-1;;;;;15152:32:37;;;15134:51;;15221:32;;;15216:2;15201:18;;15194:60;15290:32;;15285:2;15270:18;;15263:60;-1:-1:-1;;;;;15359:31:37;;;15354:2;15339:18;;15332:59;15121:3;15106:19;8547:153:32;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8512:198:32;-1:-1:-1;8792:23:32;8853:6;8819:30;5434:4;8819:18;;;;:30;:::i;:::-;8818:41;;;;:::i;:::-;8792:67;-1:-1:-1;8869:56:32;-1:-1:-1;;;;;8869:26:32;;8896:11;8792:67;8869:26;:56::i;:::-;-1:-1:-1;;;;;9123:40:32;;;9164:17;;;;9183:15;9200:29;;;;;;;;:::i;:::-;9123:107;;-1:-1:-1;;;;;;9123:107:32;;;;;;;;;;15997:25:37;;;;16038:18;;;16031:34;;;;-1:-1:-1;;;;;16101:31:37;16081:18;;;16074:59;15970:18;;9123:107:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9241:18;9262:39;9281:6;9289:5;9296:4;9262:18;:39::i;:::-;9241:60;-1:-1:-1;9311:93:32;9325:19;;;;:6;:19;:::i;:::-;9346:3;9351:16;;;;;;;;:::i;:::-;9369;;;;;;;;:::i;:::-;9387;;;;;;;;:::i;:::-;9311:13;:93::i;:::-;9414:41;9422:6;9430:5;9437:4;9443:11;9414:7;:41::i;:::-;-1:-1:-1;;;;;9471:73:32;;;;;;9480:19;;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;9471:73:32;;9514:11;9527:16;;;;;;;;:::i;:::-;9471:73;;;-1:-1:-1;;;;;16775:32:37;;;16757:51;;-1:-1:-1;;;;;16844:47:37;;;16839:2;16824:18;;16817:75;16730:18;9471:73:32;;;;;;;6644:2907;;;;6510:3041;;;;;:::o;5761:91:36:-;5824:21;5836:8;5824:11;:21::i;:::-;5761:91;:::o;4501:922::-;-1:-1:-1;;;;;4624:23:36;;4559:15;4624:23;;;;;;;;;;4676:11;;;;4559:15;;4624:23;4676:11;;;;;;;4661;;;:26;4657:63;;4696:24;;-1:-1:-1;;;4696:24:36;;-1:-1:-1;;;;;7882:31:37;;4696:24:36;;;7864:50:37;7837:18;;4696:24:36;7720:200:37;4657:63:36;4734:7;;-1:-1:-1;;;4734:7:36;;;;4730:37;;;4750:17;;-1:-1:-1;;;4750:17:36;;;;;;;;;;;4730:37;4778:8;4777:42;;-1:-1:-1;;;;;4777:42:36;;-1:-1:-1;;4777:42:36;;;;;-1:-1:-1;;;4777:42:36;;;;4879:24;;;;;;;7864:50:37;;;;4879:24:36;;;;;;;;;;7837:18:37;;;4879:24:36;;;;-1:-1:-1;;;4861:43:36;;;-1:-1:-1;;;;;13220:11:32;4861:17:36;;;;:43;;4879:24;4861:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4861:43:36;;;;;;;;;;;;:::i;:::-;4850:75;;;;;;;;;;;;:::i;:::-;4936:8;4935:32;;-1:-1:-1;;4935:32:36;;;4982:55;;;6696:25:37;;;6752:2;6737:18;;6730:34;;;4829:96:36;;-1:-1:-1;4829:96:36;;-1:-1:-1;5008:10:36;;-1:-1:-1;;;;;4982:55:36;;;;;6669:18:37;4982:55:36;;;;;;;5062:15;;;5101;;;5146:11;;;;-1:-1:-1;;;;;5062:15:36;;;;5101;;;;-1:-1:-1;;;5146:11:36;;;;5167:30;5146:11;5062:15;5189:7;5167:6;:30::i;:::-;5207;5214:9;5225:2;5229:7;5207:6;:30::i;:::-;-1:-1:-1;;;;;5251:23:36;;;5247:120;;5290:26;5302:9;5313:2;5290:11;:26::i;:::-;5330;5342:9;5353:2;5330:11;:26::i;:::-;5376:15;5388:2;5376:11;:15::i;:::-;5401;5413:2;5401:11;:15::i;:::-;4593:830;;;;4501:922;;;:::o;5539:110::-;5612:30;5624:7;5633:8;5612:11;:30::i;:::-;5539:110;;:::o;17864:366:32:-;17947:7;18107:4;18100:12;;18122:4;18129;18145:12;;18135:23;;;;;;;:::i;:::-;;;;;;;;;18083:76;;;;;;;-1:-1:-1;;;;;;18631:26:37;;;;18619:39;;18695:2;18691:15;;;;-1:-1:-1;;18687:53:37;18683:1;18674:11;;18667:74;18766:2;18757:12;;18750:28;18803:2;18794:12;;18787:28;18840:2;18831:12;;18408:441;18083:76:32;;;;-1:-1:-1;;18083:76:32;;;;;;;;;18048:133;;18083:76;18048:133;;;;;17864:366;-1:-1:-1;;;;17864:366:32:o;6301:883:36:-;6358:12;6382:19;6404:26;;;;6415:4;6404:26;:::i;:::-;6460:8;;6382:48;;-1:-1:-1;;;;;;6444:24:36;;;6460:8;;6444:24;6440:54;;6477:17;;-1:-1:-1;;;6477:17:36;;;;;;;;;;;6440:54;-1:-1:-1;;;;;6525:23:36;;6504:18;6525:23;;;;;;;;;;;13220:11:32;6681:108:36;;;;;;;;6715:11;;;;;;;;6681:108;;6739:11;;;;;;6681:108;;;;6602:18;6681:108;;;;;;;;;;;;6625:190;;-1:-1:-1;;;6625:190:36;;6558:33;;-1:-1:-1;6602:18:36;;-1:-1:-1;;;;;6625:23:36;;;;;:190;;6662:1;;6625:190;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6601:214;;;6825:9;6837:15;:5;2107:3:25;2103:22;;1958:183;6837:15:36;6825:27;;6862:9;6874:15;:5;2303:2:25;2292:28;;2147:189;6874:15:36;6862:27;;6908:1;6903:2;:6;;;:16;;;;6918:1;6913:2;:6;;;6903:16;6899:49;;;6928:20;;-1:-1:-1;;;6928:20:36;;20141:2:37;20130:22;;;6928:20:36;;;20112:41:37;20189:22;;;20169:18;;;20162:50;20085:18;;6928:20:36;19942:276:37;6899:49:36;6967:1;6962:2;:6;;;6958:69;;;6983:15;;6970:57;;-1:-1:-1;;;6970:57:36;;-1:-1:-1;;;;;6983:15:36;;;6970:57;;;20454:51:37;7008:4:36;20521:18:37;;;20514:60;-1:-1:-1;;;;;20610:47:37;;20590:18;;;20583:75;6970:12:36;;;;;;20427:18:37;;6970:57:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6958:69;7046:1;7041:2;:6;;;7037:69;;;7062:15;;;;7049:57;;-1:-1:-1;;;7049:57:36;;-1:-1:-1;;;;;7062:15:36;;;7049:57;;;20454:51:37;7087:4:36;20521:18:37;;;20514:60;-1:-1:-1;;;;;20610:47:37;;20590:18;;;20583:75;7049:12:36;;;;;;20427:18:37;;7049:57:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7037:69;7123:54;;;-1:-1:-1;;;;;7134:20:36;;;7123:54;;;6696:25:37;7156:20:36;;;;6737:18:37;;;6730:34;7123:54:36;;;;;;;;;6669:18:37;;;;7123:54:36;;;;6301:883;-1:-1:-1;;;;;;;6301:883:36:o;13322:567:32:-;13404:1;13395:6;:10;;;13391:492;;;13421:11;13451:7;13452:6;13451:7;:::i;:::-;13474:26;;-1:-1:-1;;;13474:26:32;;-1:-1:-1;;;;;2484:32:37;;;13474:26:32;;;2466:51:37;-1:-1:-1;;;;;13435:25:32;;;;;-1:-1:-1;13474:11:32;:16;;;;;;2439:18:37;;13474:26:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;13518:22:32;;13514:245;;13562:11;-1:-1:-1;;;;;13562:18:32;;13588:3;13562:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13407:362;5539:110:36;;:::o;13514:245:32:-;13633:73;-1:-1:-1;;;;;13633:46:32;;13688:11;13702:3;13633:46;:73::i;:::-;13724:11;-1:-1:-1;;;;;13724:18:32;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;13514:245::-;13407:362;5539:110:36;;:::o;13391:492:32:-;13788:1;13779:6;:10;;;13775:108;;;13805:67;;-1:-1:-1;;;13805:67:32;;-1:-1:-1;;;;;21373:32:37;;;13805:67:32;;;21355:51:37;13840:4:32;21422:18:37;;;21415:60;-1:-1:-1;;;;;13847:24:32;;21491:18:37;;;21484:34;13805:11:32;:16;;;;21328:18:37;;13805:67:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13322:567;;:::o;15710:295::-;15785:16;15921:4;15906:12;15900:19;15893:4;15879:12;15875:23;15872:1;15864:62;15852:74;-1:-1:-1;;;;;;15949:22:32;;15945:53;;15980:18;;-1:-1:-1;;;15980:18:32;;;;;;;;;;;2343:129:31;2412:4;1005:13;2453:11;;2435:13;2443:4;1005:13;2027:19;;1947:106;2435:13;-1:-1:-1;;;;;2435:30:31;;;2343:129;-1:-1:-1;;;2343:129:31:o;1290:204:8:-;1377:37;1391:5;1398:2;1402:5;1409:4;1377:13;:37::i;:::-;1372:116;;1437:40;;-1:-1:-1;;;1437:40:8;;-1:-1:-1;;;;;2484:32:37;;1437:40:8;;;2466:51:37;2439:18;;1437:40:8;2320:203:37;10050:1828:32;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10190:29:32;10199:5;10206:4;10212:6;10190:8;:29::i;:::-;10184:35;-1:-1:-1;10704:20:32;10727:37;:21;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10727:35:32;;:37::i;:::-;10704:60;-1:-1:-1;;;;;;10774:11:32;:22;;10797:3;10802:19;;;;;;;;:::i;:::-;10774:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;10836:16:32;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10836:21:32;10856:1;10836:21;10832:53;;10866:19;;-1:-1:-1;;;10866:19:32;;;;;;;;;;;10832:53;10912:38;;-1:-1:-1;;;10912:38:32;;10944:4;10912:38;;;2466:51:37;10895:14:32;;-1:-1:-1;;;;;10912:23:32;;;;;2439:18:37;;10912:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10895:55;;10960:11;-1:-1:-1;;;;;10960:18:32;;11020:238;;;;;;;;11055:3;11020:238;;;;11091:6;:16;;;;;;;;;;:::i;:::-;11020:238;;;;;;11140:16;;;;;;;;:::i;:::-;11020:238;;;;;;11189:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11020:238:32;;;-1:-1:-1;;;;;11020:238:32;;;;;;;10992:280;;;;;;;:::i;:::-;;;;;;;;;;;;;10960:322;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10960:322:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;11317:38:32;;-1:-1:-1;;;11317:38:32;;11349:4;11317:38;;;2466:51:37;11292:13:32;;-1:-1:-1;;;;;11317:23:32;;;;;2439:18:37;;11317:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11308:47;;:6;:47;:::i;:::-;11292:63;-1:-1:-1;11365:15:32;11423:6;11405:14;;;;;;;;:::i;:::-;11384:35;;;;:18;;;;:35;:::i;:::-;11383:46;;;;:::i;:::-;11365:64;;11451:7;11443:5;:15;11439:61;;;11467:33;;-1:-1:-1;;;11467:33:32;;;;;6696:25:37;;;6737:18;;;6730:34;;;6669:18;;11467:33:32;6522:248:37;11439:61:32;11510:19;11532:37;:21;;;;;;;;:::i;:37::-;11510:59;;11597:12;11583:11;:26;11579:85;;;11618:46;;-1:-1:-1;;;11618:46:32;;;;;6696:25:37;;;6737:18;;;6730:34;;;6669:18;;11618:46:32;6522:248:37;11579:85:32;11694:38;;-1:-1:-1;;;11694:38:32;;11726:4;11694:38;;;2466:51:37;11674:17:32;;-1:-1:-1;;;;;11694:23:32;;;;;2439:18:37;;11694:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11674:58;-1:-1:-1;11746:13:32;;11742:129;;11761:110;11818:1;11788:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11788:32:32;;:71;;11841:18;;;;;;;;:::i;:::-;11788:71;;;11823:4;-1:-1:-1;;;;;11823:13:32;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11761:26:32;;;11861:9;11761:26;:110::i;:::-;10174:1704;;;;;;10050:1828;;;;;:::o;7276:303:36:-;7450:46;;;;;;;;7459:3;7450:46;;;;7464:9;7450:46;;;;;;7475:9;7450:46;;;;;;7486:9;-1:-1:-1;;;;;7450:46:36;;;;7424:9;:23;7434:12;-1:-1:-1;;;;;7424:23:36;-1:-1:-1;;;;;7424:23:36;;;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;7540:9;-1:-1:-1;;;;;7511:61:36;7526:12;-1:-1:-1;;;;;7511:61:36;;7551:9;7562;7511:61;;;;;;23347:1:37;23336:21;;;23318:40;;23394:21;;23389:2;23374:18;;23367:49;23306:2;23291:18;;23152:270;7511:61:36;;;;;;;;7276:303;;;;;:::o;14896:651:32:-;15068:32;;;15098:1;15068:32;;;;;;;;;15023:42;;15068:32;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;15068:32:32;;-1:-1:-1;;15068:32:32;;;;;;;;;;;15023:77;;15125:48;;;;;;;;-1:-1:-1;;;15125:48:32;;;;-1:-1:-1;;;15125:48:32;;;;15167:5;-1:-1:-1;;;;;15125:48:32;;;;15110:9;15120:1;15110:12;;;;;;;;:::i;:::-;;;;;;:63;;;;15198:45;;;;;;;;-1:-1:-1;;;15198:45:32;;;;-1:-1:-1;;;15198:45:32;;;;15238:4;-1:-1:-1;;;;;15198:45:32;;;;15183:9;15193:1;15183:12;;;;;;;;:::i;:::-;;;;;;:60;;;;15268:66;;;;;;;;-1:-1:-1;;;15268:66:32;;;;-1:-1:-1;;;15268:66:32;;;;15322:11;-1:-1:-1;;;;;15268:66:32;;;;15253:9;15263:1;15253:12;;;;;;;;:::i;:::-;;;;;;;;;;:81;15345:34;15382:13;;;;:6;:13;:::i;:::-;15345:50;;;:::i;:::-;;-1:-1:-1;15426:19:32;;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;15405:40:32;:18;;;;:40;;;;15468:11;;;15455:24;;-1:-1:-1;;;;;15490:8:32;:15;;15405:5;15513:9;15524:15;;;;15468:6;15524:15;:::i;:::-;15490:50;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15013:534;;14896:651;;;;:::o;8340:453:36:-;-1:-1:-1;;;;;8415:21:36;;8398:14;8415:21;;;:11;:21;;;;;;;8450:11;;;8446:24;;8463:7;8340:453;:::o;8446:24::-;8479:17;8499:4;-1:-1:-1;;;;;8499:17:36;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;8528:21:36;;8552:1;8528:21;;;:11;:21;;;;;:25;8479:39;-1:-1:-1;8567:34:36;8540:8;8479:39;8594:6;8567:5;:34::i;:::-;8563:224;;;8642:8;-1:-1:-1;;;;;8622:37:36;8631:9;-1:-1:-1;;;;;8622:37:36;;8652:6;8622:37;;;;804:25:37;;792:2;777:18;;658:177;8622:37:36;;;;;;;;1290:204:8;;;:::o;8563:224:36:-;-1:-1:-1;;;;;8690:21:36;;;;;;;:11;:21;;;;;;;:30;;;8739:37;8690:21;;8739:37;;;;;;;8714:6;804:25:37;;792:2;777:18;;658:177;7585:322:36;7677:6;7687:1;7677:11;7673:24;;7585:322;;;:::o;7673:24::-;7706:13;-1:-1:-1;;;;;7722:23:36;;;:70;;7786:6;7762:4;-1:-1:-1;;;;;7762:18:36;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7753:29;;;;:6;:29;:::i;:::-;7752:40;;;;:::i;:::-;7722:70;;;7748:1;7722:70;7706:86;-1:-1:-1;7806:9:36;;7802:49;;-1:-1:-1;;;;;7817:15:36;;;;;;;:4;:15;;;;;;;;:25;;;;;;;;;;;:34;;7846:5;;7817:15;:34;;7846:5;;7817:34;:::i;:::-;;;;-1:-1:-1;;7802:49:36;7886:14;7895:5;7886:6;:14;:::i;:::-;-1:-1:-1;;;;;7861:21:36;;;;;;:11;:21;;;;;:39;;:21;;;:39;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;7585:322:36:o;7913:421::-;-1:-1:-1;;;;;8005:13:36;;;7988:14;8005:13;;;:4;:13;;;;;;;;:23;;;;;;;;;;;;;8042:11;;;8038:24;;8055:7;7913:421;;:::o;8038:24::-;-1:-1:-1;;;;;8071:13:36;;;8097:1;8071:13;;;:4;:13;;;;;;;;:23;;;;;;;;;;;:27;8112:32;8085:8;8076:7;8137:6;8112:5;:32::i;:::-;8108:220;;;8183:8;-1:-1:-1;;;;;8165:35:36;8174:7;-1:-1:-1;;;;;8165:35:36;;8193:6;8165:35;;;;804:25:37;;792:2;777:18;;658:177;8108:220:36;-1:-1:-1;;;;;8231:13:36;;;;;;;:4;:13;;;;;;;;:23;;;;;;;;;;;;;:32;;;8282:35;;804:25:37;;;8282:35:36;;777:18:37;8282:35:36;658:177:37;9022:1244:8;9249:4;9243:11;-1:-1:-1;;;9116:12:8;9267:22;;;-1:-1:-1;;;;;9315:24:8;;9309:4;9302:38;9360:4;9353:19;;;9116:12;9436:4;9116:12;9424:4;9116:12;;9408:5;9401;9396:45;9385:56;;9653:1;9646:4;9640:11;9637:18;9628:7;9624:32;9614:606;;9785:6;9775:7;9768:15;9764:28;9761:165;;;9841:16;9835:4;9830:3;9815:43;9891:16;9886:3;9879:29;9761:165;10202:1;10194:5;10182:18;10179:25;10160:16;10153:24;10149:56;10140:7;10136:70;10125:81;;9614:606;10240:4;10233:17;-1:-1:-1;9022:1244:8;;-1:-1:-1;;;;9022:1244:8:o;14171:719:32:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14358:5:32;14324:17;14392:21;;;;;;;;:::i;:::-;14374:39;;14425:18;14445;14523:6;-1:-1:-1;;;;;14479:51:32;14495:8;-1:-1:-1;;;;;14479:51:32;;:93;;14555:6;14563:8;14479:93;;;14534:8;14544:6;14479:93;14424:148;;;;14633:9;-1:-1:-1;;;;;14587:56:32;14603:9;-1:-1:-1;;;;;14587:56:32;;14583:88;;14652:19;;-1:-1:-1;;;14652:19:32;;;;;;;;;;;14583:88;14689:194;;;;;;;;-1:-1:-1;;;;;14689:194:32;;;;;;;;;;;;;;14784:10;;;;;;;;:::i;:::-;14689:194;;;;;;14821:18;;;;;;;;:::i;:::-;14689:194;;;;;;14867:4;-1:-1:-1;;;;;14689:194:32;;;;14682:201;;;;;;14171:719;;;;;:::o;4351:276:27:-;4416:7;-1:-1:-1;;;;;4439:22:27;;4435:186;;-1:-1:-1;4486:21:27;;4351:276;-1:-1:-1;4351:276:27:o;4435:186::-;4545:65;;-1:-1:-1;;;4545:65:27;;4604:4;4545:65;;;2466:51:37;-1:-1:-1;;;;;4545:50:27;;;;;2439:18:37;;4545:65:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4435:186::-;4351:276;;;:::o;9160:842:36:-;9239:7;-1:-1:-1;;;;;9262:22:36;;9258:175;;9384:1;9381;9378;9375;9367:6;9363:2;9356:5;9351:35;9345:41;;9413:9;;9258:175;9474:8;-1:-1:-1;;;;;9497:17:36;;;9442:13;9497:22;9493:40;;9528:5;9521:12;;;;;9493:40;9563:45;;-1:-1:-1;;;;;29099:32:37;;9563:45:36;;;29081:51:37;29148:18;;;29141:34;;;9543:17:36;;29054:18:37;;9563:45:36;;;-1:-1:-1;;9563:45:36;;;;;;;;;;;;;;-1:-1:-1;;;;;9563:45:36;-1:-1:-1;;;9563:45:36;;;9746:11;;9563:45;;-1:-1:-1;;;;;;;;;;9719:5:36;9712;9707:57;9701:63;;9785:16;9777:24;;9826:4;9820;9817:14;9814:109;;;9871:4;9868:1;9865;9850:26;-1:-1:-1;9907:1:36;9901:8;9814:109;9949:2;:46;;;;-1:-1:-1;9956:9:36;;;:38;;;9978:2;9970:4;:10;;:23;;;;;9984:4;9992:1;9984:9;9970:23;9942:53;9160:842;-1:-1:-1;;;;;;;;9160:842:36:o;-1:-1:-1:-;;;;;;;;:::o;14:153:37:-;-1:-1:-1;;;;;111:31:37;;101:42;;91:70;;157:1;154;147:12;172:178;262:20;;291:53;262:20;291:53;:::i;355:298::-;443:6;496:2;484:9;475:7;471:23;467:32;464:52;;;512:1;509;502:12;464:52;551:9;538:23;570:53;617:5;570:53;:::i;840:461::-;937:6;945;998:2;986:9;977:7;973:23;969:32;966:52;;;1014:1;1011;1004:12;966:52;1053:9;1040:23;1072:53;1119:5;1072:53;:::i;:::-;1144:5;-1:-1:-1;1201:2:37;1186:18;;1173:32;1214:55;1173:32;1214:55;:::i;:::-;1288:7;1278:17;;;840:461;;;;;:::o;1306:171::-;1373:20;;-1:-1:-1;;;;;1422:30:37;;1412:41;;1402:69;;1467:1;1464;1457:12;1482:347;1533:8;1543:6;1597:3;1590:4;1582:6;1578:17;1574:27;1564:55;;1615:1;1612;1605:12;1564:55;-1:-1:-1;1638:20:37;;-1:-1:-1;;;;;1670:30:37;;1667:50;;;1713:1;1710;1703:12;1667:50;1750:4;1742:6;1738:17;1726:29;;1802:3;1795:4;1786:6;1778;1774:19;1770:30;1767:39;1764:59;;;1819:1;1816;1809:12;1764:59;1482:347;;;;;:::o;1834:481::-;1912:6;1920;1928;1981:2;1969:9;1960:7;1956:23;1952:32;1949:52;;;1997:1;1994;1987:12;1949:52;2020:28;2038:9;2020:28;:::i;:::-;2010:38;;2099:2;2088:9;2084:18;2071:32;-1:-1:-1;;;;;2118:6:37;2115:30;2112:50;;;2158:1;2155;2148:12;2112:50;2197:58;2247:7;2238:6;2227:9;2223:22;2197:58;:::i;:::-;1834:481;;2274:8;;-1:-1:-1;2171:84:37;;-1:-1:-1;;;;1834:481:37:o;2528:341::-;2595:6;2603;2656:2;2644:9;2635:7;2631:23;2627:32;2624:52;;;2672:1;2669;2662:12;2624:52;2695:28;2713:9;2695:28;:::i;3287:409::-;3357:6;3365;3418:2;3406:9;3397:7;3393:23;3389:32;3386:52;;;3434:1;3431;3424:12;3386:52;3474:9;3461:23;-1:-1:-1;;;;;3499:6:37;3496:30;3493:50;;;3539:1;3536;3529:12;3493:50;3578:58;3628:7;3619:6;3608:9;3604:22;3578:58;:::i;:::-;3655:8;;3552:84;;-1:-1:-1;3287:409:37;-1:-1:-1;;;;3287:409:37:o;3842:288::-;3883:3;3921:5;3915:12;3948:6;3943:3;3936:19;4004:6;3997:4;3990:5;3986:16;3979:4;3974:3;3970:14;3964:47;4056:1;4049:4;4040:6;4035:3;4031:16;4027:27;4020:38;4119:4;4112:2;4108:7;4103:2;4095:6;4091:15;4087:29;4082:3;4078:39;4074:50;4067:57;;;3842:288;;;;:::o;4135:217::-;4282:2;4271:9;4264:21;4245:4;4302:44;4342:2;4331:9;4327:18;4319:6;4302:44;:::i;4550:523::-;4629:6;4637;4645;4698:2;4686:9;4677:7;4673:23;4669:32;4666:52;;;4714:1;4711;4704:12;4666:52;4754:9;4741:23;-1:-1:-1;;;;;4779:6:37;4776:30;4773:50;;;4819:1;4816;4809:12;4773:50;4858:58;4908:7;4899:6;4888:9;4884:22;4858:58;:::i;:::-;4935:8;;4832:84;;-1:-1:-1;5039:2:37;5024:18;;;;5011:32;;4550:523;-1:-1:-1;;;;4550:523:37:o;5305:392::-;5396:6;5449:2;5437:9;5428:7;5424:23;5420:32;5417:52;;;5465:1;5462;5455:12;5417:52;5505:9;5492:23;-1:-1:-1;;;;;5530:6:37;5527:30;5524:50;;;5570:1;5567;5560:12;5524:50;5593:22;;5649:3;5631:16;;;5627:26;5624:46;;;5666:1;5663;5656:12;6333:184;6391:6;6444:2;6432:9;6423:7;6419:23;6415:32;6412:52;;;6460:1;6457;6450:12;6412:52;6483:28;6501:9;6483:28;:::i;6775:424::-;6852:12;;-1:-1:-1;;;;;6848:38:37;;;6836:51;;6940:4;6929:16;;;6923:23;6919:49;;6903:14;;;6896:73;7022:4;7011:16;;;7005:23;7030:8;7001:38;6985:14;;;6978:62;7103:4;7092:16;;;7086:23;7083:1;7072:38;7056:14;;;7049:62;7164:4;7153:16;;;7147:23;7143:49;7127:14;;7120:73;6775:424::o;7204:511::-;7464:3;7449:19;;7477:44;7453:9;7503:6;7477:44;:::i;:::-;7569:1;7558:21;;;7552:3;7537:19;;7530:50;7617:21;;;;7611:3;7596:19;;7589:50;-1:-1:-1;;;;;7676:32:37;7670:3;7655:19;;;7648:61;;;;7204:511;;-1:-1:-1;7204:511:37:o;7925:127::-;7986:10;7981:3;7977:20;7974:1;7967:31;8017:4;8014:1;8007:15;8041:4;8038:1;8031:15;8057:253;8129:2;8123:9;8171:4;8159:17;;-1:-1:-1;;;;;8191:34:37;;8227:22;;;8188:62;8185:88;;;8253:18;;:::i;:::-;8289:2;8282:22;8057:253;:::o;8315:255::-;8387:2;8381:9;8429:6;8417:19;;-1:-1:-1;;;;;8451:34:37;;8487:22;;;8448:62;8445:88;;;8513:18;;:::i;8575:275::-;8646:2;8640:9;8711:2;8692:13;;-1:-1:-1;;8688:27:37;8676:40;;-1:-1:-1;;;;;8731:34:37;;8767:22;;;8728:62;8725:88;;;8793:18;;:::i;:::-;8829:2;8822:22;8575:275;;-1:-1:-1;8575:275:37:o;8855:161::-;8922:20;;8982:8;8971:20;;8961:31;;8951:59;;9006:1;9003;8996:12;9021:118;9108:5;9105:1;9094:20;9087:5;9084:31;9074:59;;9129:1;9126;9119:12;9144:130;9210:20;;9239:29;9210:20;9239:29;:::i;9279:188::-;9347:20;;-1:-1:-1;;;;;9396:46:37;;9386:57;;9376:85;;9457:1;9454;9447:12;9472:1397;9556:6;9600:9;9591:7;9587:23;9637:3;9633:2;9629:12;9653:2;9650:22;;;9668:1;9665;9658:12;9650:22;-1:-1:-1;9710:22:37;;:::i;:::-;9752:4;9748:2;9744:13;9741:33;;;9770:1;9767;9760:12;9741:33;9798:22;;:::i;:::-;9783:37;;9857:9;9844:23;9876:55;9923:7;9876:55;:::i;:::-;9940:24;;10016:2;10001:18;;9988:32;10029:55;9988:32;10029:55;:::i;:::-;10113:2;10100:16;;10093:33;10160:37;10193:2;10178:18;;10160:37;:::i;:::-;10155:2;10146:7;10142:16;10135:63;10250:2;10239:9;10235:18;10222:32;10263:31;10286:7;10263:31;:::i;:::-;10323:2;10310:16;;10303:33;10388:3;10373:19;;10360:33;10402:55;10360:33;10402:55;:::i;:::-;10486:3;10473:17;;10466:34;10509:22;;;10563:38;10595:4;10580:20;;10563:38;:::i;:::-;10558:2;10551:5;10547:14;10540:62;10634:37;10666:3;10655:9;10651:19;10634:37;:::i;:::-;10629:2;10622:5;10618:14;10611:61;10704:39;10738:3;10727:9;10723:19;10704:39;:::i;:::-;10699:2;10692:5;10688:14;10681:63;10777:61;10833:3;10822:9;10818:19;10777:61;:::i;:::-;10771:3;10760:15;;10753:86;10764:5;9472:1397;-1:-1:-1;;;;9472:1397:37:o;11183:610::-;11550:44;11584:9;11576:6;11550:44;:::i;:::-;10975:12;;10972:1;10961:27;;;11666:3;11651:19;;10949:40;11052:4;11041:16;;11035:23;11021:38;;11005:14;;;10998:62;11109:4;11098:16;;11092:23;11076:14;;;11069:47;11165:4;11154:16;;11148:23;11132:14;;;11125:47;11708:3;11702;11687:19;;11680:32;;;11749:1;11728:19;;;11721:30;11783:3;11768:19;;11183:610;-1:-1:-1;;11183:610:37:o;11798:409::-;11943:6;11951;12004:2;11992:9;11983:7;11979:23;11975:32;11972:52;;;12020:1;12017;12010:12;11972:52;-1:-1:-1;;12065:16:37;;12171:2;12156:18;;;12150:25;12065:16;;12150:25;;-1:-1:-1;11798:409:37:o;12212:277::-;12279:6;12332:2;12320:9;12311:7;12307:23;12303:32;12300:52;;;12348:1;12345;12338:12;12300:52;12380:9;12374:16;12433:5;12426:13;12419:21;12412:5;12409:32;12399:60;;12455:1;12452;12445:12;12768:127;12829:10;12824:3;12820:20;12817:1;12810:31;12860:4;12857:1;12850:15;12884:4;12881:1;12874:15;12900:158;12993:6;12986:14;;;12970;;;12966:35;;13013:16;;13010:42;;;13032:18;;:::i;13063:117::-;13148:6;13141:5;13137:18;13130:5;13127:29;13117:57;;13170:1;13167;13160:12;13185:245;13243:6;13296:2;13284:9;13275:7;13271:23;13267:32;13264:52;;;13312:1;13309;13302:12;13264:52;13351:9;13338:23;13370:30;13394:5;13370:30;:::i;13709:521::-;13786:4;13792:6;13852:11;13839:25;13946:2;13942:7;13931:8;13915:14;13911:29;13907:43;13887:18;13883:68;13873:96;;13965:1;13962;13955:12;13873:96;13992:33;;14044:20;;;-1:-1:-1;;;;;;14076:30:37;;14073:50;;;14119:1;14116;14109:12;14073:50;14152:4;14140:17;;-1:-1:-1;14183:14:37;14179:27;;;14169:38;;14166:58;;;14220:1;14217;14210:12;14637:230;14707:6;14760:2;14748:9;14739:7;14735:23;14731:32;14728:52;;;14776:1;14773;14766:12;14728:52;-1:-1:-1;14821:16:37;;14637:230;-1:-1:-1;14637:230:37:o;15402:168::-;15475:9;;;15506;;15523:15;;;15517:22;;15503:37;15493:71;;15544:18;;:::i;15575:217::-;15615:1;15641;15631:132;;15685:10;15680:3;15676:20;15673:1;15666:31;15720:4;15717:1;15710:15;15748:4;15745:1;15738:15;15631:132;-1:-1:-1;15777:9:37;;15575:217::o;16144:243::-;16201:6;16254:2;16242:9;16233:7;16229:23;16225:32;16222:52;;;16270:1;16267;16260:12;16222:52;16309:9;16296:23;16328:29;16351:5;16328:29;:::i;16392:186::-;16451:6;16504:2;16492:9;16483:7;16479:23;16475:32;16472:52;;;16520:1;16517;16510:12;16472:52;16543:29;16562:9;16543:29;:::i;16903:186::-;16951:4;-1:-1:-1;;;;;16976:6:37;16973:30;16970:56;;;17006:18;;:::i;:::-;-1:-1:-1;17072:2:37;17051:15;-1:-1:-1;;17047:29:37;17078:4;17043:40;;16903:186::o;17094:685::-;17173:6;17226:2;17214:9;17205:7;17201:23;17197:32;17194:52;;;17242:1;17239;17232:12;17194:52;17275:9;17269:16;-1:-1:-1;;;;;17300:6:37;17297:30;17294:50;;;17340:1;17337;17330:12;17294:50;17363:22;;17416:4;17408:13;;17404:27;-1:-1:-1;17394:55:37;;17445:1;17442;17435:12;17394:55;17478:2;17472:9;17503:52;17519:35;17547:6;17519:35;:::i;:::-;17503:52;:::i;:::-;17578:6;17571:5;17564:21;17626:7;17621:2;17612:6;17608:2;17604:15;17600:24;17597:37;17594:57;;;17647:1;17644;17637:12;17594:57;17695:6;17690:2;17686;17682:11;17677:2;17670:5;17666:14;17660:42;17747:1;17722:18;;;17742:2;17718:27;17711:38;;;;17726:5;17094:685;-1:-1:-1;;;;17094:685:37:o;18132:271::-;18315:6;18307;18302:3;18289:33;18271:3;18341:16;;18366:13;;;18341:16;18132:271;-1:-1:-1;18132:271:37:o;18854:1083::-;19240:13;;-1:-1:-1;;;;;19236:39:37;;;19218:58;;19272:1;19308:17;;19302:24;19364:35;;;19357:4;19342:20;;19335:65;19263:3;19442:19;;;19463:8;19438:34;19431:4;19416:20;;19409:64;19529:3;19525:19;;;;19522:1;19511:34;;;19504:4;19489:20;;19482:64;19579:14;;19573:21;19635:36;;;19702:4;19687:20;;19680:61;19199:4;;19750:68;;19798:19;;19790:6;10981:5;10975:12;10972:1;10961:27;10956:3;10949:40;11052:4;11045:5;11041:16;11035:23;11032:1;11021:38;11014:4;11009:3;11005:14;10998:62;11109:4;11102:5;11098:16;11092:23;11085:4;11080:3;11076:14;11069:47;11165:4;11158:5;11154:16;11148:23;11141:4;11136:3;11132:14;11125:47;;;10874:304;19750:68;19855:3;19849;19838:9;19834:19;19827:32;19876:55;19926:3;19915:9;19911:19;3791:1;3779:14;;3826:4;3817:14;;3701:136;20669:213;20704:3;20752:5;20748:2;20737:21;20786:34;20782:39;20773:7;20770:52;20767:78;;20825:18;;:::i;:::-;20865:1;20861:15;;20669:213;-1:-1:-1;;20669:213:37:o;21529:345::-;21741:3;21726:19;;21754:44;21730:9;21780:6;21754:44;:::i;:::-;-1:-1:-1;;;;;21835:32:37;;;;21855:3;21814:19;;;;21807:61;21529:345;;-1:-1:-1;21529:345:37:o;21879:247::-;21947:6;22000:2;21988:9;21979:7;21975:23;21971:32;21968:52;;;22016:1;22013;22006:12;21968:52;22048:9;22042:16;22067:29;22090:5;22067:29;:::i;22131:605::-;22273:4;22315:3;22304:9;22300:19;22292:27;;22328:51;22369:9;22360:6;22354:13;22328:51;:::i;:::-;22449:4;22437:17;;22431:24;22428:1;22417:39;;;22410:4;22395:20;;22388:69;22527:4;22515:17;;22509:24;22495:39;;22488:4;22473:20;;22466:69;22595:4;22583:17;;22577:24;-1:-1:-1;;;;;22573:65:37;22566:4;22551:20;;22544:95;22701:4;22689:17;;;22683:24;-1:-1:-1;;;;;22679:50:37;22670:6;22655:22;;;22648:82;22131:605;:::o;22741:128::-;22808:9;;;22829:11;;;22826:37;;;22843:18;;:::i;22874:273::-;22944:6;22997:2;22985:9;22976:7;22972:23;22968:32;22965:52;;;23013:1;23010;23003:12;22965:52;23045:9;23039:16;23064:53;23111:5;23064:53;:::i;23427:127::-;23488:10;23483:3;23479:20;23476:1;23469:31;23519:4;23516:1;23509:15;23543:4;23540:1;23533:15;23559:324;23651:4;23709:11;23696:25;23803:3;23799:8;23788;23772:14;23768:29;23764:44;23744:18;23740:69;23730:97;;23823:1;23820;23813:12;23730:97;23844:33;;;;;23559:324;-1:-1:-1;;23559:324:37:o;23888:487::-;23931:5;23984:3;23977:4;23969:6;23965:17;23961:27;23951:55;;24002:1;23999;23992:12;23951:55;24042:6;24029:20;24073:52;24089:35;24117:6;24089:35;:::i;24073:52::-;24150:6;24141:7;24134:23;24204:3;24197:4;24188:6;24180;24176:19;24172:30;24169:39;24166:59;;;24221:1;24218;24211:12;24166:59;24286:6;24279:4;24271:6;24267:17;24260:4;24251:7;24247:18;24234:59;24342:1;24313:20;;;24335:4;24309:31;24302:42;;;;24317:7;23888:487;-1:-1:-1;;;23888:487:37:o;24380:1163::-;24480:9;24539:6;24531:5;24515:14;24511:26;24507:39;24504:59;;;24559:1;24556;24549:12;24504:59;24587:22;;:::i;:::-;24654:19;;24682:24;;24740:33;24769:2;24758:14;;24740:33;:::i;:::-;24735:2;24726:7;24722:16;24715:59;24808:33;24837:2;24830:5;24826:14;24808:33;:::i;:::-;24803:2;24790:16;;24783:59;24911:2;24900:14;;;24887:28;24931:16;;;24924:33;25026:3;25015:15;;;25002:29;25047:17;;;25040:34;25143:3;25132:15;;;25119:29;25164:17;;;25157:34;25260:3;25249:15;;;25236:29;25281:17;;;25274:34;25355:3;25344:15;;25331:29;-1:-1:-1;;;;;25372:30:37;;25369:50;;;25415:1;25412;25405:12;25369:50;25454:53;25492:14;25483:6;25476:5;25472:18;25454:53;:::i;:::-;25448:3;25435:17;;25428:80;-1:-1:-1;25439:7:37;24380:1163;-1:-1:-1;;24380:1163:37:o;25548:545::-;25641:4;25647:6;25707:11;25694:25;25801:2;25797:7;25786:8;25770:14;25766:29;25762:43;25742:18;25738:68;25728:96;;25820:1;25817;25810:12;25728:96;25847:33;;25899:20;;;-1:-1:-1;;;;;;25931:30:37;;25928:50;;;25974:1;25971;25964:12;25928:50;26007:4;25995:17;;-1:-1:-1;26058:1:37;26054:14;;;26038;26034:35;26024:46;;26021:66;;;26083:1;26080;26073:12;26098:600;26159:3;26197:5;26191:12;26224:6;26219:3;26212:19;26256:4;26251:3;26247:14;26240:21;;26295:4;26288:5;26284:16;26318:1;26328:345;26342:6;26339:1;26336:13;26328:345;;;26401:13;;26439:9;;26427:22;;26499:4;26491:13;;;26485:20;26469:14;;;26462:44;26560:4;26552:13;;;26546:20;-1:-1:-1;;;;;26542:46:37;26526:14;;;26519:70;;;;26618:4;26609:14;;;;26646:17;;;;26585:1;26357:9;26328:345;;;-1:-1:-1;26689:3:37;;26098:600;-1:-1:-1;;;;26098:600:37:o;26703:311::-;26791:19;;;26773:3;-1:-1:-1;;;;;26822:31:37;;26819:51;;;26866:1;26863;26856:12;26819:51;26902:6;26899:1;26895:14;26954:8;26947:5;26940:4;26935:3;26931:14;26918:45;26983:18;;;;27003:4;26979:29;;26703:311;-1:-1:-1;;;26703:311:37:o;27019:1310::-;27414:2;27403:9;27396:21;27459:6;27453:13;27448:2;27437:9;27433:18;27426:41;-1:-1:-1;;;;;27526:4:37;27518:6;27514:17;27508:24;27504:49;27498:3;27487:9;27483:19;27476:78;-1:-1:-1;;;;;27613:4:37;27605:6;27601:17;27595:24;27591:49;27585:3;27574:9;27570:19;27563:78;27696:2;27688:6;27684:15;27678:22;27672:3;27661:9;27657:19;27650:51;27756:3;27748:6;27744:16;27738:23;27732:3;27721:9;27717:19;27710:52;27820:3;27812:6;27808:16;27802:23;27793:6;27782:9;27778:22;27771:55;27881:3;27873:6;27869:16;27863:23;27857:3;27846:9;27842:19;27835:52;27377:4;27934:3;27926:6;27922:16;27916:23;27976:6;27970:3;27959:9;27955:19;27948:35;28003:51;28049:3;28038:9;28034:19;28020:12;28003:51;:::i;:::-;27992:62;;28101:9;28096:3;28092:19;28085:4;28074:9;28070:20;28063:49;28135;28180:3;28172:6;28135:49;:::i;:::-;28121:63;;28234:9;28226:6;28222:22;28215:4;28204:9;28200:20;28193:52;28262:61;28316:6;28308;28300;28262:61;:::i;:::-;28254:69;27019:1310;-1:-1:-1;;;;;;;27019:1310:37:o;28334:249::-;28403:6;28456:2;28444:9;28435:7;28431:23;28427:32;28424:52;;;28472:1;28469;28462:12;28424:52;28504:9;28498:16;28523:30;28547:5;28523:30;:::i;28588:125::-;28653:9;;;28674:10;;;28671:36;;;28687:18;;:::i;28718:184::-;28776:6;28829:2;28817:9;28808:7;28804:23;28800:32;28797:52;;;28845:1;28842;28835:12;28797:52;28868:28;28886:9;28868:28;:::i","linkReferences":{},"cborAuxdata":{},"immutableReferences":{"4269":[{"start":877,"length":32},{"start":1604,"length":32},{"start":1802,"length":32},{"start":3939,"length":32},{"start":4527,"length":32},{"start":5181,"length":32},{"start":5286,"length":32},{"start":5436,"length":32},{"start":5475,"length":32},{"start":5670,"length":32},{"start":6002,"length":32},{"start":6318,"length":32}],"4272":[{"start":505,"length":32},{"start":2086,"length":32},{"start":8128,"length":32}],"4275":[{"start":826,"length":32},{"start":2014,"length":32}],"6363":[{"start":671,"length":32},{"start":3114,"length":32},{"start":7053,"length":32},{"start":8304,"length":32},{"start":8669,"length":32}]},"transformations":[{"id":"4272","type":"replace","offset":505,"reason":"immutable"},{"id":"6363","type":"replace","offset":671,"reason":"immutable"},{"id":"4275","type":"replace","offset":826,"reason":"immutable"},{"id":"4269","type":"replace","offset":877,"reason":"immutable"},{"id":"4269","type":"replace","offset":1604,"reason":"immutable"},{"id":"4269","type":"replace","offset":1802,"reason":"immutable"},{"id":"4275","type":"replace","offset":2014,"reason":"immutable"},{"id":"4272","type":"replace","offset":2086,"reason":"immutable"},{"id":"6363","type":"replace","offset":3114,"reason":"immutable"},{"id":"4269","type":"replace","offset":3939,"reason":"immutable"},{"id":"4269","type":"replace","offset":4527,"reason":"immutable"},{"id":"4269","type":"replace","offset":5181,"reason":"immutable"},{"id":"4269","type":"replace","offset":5286,"reason":"immutable"},{"id":"4269","type":"replace","offset":5436,"reason":"immutable"},{"id":"4269","type":"replace","offset":5475,"reason":"immutable"},{"id":"4269","type":"replace","offset":5670,"reason":"immutable"},{"id":"4269","type":"replace","offset":6002,"reason":"immutable"},{"id":"4269","type":"replace","offset":6318,"reason":"immutable"},{"id":"6363","type":"replace","offset":7053,"reason":"immutable"},{"id":"4272","type":"replace","offset":8128,"reason":"immutable"},{"id":"6363","type":"replace","offset":8304,"reason":"immutable"},{"id":"6363","type":"replace","offset":8669,"reason":"immutable"}],"transformationValues":{"immutables":{"4269":"0x000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90","4272":"0x000000000000000000000000a47fcb220ddd1cddda865f89029bec1b9eca3bf1","4275":"0x000000000000000000000000cecc29b037f5064fcdf45a5c318f132ef76aa551","6363":"0x00000000000000000000000012c9e1007262afac205567457f5826a9416a3863"}}},"deployment":{"transactionHash":"0x1441cd85a00735eb68f4e4964bc07fa4b21b038e9e1d7dcab2b5efbd7f9178f3","blockNumber":"26128678","transactionIndex":"147","deployer":"0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7"},"sources":{"src/LaunchFactory.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 {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {IUnlockCallback} from \"v4-core/src/interfaces/callback/IUnlockCallback.sol\";\nimport {IHooks} from \"v4-core/src/interfaces/IHooks.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"v4-core/src/types/Currency.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {HookFlags} from \"./HookFlags.sol\";\nimport {LaunchRegistry} from \"./LaunchRegistry.sol\";\nimport {MerkleDistributor} from \"./MerkleDistributor.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\nimport {PoolFees} from \"./PoolFees.sol\";\n\n/// @title The whole launch, in one transaction\n/// @notice Deploys the token and the hook at deterministic addresses, splits the supply per policy,\n/// initialises the pool, seeds it, funds the contributor distributor, and writes the public record —\n/// all or nothing.\n///\n/// @dev Atomicity buys three separate things, and the third is the one that is easy to give away\n/// later for convenience:\n///\n/// 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has\n///    either done nothing or done everything.\n/// 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no\n///    between. Splitting these into two transactions hands the first trade to whoever is watching\n///    the mempool.\n/// 3. Idempotency. Every address is deterministic, so \"did I already do this\" is a code-size check\n///    rather than a database question.\n///\n/// This contract is immutable and permanent per chain: its address is an input to every CREATE2\n/// address it produces, so redeploying it renames every launch the network has ever predicted.\n///\n/// It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets:\n/// anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).\ncontract LaunchFactory is IUnlockCallback, PoolFees {\n    using SafeERC20 for IERC20;\n\n    error NotDeployer();\n    error AlreadyLaunched(uint64 launchNumber);\n    error HookAddressMismatch(address predicted, uint160 wanted, uint160 got);\n    error DeploymentFailed();\n    error SupplyMismatch(uint256 expected, uint256 held);\n    error InvalidPoolShare(uint16 poolBps);\n    error RemainderRecipientMissing();\n    error PoolShareExceeded(uint256 allowed, uint256 taken);\n    error NotPoolManager();\n    error CurrencyNotSorted();\n    error NoLiquiditySeeded();\n    error InitializationCallbackRequired();\n    error PairedCurrencySpent(uint256 before, uint256 afterSeed);\n\n    event Launched(\n        uint64 indexed launchNumber,\n        address indexed token,\n        address indexed hook,\n        address distributor,\n        uint128 liquiditySeeded\n    );\n\n    /// @notice Everything one launch needs, assembled off chain from an attestation and a policy.\n    /// @dev The technical half comes from the manifest and the attestation; the economic half comes\n    /// from a policy row no model ever writes. Nothing here is derived on chain from the other, which\n    /// is deliberate: the contract's job is to refuse a combination that does not add up, not to\n    /// pick one.\n    struct LaunchParams {\n        uint64 launchNumber;\n        bytes32 kind;\n        /// @dev Creation code with constructor arguments already appended. The verifier attested the\n        /// code without arguments; the deployer appends them and this recomputes what it deploys.\n        bytes tokenCreationCode;\n        bytes hookCreationCode;\n        /// @dev Mined off chain until the resulting address carries exactly `hookFlags`.\n        bytes32 hookSalt;\n        uint160 hookFlags;\n        /// @dev The whole supply, which the token must mint to this factory in its constructor.\n        uint256 totalSupply;\n        /// @dev Share of the whole supply the pool may take, the requester's choice within its 90%.\n        /// The seed is rolled back if it takes more.\n        uint16 poolBps;\n        /// @dev Receives what the swarm and the pool leave: the requester's wallet, or zero for the\n        /// chain's treasury (`LaunchFees.treasury()`), as for a launch nobody paid for.\n        address remainderTo;\n        bytes32 merkleRoot;\n        uint64 contributorLockSeconds;\n        uint64 sweepDelaySeconds;\n        /// @dev The other side of the pair. Must sort below or above the launched token; the factory\n        /// orders the key itself rather than trusting the caller to.\n        Currency pairedCurrency;\n        uint24 fee;\n        int24 tickSpacing;\n        uint160 sqrtPriceX96;\n        int24 tickLower;\n        int24 tickUpper;\n        uint128 liquidity;\n        LaunchRegistry.Launch record;\n        uint256[] agentIds;\n        /// @dev Who shares the pool's LP fees with the network: the wallet that paid for the launch, or zero.\n        address requester;\n    }\n\n    /// @notice The swarm's share of every launch's supply: a constant, not a parameter. The other 90%\n    /// is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`.\n    uint16 public constant SWARM_BPS = 1000;\n\n    IPoolManager public immutable poolManager;\n    LaunchRegistry public immutable registry;\n    /// @notice The one address allowed to launch. It holds the key that spends; this holds nothing.\n    address public immutable deployer;\n\n    /// @dev Set for the duration of one `unlock`, so the callback knows what it is settling.\n    struct Seeding {\n        PoolKey key;\n        int24 tickLower;\n        int24 tickUpper;\n        uint128 liquidity;\n        address token;\n    }\n\n    constructor(IPoolManager poolManager_, address deployer_, LaunchFees fees_) PoolFees(fees_) {\n        poolManager = poolManager_;\n        deployer = deployer_;\n        // Created here rather than passed in, so that pairing the two is not a step anyone has to\n        // remember to get right. The registry takes writes from this factory and from nothing else,\n        // and it has no owner: there is no privileged action on a record that cannot be revised.\n        registry = new LaunchRegistry(address(this));\n    }\n\n    /// @notice Runs one launch, or reverts having done nothing.\n    function launch(LaunchParams calldata params)\n        external\n        returns (address token, address hook, address distributor)\n    {\n        if (msg.sender != deployer) revert NotDeployer();\n        if (registry.isRecorded(params.launchNumber)) revert AlreadyLaunched(params.launchNumber);\n        // Before this transaction the hook has no code, so an initialize callback cannot succeed.\n        // Its deployment and pool initialization share this transaction; outsiders cannot interleave.\n        if ((params.hookFlags & (HookFlags.BEFORE_INITIALIZE | HookFlags.AFTER_INITIALIZE)) == 0) {\n            revert InitializationCallbackRequired();\n        }\n\n        uint16 requesterBps = 10_000 - SWARM_BPS;\n        if (params.poolBps == 0 || params.poolBps > requesterBps) revert InvalidPoolShare(params.poolBps);\n        if (params.remainderTo == address(this)) revert RemainderRecipientMissing();\n\n        token = _deploy(params.tokenCreationCode, _launchSalt(params.launchNumber));\n        hook = _deploy(params.hookCreationCode, params.hookSalt);\n\n        // The pool manager checks this too and reverts on `initialize`. Checking it here costs one\n        // comparison and turns an opaque revert deep inside v4 into a named error naming both sides.\n        if (!HookFlags.matches(hook, params.hookFlags)) {\n            revert HookAddressMismatch(hook, params.hookFlags & HookFlags.ALL, HookFlags.flagsOf(hook));\n        }\n\n        // The token must mint its whole supply to whoever deployed it, which is this contract. A\n        // token that minted somewhere else would leave the splits below silently short, so the\n        // supply is checked as well as the balance: holding `totalSupply` proves nothing about a\n        // second mint to another wallet.\n        uint256 held = IERC20(token).balanceOf(address(this));\n        if (held != params.totalSupply || IERC20(token).totalSupply() != params.totalSupply) {\n            revert SupplyMismatch(params.totalSupply, held);\n        }\n\n        distributor = address(\n            new MerkleDistributor{salt: _launchSalt(params.launchNumber)}(\n                IERC20(token), address(this), fees, params.sweepDelaySeconds\n            )\n        );\n\n        // The swarm's tenth, whole, to the contributors' distributor.\n        uint256 contributorPool = (params.totalSupply * SWARM_BPS) / 10_000;\n        IERC20(token).safeTransfer(distributor, contributorPool);\n        // The factory opens this one round and can open no other; the distributor answers to the\n        // chain's treasury from here on, and nobody can sweep it before its delay is up.\n        MerkleDistributor(distributor).openRound(params.merkleRoot, contributorPool, params.contributorLockSeconds);\n\n        PoolKey memory key = _seedRequesterPool(params, token, hook);\n        _openPosition(params.launchNumber, key, params.tickLower, params.tickUpper, params.requester);\n        _record(params, token, hook, distributor);\n\n        emit Launched(params.launchNumber, token, hook, distributor, params.liquidity);\n    }\n\n    /// @dev Creates and seeds the pool with at most the requester's pool share, and sends what the\n    /// swarm and the pool leave to the requester. The balance is read around the seed on purpose:\n    /// what the pool took is the honest measure of its share. The seed's external calls cannot\n    /// re-enter a launch (only the deployer launches, and `unlockCallback` answers only the pool\n    /// manager), so the reading is not attackable.\n    // slither-disable-start reentrancy-balance\n    function _seedRequesterPool(LaunchParams calldata params, address token, address hook) private returns (PoolKey memory key) {\n        key = _poolKey(token, hook, params);\n        // The seed is the launched token only. Anything this factory holds in the paired currency\n        // is fees owed to other requesters and the network (`PoolFees`), so the seed must not spend\n        // it — whether a hook returns a delta, moves the empty pool's price from its initialize\n        // callback, or the range simply straddles the price. Read before `initialize`, because the\n        // hook's initialize callback is the first code that could move it.\n        uint256 pairedBefore = params.pairedCurrency.balanceOfSelf();\n        poolManager.initialize(key, params.sqrtPriceX96);\n        if (params.liquidity == 0) revert NoLiquiditySeeded();\n        uint256 before = IERC20(token).balanceOf(address(this));\n        poolManager.unlock(\n            abi.encode(\n                Seeding({\n                    key: key,\n                    tickLower: params.tickLower,\n                    tickUpper: params.tickUpper,\n                    liquidity: params.liquidity,\n                    token: token\n                })\n            )\n        );\n        uint256 taken = before - IERC20(token).balanceOf(address(this));\n        uint256 allowed = (params.totalSupply * params.poolBps) / 10_000;\n        if (taken > allowed) revert PoolShareExceeded(allowed, taken);\n        uint256 pairedAfter = params.pairedCurrency.balanceOfSelf();\n        if (pairedAfter < pairedBefore) revert PairedCurrencySpent(pairedBefore, pairedAfter);\n        uint256 remainder = IERC20(token).balanceOf(address(this));\n        if (remainder > 0) IERC20(token).safeTransfer(params.remainderTo == address(0) ? fees.treasury() : params.remainderTo, remainder);\n    }\n    // slither-disable-end reentrancy-balance\n\n    /// @notice Settles the liquidity this factory just added.\n    /// @dev v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed\n    /// to us. Both directions are handled rather than only the expected one — a hook that returns a\n    /// delta can turn \"we owe the pool\" into \"the pool owes us\", and an implementation that only\n    /// knew how to pay would strand tokens inside the manager.\n    function unlockCallback(bytes calldata data) external override returns (bytes memory) {\n        if (msg.sender != address(poolManager)) revert NotPoolManager();\n        if (_claiming()) return _collect(data);\n\n        Seeding memory seeding = abi.decode(data, (Seeding));\n\n        (BalanceDelta delta,) = poolManager.modifyLiquidity(\n            seeding.key,\n            ModifyLiquidityParams({\n                tickLower: seeding.tickLower,\n                tickUpper: seeding.tickUpper,\n                liquidityDelta: int256(uint256(seeding.liquidity)),\n                salt: bytes32(0)\n            }),\n            \"\"\n        );\n\n        _settle(seeding.key.currency0, delta.amount0());\n        _settle(seeding.key.currency1, delta.amount1());\n\n        return \"\";\n    }\n\n    function _manager() internal view override returns (IPoolManager) {\n        return poolManager;\n    }\n\n    /// @dev Pays what is owed, or takes what is owed to us. Zero is neither.\n    function _settle(Currency currency, int128 amount) private {\n        if (amount < 0) {\n            uint256 due = uint256(uint128(-amount));\n            poolManager.sync(currency);\n            if (currency.isAddressZero()) {\n                poolManager.settle{value: due}();\n            } else {\n                IERC20(Currency.unwrap(currency)).safeTransfer(address(poolManager), due);\n                poolManager.settle();\n            }\n        } else if (amount > 0) {\n            poolManager.take(currency, address(this), uint256(uint128(amount)));\n        }\n    }\n\n    /// @dev v4 requires the pair sorted by address, and the caller does not get to decide the order.\n    /// The hook is the one this transaction just deployed — not an address the caller supplies, which\n    /// would let a launch attest one hook and pool against another.\n    function _poolKey(address token, address hook, LaunchParams calldata params)\n        private\n        pure\n        returns (PoolKey memory)\n    {\n        Currency launched = Currency.wrap(token);\n        Currency paired = params.pairedCurrency;\n\n        (Currency currency0, Currency currency1) =\n            Currency.unwrap(launched) < Currency.unwrap(paired) ? (launched, paired) : (paired, launched);\n\n        if (Currency.unwrap(currency0) >= Currency.unwrap(currency1)) revert CurrencyNotSorted();\n\n        return PoolKey({\n            currency0: currency0,\n            currency1: currency1,\n            fee: params.fee,\n            tickSpacing: params.tickSpacing,\n            hooks: IHooks(hook)\n        });\n    }\n\n    function _record(LaunchParams calldata params, address token, address hook, address distributor)\n        private\n    {\n        LaunchRegistry.Artifact[] memory artifacts = new LaunchRegistry.Artifact[](3);\n        artifacts[0] = LaunchRegistry.Artifact(\"token\", \"token\", token);\n        artifacts[1] = LaunchRegistry.Artifact(\"hook\", \"hook\", hook);\n        artifacts[2] = LaunchRegistry.Artifact(\"distributor\", \"distributor\", distributor);\n\n        LaunchRegistry.Launch memory entry = params.record;\n        entry.launchNumber = params.launchNumber;\n        entry.kind = params.kind;\n\n        registry.record(entry, artifacts, params.agentIds);\n    }\n\n    /// @dev CREATE2 so every address is knowable before anything is sent, which is what makes a\n    /// crashed deployer recoverable rather than expensive.\n    function _deploy(bytes memory creationCode, bytes32 salt) private returns (address deployed) {\n        assembly (\"memory-safe\") {\n            deployed := create2(0, add(creationCode, 0x20), mload(creationCode), salt)\n        }\n        if (deployed == address(0)) revert DeploymentFailed();\n    }\n\n    /// @dev The salt for everything a launch deploys that nobody has to mine: the token and the\n    /// distributor. The hook's salt is mined off chain for its flags and taken exactly as given.\n    function _launchSalt(uint64 launchNumber) private pure returns (bytes32) {\n        return bytes32(uint256(launchNumber));\n    }\n\n    /// @notice The distributor's creation-code hash, so the deployer can report the distributor as an\n    /// artifact the way the project factory's launches report theirs.\n    function distributorCreationCodeHash() external pure returns (bytes32) {\n        return keccak256(type(MerkleDistributor).creationCode);\n    }\n\n    /// @notice Where a launch's token will land, before it exists.\n    /// @dev The whole idempotency story: the deployer predicts, checks for code, and skips a launch\n    /// that already happened rather than paying for it twice.\n    function predictToken(uint64 launchNumber, bytes calldata tokenCreationCode)\n        external\n        view\n        returns (address)\n    {\n        return _predict(_launchSalt(launchNumber), tokenCreationCode);\n    }\n\n    /// @notice Where a launch's hook will land, for the salt the deployer mined.\n    /// @dev The salt is taken exactly as `launch` takes it. One `predict` for both used to read a\n    /// zero salt as \"none given, use the launch number\" — a fine default for a token and a wrong\n    /// answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry,\n    /// and it was the one value for which the prediction and the deployment disagreed.\n    function predictHook(bytes calldata hookCreationCode, bytes32 hookSalt)\n        external\n        view\n        returns (address)\n    {\n        return _predict(hookSalt, hookCreationCode);\n    }\n\n    /// @dev CREATE2 as the EVM computes it, with this factory as the deployer.\n    function _predict(bytes32 salt, bytes calldata creationCode) private view returns (address) {\n        return address(\n            uint160(\n                uint256(\n                    keccak256(\n                        abi.encodePacked(bytes1(0xff), address(this), salt, keccak256(creationCode))\n                    )\n                )\n            )\n        );\n    }\n\n    receive() external payable {}\n}\n"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.7.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\nimport {IERC20Metadata} from \"../../../interfaces/IERC20Metadata.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    /// @dev Attempts to fetch the token decimals. A return value of false indicates that the attempt failed in some way.\n    function tryGetDecimals(IERC20 token) internal view returns (bool success, uint8 decimals) {\n        bytes4 selector = IERC20Metadata.decimals.selector;\n        assembly (\"memory-safe\") {\n            mstore(0x00, selector)\n            success := staticcall(gas(), token, 0x00, 4, 0x00, 0x20)\n            success := and(and(success, gt(returndatasize(), 0x1f)), lt(mload(0x00), 0x100))\n            decimals := mul(success, mload(0x00))\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 approve\n     * @param bubble Behavior switch if the approve 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"},"lib/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"},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for the callback executed when an address unlocks the pool manager\ninterface IUnlockCallback {\n    /// @notice Called by the pool manager on `msg.sender` when the manager is unlocked\n    /// @param data The data that was passed to the call to unlock\n    /// @return Any data that you want to be returned from the unlock call\n    function unlockCallback(bytes calldata data) external returns (bytes memory);\n}\n"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"src/HookFlags.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @title The 14 bits a v4 hook address has to carry\n/// @notice Uniswap v4 encodes a hook's permissions in the low 14 bits of its address, and\n/// `PoolManager` rejects a hook whose address does not match what `getHookPermissions` reports. That\n/// makes this bit layout load-bearing in three places at once: the deployer mines a CREATE2 salt\n/// against it, the factory checks it on chain, and the admission gate compares it to what the\n/// attested bytecode declares.\n///\n/// @dev Written down once, here, because three implementations of one bit layout is three chances\n/// for one of them to differ — and a wrong bit produces an address the pool manager refuses, after\n/// the gas is spent. `HookFlags.t.sol` asserts every constant below equals the one v4 itself\n/// declares, so a version bump that renumbered them would fail our build rather than a mainnet\n/// transaction.\nlibrary HookFlags {\n    uint160 internal constant ALL = uint160((1 << 14) - 1);\n\n    uint160 internal constant BEFORE_INITIALIZE = 1 << 13;\n    uint160 internal constant AFTER_INITIALIZE = 1 << 12;\n    uint160 internal constant BEFORE_ADD_LIQUIDITY = 1 << 11;\n    uint160 internal constant AFTER_ADD_LIQUIDITY = 1 << 10;\n    uint160 internal constant BEFORE_REMOVE_LIQUIDITY = 1 << 9;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY = 1 << 8;\n    uint160 internal constant BEFORE_SWAP = 1 << 7;\n    uint160 internal constant AFTER_SWAP = 1 << 6;\n    uint160 internal constant BEFORE_DONATE = 1 << 5;\n    uint160 internal constant AFTER_DONATE = 1 << 4;\n    uint160 internal constant BEFORE_SWAP_RETURN_DELTA = 1 << 3;\n    uint160 internal constant AFTER_SWAP_RETURN_DELTA = 1 << 2;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_RETURN_DELTA = 1 << 1;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_RETURN_DELTA = 1 << 0;\n\n    /// @notice The permission bits an address actually carries.\n    function flagsOf(address hook) internal pure returns (uint160) {\n        return uint160(hook) & ALL;\n    }\n\n    /// @notice Whether an address declares exactly these permissions and no others.\n    /// @dev Equality rather than a mask test. A hook whose address carries a bit its implementation\n    /// does not handle is called for a callback it will revert on, which takes the pool with it.\n    function matches(address hook, uint160 flags) internal pure returns (bool) {\n        return flagsOf(hook) == (flags & ALL);\n    }\n}\n"},"src/LaunchRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @title The public record of everything this network has launched\n/// @notice One entry per launch: what was deployed, from which tree, attested by whom, and by which\n/// agents. The off-chain `launches` table stays the operational source of truth; this is the\n/// tamper-evident public one, and it is what makes the provenance story legible to someone who does\n/// not trust our API.\n///\n/// @dev Deliberately generic. Nothing in it says \"hook\": artifacts carry a role rather than a\n/// column, so a launch kind that deploys something else entirely is a new recipe rather than a new\n/// registry. `writer` is the only address that may record, and it is set once at construction to the\n/// factory — a registry anyone could write to is a registry that records nothing.\ncontract LaunchRegistry {\n    struct Artifact {\n        /// @dev `token`, `hook`, `distributor`, `other` — matched to `launch_artifacts.role`.\n        bytes32 role;\n        bytes32 name;\n        address addr;\n    }\n\n    struct Launch {\n        bytes32 kind;\n        /// @dev Position in the network's launch history, carried over from the job that produced it.\n        uint64 launchNumber;\n        uint64 recordedAt;\n        /// @dev Git commit of the delivered tree, and the hash of the document that attested it.\n        bytes32 sourceCommit;\n        bytes32 manifestHash;\n        bytes32 attestationHash;\n        /// @dev Ed25519 public key of the verifier that signed the attestation.\n        bytes32 verifierKey;\n        string sourceRepoUrl;\n    }\n\n    error NotWriter();\n    error AlreadyRecorded(uint64 launchNumber);\n    error NoArtifacts();\n\n    event LaunchRecorded(\n        uint64 indexed launchNumber,\n        bytes32 indexed kind,\n        bytes32 sourceCommit,\n        bytes32 attestationHash,\n        address[] artifacts,\n        uint256[] agentIds\n    );\n\n    /// @notice The only address that may record a launch. Immutable, and it is the factory.\n    address public immutable writer;\n\n    mapping(uint64 launchNumber => Launch) private _launches;\n    mapping(uint64 launchNumber => Artifact[]) private _artifacts;\n    mapping(uint64 launchNumber => uint256[]) private _agentIds;\n\n    uint64 public count;\n\n    constructor(address writer_) {\n        writer = writer_;\n    }\n\n    /// @notice Records one launch, once.\n    /// @dev Re-recording is refused rather than overwritten. This is the public record; a version of\n    /// it that the writer could quietly revise would be worth exactly as much as our word alone,\n    /// which is the thing it exists to not require.\n    function record(\n        Launch calldata launch,\n        Artifact[] calldata artifacts,\n        uint256[] calldata agentIds\n    ) external {\n        if (msg.sender != writer) revert NotWriter();\n        if (_launches[launch.launchNumber].recordedAt != 0) revert AlreadyRecorded(launch.launchNumber);\n        if (artifacts.length == 0) revert NoArtifacts();\n\n        _launches[launch.launchNumber] = launch;\n        _launches[launch.launchNumber].recordedAt = uint64(block.timestamp);\n\n        address[] memory addresses = new address[](artifacts.length);\n        for (uint256 i = 0; i < artifacts.length; i++) {\n            _artifacts[launch.launchNumber].push(artifacts[i]);\n            addresses[i] = artifacts[i].addr;\n        }\n\n        for (uint256 i = 0; i < agentIds.length; i++) {\n            _agentIds[launch.launchNumber].push(agentIds[i]);\n        }\n\n        count++;\n\n        emit LaunchRecorded(\n            launch.launchNumber,\n            launch.kind,\n            launch.sourceCommit,\n            launch.attestationHash,\n            addresses,\n            agentIds\n        );\n    }\n\n    function launchOf(uint64 launchNumber) external view returns (Launch memory) {\n        return _launches[launchNumber];\n    }\n\n    function artifactsOf(uint64 launchNumber) external view returns (Artifact[] memory) {\n        return _artifacts[launchNumber];\n    }\n\n    function agentsOf(uint64 launchNumber) external view returns (uint256[] memory) {\n        return _agentIds[launchNumber];\n    }\n\n    /// @notice Whether a launch number has been recorded. Cheaper than reading the whole struct.\n    function isRecorded(uint64 launchNumber) external view returns (bool) {\n        return _launches[launchNumber].recordedAt != 0;\n    }\n}\n"},"src/MerkleDistributor.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 {MerkleProof} from \"@openzeppelin/contracts/utils/cryptography/MerkleProof.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\n\n/// @title Contributor allocations for one launch\n/// @notice Funded inside the launch transaction with the contributor pool, and claimed rather than\n/// pushed. On mainnet that is the difference between one transaction per launch and one per\n/// contributor; it also means a dead or wrong address costs nothing, and unclaimed value is\n/// recoverable rather than burnt.\n///\n/// @dev Rounds rather than a single root, so a remediation job can be paid later without deploying a\n/// second contract. Each round has its own root and its own funding; a leaf is `(account, amount)`\n/// and carries no index, because OpenZeppelin's `StandardMerkleTree` double-hashes and sorts pairs,\n/// so a leaf is identified by its content. One fewer thing for the two sides to agree on, on the\n/// path where disagreeing means a contributor cannot be paid.\n///\n/// Nobody owns it. The factory that made it opens its first round in the launch transaction and\n/// can open no other; later rounds are the treasury's, and the treasury is whatever the chain's\n/// `LaunchFees` names when it is asked, so moving it there moves it here. Unclaimed value goes to\n/// that treasury once a round's sweep delay is up, and anyone may send it: it can go nowhere else.\ncontract MerkleDistributor is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    error NotOpener();\n    error AlreadyClaimed();\n    error InvalidProof();\n    error NoSuchRound();\n    error StillLocked(uint64 unlocksAt);\n    error SweepTooEarly(uint64 sweepableAt);\n    error EmptyRoot();\n    error RoundClosed();\n    error InsufficientFunding();\n    error InsufficientRoundBalance();\n\n    event RoundOpened(uint256 indexed round, bytes32 root, uint256 funded, uint64 unlocksAt);\n    event Claimed(uint256 indexed round, address indexed account, uint256 amount);\n    event Swept(address indexed to, uint256 amount);\n\n    struct Round {\n        bytes32 root;\n        uint256 funded;\n        uint256 claimed;\n        /// @dev Contributor allocations vest as a cliff. A fresh launch whose worker allocations are\n        /// instantly liquid prices itself down at birth, which costs the contributors it was meant\n        /// to pay.\n        uint64 unlocksAt;\n    }\n\n    IERC20 public immutable token;\n    /// @notice The factory that made it: it may open the first round, and nothing after.\n    address public immutable opener;\n    /// @notice The chain's fee settings, which name the treasury.\n    LaunchFees public immutable fees;\n    /// @notice How long after a round opens before what is left may be swept. Never before the round\n    /// unlocks, whatever this says: see `sweep`.\n    uint64 public immutable sweepDelay;\n\n    Round[] private _rounds;\n    mapping(uint256 round => mapping(address account => bool)) public claimed;\n    mapping(uint256 round => uint64) public openedAt;\n    mapping(uint256 round => bool) public swept;\n    /// @notice Tokens still owed by all open rounds. A new round must have its own funding.\n    uint256 public reserved;\n\n    constructor(IERC20 token_, address opener_, LaunchFees fees_, uint64 sweepDelay_) {\n        token = token_;\n        opener = opener_;\n        fees = fees_;\n        sweepDelay = sweepDelay_;\n    }\n\n    /// @notice Where unclaimed value goes, and who may open a later round: the chain's treasury now.\n    function treasury() public view returns (address) {\n        return fees.treasury();\n    }\n\n    /// @notice Opens a round against tokens this contract already holds.\n    /// @dev Funding is checked rather than pulled: the launch transaction transfers the contributor\n    /// pool in and opens the round in the same call, and a distributor that could pull would need an\n    /// allowance from something that has one.\n    function openRound(bytes32 root, uint256 funded, uint64 lockSeconds)\n        external\n        nonReentrant\n        returns (uint256 round)\n    {\n        if (msg.sender != treasury() && (msg.sender != opener || _rounds.length != 0)) revert NotOpener();\n        if (root == bytes32(0)) revert EmptyRoot();\n        if (token.balanceOf(address(this)) < reserved + funded) revert InsufficientFunding();\n        reserved += funded;\n\n        round = _rounds.length;\n        _rounds.push(\n            Round({\n                root: root,\n                funded: funded,\n                claimed: 0,\n                unlocksAt: uint64(block.timestamp) + lockSeconds\n            })\n        );\n        openedAt[round] = uint64(block.timestamp);\n\n        emit RoundOpened(round, root, funded, _rounds[round].unlocksAt);\n    }\n\n    /// @notice Claims one allocation.\n    /// @dev Anyone may submit the proof, but the tokens only ever go to the account in the leaf. That\n    /// lets us pay the gas for a contributor who has none without being able to redirect what they\n    /// are owed.\n    function claim(uint256 round, address account, uint256 amount, bytes32[] calldata proof) external nonReentrant {\n        if (round >= _rounds.length) revert NoSuchRound();\n        Round storage current = _rounds[round];\n\n        if (swept[round]) revert RoundClosed();\n        if (block.timestamp < current.unlocksAt) revert StillLocked(current.unlocksAt);\n        if (claimed[round][account]) revert AlreadyClaimed();\n\n        // Double hashing is what makes a leaf unforgeable as an internal node — the shape\n        // OpenZeppelin's StandardMerkleTree produces, and what our off-chain tree builds.\n        bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(account, amount))));\n        if (!MerkleProof.verifyCalldata(proof, current.root, leaf)) revert InvalidProof();\n        if (amount > current.funded - current.claimed) revert InsufficientRoundBalance();\n\n        claimed[round][account] = true;\n        current.claimed += amount;\n        reserved -= amount;\n\n        token.safeTransfer(account, amount);\n        if (token.balanceOf(address(this)) < reserved) revert InsufficientFunding();\n        emit Claimed(round, account, amount);\n    }\n\n    /// @notice Sends what a round's claimants never took to the treasury. Anyone may call it once the\n    /// round's delay is up: the tokens can go only to the treasury `LaunchFees` names at that moment.\n    /// @dev `block.timestamp` is compared here and in `claim`, which the linter flags. It is the\n    /// right clock for both: a validator can move it by seconds, and these windows are a six-month\n    /// lock and a one-year sweep delay. Block numbers would be worse — they drift against wall time,\n    /// and a lock a contributor was told lasts six months should last six months.\n    /// @dev Deliberately late and deliberately to one address, the network's treasury. Unclaimed value that can never be\n    /// recovered is a slow leak; unclaimed value that can be recovered early is a reason not to\n    /// trust the distributor at all.\n    /// @dev Never before the round unlocks, whichever of the two clocks runs later. The delay counts\n    /// from the round opening and is one number the deployer sets for every launch; the lock is\n    /// another, set per launch by policy; nothing checks one against the other, and a lock longer\n    /// than the delay would otherwise let the treasury empty a round no contributor could yet touch.\n    /// Waited out here rather than refused in `openRound`: a long lock is a legitimate choice and\n    /// not a mistake, and refusing it would revert the whole launch over a constant somebody has to\n    /// go and change, when the only correct answer to it is to wait.\n    function sweep(uint256 round) external nonReentrant returns (uint256 amount) {\n        if (round >= _rounds.length) revert NoSuchRound();\n        if (swept[round]) revert RoundClosed();\n        Round storage current = _rounds[round];\n\n        uint64 sweepableAt = openedAt[round] + sweepDelay;\n        uint64 unlocksAt = current.unlocksAt;\n        if (unlocksAt > sweepableAt) sweepableAt = unlocksAt;\n        if (block.timestamp < sweepableAt) revert SweepTooEarly(sweepableAt);\n\n        // Close the old proofs before paying out, and leave every other round's tokens in place.\n        amount = current.funded - current.claimed;\n        swept[round] = true;\n        reserved -= amount;\n        address to = treasury();\n        if (amount > 0) token.safeTransfer(to, amount);\n        if (token.balanceOf(address(this)) < reserved) revert InsufficientFunding();\n        emit Swept(to, amount);\n    }\n\n    function roundCount() external view returns (uint256) {\n        return _rounds.length;\n    }\n\n    function roundOf(uint256 round) external view returns (Round memory) {\n        if (round >= _rounds.length) revert NoSuchRound();\n        return _rounds[round];\n    }\n}\n"},"src/LaunchFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Ownable, Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\n\n/// @title What launch pools charge, where the network's share of it goes, and the network's treasury\n/// @notice One per chain. The factories read the recipient at the moment fees are paid out, so\n/// changing it here moves the network's share of every pool they ever opened, past and future,\n/// without touching a single pool. They read `poolFee` as they open a pool: a pool's fee is fixed\n/// when it is created, so a new fee applies to the pools opened after it.\n/// @dev The split itself is not here and cannot be changed: a requester was promised\n/// `REQUESTER_BPS` of their pool's fees when they paid, and an owner able to lower it would make\n/// that promise worth nothing. Only the recipient of the rest moves.\ncontract LaunchFees is Ownable2Step {\n    error ZeroRecipient();\n    error ZeroTreasury();\n    error InvalidPoolFee(uint24 fee);\n\n    event FeeRecipientChanged(address indexed previous, address indexed next);\n    event PoolFeeChanged(uint24 previous, uint24 next);\n    event TreasuryChanged(address indexed previous, address indexed next);\n\n    /// @notice The requester's share of a pool's LP fees: 80%, which is 1% of volume at a 1.25% fee.\n    uint16 public constant REQUESTER_BPS = 8000;\n\n    /// @notice The highest pool fee the owner may set, in v4's hundredths of a basis point: 10%.\n    uint24 public constant MAX_POOL_FEE = 100_000;\n\n    /// @notice The LP fee a project factory opens its pools at, in hundredths of a basis point\n    /// (12_500 is 1.25%). Hook launches keep the fee their hook's launch sets.\n    uint24 public poolFee;\n\n    /// @notice Receives the network's share: what the requester's share leaves, and all of a pool\n    /// opened with no requester.\n    address public feeRecipient;\n    /// @notice Where unclaimed contributor rewards go once a round's year is up, and the requester's\n    /// share of a launch nobody paid for. Read when it is used, like `feeRecipient`, so moving it\n    /// here moves it for every distributor and launch the factories ever made.\n    address public treasury;\n\n    constructor(address owner_, address feeRecipient_, address treasury_, uint24 poolFee_) Ownable(owner_) {\n        if (feeRecipient_ == address(0)) revert ZeroRecipient();\n        if (treasury_ == address(0)) revert ZeroTreasury();\n        if (poolFee_ == 0 || poolFee_ > MAX_POOL_FEE) revert InvalidPoolFee(poolFee_);\n        feeRecipient = feeRecipient_;\n        treasury = treasury_;\n        poolFee = poolFee_;\n        emit FeeRecipientChanged(address(0), feeRecipient_);\n        emit TreasuryChanged(address(0), treasury_);\n        emit PoolFeeChanged(0, poolFee_);\n    }\n\n    /// @notice Moves the network's share, for every pool at once, from the next payout on.\n    function setFeeRecipient(address next) external onlyOwner {\n        if (next == address(0)) revert ZeroRecipient();\n        emit FeeRecipientChanged(feeRecipient, next);\n        feeRecipient = next;\n    }\n\n    /// @notice Sets the fee the next project pools open at. Pools already open keep theirs.\n    function setPoolFee(uint24 next) external onlyOwner {\n        if (next == 0 || next > MAX_POOL_FEE) revert InvalidPoolFee(next);\n        emit PoolFeeChanged(poolFee, next);\n        poolFee = next;\n    }\n\n    /// @notice Moves the treasury, for every distributor and launch at once, from its next use on.\n    function setTreasury(address next) external onlyOwner {\n        if (next == address(0)) revert ZeroTreasury();\n        emit TreasuryChanged(treasury, next);\n        treasury = next;\n    }\n}\n"},"src/PoolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"v4-core/src/types/Currency.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\n\n/// @title The LP fees of the positions a factory seeded, claimable by anyone\n/// @notice A factory owns the liquidity it seeds, so the fees that liquidity earns accrue to the\n/// factory. `claimFees` collects them for one launch and splits them: `REQUESTER_BPS` to the\n/// launch's requester (the wallet that paid for it, or whoever it handed the share to) and the rest\n/// to the network's recipient in `LaunchFees`, read at payout, so moving that recipient moves every\n/// pool's share at once. Anyone may call it; nobody can send the fees anywhere else.\n///\n/// @dev Payouts are attempted, not assumed. A recipient that refuses a payment (a contract without\n/// `receive`, a token that blocks it) leaves the amount owed to that same address, to be paid by\n/// `withdraw` once it can take it, rather than reverting the claim and holding the other party's\n/// share hostage. The principal is never touched: the only liquidity change is a zero one, which v4\n/// treats as collecting.\nabstract contract PoolFees {\n    error NoPosition(uint64 launchNumber);\n    error NotRequester(uint64 launchNumber);\n    error ZeroRequester();\n    error ClaimInProgress();\n    error UnexpectedClaim();\n    error HookTookFees(int128 amount0, int128 amount1);\n\n    event PositionOpened(uint64 indexed launchNumber, address indexed requester, int24 tickLower, int24 tickUpper);\n    event RequesterChanged(uint64 indexed launchNumber, address indexed previous, address indexed next);\n    event FeesClaimed(uint64 indexed launchNumber, address indexed caller, uint256 amount0, uint256 amount1);\n    event FeesOwed(address indexed account, Currency indexed currency, uint256 amount);\n    event FeesPaid(address indexed account, Currency indexed currency, uint256 amount);\n\n    /// @notice One launch's seeded position and who shares its fees.\n    struct Position {\n        PoolKey key;\n        int24 tickLower;\n        int24 tickUpper;\n        /// @dev Zero for a launch nobody paid for: its fees all go to the network.\n        address requester;\n    }\n\n    /// @notice The network's fee recipient, read at every payout.\n    LaunchFees public immutable fees;\n\n    mapping(uint64 launchNumber => Position) internal positions;\n    /// @notice What a payout could not deliver yet, by the address it belongs to and the currency.\n    mapping(address account => mapping(Currency currency => uint256)) public owed;\n    /// @notice The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid.\n    mapping(Currency currency => uint256) public networkOwed;\n\n    /// @dev The launch a claim is collecting, for the unlock callback; `inClaim` because launch 0 is a number too.\n    uint64 private claiming;\n    bool private inClaim;\n\n    constructor(LaunchFees fees_) {\n        fees = fees_;\n    }\n\n    /// @dev The pool manager the factory seeds through; the only caller `unlockCallback` answers.\n    function _manager() internal view virtual returns (IPoolManager);\n\n    /// @notice A launch's pool, range and requester.\n    function positionOf(uint64 launchNumber)\n        external\n        view\n        returns (PoolKey memory key, int24 tickLower, int24 tickUpper, address requester)\n    {\n        Position storage p = positions[launchNumber];\n        return (p.key, p.tickLower, p.tickUpper, p.requester);\n    }\n\n    /// @notice Hands the requester's share of a launch's future fees to another address. Only the\n    /// current holder can; what was already paid or owed stays with the address it was owed to.\n    function setRequester(uint64 launchNumber, address next) external {\n        Position storage p = positions[launchNumber];\n        if (p.requester == address(0) || msg.sender != p.requester) revert NotRequester(launchNumber);\n        if (next == address(0)) revert ZeroRequester();\n        emit RequesterChanged(launchNumber, p.requester, next);\n        p.requester = next;\n    }\n\n    /// @notice Collects one launch's accrued LP fees and pays both shares. Anyone may call it.\n    function claimFees(uint64 launchNumber) external returns (uint256 amount0, uint256 amount1) {\n        Position storage p = positions[launchNumber];\n        if (p.tickLower == p.tickUpper) revert NoPosition(launchNumber);\n        if (inClaim) revert ClaimInProgress();\n        (claiming, inClaim) = (launchNumber, true);\n        (amount0, amount1) = abi.decode(_manager().unlock(abi.encode(launchNumber)), (uint256, uint256));\n        (claiming, inClaim) = (0, false);\n        emit FeesClaimed(launchNumber, msg.sender, amount0, amount1);\n\n        Currency c0 = p.key.currency0;\n        Currency c1 = p.key.currency1;\n        address requester = p.requester;\n        _split(requester, c0, amount0);\n        _split(requester, c1, amount1);\n        if (requester != address(0)) {\n            _payAccount(requester, c0);\n            _payAccount(requester, c1);\n        }\n        _payNetwork(c0);\n        _payNetwork(c1);\n    }\n\n    /// @notice Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`.\n    function withdraw(address account, Currency currency) external {\n        _payAccount(account, currency);\n    }\n\n    /// @notice Pays the network's owed share in `currency` to the current recipient. Anyone may call it.\n    function withdrawNetwork(Currency currency) external {\n        _payNetwork(currency);\n    }\n\n    /// @dev Whether an unlock callback is a claim's, which the factory answers with `_collect`.\n    function _claiming() internal view returns (bool) {\n        return inClaim;\n    }\n\n    /// @dev Inside the pool manager's unlock: a zero liquidity change on the seeded position, which\n    /// v4 answers with the fees accrued, taken here. A hook may adjust that delta; one that would\n    /// have the position pay is refused rather than paid.\n    function _collect(bytes calldata data) internal returns (bytes memory) {\n        uint64 launchNumber = abi.decode(data, (uint64));\n        if (launchNumber != claiming) revert UnexpectedClaim();\n        Position storage p = positions[launchNumber];\n        IPoolManager manager = _manager();\n        (BalanceDelta delta,) = manager.modifyLiquidity(\n            p.key,\n            ModifyLiquidityParams({tickLower: p.tickLower, tickUpper: p.tickUpper, liquidityDelta: 0, salt: bytes32(0)}),\n            \"\"\n        );\n        int128 a0 = delta.amount0();\n        int128 a1 = delta.amount1();\n        if (a0 < 0 || a1 < 0) revert HookTookFees(a0, a1);\n        if (a0 > 0) manager.take(p.key.currency0, address(this), uint128(a0));\n        if (a1 > 0) manager.take(p.key.currency1, address(this), uint128(a1));\n        return abi.encode(uint256(uint128(a0)), uint256(uint128(a1)));\n    }\n\n    /// @dev Records a launch's seeded position, called once as the factory seeds it.\n    function _openPosition(uint64 launchNumber, PoolKey memory key, int24 tickLower, int24 tickUpper, address requester)\n        internal\n    {\n        positions[launchNumber] = Position(key, tickLower, tickUpper, requester);\n        emit PositionOpened(launchNumber, requester, tickLower, tickUpper);\n    }\n\n    function _split(address requester, Currency currency, uint256 amount) private {\n        if (amount == 0) return;\n        uint256 share = requester == address(0) ? 0 : (amount * fees.REQUESTER_BPS()) / 10_000;\n        if (share > 0) owed[requester][currency] += share;\n        networkOwed[currency] += amount - share;\n    }\n\n    function _payAccount(address account, Currency currency) private {\n        uint256 amount = owed[account][currency];\n        if (amount == 0) return;\n        owed[account][currency] = 0;\n        if (_send(currency, account, amount)) {\n            emit FeesPaid(account, currency, amount);\n        } else {\n            owed[account][currency] = amount;\n            emit FeesOwed(account, currency, amount);\n        }\n    }\n\n    function _payNetwork(Currency currency) private {\n        uint256 amount = networkOwed[currency];\n        if (amount == 0) return;\n        address recipient = fees.feeRecipient();\n        networkOwed[currency] = 0;\n        if (_send(currency, recipient, amount)) {\n            emit FeesPaid(recipient, currency, amount);\n        } else {\n            networkOwed[currency] = amount;\n            emit FeesOwed(recipient, currency, amount);\n        }\n    }\n\n    /// @dev A payment that reports failure instead of reverting: native ETH by call, a token by\n    /// `transfer`, accepting a token that returns nothing and refusing one that returns false. At\n    /// most one word of what the callee returns is copied, so a recipient or token answering with a\n    /// huge revert cannot spend the claimer's gas on the copy.\n    function _send(Currency currency, address to, uint256 amount) private returns (bool ok) {\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                ok := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            return ok;\n        }\n        address token = Currency.unwrap(currency);\n        if (token.code.length == 0) return false;\n        bytes memory data = abi.encodeCall(IERC20.transfer, (to, amount));\n        uint256 size;\n        uint256 word;\n        assembly (\"memory-safe\") {\n            ok := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0)\n            size := returndatasize()\n            if gt(size, 0x1f) {\n                returndatacopy(0, 0, 0x20)\n                word := mload(0)\n            }\n        }\n        return ok && (size == 0 || (size >= 32 && word == 1));\n    }\n}\n"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/cryptography/MerkleProof.sol)\n// This file was procedurally generated from scripts/generate/templates/MerkleProof.js.\n\npragma solidity ^0.8.20;\n\nimport {Hashes} from \"./Hashes.sol\";\n\n/**\n * @dev These functions deal with verification of Merkle Tree proofs.\n *\n * The tree and the proofs can be generated using our\n * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].\n * You will find a quickstart guide in the readme.\n *\n * WARNING: You should avoid using leaf values that are 64 bytes long prior to\n * hashing, or use a hash function other than keccak256 for hashing leaves.\n * This is because the concatenation of a sorted pair of internal nodes in\n * the Merkle tree could be reinterpreted as a leaf value.\n * OpenZeppelin's JavaScript library generates Merkle trees that are safe\n * against this attack out of the box.\n *\n * IMPORTANT: Consider memory side-effects when using custom hashing functions\n * that access memory in an unsafe way.\n *\n * NOTE: This library supports proof verification for merkle trees built using\n * custom _commutative_ hashing functions (i.e. `H(a, b) == H(b, a)`). Proving\n * leaf inclusion in trees built using non-commutative hashing functions requires\n * additional logic that is not supported by this library.\n */\nlibrary MerkleProof {\n    /**\n     * @dev The multiproof provided is not valid.\n     */\n    error MerkleProofInvalidMultiproof();\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with the default hashing function.\n     */\n    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {\n        return processProof(proof, leaf) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with the default hashing function.\n     */\n    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with a custom hashing function.\n     */\n    function verify(\n        bytes32[] memory proof,\n        bytes32 root,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processProof(proof, leaf, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with a custom hashing function.\n     */\n    function processProof(\n        bytes32[] memory proof,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = hasher(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with the default hashing function.\n     */\n    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {\n        return processProofCalldata(proof, leaf) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with the default hashing function.\n     */\n    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with a custom hashing function.\n     */\n    function verifyCalldata(\n        bytes32[] calldata proof,\n        bytes32 root,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processProofCalldata(proof, leaf, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with a custom hashing function.\n     */\n    function processProofCalldata(\n        bytes32[] calldata proof,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = hasher(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in memory with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProof}.\n     */\n    function multiProofVerify(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves\n    ) internal pure returns (bool) {\n        return processMultiProof(proof, proofFlags, leaves) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in memory with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProof(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32[] memory leaves\n    ) internal pure returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = Hashes.commutativeKeccak256(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in memory with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProof}.\n     */\n    function multiProofVerify(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processMultiProof(proof, proofFlags, leaves, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in memory with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProof(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = hasher(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in calldata with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProofCalldata}.\n     */\n    function multiProofVerifyCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves\n    ) internal pure returns (bool) {\n        return processMultiProofCalldata(proof, proofFlags, leaves) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in calldata with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProofCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32[] memory leaves\n    ) internal pure returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = Hashes.commutativeKeccak256(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in calldata with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProofCalldata}.\n     */\n    function multiProofVerifyCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processMultiProofCalldata(proof, proofFlags, leaves, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in calldata with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProofCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = hasher(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/cryptography/Hashes.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of standard hash functions.\n *\n * _Available since v5.1._\n */\nlibrary Hashes {\n    /**\n     * @dev Commutative Keccak256 hash of a sorted pair of bytes32. Frequently used when working with merkle proofs.\n     *\n     * NOTE: Equivalent to the `standardNodeHash` in our https://github.com/OpenZeppelin/merkle-tree[JavaScript library].\n     */\n    function commutativeKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32) {\n        return a < b ? efficientKeccak256(a, b) : efficientKeccak256(b, a);\n    }\n\n    /**\n     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.\n     */\n    function efficientKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32 value) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, a)\n            mstore(0x20, b)\n            value := keccak256(0x00, 0x40)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","forge-std/=lib/forge-std/src/","solmate/=lib/solmate/","v4-core/=lib/v4-core/","@ensdomains/=lib/v4-core/node_modules/@ensdomains/","@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/","ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/","hardhat/=lib/v4-core/node_modules/hardhat/","openzeppelin-contracts/=lib/openzeppelin-contracts/"]},"name":"LaunchFactory","fullyQualifiedName":"src/LaunchFactory.sol:LaunchFactory"},"abi":[{"type":"constructor","inputs":[{"name":"poolManager_","type":"address","internalType":"contract IPoolManager"},{"name":"deployer_","type":"address","internalType":"address"},{"name":"fees_","type":"address","internalType":"contract LaunchFees"}],"stateMutability":"nonpayable"},{"name":"AlreadyLaunched","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"ClaimInProgress","type":"error","inputs":[]},{"name":"CurrencyNotSorted","type":"error","inputs":[]},{"name":"DeploymentFailed","type":"error","inputs":[]},{"name":"HookAddressMismatch","type":"error","inputs":[{"name":"predicted","type":"address","internalType":"address"},{"name":"wanted","type":"uint160","internalType":"uint160"},{"name":"got","type":"uint160","internalType":"uint160"}]},{"name":"HookTookFees","type":"error","inputs":[{"name":"amount0","type":"int128","internalType":"int128"},{"name":"amount1","type":"int128","internalType":"int128"}]},{"name":"InitializationCallbackRequired","type":"error","inputs":[]},{"name":"InvalidPoolShare","type":"error","inputs":[{"name":"poolBps","type":"uint16","internalType":"uint16"}]},{"name":"NoLiquiditySeeded","type":"error","inputs":[]},{"name":"NoPosition","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"NotDeployer","type":"error","inputs":[]},{"name":"NotPoolManager","type":"error","inputs":[]},{"name":"NotRequester","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"PairedCurrencySpent","type":"error","inputs":[{"name":"before","type":"uint256","internalType":"uint256"},{"name":"afterSeed","type":"uint256","internalType":"uint256"}]},{"name":"PoolShareExceeded","type":"error","inputs":[{"name":"allowed","type":"uint256","internalType":"uint256"},{"name":"taken","type":"uint256","internalType":"uint256"}]},{"name":"RemainderRecipientMissing","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SupplyMismatch","type":"error","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"held","type":"uint256","internalType":"uint256"}]},{"name":"UnexpectedClaim","type":"error","inputs":[]},{"name":"ZeroRequester","type":"error","inputs":[]},{"name":"FeesClaimed","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"caller","type":"address","indexed":true,"internalType":"address"},{"name":"amount0","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amount1","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesOwed","type":"event","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"currency","type":"address","indexed":true,"internalType":"Currency"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesPaid","type":"event","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"currency","type":"address","indexed":true,"internalType":"Currency"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Launched","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"hook","type":"address","indexed":true,"internalType":"address"},{"name":"distributor","type":"address","indexed":false,"internalType":"address"},{"name":"liquiditySeeded","type":"uint128","indexed":false,"internalType":"uint128"}],"anonymous":false},{"name":"PositionOpened","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"requester","type":"address","indexed":true,"internalType":"address"},{"name":"tickLower","type":"int24","indexed":false,"internalType":"int24"},{"name":"tickUpper","type":"int24","indexed":false,"internalType":"int24"}],"anonymous":false},{"name":"RequesterChanged","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"previous","type":"address","indexed":true,"internalType":"address"},{"name":"next","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"SWARM_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"claimFees","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"amount0","type":"uint256","internalType":"uint256"},{"name":"amount1","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"deployer","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"distributorCreationCodeHash","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"fees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract LaunchFees"}],"stateMutability":"view"},{"name":"launch","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"kind","type":"bytes32","internalType":"bytes32"},{"name":"tokenCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookSalt","type":"bytes32","internalType":"bytes32"},{"name":"hookFlags","type":"uint160","internalType":"uint160"},{"name":"totalSupply","type":"uint256","internalType":"uint256"},{"name":"poolBps","type":"uint16","internalType":"uint16"},{"name":"remainderTo","type":"address","internalType":"address"},{"name":"merkleRoot","type":"bytes32","internalType":"bytes32"},{"name":"contributorLockSeconds","type":"uint64","internalType":"uint64"},{"name":"sweepDelaySeconds","type":"uint64","internalType":"uint64"},{"name":"pairedCurrency","type":"address","internalType":"Currency"},{"name":"fee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"sqrtPriceX96","type":"uint160","internalType":"uint160"},{"name":"tickLower","type":"int24","internalType":"int24"},{"name":"tickUpper","type":"int24","internalType":"int24"},{"name":"liquidity","type":"uint128","internalType":"uint128"},{"name":"record","type":"tuple","components":[{"name":"kind","type":"bytes32","internalType":"bytes32"},{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"recordedAt","type":"uint64","internalType":"uint64"},{"name":"sourceCommit","type":"bytes32","internalType":"bytes32"},{"name":"manifestHash","type":"bytes32","internalType":"bytes32"},{"name":"attestationHash","type":"bytes32","internalType":"bytes32"},{"name":"verifierKey","type":"bytes32","internalType":"bytes32"},{"name":"sourceRepoUrl","type":"string","internalType":"string"}],"internalType":"struct LaunchRegistry.Launch"},{"name":"agentIds","type":"uint256[]","internalType":"uint256[]"},{"name":"requester","type":"address","internalType":"address"}],"internalType":"struct LaunchFactory.LaunchParams"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"hook","type":"address","internalType":"address"},{"name":"distributor","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"networkOwed","type":"function","inputs":[{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owed","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolManager"}],"stateMutability":"view"},{"name":"positionOf","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"key","type":"tuple","components":[{"name":"currency0","type":"address","internalType":"Currency"},{"name":"currency1","type":"address","internalType":"Currency"},{"name":"fee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"hooks","type":"address","internalType":"contract IHooks"}],"internalType":"struct PoolKey"},{"name":"tickLower","type":"int24","internalType":"int24"},{"name":"tickUpper","type":"int24","internalType":"int24"},{"name":"requester","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictHook","type":"function","inputs":[{"name":"hookCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictToken","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"tokenCreationCode","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"registry","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract LaunchRegistry"}],"stateMutability":"view"},{"name":"setRequester","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"next","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"unlockCallback","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawNetwork","type":"function","inputs":[{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IPoolManager","name":"poolManager_","type":"address"},{"internalType":"address","name":"deployer_","type":"address"},{"internalType":"contract LaunchFees","name":"fees_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"}],"name":"AlreadyLaunched","type":"error"},{"inputs":[],"name":"ClaimInProgress","type":"error"},{"inputs":[],"name":"CurrencyNotSorted","type":"error"},{"inputs":[],"name":"DeploymentFailed","type":"error"},{"inputs":[{"internalType":"address","name":"predicted","type":"address"},{"internalType":"uint160","name":"wanted","type":"uint160"},{"internalType":"uint160","name":"got","type":"uint160"}],"name":"HookAddressMismatch","type":"error"},{"inputs":[{"internalType":"int128","name":"amount0","type":"int128"},{"internalType":"int128","name":"amount1","type":"int128"}],"name":"HookTookFees","type":"error"},{"inputs":[],"name":"InitializationCallbackRequired","type":"error"},{"inputs":[{"internalType":"uint16","name":"poolBps","type":"uint16"}],"name":"InvalidPoolShare","type":"error"},{"inputs":[],"name":"NoLiquiditySeeded","type":"error"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"}],"name":"NoPosition","type":"error"},{"inputs":[],"name":"NotDeployer","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"}],"name":"NotRequester","type":"error"},{"inputs":[{"internalType":"uint256","name":"before","type":"uint256"},{"internalType":"uint256","name":"afterSeed","type":"uint256"}],"name":"PairedCurrencySpent","type":"error"},{"inputs":[{"internalType":"uint256","name":"allowed","type":"uint256"},{"internalType":"uint256","name":"taken","type":"uint256"}],"name":"PoolShareExceeded","type":"error"},{"inputs":[],"name":"RemainderRecipientMissing","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"held","type":"uint256"}],"name":"SupplyMismatch","type":"error"},{"inputs":[],"name":"UnexpectedClaim","type":"error"},{"inputs":[],"name":"ZeroRequester","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"launchNumber","type":"uint64"},{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"FeesClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"Currency","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesOwed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"Currency","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"launchNumber","type":"uint64"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"hook","type":"address"},{"indexed":false,"internalType":"address","name":"distributor","type":"address"},{"indexed":false,"internalType":"uint128","name":"liquiditySeeded","type":"uint128"}],"name":"Launched","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"launchNumber","type":"uint64"},{"indexed":true,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"}],"name":"PositionOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"launchNumber","type":"uint64"},{"indexed":true,"internalType":"address","name":"previous","type":"address"},{"indexed":true,"internalType":"address","name":"next","type":"address"}],"name":"RequesterChanged","type":"event"},{"inputs":[],"name":"SWARM_BPS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"}],"name":"claimFees","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributorCreationCodeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"fees","outputs":[{"internalType":"contract LaunchFees","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint64","name":"launchNumber","type":"uint64"},{"internalType":"bytes32","name":"kind","type":"bytes32"},{"internalType":"bytes","name":"tokenCreationCode","type":"bytes"},{"internalType":"bytes","name":"hookCreationCode","type":"bytes"},{"internalType":"bytes32","name":"hookSalt","type":"bytes32"},{"internalType":"uint160","name":"hookFlags","type":"uint160"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint16","name":"poolBps","type":"uint16"},{"internalType":"address","name":"remainderTo","type":"address"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint64","name":"contributorLockSeconds","type":"uint64"},{"internalType":"uint64","name":"sweepDelaySeconds","type":"uint64"},{"internalType":"Currency","name":"pairedCurrency","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"liquidity","type":"uint128"},{"components":[{"internalType":"bytes32","name":"kind","type":"bytes32"},{"internalType":"uint64","name":"launchNumber","type":"uint64"},{"internalType":"uint64","name":"recordedAt","type":"uint64"},{"internalType":"bytes32","name":"sourceCommit","type":"bytes32"},{"internalType":"bytes32","name":"manifestHash","type":"bytes32"},{"internalType":"bytes32","name":"attestationHash","type":"bytes32"},{"internalType":"bytes32","name":"verifierKey","type":"bytes32"},{"internalType":"string","name":"sourceRepoUrl","type":"string"}],"internalType":"struct LaunchRegistry.Launch","name":"record","type":"tuple"},{"internalType":"uint256[]","name":"agentIds","type":"uint256[]"},{"internalType":"address","name":"requester","type":"address"}],"internalType":"struct LaunchFactory.LaunchParams","name":"params","type":"tuple"}],"name":"launch","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"hook","type":"address"},{"internalType":"address","name":"distributor","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"networkOwed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"Currency","name":"currency","type":"address"}],"name":"owed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"}],"name":"positionOf","outputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"address","name":"requester","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"hookCreationCode","type":"bytes"},{"internalType":"bytes32","name":"hookSalt","type":"bytes32"}],"name":"predictHook","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"},{"internalType":"bytes","name":"tokenCreationCode","type":"bytes"}],"name":"predictToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract LaunchRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"launchNumber","type":"uint64"},{"internalType":"address","name":"next","type":"address"}],"name":"setRequester","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"Currency","name":"currency","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"withdrawNetwork","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"details":"Atomicity buys three separate things, and the third is the one that is easy to give away later for convenience: 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has    either done nothing or done everything. 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no    between. Splitting these into two transactions hands the first trade to whoever is watching    the mempool. 3. Idempotency. Every address is deterministic, so \"did I already do this\" is a code-size check    rather than a database question. This contract is immutable and permanent per chain: its address is an input to every CREATE2 address it produces, so redeploying it renames every launch the network has ever predicted. It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets: anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"kind":"dev","methods":{"predictHook(bytes,bytes32)":{"details":"The salt is taken exactly as `launch` takes it. One `predict` for both used to read a zero salt as \"none given, use the launch number\" — a fine default for a token and a wrong answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry, and it was the one value for which the prediction and the deployment disagreed."},"predictToken(uint64,bytes)":{"details":"The whole idempotency story: the deployer predicts, checks for code, and skips a launch that already happened rather than paying for it twice."},"unlockCallback(bytes)":{"details":"v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed to us. Both directions are handled rather than only the expected one — a hook that returns a delta can turn \"we owe the pool\" into \"the pool owes us\", and an implementation that only knew how to pay would strand tokens inside the manager."}},"title":"The whole launch, in one transaction","version":1},"userdoc":{"kind":"user","methods":{"SWARM_BPS()":{"notice":"The swarm's share of every launch's supply: a constant, not a parameter. The other 90% is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`."},"claimFees(uint64)":{"notice":"Collects one launch's accrued LP fees and pays both shares. Anyone may call it."},"deployer()":{"notice":"The one address allowed to launch. It holds the key that spends; this holds nothing."},"distributorCreationCodeHash()":{"notice":"The distributor's creation-code hash, so the deployer can report the distributor as an artifact the way the project factory's launches report theirs."},"fees()":{"notice":"The network's fee recipient, read at every payout."},"launch((uint64,bytes32,bytes,bytes,bytes32,uint160,uint256,uint16,address,bytes32,uint64,uint64,address,uint24,int24,uint160,int24,int24,uint128,(bytes32,uint64,uint64,bytes32,bytes32,bytes32,bytes32,string),uint256[],address))":{"notice":"Runs one launch, or reverts having done nothing."},"networkOwed(address)":{"notice":"The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid."},"owed(address,address)":{"notice":"What a payout could not deliver yet, by the address it belongs to and the currency."},"positionOf(uint64)":{"notice":"A launch's pool, range and requester."},"predictHook(bytes,bytes32)":{"notice":"Where a launch's hook will land, for the salt the deployer mined."},"predictToken(uint64,bytes)":{"notice":"Where a launch's token will land, before it exists."},"setRequester(uint64,address)":{"notice":"Hands the requester's share of a launch's future fees to another address. Only the current holder can; what was already paid or owed stays with the address it was owed to."},"unlockCallback(bytes)":{"notice":"Settles the liquidity this factory just added."},"withdraw(address,address)":{"notice":"Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`."},"withdrawNetwork(address)":{"notice":"Pays the network's owed share in `currency` to the current recipient. Anyone may call it."}},"notice":"Deploys the token and the hook at deterministic addresses, splits the supply per policy, initialises the pool, seeds it, funds the contributor distributor, and writes the public record — all or nothing.","version":1}},"settings":{"compilationTarget":{"src/LaunchFactory.sol":"LaunchFactory"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@ensdomains/=lib/v4-core/node_modules/@ensdomains/",":@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":hardhat/=lib/v4-core/node_modules/hardhat/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":solmate/=lib/solmate/",":v4-core/=lib/v4-core/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"keccak256":"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c","license":"MIT","urls":["bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0","dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"keccak256":"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d","license":"MIT","urls":["bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100","dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"keccak256":"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc","license":"MIT","urls":["bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037","dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"keccak256":"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44","license":"MIT","urls":["bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d","dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol":{"keccak256":"0xd735962e3d6660884153ba8a972b5f100dde4c482f2ff1c525ba7fdefb154cbd","license":"MIT","urls":["bzz-raw://5a264d17b093f585844b0d977e9f60555b8c8d6513b304fde863cdf652a0d336","dweb:/ipfs/QmWXfaJisjVnrjTUjZGryZpMob9wKivvtbodLS3PTc1ttq"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","license":"MIT","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f","license":"MIT","urls":["bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e","dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x318ea37780610ca7808852275651885d428669402b81488cb7434fde361e9704","license":"MIT","urls":["bzz-raw://4aad80ad93cedad85619900fd7c2084c4d2f4b28f1dbda27e491c5f4fd31025d","dweb:/ipfs/QmUyXtX7FUi2u1W5fs7ufka9XkRVb5ss2menQHTsrsSmqZ"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53","license":"MIT","urls":["bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99","dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N"]},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol":{"keccak256":"0x8cbd338f083224b4b6f0ff42cbda641a0a6c31ffcdca197452b97fe4d0918269","license":"MIT","urls":["bzz-raw://f517dec5ba0c6491395acbf7f1d621f4e89e8f218bf5303c867b1c5ad70c6b11","dweb:/ipfs/QmWmXHRLEw8W6ckth7NyYTU88YfvuS7xSsfae5ksL8qNUe"]},"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol":{"keccak256":"0x5e27273c7ebdbcfe7d2bad2866feb635a49db139abfe5643bdeacec4a0880225","license":"MIT","urls":["bzz-raw://715bf6d5198cacf619202a75333205b19ff267f14d40daa2f7afa363580b3c95","dweb:/ipfs/QmZ5kVidhB3q767655WSqgsz6YBTop1tVo7akzEDRb2PQr"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT","urls":["bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617","dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u"]},"lib/v4-core/src/interfaces/IExtsload.sol":{"keccak256":"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43","license":"MIT","urls":["bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1","dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN"]},"lib/v4-core/src/interfaces/IExttload.sol":{"keccak256":"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937","license":"MIT","urls":["bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8","dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY"]},"lib/v4-core/src/interfaces/IHooks.sol":{"keccak256":"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d","license":"MIT","urls":["bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec","dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G"]},"lib/v4-core/src/interfaces/IPoolManager.sol":{"keccak256":"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e","license":"MIT","urls":["bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4","dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi"]},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"keccak256":"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848","license":"MIT","urls":["bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d","dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J"]},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"keccak256":"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719","license":"MIT","urls":["bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b","dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK"]},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"keccak256":"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f","license":"MIT","urls":["bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de","dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d"]},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"keccak256":"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48","license":"MIT","urls":["bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f","dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK"]},"lib/v4-core/src/libraries/CustomRevert.sol":{"keccak256":"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de","license":"MIT","urls":["bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd","dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt"]},"lib/v4-core/src/libraries/SafeCast.sol":{"keccak256":"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86","license":"MIT","urls":["bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59","dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj"]},"lib/v4-core/src/types/BalanceDelta.sol":{"keccak256":"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f","license":"MIT","urls":["bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9","dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H"]},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"keccak256":"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78","license":"MIT","urls":["bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782","dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K"]},"lib/v4-core/src/types/Currency.sol":{"keccak256":"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93","license":"MIT","urls":["bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01","dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5"]},"lib/v4-core/src/types/PoolId.sol":{"keccak256":"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af","license":"MIT","urls":["bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918","dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y"]},"lib/v4-core/src/types/PoolKey.sol":{"keccak256":"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786","license":"MIT","urls":["bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639","dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi"]},"lib/v4-core/src/types/PoolOperation.sol":{"keccak256":"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162","license":"MIT","urls":["bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07","dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c"]},"src/HookFlags.sol":{"keccak256":"0xfe36a9f5227012995ab1ba3bb4d26422a87cba56d94cb646d9beb85fbd5eb76d","license":"MIT","urls":["bzz-raw://53d8c3ef5b04f5104cc6fb0f7c03401b78a815888e8e1614067a9ad80afff3f5","dweb:/ipfs/QmY3JHbzmWQPs1ZSBoT1Vk6dJLwpbNNTizYq3NEz6BQac8"]},"src/LaunchFactory.sol":{"keccak256":"0x8ec28af5b1a6ae7cf8e79964a91117aacda5b4d2bda5b15fc4797cfdae6cf29b","license":"MIT","urls":["bzz-raw://cc4d69bce805995f5858e32e192e64135921af75eeaad7c0f34d03b0a8d1f3b2","dweb:/ipfs/QmNTxzyPu8U9cDTt3R7uL4MLvFMr4xtREGQ5UDSrS4kkmC"]},"src/LaunchFees.sol":{"keccak256":"0xb700cdd08cf8192d5f059302e46c1fd0ea1293db9ffb6fdda68778b8400eb4d5","license":"MIT","urls":["bzz-raw://7f253103bd09ebb12ee6faca60c0ad070cf5a336712fa903dc0e004bb00857d2","dweb:/ipfs/QmQxdC9CdLPM7PFk4tAswA2cFPmUXnhhZDGneC98Bminnm"]},"src/LaunchRegistry.sol":{"keccak256":"0x9076c4fa9e9b87c229b1022db3447f2c65607d60ebef7cc4a24bcc6192023a96","license":"MIT","urls":["bzz-raw://edf65e28686a6e1f6b9a88f47e3505509584d5f9c01d0dab662e4f21f3d03d33","dweb:/ipfs/QmZTMGWPaoLUJ5KpXZmzRpMy5xmWJ3vkJb8AdvFoXuuxio"]},"src/MerkleDistributor.sol":{"keccak256":"0xab1c4ad6264ad1da889274a164a22951fccac7a0a3d595efe77d5f00b32fe579","license":"MIT","urls":["bzz-raw://b7ee31d7b09124dc779010b8972ef39ea60174c7c50d191ef5ee604baa2a38d3","dweb:/ipfs/QmYhUhXSikcjyTq6FrTkRHeSmK4aKY3WwmPWb5KPZSGoYp"]},"src/PoolFees.sol":{"keccak256":"0xc608ab5f9e8735620f28365529115d03633b84f3e1a851fab68a699dc3071970","license":"MIT","urls":["bzz-raw://f41a8a03d36111175dd1f2abdcb25243e29cc92cee5638457335e610f4dc11f7","dweb:/ipfs/QmQRd1ecfPoFp4zK2bp6cauZ7YStD7fwqawNv15RcFBL8P"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"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_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(IHooks)2553":{"label":"contract IHooks","encoding":"inplace","numberOfBytes":"20"},"t_struct(PoolKey)3959_storage":{"label":"struct PoolKey","members":[{"slot":"0","type":"t_userDefinedValueType(Currency)3613","astId":3944,"label":"currency0","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_userDefinedValueType(Currency)3613","astId":3948,"label":"currency1","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_uint24","astId":3951,"label":"fee","offset":20,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_int24","astId":3954,"label":"tickSpacing","offset":23,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"2","type":"t_contract(IHooks)2553","astId":3958,"label":"hooks","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"}],"encoding":"inplace","numberOfBytes":"96"},"t_struct(Position)6359_storage":{"label":"struct PoolFees.Position","members":[{"slot":"0","type":"t_struct(PoolKey)3959_storage","astId":6351,"label":"key","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_int24","astId":6353,"label":"tickLower","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_int24","astId":6355,"label":"tickUpper","offset":3,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_address","astId":6358,"label":"requester","offset":6,"contract":"src/LaunchFactory.sol:LaunchFactory"}],"encoding":"inplace","numberOfBytes":"128"},"t_userDefinedValueType(Currency)3613":{"label":"Currency","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_uint64,t_struct(Position)6359_storage)":{"key":"t_uint64","label":"mapping(uint64 => struct PoolFees.Position)","value":"t_struct(Position)6359_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)":{"key":"t_userDefinedValueType(Currency)3613","label":"mapping(Currency => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_userDefinedValueType(Currency)3613,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(Currency => uint256))","value":"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_uint64,t_struct(Position)6359_storage)","astId":6368,"label":"positions","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_userDefinedValueType(Currency)3613,t_uint256))","astId":6376,"label":"owed","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"2","type":"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)","astId":6382,"label":"networkOwed","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_uint64","astId":6385,"label":"claiming","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_bool","astId":6387,"label":"inClaim","offset":8,"contract":"src/LaunchFactory.sol:LaunchFactory"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","notice":"Deploys the token and the hook at deterministic addresses, splits the supply per policy, initialises the pool, seeds it, funds the contributor distributor, and writes the public record — all or nothing.","methods":{"fees()":{"notice":"The network's fee recipient, read at every payout."},"deployer()":{"notice":"The one address allowed to launch. It holds the key that spends; this holds nothing."},"SWARM_BPS()":{"notice":"The swarm's share of every launch's supply: a constant, not a parameter. The other 90% is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`."},"claimFees(uint64)":{"notice":"Collects one launch's accrued LP fees and pays both shares. Anyone may call it."},"positionOf(uint64)":{"notice":"A launch's pool, range and requester."},"networkOwed(address)":{"notice":"The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid."},"owed(address,address)":{"notice":"What a payout could not deliver yet, by the address it belongs to and the currency."},"unlockCallback(bytes)":{"notice":"Settles the liquidity this factory just added."},"withdrawNetwork(address)":{"notice":"Pays the network's owed share in `currency` to the current recipient. Anyone may call it."},"withdraw(address,address)":{"notice":"Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`."},"predictHook(bytes,bytes32)":{"notice":"Where a launch's hook will land, for the salt the deployer mined."},"predictToken(uint64,bytes)":{"notice":"Where a launch's token will land, before it exists."},"setRequester(uint64,address)":{"notice":"Hands the requester's share of a launch's future fees to another address. Only the current holder can; what was already paid or owed stays with the address it was owed to."},"distributorCreationCodeHash()":{"notice":"The distributor's creation-code hash, so the deployer can report the distributor as an artifact the way the project factory's launches report theirs."},"launch((uint64,bytes32,bytes,bytes,bytes32,uint160,uint256,uint16,address,bytes32,uint64,uint64,address,uint24,int24,uint160,int24,int24,uint128,(bytes32,uint64,uint64,bytes32,bytes32,bytes32,bytes32,string),uint256[],address))":{"notice":"Runs one launch, or reverts having done nothing."}},"version":1},"devdoc":{"kind":"dev","title":"The whole launch, in one transaction","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"details":"Atomicity buys three separate things, and the third is the one that is easy to give away later for convenience: 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has    either done nothing or done everything. 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no    between. Splitting these into two transactions hands the first trade to whoever is watching    the mempool. 3. Idempotency. Every address is deterministic, so \"did I already do this\" is a code-size check    rather than a database question. This contract is immutable and permanent per chain: its address is an input to every CREATE2 address it produces, so redeploying it renames every launch the network has ever predicted. It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets: anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).","methods":{"unlockCallback(bytes)":{"details":"v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed to us. Both directions are handled rather than only the expected one — a hook that returns a delta can turn \"we owe the pool\" into \"the pool owes us\", and an implementation that only knew how to pay would strand tokens inside the manager."},"predictHook(bytes,bytes32)":{"details":"The salt is taken exactly as `launch` takes it. One `predict` for both used to read a zero salt as \"none given, use the launch number\" — a fine default for a token and a wrong answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry, and it was the one value for which the prediction and the deployment disagreed."},"predictToken(uint64,bytes)":{"details":"The whole idempotency story: the deployer predicts, checks for code, and skips a launch that already happened rather than paying for it twice."}},"version":1},"sourceIds":{"src/PoolFees.sol":{"id":36},"src/HookFlags.sol":{"id":31},"src/LaunchFees.sol":{"id":33},"src/LaunchFactory.sol":{"id":32},"src/LaunchRegistry.sol":{"id":34},"src/MerkleDistributor.sol":{"id":35},"lib/v4-core/src/types/PoolId.sol":{"id":28},"lib/v4-core/src/types/PoolKey.sol":{"id":29},"lib/v4-core/src/types/Currency.sol":{"id":27},"lib/v4-core/src/interfaces/IHooks.sol":{"id":17},"lib/v4-core/src/libraries/SafeCast.sol":{"id":24},"lib/v4-core/src/types/BalanceDelta.sol":{"id":25},"lib/v4-core/src/types/PoolOperation.sol":{"id":30},"lib/v4-core/src/interfaces/IExtsload.sol":{"id":15},"lib/v4-core/src/interfaces/IExttload.sol":{"id":16},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"id":26},"lib/v4-core/src/libraries/CustomRevert.sol":{"id":23},"lib/v4-core/src/interfaces/IPoolManager.sol":{"id":18},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"id":19},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":21},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":9},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":22},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"id":20},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":11},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":6},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"id":1},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"id":2},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"id":10},"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol":{"id":12},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":8},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol":{"id":13},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":7}},"additionalInput":null,"stdJsonInput":{"sources":{"src/PoolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"v4-core/src/types/Currency.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\n\n/// @title The LP fees of the positions a factory seeded, claimable by anyone\n/// @notice A factory owns the liquidity it seeds, so the fees that liquidity earns accrue to the\n/// factory. `claimFees` collects them for one launch and splits them: `REQUESTER_BPS` to the\n/// launch's requester (the wallet that paid for it, or whoever it handed the share to) and the rest\n/// to the network's recipient in `LaunchFees`, read at payout, so moving that recipient moves every\n/// pool's share at once. Anyone may call it; nobody can send the fees anywhere else.\n///\n/// @dev Payouts are attempted, not assumed. A recipient that refuses a payment (a contract without\n/// `receive`, a token that blocks it) leaves the amount owed to that same address, to be paid by\n/// `withdraw` once it can take it, rather than reverting the claim and holding the other party's\n/// share hostage. The principal is never touched: the only liquidity change is a zero one, which v4\n/// treats as collecting.\nabstract contract PoolFees {\n    error NoPosition(uint64 launchNumber);\n    error NotRequester(uint64 launchNumber);\n    error ZeroRequester();\n    error ClaimInProgress();\n    error UnexpectedClaim();\n    error HookTookFees(int128 amount0, int128 amount1);\n\n    event PositionOpened(uint64 indexed launchNumber, address indexed requester, int24 tickLower, int24 tickUpper);\n    event RequesterChanged(uint64 indexed launchNumber, address indexed previous, address indexed next);\n    event FeesClaimed(uint64 indexed launchNumber, address indexed caller, uint256 amount0, uint256 amount1);\n    event FeesOwed(address indexed account, Currency indexed currency, uint256 amount);\n    event FeesPaid(address indexed account, Currency indexed currency, uint256 amount);\n\n    /// @notice One launch's seeded position and who shares its fees.\n    struct Position {\n        PoolKey key;\n        int24 tickLower;\n        int24 tickUpper;\n        /// @dev Zero for a launch nobody paid for: its fees all go to the network.\n        address requester;\n    }\n\n    /// @notice The network's fee recipient, read at every payout.\n    LaunchFees public immutable fees;\n\n    mapping(uint64 launchNumber => Position) internal positions;\n    /// @notice What a payout could not deliver yet, by the address it belongs to and the currency.\n    mapping(address account => mapping(Currency currency => uint256)) public owed;\n    /// @notice The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid.\n    mapping(Currency currency => uint256) public networkOwed;\n\n    /// @dev The launch a claim is collecting, for the unlock callback; `inClaim` because launch 0 is a number too.\n    uint64 private claiming;\n    bool private inClaim;\n\n    constructor(LaunchFees fees_) {\n        fees = fees_;\n    }\n\n    /// @dev The pool manager the factory seeds through; the only caller `unlockCallback` answers.\n    function _manager() internal view virtual returns (IPoolManager);\n\n    /// @notice A launch's pool, range and requester.\n    function positionOf(uint64 launchNumber)\n        external\n        view\n        returns (PoolKey memory key, int24 tickLower, int24 tickUpper, address requester)\n    {\n        Position storage p = positions[launchNumber];\n        return (p.key, p.tickLower, p.tickUpper, p.requester);\n    }\n\n    /// @notice Hands the requester's share of a launch's future fees to another address. Only the\n    /// current holder can; what was already paid or owed stays with the address it was owed to.\n    function setRequester(uint64 launchNumber, address next) external {\n        Position storage p = positions[launchNumber];\n        if (p.requester == address(0) || msg.sender != p.requester) revert NotRequester(launchNumber);\n        if (next == address(0)) revert ZeroRequester();\n        emit RequesterChanged(launchNumber, p.requester, next);\n        p.requester = next;\n    }\n\n    /// @notice Collects one launch's accrued LP fees and pays both shares. Anyone may call it.\n    function claimFees(uint64 launchNumber) external returns (uint256 amount0, uint256 amount1) {\n        Position storage p = positions[launchNumber];\n        if (p.tickLower == p.tickUpper) revert NoPosition(launchNumber);\n        if (inClaim) revert ClaimInProgress();\n        (claiming, inClaim) = (launchNumber, true);\n        (amount0, amount1) = abi.decode(_manager().unlock(abi.encode(launchNumber)), (uint256, uint256));\n        (claiming, inClaim) = (0, false);\n        emit FeesClaimed(launchNumber, msg.sender, amount0, amount1);\n\n        Currency c0 = p.key.currency0;\n        Currency c1 = p.key.currency1;\n        address requester = p.requester;\n        _split(requester, c0, amount0);\n        _split(requester, c1, amount1);\n        if (requester != address(0)) {\n            _payAccount(requester, c0);\n            _payAccount(requester, c1);\n        }\n        _payNetwork(c0);\n        _payNetwork(c1);\n    }\n\n    /// @notice Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`.\n    function withdraw(address account, Currency currency) external {\n        _payAccount(account, currency);\n    }\n\n    /// @notice Pays the network's owed share in `currency` to the current recipient. Anyone may call it.\n    function withdrawNetwork(Currency currency) external {\n        _payNetwork(currency);\n    }\n\n    /// @dev Whether an unlock callback is a claim's, which the factory answers with `_collect`.\n    function _claiming() internal view returns (bool) {\n        return inClaim;\n    }\n\n    /// @dev Inside the pool manager's unlock: a zero liquidity change on the seeded position, which\n    /// v4 answers with the fees accrued, taken here. A hook may adjust that delta; one that would\n    /// have the position pay is refused rather than paid.\n    function _collect(bytes calldata data) internal returns (bytes memory) {\n        uint64 launchNumber = abi.decode(data, (uint64));\n        if (launchNumber != claiming) revert UnexpectedClaim();\n        Position storage p = positions[launchNumber];\n        IPoolManager manager = _manager();\n        (BalanceDelta delta,) = manager.modifyLiquidity(\n            p.key,\n            ModifyLiquidityParams({tickLower: p.tickLower, tickUpper: p.tickUpper, liquidityDelta: 0, salt: bytes32(0)}),\n            \"\"\n        );\n        int128 a0 = delta.amount0();\n        int128 a1 = delta.amount1();\n        if (a0 < 0 || a1 < 0) revert HookTookFees(a0, a1);\n        if (a0 > 0) manager.take(p.key.currency0, address(this), uint128(a0));\n        if (a1 > 0) manager.take(p.key.currency1, address(this), uint128(a1));\n        return abi.encode(uint256(uint128(a0)), uint256(uint128(a1)));\n    }\n\n    /// @dev Records a launch's seeded position, called once as the factory seeds it.\n    function _openPosition(uint64 launchNumber, PoolKey memory key, int24 tickLower, int24 tickUpper, address requester)\n        internal\n    {\n        positions[launchNumber] = Position(key, tickLower, tickUpper, requester);\n        emit PositionOpened(launchNumber, requester, tickLower, tickUpper);\n    }\n\n    function _split(address requester, Currency currency, uint256 amount) private {\n        if (amount == 0) return;\n        uint256 share = requester == address(0) ? 0 : (amount * fees.REQUESTER_BPS()) / 10_000;\n        if (share > 0) owed[requester][currency] += share;\n        networkOwed[currency] += amount - share;\n    }\n\n    function _payAccount(address account, Currency currency) private {\n        uint256 amount = owed[account][currency];\n        if (amount == 0) return;\n        owed[account][currency] = 0;\n        if (_send(currency, account, amount)) {\n            emit FeesPaid(account, currency, amount);\n        } else {\n            owed[account][currency] = amount;\n            emit FeesOwed(account, currency, amount);\n        }\n    }\n\n    function _payNetwork(Currency currency) private {\n        uint256 amount = networkOwed[currency];\n        if (amount == 0) return;\n        address recipient = fees.feeRecipient();\n        networkOwed[currency] = 0;\n        if (_send(currency, recipient, amount)) {\n            emit FeesPaid(recipient, currency, amount);\n        } else {\n            networkOwed[currency] = amount;\n            emit FeesOwed(recipient, currency, amount);\n        }\n    }\n\n    /// @dev A payment that reports failure instead of reverting: native ETH by call, a token by\n    /// `transfer`, accepting a token that returns nothing and refusing one that returns false. At\n    /// most one word of what the callee returns is copied, so a recipient or token answering with a\n    /// huge revert cannot spend the claimer's gas on the copy.\n    function _send(Currency currency, address to, uint256 amount) private returns (bool ok) {\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                ok := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            return ok;\n        }\n        address token = Currency.unwrap(currency);\n        if (token.code.length == 0) return false;\n        bytes memory data = abi.encodeCall(IERC20.transfer, (to, amount));\n        uint256 size;\n        uint256 word;\n        assembly (\"memory-safe\") {\n            ok := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0)\n            size := returndatasize()\n            if gt(size, 0x1f) {\n                returndatacopy(0, 0, 0x20)\n                word := mload(0)\n            }\n        }\n        return ok && (size == 0 || (size >= 32 && word == 1));\n    }\n}\n"},"src/HookFlags.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @title The 14 bits a v4 hook address has to carry\n/// @notice Uniswap v4 encodes a hook's permissions in the low 14 bits of its address, and\n/// `PoolManager` rejects a hook whose address does not match what `getHookPermissions` reports. That\n/// makes this bit layout load-bearing in three places at once: the deployer mines a CREATE2 salt\n/// against it, the factory checks it on chain, and the admission gate compares it to what the\n/// attested bytecode declares.\n///\n/// @dev Written down once, here, because three implementations of one bit layout is three chances\n/// for one of them to differ — and a wrong bit produces an address the pool manager refuses, after\n/// the gas is spent. `HookFlags.t.sol` asserts every constant below equals the one v4 itself\n/// declares, so a version bump that renumbered them would fail our build rather than a mainnet\n/// transaction.\nlibrary HookFlags {\n    uint160 internal constant ALL = uint160((1 << 14) - 1);\n\n    uint160 internal constant BEFORE_INITIALIZE = 1 << 13;\n    uint160 internal constant AFTER_INITIALIZE = 1 << 12;\n    uint160 internal constant BEFORE_ADD_LIQUIDITY = 1 << 11;\n    uint160 internal constant AFTER_ADD_LIQUIDITY = 1 << 10;\n    uint160 internal constant BEFORE_REMOVE_LIQUIDITY = 1 << 9;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY = 1 << 8;\n    uint160 internal constant BEFORE_SWAP = 1 << 7;\n    uint160 internal constant AFTER_SWAP = 1 << 6;\n    uint160 internal constant BEFORE_DONATE = 1 << 5;\n    uint160 internal constant AFTER_DONATE = 1 << 4;\n    uint160 internal constant BEFORE_SWAP_RETURN_DELTA = 1 << 3;\n    uint160 internal constant AFTER_SWAP_RETURN_DELTA = 1 << 2;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_RETURN_DELTA = 1 << 1;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_RETURN_DELTA = 1 << 0;\n\n    /// @notice The permission bits an address actually carries.\n    function flagsOf(address hook) internal pure returns (uint160) {\n        return uint160(hook) & ALL;\n    }\n\n    /// @notice Whether an address declares exactly these permissions and no others.\n    /// @dev Equality rather than a mask test. A hook whose address carries a bit its implementation\n    /// does not handle is called for a callback it will revert on, which takes the pool with it.\n    function matches(address hook, uint160 flags) internal pure returns (bool) {\n        return flagsOf(hook) == (flags & ALL);\n    }\n}\n"},"src/LaunchFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Ownable, Ownable2Step} from \"@openzeppelin/contracts/access/Ownable2Step.sol\";\n\n/// @title What launch pools charge, where the network's share of it goes, and the network's treasury\n/// @notice One per chain. The factories read the recipient at the moment fees are paid out, so\n/// changing it here moves the network's share of every pool they ever opened, past and future,\n/// without touching a single pool. They read `poolFee` as they open a pool: a pool's fee is fixed\n/// when it is created, so a new fee applies to the pools opened after it.\n/// @dev The split itself is not here and cannot be changed: a requester was promised\n/// `REQUESTER_BPS` of their pool's fees when they paid, and an owner able to lower it would make\n/// that promise worth nothing. Only the recipient of the rest moves.\ncontract LaunchFees is Ownable2Step {\n    error ZeroRecipient();\n    error ZeroTreasury();\n    error InvalidPoolFee(uint24 fee);\n\n    event FeeRecipientChanged(address indexed previous, address indexed next);\n    event PoolFeeChanged(uint24 previous, uint24 next);\n    event TreasuryChanged(address indexed previous, address indexed next);\n\n    /// @notice The requester's share of a pool's LP fees: 80%, which is 1% of volume at a 1.25% fee.\n    uint16 public constant REQUESTER_BPS = 8000;\n\n    /// @notice The highest pool fee the owner may set, in v4's hundredths of a basis point: 10%.\n    uint24 public constant MAX_POOL_FEE = 100_000;\n\n    /// @notice The LP fee a project factory opens its pools at, in hundredths of a basis point\n    /// (12_500 is 1.25%). Hook launches keep the fee their hook's launch sets.\n    uint24 public poolFee;\n\n    /// @notice Receives the network's share: what the requester's share leaves, and all of a pool\n    /// opened with no requester.\n    address public feeRecipient;\n    /// @notice Where unclaimed contributor rewards go once a round's year is up, and the requester's\n    /// share of a launch nobody paid for. Read when it is used, like `feeRecipient`, so moving it\n    /// here moves it for every distributor and launch the factories ever made.\n    address public treasury;\n\n    constructor(address owner_, address feeRecipient_, address treasury_, uint24 poolFee_) Ownable(owner_) {\n        if (feeRecipient_ == address(0)) revert ZeroRecipient();\n        if (treasury_ == address(0)) revert ZeroTreasury();\n        if (poolFee_ == 0 || poolFee_ > MAX_POOL_FEE) revert InvalidPoolFee(poolFee_);\n        feeRecipient = feeRecipient_;\n        treasury = treasury_;\n        poolFee = poolFee_;\n        emit FeeRecipientChanged(address(0), feeRecipient_);\n        emit TreasuryChanged(address(0), treasury_);\n        emit PoolFeeChanged(0, poolFee_);\n    }\n\n    /// @notice Moves the network's share, for every pool at once, from the next payout on.\n    function setFeeRecipient(address next) external onlyOwner {\n        if (next == address(0)) revert ZeroRecipient();\n        emit FeeRecipientChanged(feeRecipient, next);\n        feeRecipient = next;\n    }\n\n    /// @notice Sets the fee the next project pools open at. Pools already open keep theirs.\n    function setPoolFee(uint24 next) external onlyOwner {\n        if (next == 0 || next > MAX_POOL_FEE) revert InvalidPoolFee(next);\n        emit PoolFeeChanged(poolFee, next);\n        poolFee = next;\n    }\n\n    /// @notice Moves the treasury, for every distributor and launch at once, from its next use on.\n    function setTreasury(address next) external onlyOwner {\n        if (next == address(0)) revert ZeroTreasury();\n        emit TreasuryChanged(treasury, next);\n        treasury = next;\n    }\n}\n"},"src/LaunchFactory.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 {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {IUnlockCallback} from \"v4-core/src/interfaces/callback/IUnlockCallback.sol\";\nimport {IHooks} from \"v4-core/src/interfaces/IHooks.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"v4-core/src/types/Currency.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {HookFlags} from \"./HookFlags.sol\";\nimport {LaunchRegistry} from \"./LaunchRegistry.sol\";\nimport {MerkleDistributor} from \"./MerkleDistributor.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\nimport {PoolFees} from \"./PoolFees.sol\";\n\n/// @title The whole launch, in one transaction\n/// @notice Deploys the token and the hook at deterministic addresses, splits the supply per policy,\n/// initialises the pool, seeds it, funds the contributor distributor, and writes the public record —\n/// all or nothing.\n///\n/// @dev Atomicity buys three separate things, and the third is the one that is easy to give away\n/// later for convenience:\n///\n/// 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has\n///    either done nothing or done everything.\n/// 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no\n///    between. Splitting these into two transactions hands the first trade to whoever is watching\n///    the mempool.\n/// 3. Idempotency. Every address is deterministic, so \"did I already do this\" is a code-size check\n///    rather than a database question.\n///\n/// This contract is immutable and permanent per chain: its address is an input to every CREATE2\n/// address it produces, so redeploying it renames every launch the network has ever predicted.\n///\n/// It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets:\n/// anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).\ncontract LaunchFactory is IUnlockCallback, PoolFees {\n    using SafeERC20 for IERC20;\n\n    error NotDeployer();\n    error AlreadyLaunched(uint64 launchNumber);\n    error HookAddressMismatch(address predicted, uint160 wanted, uint160 got);\n    error DeploymentFailed();\n    error SupplyMismatch(uint256 expected, uint256 held);\n    error InvalidPoolShare(uint16 poolBps);\n    error RemainderRecipientMissing();\n    error PoolShareExceeded(uint256 allowed, uint256 taken);\n    error NotPoolManager();\n    error CurrencyNotSorted();\n    error NoLiquiditySeeded();\n    error InitializationCallbackRequired();\n    error PairedCurrencySpent(uint256 before, uint256 afterSeed);\n\n    event Launched(\n        uint64 indexed launchNumber,\n        address indexed token,\n        address indexed hook,\n        address distributor,\n        uint128 liquiditySeeded\n    );\n\n    /// @notice Everything one launch needs, assembled off chain from an attestation and a policy.\n    /// @dev The technical half comes from the manifest and the attestation; the economic half comes\n    /// from a policy row no model ever writes. Nothing here is derived on chain from the other, which\n    /// is deliberate: the contract's job is to refuse a combination that does not add up, not to\n    /// pick one.\n    struct LaunchParams {\n        uint64 launchNumber;\n        bytes32 kind;\n        /// @dev Creation code with constructor arguments already appended. The verifier attested the\n        /// code without arguments; the deployer appends them and this recomputes what it deploys.\n        bytes tokenCreationCode;\n        bytes hookCreationCode;\n        /// @dev Mined off chain until the resulting address carries exactly `hookFlags`.\n        bytes32 hookSalt;\n        uint160 hookFlags;\n        /// @dev The whole supply, which the token must mint to this factory in its constructor.\n        uint256 totalSupply;\n        /// @dev Share of the whole supply the pool may take, the requester's choice within its 90%.\n        /// The seed is rolled back if it takes more.\n        uint16 poolBps;\n        /// @dev Receives what the swarm and the pool leave: the requester's wallet, or zero for the\n        /// chain's treasury (`LaunchFees.treasury()`), as for a launch nobody paid for.\n        address remainderTo;\n        bytes32 merkleRoot;\n        uint64 contributorLockSeconds;\n        uint64 sweepDelaySeconds;\n        /// @dev The other side of the pair. Must sort below or above the launched token; the factory\n        /// orders the key itself rather than trusting the caller to.\n        Currency pairedCurrency;\n        uint24 fee;\n        int24 tickSpacing;\n        uint160 sqrtPriceX96;\n        int24 tickLower;\n        int24 tickUpper;\n        uint128 liquidity;\n        LaunchRegistry.Launch record;\n        uint256[] agentIds;\n        /// @dev Who shares the pool's LP fees with the network: the wallet that paid for the launch, or zero.\n        address requester;\n    }\n\n    /// @notice The swarm's share of every launch's supply: a constant, not a parameter. The other 90%\n    /// is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`.\n    uint16 public constant SWARM_BPS = 1000;\n\n    IPoolManager public immutable poolManager;\n    LaunchRegistry public immutable registry;\n    /// @notice The one address allowed to launch. It holds the key that spends; this holds nothing.\n    address public immutable deployer;\n\n    /// @dev Set for the duration of one `unlock`, so the callback knows what it is settling.\n    struct Seeding {\n        PoolKey key;\n        int24 tickLower;\n        int24 tickUpper;\n        uint128 liquidity;\n        address token;\n    }\n\n    constructor(IPoolManager poolManager_, address deployer_, LaunchFees fees_) PoolFees(fees_) {\n        poolManager = poolManager_;\n        deployer = deployer_;\n        // Created here rather than passed in, so that pairing the two is not a step anyone has to\n        // remember to get right. The registry takes writes from this factory and from nothing else,\n        // and it has no owner: there is no privileged action on a record that cannot be revised.\n        registry = new LaunchRegistry(address(this));\n    }\n\n    /// @notice Runs one launch, or reverts having done nothing.\n    function launch(LaunchParams calldata params)\n        external\n        returns (address token, address hook, address distributor)\n    {\n        if (msg.sender != deployer) revert NotDeployer();\n        if (registry.isRecorded(params.launchNumber)) revert AlreadyLaunched(params.launchNumber);\n        // Before this transaction the hook has no code, so an initialize callback cannot succeed.\n        // Its deployment and pool initialization share this transaction; outsiders cannot interleave.\n        if ((params.hookFlags & (HookFlags.BEFORE_INITIALIZE | HookFlags.AFTER_INITIALIZE)) == 0) {\n            revert InitializationCallbackRequired();\n        }\n\n        uint16 requesterBps = 10_000 - SWARM_BPS;\n        if (params.poolBps == 0 || params.poolBps > requesterBps) revert InvalidPoolShare(params.poolBps);\n        if (params.remainderTo == address(this)) revert RemainderRecipientMissing();\n\n        token = _deploy(params.tokenCreationCode, _launchSalt(params.launchNumber));\n        hook = _deploy(params.hookCreationCode, params.hookSalt);\n\n        // The pool manager checks this too and reverts on `initialize`. Checking it here costs one\n        // comparison and turns an opaque revert deep inside v4 into a named error naming both sides.\n        if (!HookFlags.matches(hook, params.hookFlags)) {\n            revert HookAddressMismatch(hook, params.hookFlags & HookFlags.ALL, HookFlags.flagsOf(hook));\n        }\n\n        // The token must mint its whole supply to whoever deployed it, which is this contract. A\n        // token that minted somewhere else would leave the splits below silently short, so the\n        // supply is checked as well as the balance: holding `totalSupply` proves nothing about a\n        // second mint to another wallet.\n        uint256 held = IERC20(token).balanceOf(address(this));\n        if (held != params.totalSupply || IERC20(token).totalSupply() != params.totalSupply) {\n            revert SupplyMismatch(params.totalSupply, held);\n        }\n\n        distributor = address(\n            new MerkleDistributor{salt: _launchSalt(params.launchNumber)}(\n                IERC20(token), address(this), fees, params.sweepDelaySeconds\n            )\n        );\n\n        // The swarm's tenth, whole, to the contributors' distributor.\n        uint256 contributorPool = (params.totalSupply * SWARM_BPS) / 10_000;\n        IERC20(token).safeTransfer(distributor, contributorPool);\n        // The factory opens this one round and can open no other; the distributor answers to the\n        // chain's treasury from here on, and nobody can sweep it before its delay is up.\n        MerkleDistributor(distributor).openRound(params.merkleRoot, contributorPool, params.contributorLockSeconds);\n\n        PoolKey memory key = _seedRequesterPool(params, token, hook);\n        _openPosition(params.launchNumber, key, params.tickLower, params.tickUpper, params.requester);\n        _record(params, token, hook, distributor);\n\n        emit Launched(params.launchNumber, token, hook, distributor, params.liquidity);\n    }\n\n    /// @dev Creates and seeds the pool with at most the requester's pool share, and sends what the\n    /// swarm and the pool leave to the requester. The balance is read around the seed on purpose:\n    /// what the pool took is the honest measure of its share. The seed's external calls cannot\n    /// re-enter a launch (only the deployer launches, and `unlockCallback` answers only the pool\n    /// manager), so the reading is not attackable.\n    // slither-disable-start reentrancy-balance\n    function _seedRequesterPool(LaunchParams calldata params, address token, address hook) private returns (PoolKey memory key) {\n        key = _poolKey(token, hook, params);\n        // The seed is the launched token only. Anything this factory holds in the paired currency\n        // is fees owed to other requesters and the network (`PoolFees`), so the seed must not spend\n        // it — whether a hook returns a delta, moves the empty pool's price from its initialize\n        // callback, or the range simply straddles the price. Read before `initialize`, because the\n        // hook's initialize callback is the first code that could move it.\n        uint256 pairedBefore = params.pairedCurrency.balanceOfSelf();\n        poolManager.initialize(key, params.sqrtPriceX96);\n        if (params.liquidity == 0) revert NoLiquiditySeeded();\n        uint256 before = IERC20(token).balanceOf(address(this));\n        poolManager.unlock(\n            abi.encode(\n                Seeding({\n                    key: key,\n                    tickLower: params.tickLower,\n                    tickUpper: params.tickUpper,\n                    liquidity: params.liquidity,\n                    token: token\n                })\n            )\n        );\n        uint256 taken = before - IERC20(token).balanceOf(address(this));\n        uint256 allowed = (params.totalSupply * params.poolBps) / 10_000;\n        if (taken > allowed) revert PoolShareExceeded(allowed, taken);\n        uint256 pairedAfter = params.pairedCurrency.balanceOfSelf();\n        if (pairedAfter < pairedBefore) revert PairedCurrencySpent(pairedBefore, pairedAfter);\n        uint256 remainder = IERC20(token).balanceOf(address(this));\n        if (remainder > 0) IERC20(token).safeTransfer(params.remainderTo == address(0) ? fees.treasury() : params.remainderTo, remainder);\n    }\n    // slither-disable-end reentrancy-balance\n\n    /// @notice Settles the liquidity this factory just added.\n    /// @dev v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed\n    /// to us. Both directions are handled rather than only the expected one — a hook that returns a\n    /// delta can turn \"we owe the pool\" into \"the pool owes us\", and an implementation that only\n    /// knew how to pay would strand tokens inside the manager.\n    function unlockCallback(bytes calldata data) external override returns (bytes memory) {\n        if (msg.sender != address(poolManager)) revert NotPoolManager();\n        if (_claiming()) return _collect(data);\n\n        Seeding memory seeding = abi.decode(data, (Seeding));\n\n        (BalanceDelta delta,) = poolManager.modifyLiquidity(\n            seeding.key,\n            ModifyLiquidityParams({\n                tickLower: seeding.tickLower,\n                tickUpper: seeding.tickUpper,\n                liquidityDelta: int256(uint256(seeding.liquidity)),\n                salt: bytes32(0)\n            }),\n            \"\"\n        );\n\n        _settle(seeding.key.currency0, delta.amount0());\n        _settle(seeding.key.currency1, delta.amount1());\n\n        return \"\";\n    }\n\n    function _manager() internal view override returns (IPoolManager) {\n        return poolManager;\n    }\n\n    /// @dev Pays what is owed, or takes what is owed to us. Zero is neither.\n    function _settle(Currency currency, int128 amount) private {\n        if (amount < 0) {\n            uint256 due = uint256(uint128(-amount));\n            poolManager.sync(currency);\n            if (currency.isAddressZero()) {\n                poolManager.settle{value: due}();\n            } else {\n                IERC20(Currency.unwrap(currency)).safeTransfer(address(poolManager), due);\n                poolManager.settle();\n            }\n        } else if (amount > 0) {\n            poolManager.take(currency, address(this), uint256(uint128(amount)));\n        }\n    }\n\n    /// @dev v4 requires the pair sorted by address, and the caller does not get to decide the order.\n    /// The hook is the one this transaction just deployed — not an address the caller supplies, which\n    /// would let a launch attest one hook and pool against another.\n    function _poolKey(address token, address hook, LaunchParams calldata params)\n        private\n        pure\n        returns (PoolKey memory)\n    {\n        Currency launched = Currency.wrap(token);\n        Currency paired = params.pairedCurrency;\n\n        (Currency currency0, Currency currency1) =\n            Currency.unwrap(launched) < Currency.unwrap(paired) ? (launched, paired) : (paired, launched);\n\n        if (Currency.unwrap(currency0) >= Currency.unwrap(currency1)) revert CurrencyNotSorted();\n\n        return PoolKey({\n            currency0: currency0,\n            currency1: currency1,\n            fee: params.fee,\n            tickSpacing: params.tickSpacing,\n            hooks: IHooks(hook)\n        });\n    }\n\n    function _record(LaunchParams calldata params, address token, address hook, address distributor)\n        private\n    {\n        LaunchRegistry.Artifact[] memory artifacts = new LaunchRegistry.Artifact[](3);\n        artifacts[0] = LaunchRegistry.Artifact(\"token\", \"token\", token);\n        artifacts[1] = LaunchRegistry.Artifact(\"hook\", \"hook\", hook);\n        artifacts[2] = LaunchRegistry.Artifact(\"distributor\", \"distributor\", distributor);\n\n        LaunchRegistry.Launch memory entry = params.record;\n        entry.launchNumber = params.launchNumber;\n        entry.kind = params.kind;\n\n        registry.record(entry, artifacts, params.agentIds);\n    }\n\n    /// @dev CREATE2 so every address is knowable before anything is sent, which is what makes a\n    /// crashed deployer recoverable rather than expensive.\n    function _deploy(bytes memory creationCode, bytes32 salt) private returns (address deployed) {\n        assembly (\"memory-safe\") {\n            deployed := create2(0, add(creationCode, 0x20), mload(creationCode), salt)\n        }\n        if (deployed == address(0)) revert DeploymentFailed();\n    }\n\n    /// @dev The salt for everything a launch deploys that nobody has to mine: the token and the\n    /// distributor. The hook's salt is mined off chain for its flags and taken exactly as given.\n    function _launchSalt(uint64 launchNumber) private pure returns (bytes32) {\n        return bytes32(uint256(launchNumber));\n    }\n\n    /// @notice The distributor's creation-code hash, so the deployer can report the distributor as an\n    /// artifact the way the project factory's launches report theirs.\n    function distributorCreationCodeHash() external pure returns (bytes32) {\n        return keccak256(type(MerkleDistributor).creationCode);\n    }\n\n    /// @notice Where a launch's token will land, before it exists.\n    /// @dev The whole idempotency story: the deployer predicts, checks for code, and skips a launch\n    /// that already happened rather than paying for it twice.\n    function predictToken(uint64 launchNumber, bytes calldata tokenCreationCode)\n        external\n        view\n        returns (address)\n    {\n        return _predict(_launchSalt(launchNumber), tokenCreationCode);\n    }\n\n    /// @notice Where a launch's hook will land, for the salt the deployer mined.\n    /// @dev The salt is taken exactly as `launch` takes it. One `predict` for both used to read a\n    /// zero salt as \"none given, use the launch number\" — a fine default for a token and a wrong\n    /// answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry,\n    /// and it was the one value for which the prediction and the deployment disagreed.\n    function predictHook(bytes calldata hookCreationCode, bytes32 hookSalt)\n        external\n        view\n        returns (address)\n    {\n        return _predict(hookSalt, hookCreationCode);\n    }\n\n    /// @dev CREATE2 as the EVM computes it, with this factory as the deployer.\n    function _predict(bytes32 salt, bytes calldata creationCode) private view returns (address) {\n        return address(\n            uint160(\n                uint256(\n                    keccak256(\n                        abi.encodePacked(bytes1(0xff), address(this), salt, keccak256(creationCode))\n                    )\n                )\n            )\n        );\n    }\n\n    receive() external payable {}\n}\n"},"src/LaunchRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @title The public record of everything this network has launched\n/// @notice One entry per launch: what was deployed, from which tree, attested by whom, and by which\n/// agents. The off-chain `launches` table stays the operational source of truth; this is the\n/// tamper-evident public one, and it is what makes the provenance story legible to someone who does\n/// not trust our API.\n///\n/// @dev Deliberately generic. Nothing in it says \"hook\": artifacts carry a role rather than a\n/// column, so a launch kind that deploys something else entirely is a new recipe rather than a new\n/// registry. `writer` is the only address that may record, and it is set once at construction to the\n/// factory — a registry anyone could write to is a registry that records nothing.\ncontract LaunchRegistry {\n    struct Artifact {\n        /// @dev `token`, `hook`, `distributor`, `other` — matched to `launch_artifacts.role`.\n        bytes32 role;\n        bytes32 name;\n        address addr;\n    }\n\n    struct Launch {\n        bytes32 kind;\n        /// @dev Position in the network's launch history, carried over from the job that produced it.\n        uint64 launchNumber;\n        uint64 recordedAt;\n        /// @dev Git commit of the delivered tree, and the hash of the document that attested it.\n        bytes32 sourceCommit;\n        bytes32 manifestHash;\n        bytes32 attestationHash;\n        /// @dev Ed25519 public key of the verifier that signed the attestation.\n        bytes32 verifierKey;\n        string sourceRepoUrl;\n    }\n\n    error NotWriter();\n    error AlreadyRecorded(uint64 launchNumber);\n    error NoArtifacts();\n\n    event LaunchRecorded(\n        uint64 indexed launchNumber,\n        bytes32 indexed kind,\n        bytes32 sourceCommit,\n        bytes32 attestationHash,\n        address[] artifacts,\n        uint256[] agentIds\n    );\n\n    /// @notice The only address that may record a launch. Immutable, and it is the factory.\n    address public immutable writer;\n\n    mapping(uint64 launchNumber => Launch) private _launches;\n    mapping(uint64 launchNumber => Artifact[]) private _artifacts;\n    mapping(uint64 launchNumber => uint256[]) private _agentIds;\n\n    uint64 public count;\n\n    constructor(address writer_) {\n        writer = writer_;\n    }\n\n    /// @notice Records one launch, once.\n    /// @dev Re-recording is refused rather than overwritten. This is the public record; a version of\n    /// it that the writer could quietly revise would be worth exactly as much as our word alone,\n    /// which is the thing it exists to not require.\n    function record(\n        Launch calldata launch,\n        Artifact[] calldata artifacts,\n        uint256[] calldata agentIds\n    ) external {\n        if (msg.sender != writer) revert NotWriter();\n        if (_launches[launch.launchNumber].recordedAt != 0) revert AlreadyRecorded(launch.launchNumber);\n        if (artifacts.length == 0) revert NoArtifacts();\n\n        _launches[launch.launchNumber] = launch;\n        _launches[launch.launchNumber].recordedAt = uint64(block.timestamp);\n\n        address[] memory addresses = new address[](artifacts.length);\n        for (uint256 i = 0; i < artifacts.length; i++) {\n            _artifacts[launch.launchNumber].push(artifacts[i]);\n            addresses[i] = artifacts[i].addr;\n        }\n\n        for (uint256 i = 0; i < agentIds.length; i++) {\n            _agentIds[launch.launchNumber].push(agentIds[i]);\n        }\n\n        count++;\n\n        emit LaunchRecorded(\n            launch.launchNumber,\n            launch.kind,\n            launch.sourceCommit,\n            launch.attestationHash,\n            addresses,\n            agentIds\n        );\n    }\n\n    function launchOf(uint64 launchNumber) external view returns (Launch memory) {\n        return _launches[launchNumber];\n    }\n\n    function artifactsOf(uint64 launchNumber) external view returns (Artifact[] memory) {\n        return _artifacts[launchNumber];\n    }\n\n    function agentsOf(uint64 launchNumber) external view returns (uint256[] memory) {\n        return _agentIds[launchNumber];\n    }\n\n    /// @notice Whether a launch number has been recorded. Cheaper than reading the whole struct.\n    function isRecorded(uint64 launchNumber) external view returns (bool) {\n        return _launches[launchNumber].recordedAt != 0;\n    }\n}\n"},"src/MerkleDistributor.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 {MerkleProof} from \"@openzeppelin/contracts/utils/cryptography/MerkleProof.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {LaunchFees} from \"./LaunchFees.sol\";\n\n/// @title Contributor allocations for one launch\n/// @notice Funded inside the launch transaction with the contributor pool, and claimed rather than\n/// pushed. On mainnet that is the difference between one transaction per launch and one per\n/// contributor; it also means a dead or wrong address costs nothing, and unclaimed value is\n/// recoverable rather than burnt.\n///\n/// @dev Rounds rather than a single root, so a remediation job can be paid later without deploying a\n/// second contract. Each round has its own root and its own funding; a leaf is `(account, amount)`\n/// and carries no index, because OpenZeppelin's `StandardMerkleTree` double-hashes and sorts pairs,\n/// so a leaf is identified by its content. One fewer thing for the two sides to agree on, on the\n/// path where disagreeing means a contributor cannot be paid.\n///\n/// Nobody owns it. The factory that made it opens its first round in the launch transaction and\n/// can open no other; later rounds are the treasury's, and the treasury is whatever the chain's\n/// `LaunchFees` names when it is asked, so moving it there moves it here. Unclaimed value goes to\n/// that treasury once a round's sweep delay is up, and anyone may send it: it can go nowhere else.\ncontract MerkleDistributor is ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    error NotOpener();\n    error AlreadyClaimed();\n    error InvalidProof();\n    error NoSuchRound();\n    error StillLocked(uint64 unlocksAt);\n    error SweepTooEarly(uint64 sweepableAt);\n    error EmptyRoot();\n    error RoundClosed();\n    error InsufficientFunding();\n    error InsufficientRoundBalance();\n\n    event RoundOpened(uint256 indexed round, bytes32 root, uint256 funded, uint64 unlocksAt);\n    event Claimed(uint256 indexed round, address indexed account, uint256 amount);\n    event Swept(address indexed to, uint256 amount);\n\n    struct Round {\n        bytes32 root;\n        uint256 funded;\n        uint256 claimed;\n        /// @dev Contributor allocations vest as a cliff. A fresh launch whose worker allocations are\n        /// instantly liquid prices itself down at birth, which costs the contributors it was meant\n        /// to pay.\n        uint64 unlocksAt;\n    }\n\n    IERC20 public immutable token;\n    /// @notice The factory that made it: it may open the first round, and nothing after.\n    address public immutable opener;\n    /// @notice The chain's fee settings, which name the treasury.\n    LaunchFees public immutable fees;\n    /// @notice How long after a round opens before what is left may be swept. Never before the round\n    /// unlocks, whatever this says: see `sweep`.\n    uint64 public immutable sweepDelay;\n\n    Round[] private _rounds;\n    mapping(uint256 round => mapping(address account => bool)) public claimed;\n    mapping(uint256 round => uint64) public openedAt;\n    mapping(uint256 round => bool) public swept;\n    /// @notice Tokens still owed by all open rounds. A new round must have its own funding.\n    uint256 public reserved;\n\n    constructor(IERC20 token_, address opener_, LaunchFees fees_, uint64 sweepDelay_) {\n        token = token_;\n        opener = opener_;\n        fees = fees_;\n        sweepDelay = sweepDelay_;\n    }\n\n    /// @notice Where unclaimed value goes, and who may open a later round: the chain's treasury now.\n    function treasury() public view returns (address) {\n        return fees.treasury();\n    }\n\n    /// @notice Opens a round against tokens this contract already holds.\n    /// @dev Funding is checked rather than pulled: the launch transaction transfers the contributor\n    /// pool in and opens the round in the same call, and a distributor that could pull would need an\n    /// allowance from something that has one.\n    function openRound(bytes32 root, uint256 funded, uint64 lockSeconds)\n        external\n        nonReentrant\n        returns (uint256 round)\n    {\n        if (msg.sender != treasury() && (msg.sender != opener || _rounds.length != 0)) revert NotOpener();\n        if (root == bytes32(0)) revert EmptyRoot();\n        if (token.balanceOf(address(this)) < reserved + funded) revert InsufficientFunding();\n        reserved += funded;\n\n        round = _rounds.length;\n        _rounds.push(\n            Round({\n                root: root,\n                funded: funded,\n                claimed: 0,\n                unlocksAt: uint64(block.timestamp) + lockSeconds\n            })\n        );\n        openedAt[round] = uint64(block.timestamp);\n\n        emit RoundOpened(round, root, funded, _rounds[round].unlocksAt);\n    }\n\n    /// @notice Claims one allocation.\n    /// @dev Anyone may submit the proof, but the tokens only ever go to the account in the leaf. That\n    /// lets us pay the gas for a contributor who has none without being able to redirect what they\n    /// are owed.\n    function claim(uint256 round, address account, uint256 amount, bytes32[] calldata proof) external nonReentrant {\n        if (round >= _rounds.length) revert NoSuchRound();\n        Round storage current = _rounds[round];\n\n        if (swept[round]) revert RoundClosed();\n        if (block.timestamp < current.unlocksAt) revert StillLocked(current.unlocksAt);\n        if (claimed[round][account]) revert AlreadyClaimed();\n\n        // Double hashing is what makes a leaf unforgeable as an internal node — the shape\n        // OpenZeppelin's StandardMerkleTree produces, and what our off-chain tree builds.\n        bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(account, amount))));\n        if (!MerkleProof.verifyCalldata(proof, current.root, leaf)) revert InvalidProof();\n        if (amount > current.funded - current.claimed) revert InsufficientRoundBalance();\n\n        claimed[round][account] = true;\n        current.claimed += amount;\n        reserved -= amount;\n\n        token.safeTransfer(account, amount);\n        if (token.balanceOf(address(this)) < reserved) revert InsufficientFunding();\n        emit Claimed(round, account, amount);\n    }\n\n    /// @notice Sends what a round's claimants never took to the treasury. Anyone may call it once the\n    /// round's delay is up: the tokens can go only to the treasury `LaunchFees` names at that moment.\n    /// @dev `block.timestamp` is compared here and in `claim`, which the linter flags. It is the\n    /// right clock for both: a validator can move it by seconds, and these windows are a six-month\n    /// lock and a one-year sweep delay. Block numbers would be worse — they drift against wall time,\n    /// and a lock a contributor was told lasts six months should last six months.\n    /// @dev Deliberately late and deliberately to one address, the network's treasury. Unclaimed value that can never be\n    /// recovered is a slow leak; unclaimed value that can be recovered early is a reason not to\n    /// trust the distributor at all.\n    /// @dev Never before the round unlocks, whichever of the two clocks runs later. The delay counts\n    /// from the round opening and is one number the deployer sets for every launch; the lock is\n    /// another, set per launch by policy; nothing checks one against the other, and a lock longer\n    /// than the delay would otherwise let the treasury empty a round no contributor could yet touch.\n    /// Waited out here rather than refused in `openRound`: a long lock is a legitimate choice and\n    /// not a mistake, and refusing it would revert the whole launch over a constant somebody has to\n    /// go and change, when the only correct answer to it is to wait.\n    function sweep(uint256 round) external nonReentrant returns (uint256 amount) {\n        if (round >= _rounds.length) revert NoSuchRound();\n        if (swept[round]) revert RoundClosed();\n        Round storage current = _rounds[round];\n\n        uint64 sweepableAt = openedAt[round] + sweepDelay;\n        uint64 unlocksAt = current.unlocksAt;\n        if (unlocksAt > sweepableAt) sweepableAt = unlocksAt;\n        if (block.timestamp < sweepableAt) revert SweepTooEarly(sweepableAt);\n\n        // Close the old proofs before paying out, and leave every other round's tokens in place.\n        amount = current.funded - current.claimed;\n        swept[round] = true;\n        reserved -= amount;\n        address to = treasury();\n        if (amount > 0) token.safeTransfer(to, amount);\n        if (token.balanceOf(address(this)) < reserved) revert InsufficientFunding();\n        emit Swept(to, amount);\n    }\n\n    function roundCount() external view returns (uint256) {\n        return _rounds.length;\n    }\n\n    function roundOf(uint256 round) external view returns (Round memory) {\n        if (round >= _rounds.length) revert NoSuchRound();\n        return _rounds[round];\n    }\n}\n"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/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"},"lib/openzeppelin-contracts/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"},"lib/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"},"lib/openzeppelin-contracts/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"},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for the callback executed when an address unlocks the pool manager\ninterface IUnlockCallback {\n    /// @notice Called by the pool manager on `msg.sender` when the manager is unlocked\n    /// @param data The data that was passed to the call to unlock\n    /// @return Any data that you want to be returned from the unlock call\n    function unlockCallback(bytes calldata data) external returns (bytes memory);\n}\n"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n"},"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/cryptography/Hashes.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of standard hash functions.\n *\n * _Available since v5.1._\n */\nlibrary Hashes {\n    /**\n     * @dev Commutative Keccak256 hash of a sorted pair of bytes32. Frequently used when working with merkle proofs.\n     *\n     * NOTE: Equivalent to the `standardNodeHash` in our https://github.com/OpenZeppelin/merkle-tree[JavaScript library].\n     */\n    function commutativeKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32) {\n        return a < b ? efficientKeccak256(a, b) : efficientKeccak256(b, a);\n    }\n\n    /**\n     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.\n     */\n    function efficientKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32 value) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, a)\n            mstore(0x20, b)\n            value := keccak256(0x00, 0x40)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.7.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\nimport {IERC20Metadata} from \"../../../interfaces/IERC20Metadata.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    /// @dev Attempts to fetch the token decimals. A return value of false indicates that the attempt failed in some way.\n    function tryGetDecimals(IERC20 token) internal view returns (bool success, uint8 decimals) {\n        bytes4 selector = IERC20Metadata.decimals.selector;\n        assembly (\"memory-safe\") {\n            mstore(0x00, selector)\n            success := staticcall(gas(), token, 0x00, 4, 0x00, 0x20)\n            success := and(and(success, gt(returndatasize(), 0x1f)), lt(mload(0x00), 0x100))\n            decimals := mul(success, mload(0x00))\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 approve\n     * @param bubble Behavior switch if the approve 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"},"lib/openzeppelin-contracts/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"},"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/cryptography/MerkleProof.sol)\n// This file was procedurally generated from scripts/generate/templates/MerkleProof.js.\n\npragma solidity ^0.8.20;\n\nimport {Hashes} from \"./Hashes.sol\";\n\n/**\n * @dev These functions deal with verification of Merkle Tree proofs.\n *\n * The tree and the proofs can be generated using our\n * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].\n * You will find a quickstart guide in the readme.\n *\n * WARNING: You should avoid using leaf values that are 64 bytes long prior to\n * hashing, or use a hash function other than keccak256 for hashing leaves.\n * This is because the concatenation of a sorted pair of internal nodes in\n * the Merkle tree could be reinterpreted as a leaf value.\n * OpenZeppelin's JavaScript library generates Merkle trees that are safe\n * against this attack out of the box.\n *\n * IMPORTANT: Consider memory side-effects when using custom hashing functions\n * that access memory in an unsafe way.\n *\n * NOTE: This library supports proof verification for merkle trees built using\n * custom _commutative_ hashing functions (i.e. `H(a, b) == H(b, a)`). Proving\n * leaf inclusion in trees built using non-commutative hashing functions requires\n * additional logic that is not supported by this library.\n */\nlibrary MerkleProof {\n    /**\n     * @dev The multiproof provided is not valid.\n     */\n    error MerkleProofInvalidMultiproof();\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with the default hashing function.\n     */\n    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {\n        return processProof(proof, leaf) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with the default hashing function.\n     */\n    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with a custom hashing function.\n     */\n    function verify(\n        bytes32[] memory proof,\n        bytes32 root,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processProof(proof, leaf, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in memory with a custom hashing function.\n     */\n    function processProof(\n        bytes32[] memory proof,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = hasher(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with the default hashing function.\n     */\n    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {\n        return processProofCalldata(proof, leaf) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with the default hashing function.\n     */\n    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n     * defined by `root`. For this, a `proof` must be provided, containing\n     * sibling hashes on the branch from the leaf to the root of the tree. Each\n     * pair of leaves and each pair of pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with a custom hashing function.\n     */\n    function verifyCalldata(\n        bytes32[] calldata proof,\n        bytes32 root,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processProofCalldata(proof, leaf, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up\n     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n     * hash matches the root of the tree. When processing the proof, the pairs\n     * of leaves & pre-images are assumed to be sorted.\n     *\n     * This version handles proofs in calldata with a custom hashing function.\n     */\n    function processProofCalldata(\n        bytes32[] calldata proof,\n        bytes32 leaf,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32) {\n        bytes32 computedHash = leaf;\n        for (uint256 i = 0; i < proof.length; i++) {\n            computedHash = hasher(computedHash, proof[i]);\n        }\n        return computedHash;\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in memory with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProof}.\n     */\n    function multiProofVerify(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves\n    ) internal pure returns (bool) {\n        return processMultiProof(proof, proofFlags, leaves) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in memory with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProof(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32[] memory leaves\n    ) internal pure returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = Hashes.commutativeKeccak256(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in memory with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProof}.\n     */\n    function multiProofVerify(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processMultiProof(proof, proofFlags, leaves, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in memory with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProof(\n        bytes32[] memory proof,\n        bool[] memory proofFlags,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = hasher(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in calldata with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProofCalldata}.\n     */\n    function multiProofVerifyCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves\n    ) internal pure returns (bool) {\n        return processMultiProofCalldata(proof, proofFlags, leaves) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in calldata with the default hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProofCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32[] memory leaves\n    ) internal pure returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = Hashes.commutativeKeccak256(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n\n    /**\n     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by\n     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.\n     *\n     * This version handles multiproofs in calldata with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.\n     *\n     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.\n     * The `leaves` must be validated independently. See {processMultiProofCalldata}.\n     */\n    function multiProofVerifyCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32 root,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bool) {\n        return processMultiProofCalldata(proof, proofFlags, leaves, hasher) == root;\n    }\n\n    /**\n     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction\n     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another\n     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false\n     * respectively.\n     *\n     * This version handles multiproofs in calldata with a custom hashing function.\n     *\n     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree\n     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the\n     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).\n     *\n     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,\n     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not\n     * validating the leaves elsewhere.\n     */\n    function processMultiProofCalldata(\n        bytes32[] calldata proof,\n        bool[] calldata proofFlags,\n        bytes32[] memory leaves,\n        function(bytes32, bytes32) view returns (bytes32) hasher\n    ) internal view returns (bytes32 merkleRoot) {\n        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by\n        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the\n        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of\n        // the Merkle tree.\n        uint256 leavesLen = leaves.length;\n        uint256 proofFlagsLen = proofFlags.length;\n\n        // Check proof validity.\n        if (leavesLen + proof.length != proofFlagsLen + 1) {\n            revert MerkleProofInvalidMultiproof();\n        }\n\n        if (proofFlagsLen > 0) {\n            // The xxxPos values are \"pointers\" to the next value to consume in each array. All accesses are done using\n            // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's \"pop\".\n            bytes32[] memory hashes = new bytes32[](proofFlagsLen);\n            uint256 leafPos = 0;\n            uint256 hashPos = 0;\n            uint256 proofPos = 0;\n            // At each step, we compute the next hash using two values:\n            // - a value from the \"main queue\". If not all leaves have been consumed, we get the next leaf, otherwise we\n            //   get the next hash.\n            // - depending on the flag, either another value from the \"main queue\" (merging branches) or an element from the\n            //   `proof` array.\n            for (uint256 i = 0; i < proofFlagsLen; i++) {\n                bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];\n                bytes32 b = proofFlags[i]\n                    ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])\n                    : proof[proofPos++];\n                hashes[i] = hasher(a, b);\n            }\n            if (proofPos != proof.length) {\n                revert MerkleProofInvalidMultiproof();\n            }\n            unchecked {\n                return hashes[proofFlagsLen - 1];\n            }\n        } else if (leavesLen > 0) {\n            return leaves[0];\n        } else {\n            return proof[0];\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/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":false,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","forge-std/=lib/forge-std/src/","solmate/=lib/solmate/","v4-core/=lib/v4-core/","@ensdomains/=lib/v4-core/node_modules/@ensdomains/","@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/","ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/","hardhat/=lib/v4-core/node_modules/hardhat/","openzeppelin-contracts/=lib/openzeppelin-contracts/"]}},"stdJsonOutput":{"sources":{"src/PoolFees.sol":{"id":36},"src/HookFlags.sol":{"id":31},"src/LaunchFees.sol":{"id":33},"src/LaunchFactory.sol":{"id":32},"src/LaunchRegistry.sol":{"id":34},"src/MerkleDistributor.sol":{"id":35},"lib/v4-core/src/types/PoolId.sol":{"id":28},"lib/v4-core/src/types/PoolKey.sol":{"id":29},"lib/v4-core/src/types/Currency.sol":{"id":27},"lib/v4-core/src/interfaces/IHooks.sol":{"id":17},"lib/v4-core/src/libraries/SafeCast.sol":{"id":24},"lib/v4-core/src/types/BalanceDelta.sol":{"id":25},"lib/v4-core/src/types/PoolOperation.sol":{"id":30},"lib/v4-core/src/interfaces/IExtsload.sol":{"id":15},"lib/v4-core/src/interfaces/IExttload.sol":{"id":16},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"id":26},"lib/v4-core/src/libraries/CustomRevert.sol":{"id":23},"lib/v4-core/src/interfaces/IPoolManager.sol":{"id":18},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"id":19},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":21},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":9},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":22},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"id":20},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":11},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":6},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"id":1},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"id":2},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"id":10},"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol":{"id":12},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":8},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol":{"id":13},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":7}},"contracts":{"src/LaunchFactory.sol":{"LaunchFactory":{"abi":[{"type":"constructor","inputs":[{"name":"poolManager_","type":"address","internalType":"contract IPoolManager"},{"name":"deployer_","type":"address","internalType":"address"},{"name":"fees_","type":"address","internalType":"contract LaunchFees"}],"stateMutability":"nonpayable"},{"name":"AlreadyLaunched","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"ClaimInProgress","type":"error","inputs":[]},{"name":"CurrencyNotSorted","type":"error","inputs":[]},{"name":"DeploymentFailed","type":"error","inputs":[]},{"name":"HookAddressMismatch","type":"error","inputs":[{"name":"predicted","type":"address","internalType":"address"},{"name":"wanted","type":"uint160","internalType":"uint160"},{"name":"got","type":"uint160","internalType":"uint160"}]},{"name":"HookTookFees","type":"error","inputs":[{"name":"amount0","type":"int128","internalType":"int128"},{"name":"amount1","type":"int128","internalType":"int128"}]},{"name":"InitializationCallbackRequired","type":"error","inputs":[]},{"name":"InvalidPoolShare","type":"error","inputs":[{"name":"poolBps","type":"uint16","internalType":"uint16"}]},{"name":"NoLiquiditySeeded","type":"error","inputs":[]},{"name":"NoPosition","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"NotDeployer","type":"error","inputs":[]},{"name":"NotPoolManager","type":"error","inputs":[]},{"name":"NotRequester","type":"error","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}]},{"name":"PairedCurrencySpent","type":"error","inputs":[{"name":"before","type":"uint256","internalType":"uint256"},{"name":"afterSeed","type":"uint256","internalType":"uint256"}]},{"name":"PoolShareExceeded","type":"error","inputs":[{"name":"allowed","type":"uint256","internalType":"uint256"},{"name":"taken","type":"uint256","internalType":"uint256"}]},{"name":"RemainderRecipientMissing","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SupplyMismatch","type":"error","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"held","type":"uint256","internalType":"uint256"}]},{"name":"UnexpectedClaim","type":"error","inputs":[]},{"name":"ZeroRequester","type":"error","inputs":[]},{"name":"FeesClaimed","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"caller","type":"address","indexed":true,"internalType":"address"},{"name":"amount0","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amount1","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesOwed","type":"event","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"currency","type":"address","indexed":true,"internalType":"Currency"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesPaid","type":"event","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"currency","type":"address","indexed":true,"internalType":"Currency"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Launched","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"hook","type":"address","indexed":true,"internalType":"address"},{"name":"distributor","type":"address","indexed":false,"internalType":"address"},{"name":"liquiditySeeded","type":"uint128","indexed":false,"internalType":"uint128"}],"anonymous":false},{"name":"PositionOpened","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"requester","type":"address","indexed":true,"internalType":"address"},{"name":"tickLower","type":"int24","indexed":false,"internalType":"int24"},{"name":"tickUpper","type":"int24","indexed":false,"internalType":"int24"}],"anonymous":false},{"name":"RequesterChanged","type":"event","inputs":[{"name":"launchNumber","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"previous","type":"address","indexed":true,"internalType":"address"},{"name":"next","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"SWARM_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"claimFees","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"amount0","type":"uint256","internalType":"uint256"},{"name":"amount1","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"deployer","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"distributorCreationCodeHash","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"fees","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract LaunchFees"}],"stateMutability":"view"},{"name":"launch","type":"function","inputs":[{"name":"params","type":"tuple","components":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"kind","type":"bytes32","internalType":"bytes32"},{"name":"tokenCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookSalt","type":"bytes32","internalType":"bytes32"},{"name":"hookFlags","type":"uint160","internalType":"uint160"},{"name":"totalSupply","type":"uint256","internalType":"uint256"},{"name":"poolBps","type":"uint16","internalType":"uint16"},{"name":"remainderTo","type":"address","internalType":"address"},{"name":"merkleRoot","type":"bytes32","internalType":"bytes32"},{"name":"contributorLockSeconds","type":"uint64","internalType":"uint64"},{"name":"sweepDelaySeconds","type":"uint64","internalType":"uint64"},{"name":"pairedCurrency","type":"address","internalType":"Currency"},{"name":"fee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"sqrtPriceX96","type":"uint160","internalType":"uint160"},{"name":"tickLower","type":"int24","internalType":"int24"},{"name":"tickUpper","type":"int24","internalType":"int24"},{"name":"liquidity","type":"uint128","internalType":"uint128"},{"name":"record","type":"tuple","components":[{"name":"kind","type":"bytes32","internalType":"bytes32"},{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"recordedAt","type":"uint64","internalType":"uint64"},{"name":"sourceCommit","type":"bytes32","internalType":"bytes32"},{"name":"manifestHash","type":"bytes32","internalType":"bytes32"},{"name":"attestationHash","type":"bytes32","internalType":"bytes32"},{"name":"verifierKey","type":"bytes32","internalType":"bytes32"},{"name":"sourceRepoUrl","type":"string","internalType":"string"}],"internalType":"struct LaunchRegistry.Launch"},{"name":"agentIds","type":"uint256[]","internalType":"uint256[]"},{"name":"requester","type":"address","internalType":"address"}],"internalType":"struct LaunchFactory.LaunchParams"}],"outputs":[{"name":"token","type":"address","internalType":"address"},{"name":"hook","type":"address","internalType":"address"},{"name":"distributor","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"networkOwed","type":"function","inputs":[{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owed","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolManager"}],"stateMutability":"view"},{"name":"positionOf","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"key","type":"tuple","components":[{"name":"currency0","type":"address","internalType":"Currency"},{"name":"currency1","type":"address","internalType":"Currency"},{"name":"fee","type":"uint24","internalType":"uint24"},{"name":"tickSpacing","type":"int24","internalType":"int24"},{"name":"hooks","type":"address","internalType":"contract IHooks"}],"internalType":"struct PoolKey"},{"name":"tickLower","type":"int24","internalType":"int24"},{"name":"tickUpper","type":"int24","internalType":"int24"},{"name":"requester","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictHook","type":"function","inputs":[{"name":"hookCreationCode","type":"bytes","internalType":"bytes"},{"name":"hookSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"predictToken","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"tokenCreationCode","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"registry","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract LaunchRegistry"}],"stateMutability":"view"},{"name":"setRequester","type":"function","inputs":[{"name":"launchNumber","type":"uint64","internalType":"uint64"},{"name":"next","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"unlockCallback","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawNetwork","type":"function","inputs":[{"name":"currency","type":"address","internalType":"Currency"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"poolManager_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"deployer_\",\"type\":\"address\"},{\"internalType\":\"contract LaunchFees\",\"name\":\"fees_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"}],\"name\":\"AlreadyLaunched\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimInProgress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurrencyNotSorted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeploymentFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"predicted\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"wanted\",\"type\":\"uint160\"},{\"internalType\":\"uint160\",\"name\":\"got\",\"type\":\"uint160\"}],\"name\":\"HookAddressMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"amount0\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"amount1\",\"type\":\"int128\"}],\"name\":\"HookTookFees\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitializationCallbackRequired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"poolBps\",\"type\":\"uint16\"}],\"name\":\"InvalidPoolShare\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoLiquiditySeeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"}],\"name\":\"NoPosition\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotDeployer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"}],\"name\":\"NotRequester\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"before\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"afterSeed\",\"type\":\"uint256\"}],\"name\":\"PairedCurrencySpent\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"allowed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"taken\",\"type\":\"uint256\"}],\"name\":\"PoolShareExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RemainderRecipientMissing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"held\",\"type\":\"uint256\"}],\"name\":\"SupplyMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroRequester\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"FeesClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesOwed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"hook\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquiditySeeded\",\"type\":\"uint128\"}],\"name\":\"Launched\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"PositionOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previous\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"next\",\"type\":\"address\"}],\"name\":\"RequesterChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"SWARM_BPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"}],\"name\":\"claimFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distributorCreationCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fees\",\"outputs\":[{\"internalType\":\"contract LaunchFees\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"tokenCreationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"hookCreationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"hookSalt\",\"type\":\"bytes32\"},{\"internalType\":\"uint160\",\"name\":\"hookFlags\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"poolBps\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"remainderTo\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"merkleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"contributorLockSeconds\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"sweepDelaySeconds\",\"type\":\"uint64\"},{\"internalType\":\"Currency\",\"name\":\"pairedCurrency\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"recordedAt\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"sourceCommit\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"manifestHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"attestationHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"verifierKey\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceRepoUrl\",\"type\":\"string\"}],\"internalType\":\"struct LaunchRegistry.Launch\",\"name\":\"record\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"agentIds\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"}],\"internalType\":\"struct LaunchFactory.LaunchParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"launch\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"hook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"networkOwed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"owed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"}],\"name\":\"positionOf\",\"outputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"hookCreationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"hookSalt\",\"type\":\"bytes32\"}],\"name\":\"predictHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"tokenCreationCode\",\"type\":\"bytes\"}],\"name\":\"predictToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract LaunchRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"launchNumber\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"next\",\"type\":\"address\"}],\"name\":\"setRequester\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"withdrawNetwork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Atomicity buys three separate things, and the third is the one that is easy to give away later for convenience: 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has    either done nothing or done everything. 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no    between. Splitting these into two transactions hands the first trade to whoever is watching    the mempool. 3. Idempotency. Every address is deterministic, so \\\"did I already do this\\\" is a code-size check    rather than a database question. This contract is immutable and permanent per chain: its address is an input to every CREATE2 address it produces, so redeploying it renames every launch the network has ever predicted. It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets: anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).\",\"errors\":{\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"kind\":\"dev\",\"methods\":{\"predictHook(bytes,bytes32)\":{\"details\":\"The salt is taken exactly as `launch` takes it. One `predict` for both used to read a zero salt as \\\"none given, use the launch number\\\" — a fine default for a token and a wrong answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry, and it was the one value for which the prediction and the deployment disagreed.\"},\"predictToken(uint64,bytes)\":{\"details\":\"The whole idempotency story: the deployer predicts, checks for code, and skips a launch that already happened rather than paying for it twice.\"},\"unlockCallback(bytes)\":{\"details\":\"v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed to us. Both directions are handled rather than only the expected one — a hook that returns a delta can turn \\\"we owe the pool\\\" into \\\"the pool owes us\\\", and an implementation that only knew how to pay would strand tokens inside the manager.\"}},\"title\":\"The whole launch, in one transaction\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"SWARM_BPS()\":{\"notice\":\"The swarm's share of every launch's supply: a constant, not a parameter. The other 90% is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`.\"},\"claimFees(uint64)\":{\"notice\":\"Collects one launch's accrued LP fees and pays both shares. Anyone may call it.\"},\"deployer()\":{\"notice\":\"The one address allowed to launch. It holds the key that spends; this holds nothing.\"},\"distributorCreationCodeHash()\":{\"notice\":\"The distributor's creation-code hash, so the deployer can report the distributor as an artifact the way the project factory's launches report theirs.\"},\"fees()\":{\"notice\":\"The network's fee recipient, read at every payout.\"},\"launch((uint64,bytes32,bytes,bytes,bytes32,uint160,uint256,uint16,address,bytes32,uint64,uint64,address,uint24,int24,uint160,int24,int24,uint128,(bytes32,uint64,uint64,bytes32,bytes32,bytes32,bytes32,string),uint256[],address))\":{\"notice\":\"Runs one launch, or reverts having done nothing.\"},\"networkOwed(address)\":{\"notice\":\"The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid.\"},\"owed(address,address)\":{\"notice\":\"What a payout could not deliver yet, by the address it belongs to and the currency.\"},\"positionOf(uint64)\":{\"notice\":\"A launch's pool, range and requester.\"},\"predictHook(bytes,bytes32)\":{\"notice\":\"Where a launch's hook will land, for the salt the deployer mined.\"},\"predictToken(uint64,bytes)\":{\"notice\":\"Where a launch's token will land, before it exists.\"},\"setRequester(uint64,address)\":{\"notice\":\"Hands the requester's share of a launch's future fees to another address. Only the current holder can; what was already paid or owed stays with the address it was owed to.\"},\"unlockCallback(bytes)\":{\"notice\":\"Settles the liquidity this factory just added.\"},\"withdraw(address,address)\":{\"notice\":\"Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`.\"},\"withdrawNetwork(address)\":{\"notice\":\"Pays the network's owed share in `currency` to the current recipient. Anyone may call it.\"}},\"notice\":\"Deploys the token and the hook at deterministic addresses, splits the supply per policy, initialises the pool, seeds it, funds the contributor distributor, and writes the public record — all or nothing.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/LaunchFactory.sol\":\"LaunchFactory\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=lib/v4-core/node_modules/@ensdomains/\",\":@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat/=lib/v4-core/node_modules/hardhat/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":solmate/=lib/solmate/\",\":v4-core/=lib/v4-core/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0\",\"dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100\",\"dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037\",\"dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d\",\"dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC20Metadata.sol\":{\"keccak256\":\"0xd735962e3d6660884153ba8a972b5f100dde4c482f2ff1c525ba7fdefb154cbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a264d17b093f585844b0d977e9f60555b8c8d6513b304fde863cdf652a0d336\",\"dweb:/ipfs/QmWXfaJisjVnrjTUjZGryZpMob9wKivvtbodLS3PTc1ttq\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e\",\"dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x318ea37780610ca7808852275651885d428669402b81488cb7434fde361e9704\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4aad80ad93cedad85619900fd7c2084c4d2f4b28f1dbda27e491c5f4fd31025d\",\"dweb:/ipfs/QmUyXtX7FUi2u1W5fs7ufka9XkRVb5ss2menQHTsrsSmqZ\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99\",\"dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N\"]},\"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol\":{\"keccak256\":\"0x8cbd338f083224b4b6f0ff42cbda641a0a6c31ffcdca197452b97fe4d0918269\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f517dec5ba0c6491395acbf7f1d621f4e89e8f218bf5303c867b1c5ad70c6b11\",\"dweb:/ipfs/QmWmXHRLEw8W6ckth7NyYTU88YfvuS7xSsfae5ksL8qNUe\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol\":{\"keccak256\":\"0x5e27273c7ebdbcfe7d2bad2866feb635a49db139abfe5643bdeacec4a0880225\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://715bf6d5198cacf619202a75333205b19ff267f14d40daa2f7afa363580b3c95\",\"dweb:/ipfs/QmZ5kVidhB3q767655WSqgsz6YBTop1tVo7akzEDRb2PQr\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"lib/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"lib/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"lib/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec\",\"dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G\"]},\"lib/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4\",\"dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi\"]},\"lib/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"lib/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"lib/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"lib/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"lib/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"lib/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"lib/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"lib/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"lib/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"lib/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"lib/v4-core/src/types/PoolOperation.sol\":{\"keccak256\":\"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07\",\"dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c\"]},\"src/HookFlags.sol\":{\"keccak256\":\"0xfe36a9f5227012995ab1ba3bb4d26422a87cba56d94cb646d9beb85fbd5eb76d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53d8c3ef5b04f5104cc6fb0f7c03401b78a815888e8e1614067a9ad80afff3f5\",\"dweb:/ipfs/QmY3JHbzmWQPs1ZSBoT1Vk6dJLwpbNNTizYq3NEz6BQac8\"]},\"src/LaunchFactory.sol\":{\"keccak256\":\"0x8ec28af5b1a6ae7cf8e79964a91117aacda5b4d2bda5b15fc4797cfdae6cf29b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc4d69bce805995f5858e32e192e64135921af75eeaad7c0f34d03b0a8d1f3b2\",\"dweb:/ipfs/QmNTxzyPu8U9cDTt3R7uL4MLvFMr4xtREGQ5UDSrS4kkmC\"]},\"src/LaunchFees.sol\":{\"keccak256\":\"0xb700cdd08cf8192d5f059302e46c1fd0ea1293db9ffb6fdda68778b8400eb4d5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f253103bd09ebb12ee6faca60c0ad070cf5a336712fa903dc0e004bb00857d2\",\"dweb:/ipfs/QmQxdC9CdLPM7PFk4tAswA2cFPmUXnhhZDGneC98Bminnm\"]},\"src/LaunchRegistry.sol\":{\"keccak256\":\"0x9076c4fa9e9b87c229b1022db3447f2c65607d60ebef7cc4a24bcc6192023a96\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edf65e28686a6e1f6b9a88f47e3505509584d5f9c01d0dab662e4f21f3d03d33\",\"dweb:/ipfs/QmZTMGWPaoLUJ5KpXZmzRpMy5xmWJ3vkJb8AdvFoXuuxio\"]},\"src/MerkleDistributor.sol\":{\"keccak256\":\"0xab1c4ad6264ad1da889274a164a22951fccac7a0a3d595efe77d5f00b32fe579\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7ee31d7b09124dc779010b8972ef39ea60174c7c50d191ef5ee604baa2a38d3\",\"dweb:/ipfs/QmYhUhXSikcjyTq6FrTkRHeSmK4aKY3WwmPWb5KPZSGoYp\"]},\"src/PoolFees.sol\":{\"keccak256\":\"0xc608ab5f9e8735620f28365529115d03633b84f3e1a851fab68a699dc3071970\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41a8a03d36111175dd1f2abdcb25243e29cc92cee5638457335e610f4dc11f7\",\"dweb:/ipfs/QmQRd1ecfPoFp4zK2bp6cauZ7YStD7fwqawNv15RcFBL8P\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"Deploys the token and the hook at deterministic addresses, splits the supply per policy, initialises the pool, seeds it, funds the contributor distributor, and writes the public record — all or nothing.","methods":{"fees()":{"notice":"The network's fee recipient, read at every payout."},"deployer()":{"notice":"The one address allowed to launch. It holds the key that spends; this holds nothing."},"SWARM_BPS()":{"notice":"The swarm's share of every launch's supply: a constant, not a parameter. The other 90% is the requester's: `poolBps` of the supply seeds the pool, the rest goes to `remainderTo`."},"claimFees(uint64)":{"notice":"Collects one launch's accrued LP fees and pays both shares. Anyone may call it."},"positionOf(uint64)":{"notice":"A launch's pool, range and requester."},"networkOwed(address)":{"notice":"The network's share not yet paid out, by currency: it belongs to whoever `fees` names when it is paid."},"owed(address,address)":{"notice":"What a payout could not deliver yet, by the address it belongs to and the currency."},"unlockCallback(bytes)":{"notice":"Settles the liquidity this factory just added."},"withdrawNetwork(address)":{"notice":"Pays the network's owed share in `currency` to the current recipient. Anyone may call it."},"withdraw(address,address)":{"notice":"Pays an account what an earlier payout could not. Anyone may call it; it pays only `account`."},"predictHook(bytes,bytes32)":{"notice":"Where a launch's hook will land, for the salt the deployer mined."},"predictToken(uint64,bytes)":{"notice":"Where a launch's token will land, before it exists."},"setRequester(uint64,address)":{"notice":"Hands the requester's share of a launch's future fees to another address. Only the current holder can; what was already paid or owed stays with the address it was owed to."},"distributorCreationCodeHash()":{"notice":"The distributor's creation-code hash, so the deployer can report the distributor as an artifact the way the project factory's launches report theirs."},"launch((uint64,bytes32,bytes,bytes,bytes32,uint160,uint256,uint16,address,bytes32,uint64,uint64,address,uint24,int24,uint160,int24,int24,uint128,(bytes32,uint64,uint64,bytes32,bytes32,bytes32,bytes32,string),uint256[],address))":{"notice":"Runs one launch, or reverts having done nothing."}},"version":1},"devdoc":{"kind":"dev","title":"The whole launch, in one transaction","errors":{"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"details":"Atomicity buys three separate things, and the third is the one that is easy to give away later for convenience: 1. Crash safety. There is no half-launch to reason about, so a deployer killed mid-flight has    either done nothing or done everything. 2. MEV safety. Nobody can trade between `initialize` and the first liquidity, because there is no    between. Splitting these into two transactions hands the first trade to whoever is watching    the mempool. 3. Idempotency. Every address is deterministic, so \"did I already do this\" is a code-size check    rather than a database question. This contract is immutable and permanent per chain: its address is an input to every CREATE2 address it produces, so redeploying it renames every launch the network has ever predicted. It keeps the liquidity it seeds, and with it the pool's LP fees, at whatever fee the hook sets: anyone can claim a launch's fees, which split between its requester and the network (`PoolFees`).","methods":{"unlockCallback(bytes)":{"details":"v4 hands back a signed delta per currency: negative is owed to the pool, positive is owed to us. Both directions are handled rather than only the expected one — a hook that returns a delta can turn \"we owe the pool\" into \"the pool owes us\", and an implementation that only knew how to pay would strand tokens inside the manager."},"predictHook(bytes,bytes32)":{"details":"The salt is taken exactly as `launch` takes it. One `predict` for both used to read a zero salt as \"none given, use the launch number\" — a fine default for a token and a wrong answer for a hook: the miner counts up from zero, so zero is a salt a launch can really carry, and it was the one value for which the prediction and the deployment disagreed."},"predictToken(uint64,bytes)":{"details":"The whole idempotency story: the deployer predicts, checks for code, and skips a launch that already happened rather than paying for it twice."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"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_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(IHooks)2553":{"label":"contract IHooks","encoding":"inplace","numberOfBytes":"20"},"t_struct(PoolKey)3959_storage":{"label":"struct PoolKey","members":[{"slot":"0","type":"t_userDefinedValueType(Currency)3613","astId":3944,"label":"currency0","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_userDefinedValueType(Currency)3613","astId":3948,"label":"currency1","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_uint24","astId":3951,"label":"fee","offset":20,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_int24","astId":3954,"label":"tickSpacing","offset":23,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"2","type":"t_contract(IHooks)2553","astId":3958,"label":"hooks","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"}],"encoding":"inplace","numberOfBytes":"96"},"t_struct(Position)6359_storage":{"label":"struct PoolFees.Position","members":[{"slot":"0","type":"t_struct(PoolKey)3959_storage","astId":6351,"label":"key","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_int24","astId":6353,"label":"tickLower","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_int24","astId":6355,"label":"tickUpper","offset":3,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_address","astId":6358,"label":"requester","offset":6,"contract":"src/LaunchFactory.sol:LaunchFactory"}],"encoding":"inplace","numberOfBytes":"128"},"t_userDefinedValueType(Currency)3613":{"label":"Currency","encoding":"inplace","numberOfBytes":"20"},"t_mapping(t_uint64,t_struct(Position)6359_storage)":{"key":"t_uint64","label":"mapping(uint64 => struct PoolFees.Position)","value":"t_struct(Position)6359_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)":{"key":"t_userDefinedValueType(Currency)3613","label":"mapping(Currency => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_userDefinedValueType(Currency)3613,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(Currency => uint256))","value":"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_uint64,t_struct(Position)6359_storage)","astId":6368,"label":"positions","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_userDefinedValueType(Currency)3613,t_uint256))","astId":6376,"label":"owed","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"2","type":"t_mapping(t_userDefinedValueType(Currency)3613,t_uint256)","astId":6382,"label":"networkOwed","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_uint64","astId":6385,"label":"claiming","offset":0,"contract":"src/LaunchFactory.sol:LaunchFactory"},{"slot":"3","type":"t_bool","astId":6387,"label":"inClaim","offset":8,"contract":"src/LaunchFactory.sol:LaunchFactory"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"610100604052348015610010575f80fd5b506040516153be3803806153be83398101604081905261002f916100b9565b6001600160a01b0380821660805283811660a052821660e052604051309061005690610095565b6001600160a01b039091168152602001604051809103905ff08015801561007f573d5f803e3d5ffd5b506001600160a01b031660c05250610103915050565b610e638061455b83390190565b6001600160a01b03811681146100b6575f80fd5b50565b5f805f606084860312156100cb575f80fd5b83516100d6816100a2565b60208501519093506100e7816100a2565b60408501519092506100f8816100a2565b809150509250925092565b60805160a05160c05160e0516143a76101b45f395f818161033a01526107de01525f81816101f9015281816108260152611fc001525f818161036d015281816106440152818161070a01528181610f63015281816111af0152818161143d015281816114a60152818161153c01528181611563015281816116260152818161177201526118ae01525f818161029f01528181610c2a01528181611b8d0152818161207001526121dd01526143a75ff3fe6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f0000000000000000000000000000000000000000000000000000000000000000610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f0000000000000000000000000000000000000000000000000000000000000000604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f00000000000000000000000000000000000000000000000000000000000000009091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f0000000000000000000000000000000000000000000000000000000000000000836116d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f00000000000000000000000000000000000000000000000000000000000000001690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a60a0604052348015600e575f80fd5b50604051610e63380380610e63833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f80fd5b81516001600160a01b0381168114605f575f80fd5b9392505050565b608051610dde6100855f395f818161011a01526102b30152610dde5ff3fe608060405234801561000f575f80fd5b506004361061007a575f3560e01c8063453a2abc11610058578063453a2abc1461011557806352476af414610154578063d913e89814610174578063e9698e1414610189575f80fd5b806306661abd1461007e5780632582d807146100ae578063343822ef146100f5575b5f80fd5b600354610091906001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b6100e56100bc3660046107b7565b6001600160401b039081165f90815260208190526040902060010154600160401b900416151590565b60405190151581526020016100a5565b6101086101033660046107b7565b6101a9565b6040516100a591906107d9565b61013c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a5565b6101676101623660046107b7565b610212565b6040516100a5919061081b565b6101876101823660046108bb565b6102a8565b005b61019c6101973660046107b7565b61064f565b6040516100a591906109b6565b6001600160401b0381165f9081526002602090815260409182902080548351818402810184019094528084526060939283018282801561020657602002820191905f5260205f20905b8154815260200190600101908083116101f2575b50505050509050919050565b6001600160401b0381165f908152600160209081526040808320805482518185028101850190935280835260609492939192909184015b8282101561029d575f848152602090819020604080516060810182526003860290920180548352600180820154848601526002909101546001600160a01b0316918301919091529083529092019101610249565b505050509050919050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102f157604051630751a1cd60e41b815260040160405180910390fd5b5f8061030360408801602089016107b7565b6001600160401b03908116825260208201929092526040015f2060010154600160401b900416156103675761033e60408601602087016107b7565b604051637b5ced6560e11b81526001600160401b03909116600482015260240160405180910390fd5b5f8390036103885760405163a586db8960e01b815260040160405180910390fd5b845f8061039b60408401602085016107b7565b6001600160401b0316815260208101919091526040015f206103bd8282610bd7565b504290505f806103d36040890160208a016107b7565b6001600160401b03908116825260208201929092526040015f9081206001018054938316600160401b0267ffffffffffffffff60401b1990941693909317909255849081111561042557610425610a86565b60405190808252806020026020018201604052801561044e578160200160208202803683370190505b5090505f5b8481101561052a5760015f61046e60408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2086868381811061049f5761049f610c8d565b83546001810185555f94855260209094206060909102929092019260030290910190506104cc8282610cb5565b50508585828181106104e0576104e0610c8d565b90506060020160400160208101906104f89190610cf4565b82828151811061050a5761050a610c8d565b6001600160a01b0390921660209283029190910190910152600101610453565b505f5b828110156105a25760025f61054860408a0160208b016107b7565b6001600160401b03166001600160401b031681526020019081526020015f2084848381811061057957610579610c8d565b8354600180820186555f958652602095869020929095029390930135920191909155500161052d565b50600380546001600160401b0316905f6105bb83610d0f565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050855f01358660200160208101906105f791906107b7565b6001600160401b03167f842d5f2a8e1a9d01abf8bc2b6269628d3a53f94e060e8fa6021414c5710382f088606001358960a0013585888860405161063f959493929190610d45565b60405180910390a3505050505050565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e08101919091526001600160401b038083165f908152602081815260409182902082516101008101845281548152600182015480861693820193909352600160401b909204909316918101919091526002820154606082015260038201546080820152600482015460a0820152600582015460c082015260068201805491929160e08401919061071990610a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461074590610a9a565b80156107905780601f1061076757610100808354040283529160200191610790565b820191905f5260205f20905b81548152906001019060200180831161077357829003601f168201915b5050505050815250509050919050565b6001600160401b03811681146107b4575f80fd5b50565b5f602082840312156107c7575f80fd5b81356107d2816107a0565b9392505050565b602080825282518282018190525f918401906040840190835b818110156108105783518352602093840193909201916001016107f2565b509095945050505050565b602080825282518282018190525f918401906040840190835b8181101561081057835180518452602080820151818601526040918201516001600160a01b03169185019190915290930192606090920191600101610834565b5f8083601f840112610884575f80fd5b5081356001600160401b0381111561089a575f80fd5b6020830191508360208260051b85010111156108b4575f80fd5b9250929050565b5f805f805f606086880312156108cf575f80fd5b85356001600160401b038111156108e4575f80fd5b860161010081890312156108f6575f80fd5b945060208601356001600160401b03811115610910575f80fd5b8601601f81018813610920575f80fd5b80356001600160401b03811115610935575f80fd5b886020606083028401011115610949575f80fd5b6020919091019450925060408601356001600160401b0381111561096b575f80fd5b61097788828901610874565b969995985093965092949392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152815160208201526001600160401b0360208301511660408201526001600160401b03604083015116606082015260608201516080820152608082015160a082015260a082015160c082015260c082015160e08201525f60e083015161010080840152610a2a610120840182610988565b949350505050565b5f8135610a3e816107a0565b92915050565b5f808335601e19843603018112610a59575f80fd5b8301803591506001600160401b03821115610a72575f80fd5b6020019150368190038213156108b4575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610aae57607f821691505b602082108103610acc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b1957805f5260205f20601f840160051c81016020851015610af75750805b601f840160051c820191505b81811015610b16575f8155600101610b03565b50505b505050565b6001600160401b03831115610b3557610b35610a86565b610b4983610b438354610a9a565b83610ad2565b5f601f841160018114610b7a575f8515610b635750838201355b5f19600387901b1c1916600186901b178355610b16565b5f83815260208120601f198716915b82811015610ba95786850135825560209485019460019092019101610b89565b5086821015610bc5575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81358155600181016020830135610bed816107a0565b6001600160401b0381166001600160401b031983541617825550610c43610c1660408501610a32565b825467ffffffffffffffff60401b191660409190911b6fffffffffffffffff000000000000000016178255565b50606082013560028201556080820135600382015560a0820135600482015560c08201356005820155610c7960e0830183610a44565b610c87818360068601610b1e565b50505050565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03811681146107b4575f80fd5b8135815560208201356001820155600281016040830135610cd581610ca1565b81546001600160a01b0319166001600160a01b03919091161790555050565b5f60208284031215610d04575f80fd5b81356107d281610ca1565b5f6001600160401b0382166001600160401b038103610d3c57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f608082018783528660208401526080604084015280865180835260a0850191506020880192505f5b81811015610d955783516001600160a01b0316835260209384019390920191600101610d6e565b505083810360608501528481526001600160fb1b03851115610db5575f80fd5b8460051b9150818660208301370160200197965050505050505056fea164736f6c634300081a000a","sourceMap":"2233:16034:32:-:0;;;5922:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3281:12:36;;;;;6024:26:32;;::::1;;::::0;6060:20;::::1;;::::0;6399:33:::1;::::0;6426:4:::1;::::0;6399:33:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;934:32:37;;;916:51;;904:2;889:18;6399:33:32::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;6388:44:32::1;;::::0;-1:-1:-1;2233:16034:32;;-1:-1:-1;;2233:16034:32;;;;;;;;;:::o;14:145:37:-;-1:-1:-1;;;;;103:31:37;;93:42;;83:70;;149:1;146;139:12;83:70;14:145;:::o;164:601::-;292:6;300;308;361:2;349:9;340:7;336:23;332:32;329:52;;;377:1;374;367:12;329:52;409:9;403:16;428:45;467:5;428:45;:::i;:::-;542:2;527:18;;521:25;492:5;;-1:-1:-1;555:47:37;521:25;555:47;:::i;:::-;673:2;658:18;;652:25;621:7;;-1:-1:-1;686:47:37;652:25;686:47;:::i;:::-;752:7;742:17;;;164:601;;;;;:::o;770:203::-;2233:16034:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436106100fd575f3560e01c806394e81bd111610092578063d5f3948811610062578063d5f3948814610329578063dc4c90d31461035c578063e0d0eac41461038f578063f940e385146103c3578063fb2c8e23146103e2575f80fd5b806394e81bd11461026f5780639af1d35a1461028e578063a7dd6d57146102c1578063c9c62b161461030a575f80fd5b8063672e608e116100cd578063672e608e146101d45780637b103999146101e857806391dd73461461021b57806394c89b6314610247575f80fd5b806321d4859c1461010857806328079e4a1461014657806331316a9a1461017c5780634a5706c7146101b3575f80fd5b3661010457005b5f80fd5b348015610113575f80fd5b506101336101223660046126f3565b60026020525f908152604090205481565b6040519081526020015b60405180910390f35b348015610151575f80fd5b5061013361016036600461270e565b600160209081525f928352604080842090915290825290205481565b348015610187575f80fd5b5061019b61019636600461279f565b6104c8565b6040516001600160a01b03909116815260200161013d565b3480156101be575f80fd5b506101d26101cd3660046127ed565b6104e7565b005b3480156101df575f80fd5b50610133610606565b3480156101f3575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610226575f80fd5b5061023a610235366004612807565b610637565b60405161013d9190612873565b348015610252575f80fd5b5061025c6103e881565b60405161ffff909116815260200161013d565b34801561027a575f80fd5b5061019b610289366004612885565b6107c4565b348015610299575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cc575f80fd5b506102e06102db3660046128cc565b6107d0565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013d565b348015610315575f80fd5b506101d26103243660046126f3565b610e7b565b348015610334575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610367575f80fd5b5061019b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039a575f80fd5b506103ae6103a9366004612903565b610e87565b6040805192835260208301919091520161013d565b3480156103ce575f80fd5b506101d26103dd36600461270e565b6110c3565b3480156103ed575f80fd5b506104b86103fc366004612903565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152506001600160401b03165f90815260208181526040918290206003810154835160a08101855282546001600160a01b039081168252600184015480821695830195909552600160a01b850462ffffff1695820195909552600160b81b909304600290810b60608501529182015484166080840152919382820b936301000000840490920b92600160301b900490911690565b60405161013d949392919061295f565b5f6104dd6001600160401b03851684846110d1565b90505b9392505050565b6001600160401b0382165f9081526020819052604090206003810154600160301b90046001600160a01b0316158061053357506003810154600160301b90046001600160a01b03163314155b15610561576040516313a2e6f560e21b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160a01b03821661058857604051630b7ceb1b60e21b815260040160405180910390fd5b60038101546040516001600160a01b0380851692600160301b900416906001600160401b038616907fd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178905f90a460030180546001600160a01b03909216600160301b026601000000000000600160d01b031990921691909117905550565b5f60405180602001610617906126c7565b6020820181038252601f19601f8201166040525080519060200120905090565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106825760405163570c108560e11b815260040160405180910390fd5b600354600160401b900460ff16156106a55761069e8383611155565b90506107be565b5f6106b283850185612a68565b805160408051608081018252602080850151600290810b835283860151900b908201526060808501516001600160801b0316828401525f9082018190529151632d35e7ed60e11b815293945090926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692635a6bcfda9261073d92600401612b42565b60408051808303815f875af1158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077c9190612b93565b50825151909150610796906107918360801d90565b6113fb565b8151602001516107aa9061079183600f0b90565b60405180602001604052805f815250925050505b92915050565b5f6104dd8285856110d1565b5f8080336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081c57604051638b906c9760e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632582d8076108586020870187612903565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561089a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108be9190612bb5565b156108f5576108d06020850185612903565b604051632007a11b60e11b81526001600160401b039091166004820152602401610558565b61300061090860c0860160a087016126f3565b166001600160a01b03165f0361093157604051637889ff6560e11b815260040160405180910390fd5b5f6109406103e8612710612be8565b9050610953610100860160e08701612c11565b61ffff16158061097a575061ffff8116610974610100870160e08801612c11565b61ffff16115b156109b057610990610100860160e08701612c11565b604051632cf918b960e21b815261ffff9091166004820152602401610558565b306109c3610120870161010088016126f3565b6001600160a01b0316036109ea57604051632f4848bb60e11b815260040160405180910390fd5b610a506109fa6040870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a4b9250610a3f9150506020890189612903565b6001600160401b031690565b611681565b9350610a9f610a626060870187612c2c565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505050506080870135611681565b9250610aba83610ab560c0880160a089016126f3565b6116b4565b610b0b5782613fff610ad260c0880160a089016126f3565b60405163363fdd7d60e21b81526001600160a01b03938416600482015291169091166024820152613fff84166044820152606401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b739190612c6e565b90508560c0013581141580610beb57508560c00135856001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be89190612c6e565b14155b15610c165760405163f076f48f60e01b815260c0870135600482015260248101829052604401610558565b610c26610a3f6020880188612903565b85307f0000000000000000000000000000000000000000000000000000000000000000610c5b6101808b016101608c01612903565b604051610c67906126c7565b6001600160a01b0394851681529284166020840152921660408201526001600160401b0390911660608201526080018190604051809103905ff5905080158015610cb3573d5f803e3d5ffd5b5092505f612710610cca6103e860c08a0135612c85565b610cd49190612c9c565b9050610cea6001600160a01b03871685836116d6565b6001600160a01b0384166375fbf4a461012089013583610d126101608c016101408d01612903565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b031660448201526064016020604051808303815f875af1158015610d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d879190612c6e565b505f610d9488888861170b565b9050610de2610da660208a018a612903565b82610db96102208c016102008d01612cbb565b610dcb6102408d016102208e01612cbb565b610ddd6102c08e016102a08f016126f3565b611c29565b610dee88888888611e35565b6001600160a01b03808716908816610e0960208b018b612903565b6001600160401b03167f81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a488610e466102608e016102408f01612cd6565b604080516001600160a01b0390931683526001600160801b0390911660208301520160405180910390a4505050509193909250565b610e8481612049565b50565b6001600160401b0381165f908152602081905260408120600381015482919063010000008104600290810b91900b03610ede576040516308aabca960e11b81526001600160401b0385166004820152602401610558565b600354600160401b900460ff1615610f09576040516318012d4d60e01b815260040160405180910390fd5b600380546001600160401b03861668ffffffffffffffffff199091168117600160401b179091556040805160208082019390935281518082039093018352808201918290526348c8949160e01b9091526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916348c8949191610f979190604401612873565b5f604051808303815f875af1158015610fb2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fd99190810190612d15565b806020019051810190610fec9190612b93565b6003805468ffffffffffffffffff19169055604080518381526020810183905292955090935033916001600160401b038716917f92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939910160405180910390a38054600182015460038301546001600160a01b039283169291821691600160301b9091041661107a8184886121bc565b6110858183876121bc565b6001600160a01b038116156110a85761109e81846122fa565b6110a881836122fa565b6110b183612049565b6110ba82612049565b50505050915091565b6110cd82826122fa565b5050565b5f60ff60f81b308585856040516110e9929190612d8e565b604051908190038120611135949392916020016001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b60605f61116483850185612903565b6003549091506001600160401b038083169116146111955760405163023e799d60e01b815260040160405180910390fd5b6001600160401b0381165f908152602081905260408120907f0000000000000000000000000000000000000000000000000000000000000000604080516080810182526003850154600281810b83526301000000909104900b60208201525f818301819052606082018190529151632d35e7ed60e11b815292935090916001600160a01b03841691635a6bcfda91611231918791600401612d9d565b60408051808303815f875af115801561124c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112709190612b93565b5090505f61127e8260801d90565b90505f61128b83600f0b90565b90505f82600f0b12806112a057505f81600f0b125b156112cc57604051635542327b60e01b8152600f83810b600483015282900b6024820152604401610558565b5f82600f0b1315611346578454604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038416604482015290851690630b0d9c09906064015f604051808303815f87803b15801561132f575f80fd5b505af1158015611341573d5f803e3d5ffd5b505050505b5f81600f0b13156113c3576001850154604051630b0d9c0960e01b81526001600160a01b0391821660048201523060248201526001600160801b038316604482015290851690630b0d9c09906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b505050505b604080516001600160801b03938416602082015291909216818301528151808203830181526060909101909152979650505050505050565b5f81600f0b12156115e7575f61141082612e32565b604051632961046560e21b81526001600160a01b0385811660048301526001600160801b039290921692507f00000000000000000000000000000000000000000000000000000000000000009091169063a5841194906024015f604051808303815f87803b158015611480575f80fd5b505af1158015611492573d5f803e3d5ffd5b505050506001600160a01b03831661152d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b4826040518263ffffffff1660e01b815260040160206040518083038185885af1158015611502573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906115279190612c6e565b50505050565b6115616001600160a01b0384167f0000000000000000000000000000000000000000000000000000000000000000836116d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166311da60b46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115279190612c6e565b505050565b5f81600f0b13156110cd57604051630b0d9c0960e01b81526001600160a01b0383811660048301523060248301526001600160801b03831660448301527f00000000000000000000000000000000000000000000000000000000000000001690630b0d9c09906064015f604051808303815f87803b158015611667575f80fd5b505af1158015611679573d5f803e3d5ffd5b505050505050565b5f818351602085015ff590506001600160a01b0381166107be57604051633011642560e01b815260040160405180910390fd5b5f613fff82166116c584613fff1690565b6001600160a01b0316149392505050565b6116e38383836001612402565b6115e257604051635274afe760e01b81526001600160a01b0384166004820152602401610558565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152611740838386612464565b90505f6117666117586101a0870161018088016126f3565b6001600160a01b0316612570565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636276cbbe836117aa61020089016101e08a016126f3565b6040518363ffffffff1660e01b81526004016117c7929190612e5f565b6020604051808303815f875af11580156117e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118079190612e85565b5061181a61026086016102408701612cd6565b6001600160801b03165f0361184257604051632a67595560e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038616906370a0823190602401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa9190612c6e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166348c894916040518060a00160405280868152602001896102000160208101906119009190612cbb565b60020b815260200161191a6102408b016102208c01612cbb565b60020b81526020016119346102608b016102408c01612cd6565b6001600160801b031681526001600160a01b03891660209182015260405161195d929101612ea0565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016119889190612873565b5f604051808303815f875af11580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190612d15565b506040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612c6e565b611a3d9083612efa565b90505f612710611a546101008a0160e08b01612c11565b611a669061ffff1660c08b0135612c85565b611a709190612c9c565b905080821115611a9d57604051638d4cbe9360e01b81526004810182905260248101839052604401610558565b5f611ab36117586101a08b016101808c016126f3565b905084811015611ae05760405163329bc46360e11b81526004810186905260248101829052604401610558565b6040516370a0823160e01b81523060048201525f906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b489190612c6e565b90508015611c1c57611c1c5f611b666101208d016101008e016126f3565b6001600160a01b031614611b8b57611b866101208c016101008d016126f3565b611c0b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b9190612f0d565b6001600160a01b038b1690836116d6565b5050505050509392505050565b60405180608001604052808581526020018460020b81526020018360020b8152602001826001600160a01b03168152505f80876001600160401b03166001600160401b031681526020019081526020015f205f820151815f015f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548162ffffff021916908362ffffff16021790555060608201518160010160176101000a81548162ffffff021916908360020b62ffffff1602179055506080820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050506020820151816003015f6101000a81548162ffffff021916908360020b62ffffff16021790555060408201518160030160036101000a81548162ffffff021916908360020b62ffffff16021790555060608201518160030160066101000a8154816001600160a01b0302191690836001600160a01b03160217905550905050806001600160a01b0316856001600160401b03167f50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf518585604051611e26929190600292830b8152910b602082015260400190565b60405180910390a35050505050565b604080516003808252608082019092525f91816020015b604080516060810182525f80825260208083018290529282015282525f19909201910181611e4c5790505090506040518060600160405280643a37b5b2b760d91b8152602001643a37b5b2b760d91b8152602001856001600160a01b0316815250815f81518110611ebf57611ebf612f28565b6020026020010181905250604051806060016040528063686f6f6b60e01b815260200163686f6f6b60e01b8152602001846001600160a01b031681525081600181518110611f0f57611f0f612f28565b602002602001018190525060405180606001604052806a3234b9ba3934b13aba37b960a91b81526020016a3234b9ba3934b13aba37b960a91b8152602001836001600160a01b031681525081600281518110611f6d57611f6d612f28565b60209081029190910101525f611f87610260870187612f3c565b611f9090612fa7565b9050611f9f6020870187612903565b6001600160401b031660208083019190915286013581526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d913e8988284611ff56102808b018b61303e565b6040518563ffffffff1660e01b8152600401612014949392919061310f565b5f604051808303815f87803b15801561202b575f80fd5b505af115801561203d573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b0381165f908152600260205260408120549081900361206d575050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ee9190612f0d565b6001600160a01b0384165f9081526002602052604081205590506121138382846125f1565b1561216a57826001600160a01b0316816001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58460405161215d91815260200190565b60405180910390a3505050565b6001600160a01b038084165f81815260026020526040908190208590555190918316907fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df83767589061215d9086815260200190565b805f036121c857505050565b5f6001600160a01b03841615612278576127107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cd26a1976040518163ffffffff1660e01b8152600401602060405180830381865afa158015612237573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225b91906131bb565b6122699061ffff1684612c85565b6122739190612c9c565b61227a565b5f5b905080156122be576001600160a01b038085165f908152600160209081526040808320938716835292905290812080548392906122b89084906131d6565b90915550505b6122c88183612efa565b6001600160a01b0384165f90815260026020526040812080549091906122ef9084906131d6565b909155505050505050565b6001600160a01b038083165f9081526001602090815260408083209385168352929052908120549081900361232e57505050565b6001600160a01b038084165f9081526001602090815260408083209386168352929052908120556123608284836125f1565b156123aa57816001600160a01b0316836001600160a01b03167f212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab58360405161215d91815260200190565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527fd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758910161215d565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661245857838315161561244c573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040805160a0810182525f80825260208201819052918101829052606081018290526080810191909152835f6124a26101a0850161018086016126f3565b90505f80826001600160a01b0316846001600160a01b0316106124c65782846124c9565b83835b91509150806001600160a01b0316826001600160a01b0316106124ff5760405163150d08ff60e01b815260040160405180910390fd5b6040805160a0810182526001600160a01b038085168252831660208201529081016125326101c089016101a08a016131e9565b62ffffff16815260200161254e6101e089016101c08a01612cbb565b60020b8152602001886001600160a01b03168152509450505050509392505050565b5f6001600160a01b038216612586575047919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190612c6e565b919050565b5f6001600160a01b03841661260f575f805f8085875af190506104e0565b836001600160a01b0381163b5f0361262a575f9150506104e0565b6040516001600160a01b0385166024820152604481018490525f9060640160408051601f198184030181529190526020810180516001600160e01b031663a9059cbb60e01b17815281519192505f9182918291829182885af194503d9150601f82111561269a5760205f803e505f515b8480156126bb57508115806126bb5750602082101580156126bb5750806001145b98975050505050505050565b6111988061320383390190565b6001600160a01b0381168114610e84575f80fd5b80356125ec816126d4565b5f60208284031215612703575f80fd5b81356104e0816126d4565b5f806040838503121561271f575f80fd5b823561272a816126d4565b9150602083013561273a816126d4565b809150509250929050565b80356001600160401b03811681146125ec575f80fd5b5f8083601f84011261276b575f80fd5b5081356001600160401b03811115612781575f80fd5b602083019150836020828501011115612798575f80fd5b9250929050565b5f805f604084860312156127b1575f80fd5b6127ba84612745565b925060208401356001600160401b038111156127d4575f80fd5b6127e08682870161275b565b9497909650939450505050565b5f80604083850312156127fe575f80fd5b61272a83612745565b5f8060208385031215612818575f80fd5b82356001600160401b0381111561282d575f80fd5b6128398582860161275b565b90969095509350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104e06020830184612845565b5f805f60408486031215612897575f80fd5b83356001600160401b038111156128ac575f80fd5b6128b88682870161275b565b909790965060209590950135949350505050565b5f602082840312156128dc575f80fd5b81356001600160401b038111156128f1575f80fd5b82016102c081850312156104e0575f80fd5b5f60208284031215612913575f80fd5b6104e082612745565b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b610100810161296e828761291c565b600294850b60a08301529290930b60c08401526001600160a01b031660e090920191909152919050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156129ce576129ce612998565b60405290565b60405161010081016001600160401b03811182821017156129ce576129ce612998565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612998565b604052919050565b803562ffffff811681146125ec575f80fd5b8060020b8114610e84575f80fd5b80356125ec81612a39565b80356001600160801b03811681146125ec575f80fd5b5f81830361012081128015612a7b575f80fd5b50612a846129ac565b60a0821215612a91575f80fd5b612a996129ac565b91508335612aa6816126d4565b82526020840135612ab6816126d4565b6020830152612ac760408501612a27565b60408301526060840135612ada81612a39565b60608301526080840135612aed816126d4565b6080830152818152612b0160a08501612a47565b6020820152612b1260c08501612a47565b6040820152612b2360e08501612a52565b6060820152612b3561010085016126e8565b6080820152949350505050565b612b4c818461291c565b8151600290810b60a08301526020830151900b60c0820152604082015160e0820152606082015161010082015261014061012082018190525f908201526101600192915050565b5f8060408385031215612ba4575f80fd5b505080516020909101519092909150565b5f60208284031215612bc5575f80fd5b815180151581146104e0575f80fd5b634e487b7160e01b5f52601160045260245ffd5b61ffff82811682821603908111156107be576107be612bd4565b61ffff81168114610e84575f80fd5b5f60208284031215612c21575f80fd5b81356104e081612c02565b5f808335601e19843603018112612c41575f80fd5b8301803591506001600160401b03821115612c5a575f80fd5b602001915036819003821315612798575f80fd5b5f60208284031215612c7e575f80fd5b5051919050565b80820281158282048414176107be576107be612bd4565b5f82612cb657634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612ccb575f80fd5b81356104e081612a39565b5f60208284031215612ce6575f80fd5b6104e082612a52565b5f6001600160401b03821115612d0757612d07612998565b50601f01601f191660200190565b5f60208284031215612d25575f80fd5b81516001600160401b03811115612d3a575f80fd5b8201601f81018413612d4a575f80fd5b8051612d5d612d5882612cef565b6129f7565b818152856020838501011115612d71575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b818382375f9101908152919050565b82546001600160a01b0390811682526001840154808216602084015260a081811c62ffffff16604085015260b89190911c600290810b606085015285015490911660808301525f90612e1890830184805160020b8252602081015160020b602083015260408101516040830152606081015160608301525050565b6101406101208301526104dd61014083015f815260200190565b5f81600f0b6f7fffffffffffffffffffffffffffffff198103612e5757612e57612bd4565b5f0392915050565b60c08101612e6d828561291c565b6001600160a01b039290921660a09190910152919050565b5f60208284031215612e95575f80fd5b81516104e081612a39565b5f61012082019050612eb382845161291c565b6020830151600290810b60a08401526040840151900b60c083015260608301516001600160801b031660e08301526080909201516001600160a01b03166101009091015290565b818103818111156107be576107be612bd4565b5f60208284031215612f1d575f80fd5b81516104e0816126d4565b634e487b7160e01b5f52603260045260245ffd5b5f823560fe19833603018112612f50575f80fd5b9190910192915050565b5f82601f830112612f69575f80fd5b8135612f77612d5882612cef565b818152846020838601011115612f8b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6101008236031215612fb8575f80fd5b612fc06129d4565b82358152612fd060208401612745565b6020820152612fe160408401612745565b6040820152606083810135908201526080808401359082015260a0808401359082015260c0808401359082015260e08301356001600160401b03811115613026575f80fd5b61303236828601612f5a565b60e08301525092915050565b5f808335601e19843603018112613053575f80fd5b8301803591506001600160401b0382111561306c575f80fd5b6020019150600581901b3603821315612798575f80fd5b5f8151808452602084019350602083015f5b828110156130d557815180518752602080820151818901526040918201516001600160a01b03169188019190915260609096019590910190600101613095565b5093949350505050565b8183525f6001600160fb1b038311156130f6575f80fd5b8260051b80836020870137939093016020019392505050565b60608152845160608201526001600160401b0360208601511660808201526001600160401b0360408601511660a0820152606085015160c0820152608085015160e082015260a085015161010082015260c08501516101208201525f60e0860151610100610140840152613187610160840182612845565b9050828103602084015261319b8187613083565b905082810360408401526131b08185876130df565b979650505050505050565b5f602082840312156131cb575f80fd5b81516104e081612c02565b808201808211156107be576107be612bd4565b5f602082840312156131f9575f80fd5b6104e082612a2756fe610100604052348015610010575f80fd5b5060405161119838038061119883398101604081905261002f91610095565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0393841660805291831660a05290911660c0526001600160401b031660e0526100fc565b6001600160a01b0381168114610092575f80fd5b50565b5f805f80608085870312156100a8575f80fd5b84516100b38161007e565b60208601519094506100c48161007e565b60408601519093506100d58161007e565b60608601519092506001600160401b03811681146100f1575f80fd5b939692955090935050565b60805160a05160c05160e0516110316101675f395f81816101eb0152610a0201525f8181610212015261064901525f8181610239015261070401525f81816102c2015281816105100152818161055b0152818161079001528181610aed0152610b3801526110315ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806380d9adca11610088578063aa60e73311610063578063aa60e7331461025b578063c7c380911461026e578063fc0c546a146102bd578063fe60d12c146102e4575f80fd5b806380d9adca146101e65780639af1d35a1461020d5780639c9b4cdb14610234575f80fd5b80632e7ba6ef116100c35780632e7ba6ef1461017c57806361d027b3146101915780636d05936d146101b157806375fbf4a4146101d3575f80fd5b806307f9f760146100e9578063120aa8771461012e578063127f0b3f1461016b575b5f80fd5b6101116100f7366004610e37565b60026020525f90815260409020546001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b61015b61013c366004610e65565b600160209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610125565b5f545b604051908152602001610125565b61018f61018a366004610e93565b6102ed565b005b610199610646565b6040516001600160a01b039091168152602001610125565b61015b6101bf366004610e37565b60036020525f908152604090205460ff1681565b61016e6101e1366004610f24565b6106cc565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e610269366004610e37565b610972565b61028161027c366004610e37565b610c22565b60405161012591908151815260208083015190820152604080830151908201526060918201516001600160401b03169181019190915260800190565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b61016e60045481565b6102f5610cc6565b5f54851061031657604051635d057c1d60e01b815260040160405180910390fd5b5f80868154811061032957610329610f65565b5f918252602080832089845260039091526040909220546004909102909101915060ff161561036b57604051635e26bbc360e01b815260040160405180910390fd5b60038101546001600160401b03164210156103af576003810154604051634a51c20f60e11b81526001600160401b0390911660048201526024015b60405180910390fd5b5f8681526001602090815260408083206001600160a01b038916845290915290205460ff16156103f257604051630c8d9eab60e31b815260040160405180910390fd5b604080516001600160a01b03871660208201529081018590525f9060600160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506104548484845f015484610ce1565b610471576040516309bde33960e01b815260040160405180910390fd5b816002015482600101546104859190610f8d565b8511156104a55760405163147cec5160e11b815260040160405180910390fd5b5f8781526001602081815260408084206001600160a01b038b1685529091528220805460ff191690911790556002830180548792906104e5908490610fa0565b925050819055508460045f8282546104fd9190610f8d565b9091555061053790506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156105a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c49190610fb3565b10156105e3576040516357e000b160e01b815260040160405180910390fd5b856001600160a01b0316877f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268760405161061f91815260200190565b60405180910390a3505061063f60015f8051602061100583398151915255565b5050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c79190610fca565b905090565b5f6106d5610cc6565b6106dd610646565b6001600160a01b0316336001600160a01b0316141580156107315750336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061073157505f5415155b1561074f576040516375ebae1160e11b815260040160405180910390fd5b8361076d576040516329e7276760e11b815260040160405180910390fd5b8260045461077b9190610fa0565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108019190610fb3565b1015610820576040516357e000b160e01b815260040160405180910390fd5b8260045f8282546108319190610fa0565b90915550505f80546040805160808101825287815260208101879052908101839052909250606081016108648542610fe5565b6001600160401b039081169091528254600181810185555f9485526020808620855160049094020192835580850151918301919091556040808501516002808501919091556060909501516003909301805493851667ffffffffffffffff1994851617905586865293905291832080544290921691909216179055805482917fa6fe4dd6948bc88dca06662b78043b746184dcfc06db343bc51e144ec30091e991879187918590811061091957610919610f65565b5f9182526020918290206004909102016003015460408051948552918401929092526001600160401b039091169082015260600160405180910390a261096b60015f8051602061100583398151915255565b9392505050565b5f61097b610cc6565b5f54821061099c57604051635d057c1d60e01b815260040160405180910390fd5b5f8281526003602052604090205460ff16156109cb57604051635e26bbc360e01b815260040160405180910390fd5b5f8083815481106109de576109de610f65565b5f9182526020808320868452600290915260408320546004909202019250610a30907f0000000000000000000000000000000000000000000000000000000000000000906001600160401b0316610fe5565b60038301549091506001600160401b03908116908216811115610a51578091505b816001600160401b0316421015610a8657604051633072142b60e01b81526001600160401b03831660048201526024016103a6565b82600201548360010154610a9a9190610f8d565b5f868152600360205260408120805460ff19166001179055600480549296508692909190610ac9908490610f8d565b909155505f9050610ad8610646565b90508415610b1457610b146001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168287610cf8565b600480546040516370a0823160e01b81523092810192909252906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba19190610fb3565b1015610bc0576040516357e000b160e01b815260040160405180910390fd5b806001600160a01b03167fc36b5179cb9c303b200074996eab2b3473eac370fdd7eba3bec636fe3510969686604051610bfb91815260200190565b60405180910390a250505050610c1d60015f8051602061100583398151915255565b919050565b604080516080810182525f808252602082018190529181018290526060810182905290548210610c6557604051635d057c1d60e01b815260040160405180910390fd5b5f8281548110610c7757610c77610f65565b5f918252602091829020604080516080810182526004909302909101805483526001810154938301939093526002830154908201526003909101546001600160401b0316606082015292915050565b610cce610d32565b60025f8051602061100583398151915255565b5f82610cee868685610d63565b1495945050505050565b610d058383836001610da4565b610d2d57604051635274afe760e01b81526001600160a01b03841660048201526024016103a6565b505050565b5f8051602061100583398151915254600203610d6157604051633ee5aeb560e01b815260040160405180910390fd5b565b5f81815b84811015610d9b57610d9182878784818110610d8557610d85610f65565b90506020020135610e06565b9150600101610d67565b50949350505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610dfa578383151615610dee573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f818310610e20575f828152602084905260409020610e2e565b5f8381526020839052604090205b90505b92915050565b5f60208284031215610e47575f80fd5b5035919050565b6001600160a01b0381168114610e62575f80fd5b50565b5f8060408385031215610e76575f80fd5b823591506020830135610e8881610e4e565b809150509250929050565b5f805f805f60808688031215610ea7575f80fd5b853594506020860135610eb981610e4e565b93506040860135925060608601356001600160401b03811115610eda575f80fd5b8601601f81018813610eea575f80fd5b80356001600160401b03811115610eff575f80fd5b8860208260051b8401011115610f13575f80fd5b959894975092955050506020019190565b5f805f60608486031215610f36575f80fd5b833592506020840135915060408401356001600160401b0381168114610f5a575f80fd5b809150509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610e3157610e31610f79565b80820180821115610e3157610e31610f79565b5f60208284031215610fc3575f80fd5b5051919050565b5f60208284031215610fda575f80fd5b815161096b81610e4e565b6001600160401b038181168382160190811115610e3157610e31610f7956fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081a000aa164736f6c634300081a000a","sourceMap":"2233:16034:32:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3006:56:36;;;;;;;;;;-1:-1:-1;3006:56:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;804:25:37;;;792:2;777:18;3006:56:36;;;;;;;;2804:77;;;;;;;;;;-1:-1:-1;2804:77:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;16893:215:32;;;;;;;;;;-1:-1:-1;16893:215:32;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2484:32:37;;;2466:51;;2454:2;2439:18;16893:215:32;2320:203:37;4021:378:36;;;;;;;;;;-1:-1:-1;4021:378:36;;;;;:::i;:::-;;:::i;:::-;;16513:142:32;;;;;;;;;;;;;:::i;5492:40::-;;;;;;;;;;;;;;;12361:770;;;;;;;;;;-1:-1:-1;12361:770:32;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5399:39::-;;;;;;;;;;;;5434:4;5399:39;;;;;4531:6:37;4519:19;;;4501:38;;4489:2;4474:18;5399:39:32;4357:188:37;17586:192:32;;;;;;;;;;-1:-1:-1;17586:192:32;;;;;:::i;:::-;;:::i;2600:32:36:-;;;;;;;;;;;;;;;6510:3041:32;;;;;;;;;;-1:-1:-1;6510:3041:32;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5922:32:37;;;5904:51;;5991:32;;;5986:2;5971:18;;5964:60;6060:32;;6040:18;;;6033:60;;;;5892:2;5877:18;6510:3041:32;5702:397:37;5761:91:36;;;;;;;;;;-1:-1:-1;5761:91:36;;;;;:::i;:::-;;:::i;5639:33:32:-;;;;;;;;;;;;;;;5445:41;;;;;;;;;;;;;;;4501:922:36;;;;;;;;;;-1:-1:-1;4501:922:36;;;;;:::i;:::-;;:::i;:::-;;;;6696:25:37;;;6752:2;6737:18;;6730:34;;;;6669:18;4501:922:36;6522:248:37;5539:110:36;;;;;;;;;;-1:-1:-1;5539:110:36;;;;;:::i;:::-;;:::i;3530:289::-;;;;;;;;;;-1:-1:-1;3530:289:36;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3726:23:36;3638:15;3726:23;;;;;;;;;;;;3774:11;;;;3759:53;;;;;;;;;-1:-1:-1;;;;;3759:53:36;;;;;3774:11;3759:53;;;;;;;;;;;;;-1:-1:-1;;;3759:53:36;;;;;;;;;;;-1:-1:-1;;;3759:53:36;;;3774:11;3759:53;;;;;;;;;;;;;;;;;;;3774:11;;;;3787;;;;;;;-1:-1:-1;;;3800:11:36;;;;;;3530:289;;;;;;;;;;;:::i;16893:215:32:-;17017:7;17047:54;-1:-1:-1;;;;;16304:21:32;;17083:17;;17047:8;:54::i;:::-;17040:61;;16893:215;;;;;;:::o;4021:378:36:-;-1:-1:-1;;;;;4118:23:36;;4097:18;4118:23;;;;;;;;;;4155:11;;;;-1:-1:-1;;;4155:11:36;;-1:-1:-1;;;;;4155:11:36;:25;;:54;;-1:-1:-1;4198:11:36;;;;-1:-1:-1;;;4198:11:36;;-1:-1:-1;;;;;4198:11:36;4184:10;:25;;4155:54;4151:93;;;4218:26;;-1:-1:-1;;;4218:26:36;;-1:-1:-1;;;;;7882:31:37;;4218:26:36;;;7864:50:37;7837:18;;4218:26:36;;;;;;;;4151:93;-1:-1:-1;;;;;4258:18:36;;4254:46;;4285:15;;-1:-1:-1;;;4285:15:36;;;;;;;;;;;4254:46;4346:11;;;;4315:49;;-1:-1:-1;;;;;4315:49:36;;;;-1:-1:-1;;;4346:11:36;;;;-1:-1:-1;;;;;4315:49:36;;;;;;;;4374:11;;:18;;-1:-1:-1;;;;;4374:18:36;;;-1:-1:-1;;;4374:18:36;-1:-1:-1;;;;;;4374:18:36;;;;;;;;;-1:-1:-1;4021:378:36:o;16513:142:32:-;16575:7;16611:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;16601:47;;;;;;16594:54;;16513:142;:::o;12361:770::-;12433:12;12461:10;-1:-1:-1;;;;;12483:11:32;12461:34;;12457:63;;12504:16;;-1:-1:-1;;;12504:16:32;;;;;;;;;;;12457:63;6022:7:36;;-1:-1:-1;;;6022:7:36;;;;12530:38:32;;;12554:14;12563:4;;12554:8;:14::i;:::-;12547:21;;;;12530:38;12579:22;12604:27;;;;12615:4;12604:27;:::i;:::-;12707:11;;12732:231;;;;;;;;12783:17;;;;;12732:231;;;;;;12829:17;;;;12732:231;;;;;;12895:17;;;;;-1:-1:-1;;;;;12887:26:32;12732:231;;;;12643:18;12732:231;;;;;;12666:323;;-1:-1:-1;;;12666:323:32;;12579:52;;-1:-1:-1;12643:18:32;;-1:-1:-1;;;;;12666:11:32;:27;;;;:323;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;13008:11:32;;:21;12642:347;;-1:-1:-1;13000:47:32;;13031:15;12642:347;2107:3:25;2103:22;;1958:183;13031:15:32;13000:7;:47::i;:::-;13065:11;;:21;;;13057:47;;13088:15;:5;2303:2:25;2292:28;;2147:189;13057:47:32;13115:9;;;;;;;;;;;;;;;;12361:770;;;;;:::o;17586:192::-;17705:7;17735:36;17744:8;17754:16;;17735:8;:36::i;6510:3041::-;6590:13;;;6658:10;-1:-1:-1;;;;;6672:8:32;6658:22;;6654:48;;6689:13;;-1:-1:-1;;;6689:13:32;;;;;;;;;;;6654:48;-1:-1:-1;;;;;6716:8:32;:19;;6736;;;;:6;:19;:::i;:::-;6716:40;;-1:-1:-1;;;;;;6716:40:32;;;;;;;-1:-1:-1;;;;;7882:31:37;;;6716:40:32;;;7864:50:37;7837:18;;6716:40:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6712:89;;;6781:19;;;;:6;:19;:::i;:::-;6765:36;;-1:-1:-1;;;6765:36:32;;-1:-1:-1;;;;;7882:31:37;;;6765:36:32;;;7864:50:37;7837:18;;6765:36:32;7720:200:37;6712:89:32;7038:56;7018:16;;;;;;;;:::i;:::-;:77;-1:-1:-1;;;;;7017:84:32;7100:1;7017:84;7013:154;;7124:32;;-1:-1:-1;;;7124:32:32;;;;;;;;;;;7013:154;7177:19;7199:18;5434:4;7199:6;:18;:::i;:::-;7177:40;-1:-1:-1;7231:14:32;;;;;;;;:::i;:::-;:19;;;;:52;;-1:-1:-1;7254:29:32;;;:14;;;;;;;;:::i;:::-;:29;;;7231:52;7227:97;;;7309:14;;;;;;;;:::i;:::-;7292:32;;-1:-1:-1;;;7292:32:32;;4531:6:37;4519:19;;;7292:32:32;;;4501:38:37;4474:18;;7292:32:32;4357:188:37;7227:97:32;7368:4;7338:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7338:35:32;;7334:75;;7382:27;;-1:-1:-1;;;7382:27:32;;;;;;;;;;;7334:75;7428:67;7436:24;;;;:6;:24;:::i;:::-;7428:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7462:32:32;;-1:-1:-1;7474:19:32;;-1:-1:-1;;7474:19:32;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;16304:21:32;;16206:127;7462:32;7428:7;:67::i;:::-;7420:75;-1:-1:-1;7512:49:32;7520:23;;;;:6;:23;:::i;:::-;7512:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;7545:15:32;;;;7512:7;:49::i;:::-;7505:56;-1:-1:-1;7779:41:32;7505:56;7803:16;;;;;;;;:::i;:::-;7779:17;:41::i;:::-;7774:164;;7863:4;1005:13:31;7869:16:32;;;;;;;;:::i;:::-;7843:84;;-1:-1:-1;;;7843:84:32;;-1:-1:-1;;;;;5922:32:37;;;7843:84:32;;;5904:51:37;7869:32:32;;5991::37;;;5971:18;;;5964:60;1005:13:31;2027:19;;6040:18:37;;;6033:60;5877:18;;7843:84:32;5702:397:37;7774:164:32;8297:38;;-1:-1:-1;;;8297:38:32;;8329:4;8297:38;;;2466:51:37;8282:12:32;;-1:-1:-1;;;;;8297:23:32;;;;;2439:18:37;;8297:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8282:53;;8357:6;:18;;;8349:4;:26;;:79;;;;8410:6;:18;;;8386:5;-1:-1:-1;;;;;8379:25:32;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:49;;8349:79;8345:157;;;8451:40;;-1:-1:-1;;;8451:40:32;;8466:18;;;;8451:40;;;6696:25:37;6737:18;;;6730:34;;;6669:18;;8451:40:32;6522:248:37;8345:157:32;8575:32;8587:19;;;;:6;:19;:::i;8575:32::-;8633:5;8649:4;8656;8662:24;;;;;;;;:::i;:::-;8547:153;;;;;:::i;:::-;-1:-1:-1;;;;;15152:32:37;;;15134:51;;15221:32;;;15216:2;15201:18;;15194:60;15290:32;;15285:2;15270:18;;15263:60;-1:-1:-1;;;;;15359:31:37;;;15354:2;15339:18;;15332:59;15121:3;15106:19;8547:153:32;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8512:198:32;-1:-1:-1;8792:23:32;8853:6;8819:30;5434:4;8819:18;;;;:30;:::i;:::-;8818:41;;;;:::i;:::-;8792:67;-1:-1:-1;8869:56:32;-1:-1:-1;;;;;8869:26:32;;8896:11;8792:67;8869:26;:56::i;:::-;-1:-1:-1;;;;;9123:40:32;;;9164:17;;;;9183:15;9200:29;;;;;;;;:::i;:::-;9123:107;;-1:-1:-1;;;;;;9123:107:32;;;;;;;;;;15997:25:37;;;;16038:18;;;16031:34;;;;-1:-1:-1;;;;;16101:31:37;16081:18;;;16074:59;15970:18;;9123:107:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9241:18;9262:39;9281:6;9289:5;9296:4;9262:18;:39::i;:::-;9241:60;-1:-1:-1;9311:93:32;9325:19;;;;:6;:19;:::i;:::-;9346:3;9351:16;;;;;;;;:::i;:::-;9369;;;;;;;;:::i;:::-;9387;;;;;;;;:::i;:::-;9311:13;:93::i;:::-;9414:41;9422:6;9430:5;9437:4;9443:11;9414:7;:41::i;:::-;-1:-1:-1;;;;;9471:73:32;;;;;;9480:19;;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;9471:73:32;;9514:11;9527:16;;;;;;;;:::i;:::-;9471:73;;;-1:-1:-1;;;;;16775:32:37;;;16757:51;;-1:-1:-1;;;;;16844:47:37;;;16839:2;16824:18;;16817:75;16730:18;9471:73:32;;;;;;;6644:2907;;;;6510:3041;;;;;:::o;5761:91:36:-;5824:21;5836:8;5824:11;:21::i;:::-;5761:91;:::o;4501:922::-;-1:-1:-1;;;;;4624:23:36;;4559:15;4624:23;;;;;;;;;;4676:11;;;;4559:15;;4624:23;4676:11;;;;;;;4661;;;:26;4657:63;;4696:24;;-1:-1:-1;;;4696:24:36;;-1:-1:-1;;;;;7882:31:37;;4696:24:36;;;7864:50:37;7837:18;;4696:24:36;7720:200:37;4657:63:36;4734:7;;-1:-1:-1;;;4734:7:36;;;;4730:37;;;4750:17;;-1:-1:-1;;;4750:17:36;;;;;;;;;;;4730:37;4778:8;4777:42;;-1:-1:-1;;;;;4777:42:36;;-1:-1:-1;;4777:42:36;;;;;-1:-1:-1;;;4777:42:36;;;;4879:24;;;;;;;7864:50:37;;;;4879:24:36;;;;;;;;;;7837:18:37;;;4879:24:36;;;;-1:-1:-1;;;4861:43:36;;;-1:-1:-1;;;;;13220:11:32;4861:17:36;;;;:43;;4879:24;4861:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4861:43:36;;;;;;;;;;;;:::i;:::-;4850:75;;;;;;;;;;;;:::i;:::-;4936:8;4935:32;;-1:-1:-1;;4935:32:36;;;4982:55;;;6696:25:37;;;6752:2;6737:18;;6730:34;;;4829:96:36;;-1:-1:-1;4829:96:36;;-1:-1:-1;5008:10:36;;-1:-1:-1;;;;;4982:55:36;;;;;6669:18:37;4982:55:36;;;;;;;5062:15;;;5101;;;5146:11;;;;-1:-1:-1;;;;;5062:15:36;;;;5101;;;;-1:-1:-1;;;5146:11:36;;;;5167:30;5146:11;5062:15;5189:7;5167:6;:30::i;:::-;5207;5214:9;5225:2;5229:7;5207:6;:30::i;:::-;-1:-1:-1;;;;;5251:23:36;;;5247:120;;5290:26;5302:9;5313:2;5290:11;:26::i;:::-;5330;5342:9;5353:2;5330:11;:26::i;:::-;5376:15;5388:2;5376:11;:15::i;:::-;5401;5413:2;5401:11;:15::i;:::-;4593:830;;;;4501:922;;;:::o;5539:110::-;5612:30;5624:7;5633:8;5612:11;:30::i;:::-;5539:110;;:::o;17864:366:32:-;17947:7;18107:4;18100:12;;18122:4;18129;18145:12;;18135:23;;;;;;;:::i;:::-;;;;;;;;;18083:76;;;;;;;-1:-1:-1;;;;;;18631:26:37;;;;18619:39;;18695:2;18691:15;;;;-1:-1:-1;;18687:53:37;18683:1;18674:11;;18667:74;18766:2;18757:12;;18750:28;18803:2;18794:12;;18787:28;18840:2;18831:12;;18408:441;18083:76:32;;;;-1:-1:-1;;18083:76:32;;;;;;;;;18048:133;;18083:76;18048:133;;;;;17864:366;-1:-1:-1;;;;17864:366:32:o;6301:883:36:-;6358:12;6382:19;6404:26;;;;6415:4;6404:26;:::i;:::-;6460:8;;6382:48;;-1:-1:-1;;;;;;6444:24:36;;;6460:8;;6444:24;6440:54;;6477:17;;-1:-1:-1;;;6477:17:36;;;;;;;;;;;6440:54;-1:-1:-1;;;;;6525:23:36;;6504:18;6525:23;;;;;;;;;;;13220:11:32;6681:108:36;;;;;;;;6715:11;;;;;;;;6681:108;;6739:11;;;;;;6681:108;;;;6602:18;6681:108;;;;;;;;;;;;6625:190;;-1:-1:-1;;;6625:190:36;;6558:33;;-1:-1:-1;6602:18:36;;-1:-1:-1;;;;;6625:23:36;;;;;:190;;6662:1;;6625:190;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6601:214;;;6825:9;6837:15;:5;2107:3:25;2103:22;;1958:183;6837:15:36;6825:27;;6862:9;6874:15;:5;2303:2:25;2292:28;;2147:189;6874:15:36;6862:27;;6908:1;6903:2;:6;;;:16;;;;6918:1;6913:2;:6;;;6903:16;6899:49;;;6928:20;;-1:-1:-1;;;6928:20:36;;20141:2:37;20130:22;;;6928:20:36;;;20112:41:37;20189:22;;;20169:18;;;20162:50;20085:18;;6928:20:36;19942:276:37;6899:49:36;6967:1;6962:2;:6;;;6958:69;;;6983:15;;6970:57;;-1:-1:-1;;;6970:57:36;;-1:-1:-1;;;;;6983:15:36;;;6970:57;;;20454:51:37;7008:4:36;20521:18:37;;;20514:60;-1:-1:-1;;;;;20610:47:37;;20590:18;;;20583:75;6970:12:36;;;;;;20427:18:37;;6970:57:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6958:69;7046:1;7041:2;:6;;;7037:69;;;7062:15;;;;7049:57;;-1:-1:-1;;;7049:57:36;;-1:-1:-1;;;;;7062:15:36;;;7049:57;;;20454:51:37;7087:4:36;20521:18:37;;;20514:60;-1:-1:-1;;;;;20610:47:37;;20590:18;;;20583:75;7049:12:36;;;;;;20427:18:37;;7049:57:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7037:69;7123:54;;;-1:-1:-1;;;;;7134:20:36;;;7123:54;;;6696:25:37;7156:20:36;;;;6737:18:37;;;6730:34;7123:54:36;;;;;;;;;6669:18:37;;;;7123:54:36;;;;6301:883;-1:-1:-1;;;;;;;6301:883:36:o;13322:567:32:-;13404:1;13395:6;:10;;;13391:492;;;13421:11;13451:7;13452:6;13451:7;:::i;:::-;13474:26;;-1:-1:-1;;;13474:26:32;;-1:-1:-1;;;;;2484:32:37;;;13474:26:32;;;2466:51:37;-1:-1:-1;;;;;13435:25:32;;;;;-1:-1:-1;13474:11:32;:16;;;;;;2439:18:37;;13474:26:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;13518:22:32;;13514:245;;13562:11;-1:-1:-1;;;;;13562:18:32;;13588:3;13562:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13407:362;5539:110:36;;:::o;13514:245:32:-;13633:73;-1:-1:-1;;;;;13633:46:32;;13688:11;13702:3;13633:46;:73::i;:::-;13724:11;-1:-1:-1;;;;;13724:18:32;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;13514:245::-;13407:362;5539:110:36;;:::o;13391:492:32:-;13788:1;13779:6;:10;;;13775:108;;;13805:67;;-1:-1:-1;;;13805:67:32;;-1:-1:-1;;;;;21373:32:37;;;13805:67:32;;;21355:51:37;13840:4:32;21422:18:37;;;21415:60;-1:-1:-1;;;;;13847:24:32;;21491:18:37;;;21484:34;13805:11:32;:16;;;;21328:18:37;;13805:67:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13322:567;;:::o;15710:295::-;15785:16;15921:4;15906:12;15900:19;15893:4;15879:12;15875:23;15872:1;15864:62;15852:74;-1:-1:-1;;;;;;15949:22:32;;15945:53;;15980:18;;-1:-1:-1;;;15980:18:32;;;;;;;;;;;2343:129:31;2412:4;1005:13;2453:11;;2435:13;2443:4;1005:13;2027:19;;1947:106;2435:13;-1:-1:-1;;;;;2435:30:31;;;2343:129;-1:-1:-1;;;2343:129:31:o;1290:204:8:-;1377:37;1391:5;1398:2;1402:5;1409:4;1377:13;:37::i;:::-;1372:116;;1437:40;;-1:-1:-1;;;1437:40:8;;-1:-1:-1;;;;;2484:32:37;;1437:40:8;;;2466:51:37;2439:18;;1437:40:8;2320:203:37;10050:1828:32;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10190:29:32;10199:5;10206:4;10212:6;10190:8;:29::i;:::-;10184:35;-1:-1:-1;10704:20:32;10727:37;:21;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10727:35:32;;:37::i;:::-;10704:60;-1:-1:-1;;;;;;10774:11:32;:22;;10797:3;10802:19;;;;;;;;:::i;:::-;10774:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;10836:16:32;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10836:21:32;10856:1;10836:21;10832:53;;10866:19;;-1:-1:-1;;;10866:19:32;;;;;;;;;;;10832:53;10912:38;;-1:-1:-1;;;10912:38:32;;10944:4;10912:38;;;2466:51:37;10895:14:32;;-1:-1:-1;;;;;10912:23:32;;;;;2439:18:37;;10912:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10895:55;;10960:11;-1:-1:-1;;;;;10960:18:32;;11020:238;;;;;;;;11055:3;11020:238;;;;11091:6;:16;;;;;;;;;;:::i;:::-;11020:238;;;;;;11140:16;;;;;;;;:::i;:::-;11020:238;;;;;;11189:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11020:238:32;;;-1:-1:-1;;;;;11020:238:32;;;;;;;10992:280;;;;;;;:::i;:::-;;;;;;;;;;;;;10960:322;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10960:322:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;11317:38:32;;-1:-1:-1;;;11317:38:32;;11349:4;11317:38;;;2466:51:37;11292:13:32;;-1:-1:-1;;;;;11317:23:32;;;;;2439:18:37;;11317:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11308:47;;:6;:47;:::i;:::-;11292:63;-1:-1:-1;11365:15:32;11423:6;11405:14;;;;;;;;:::i;:::-;11384:35;;;;:18;;;;:35;:::i;:::-;11383:46;;;;:::i;:::-;11365:64;;11451:7;11443:5;:15;11439:61;;;11467:33;;-1:-1:-1;;;11467:33:32;;;;;6696:25:37;;;6737:18;;;6730:34;;;6669:18;;11467:33:32;6522:248:37;11439:61:32;11510:19;11532:37;:21;;;;;;;;:::i;:37::-;11510:59;;11597:12;11583:11;:26;11579:85;;;11618:46;;-1:-1:-1;;;11618:46:32;;;;;6696:25:37;;;6737:18;;;6730:34;;;6669:18;;11618:46:32;6522:248:37;11579:85:32;11694:38;;-1:-1:-1;;;11694:38:32;;11726:4;11694:38;;;2466:51:37;11674:17:32;;-1:-1:-1;;;;;11694:23:32;;;;;2439:18:37;;11694:38:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11674:58;-1:-1:-1;11746:13:32;;11742:129;;11761:110;11818:1;11788:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11788:32:32;;:71;;11841:18;;;;;;;;:::i;:::-;11788:71;;;11823:4;-1:-1:-1;;;;;11823:13:32;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11761:26:32;;;11861:9;11761:26;:110::i;:::-;10174:1704;;;;;;10050:1828;;;;;:::o;7276:303:36:-;7450:46;;;;;;;;7459:3;7450:46;;;;7464:9;7450:46;;;;;;7475:9;7450:46;;;;;;7486:9;-1:-1:-1;;;;;7450:46:36;;;;7424:9;:23;7434:12;-1:-1:-1;;;;;7424:23:36;-1:-1:-1;;;;;7424:23:36;;;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7424:72:36;;;;;-1:-1:-1;;;;;7424:72:36;;;;;;;;;7540:9;-1:-1:-1;;;;;7511:61:36;7526:12;-1:-1:-1;;;;;7511:61:36;;7551:9;7562;7511:61;;;;;;23347:1:37;23336:21;;;23318:40;;23394:21;;23389:2;23374:18;;23367:49;23306:2;23291:18;;23152:270;7511:61:36;;;;;;;;7276:303;;;;;:::o;14896:651:32:-;15068:32;;;15098:1;15068:32;;;;;;;;;15023:42;;15068:32;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;15068:32:32;;-1:-1:-1;;15068:32:32;;;;;;;;;;;15023:77;;15125:48;;;;;;;;-1:-1:-1;;;15125:48:32;;;;-1:-1:-1;;;15125:48:32;;;;15167:5;-1:-1:-1;;;;;15125:48:32;;;;15110:9;15120:1;15110:12;;;;;;;;:::i;:::-;;;;;;:63;;;;15198:45;;;;;;;;-1:-1:-1;;;15198:45:32;;;;-1:-1:-1;;;15198:45:32;;;;15238:4;-1:-1:-1;;;;;15198:45:32;;;;15183:9;15193:1;15183:12;;;;;;;;:::i;:::-;;;;;;:60;;;;15268:66;;;;;;;;-1:-1:-1;;;15268:66:32;;;;-1:-1:-1;;;15268:66:32;;;;15322:11;-1:-1:-1;;;;;15268:66:32;;;;15253:9;15263:1;15253:12;;;;;;;;:::i;:::-;;;;;;;;;;:81;15345:34;15382:13;;;;:6;:13;:::i;:::-;15345:50;;;:::i;:::-;;-1:-1:-1;15426:19:32;;;;:6;:19;:::i;:::-;-1:-1:-1;;;;;15405:40:32;:18;;;;:40;;;;15468:11;;;15455:24;;-1:-1:-1;;;;;15490:8:32;:15;;15405:5;15513:9;15524:15;;;;15468:6;15524:15;:::i;:::-;15490:50;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15013:534;;14896:651;;;;:::o;8340:453:36:-;-1:-1:-1;;;;;8415:21:36;;8398:14;8415:21;;;:11;:21;;;;;;;8450:11;;;8446:24;;8463:7;8340:453;:::o;8446:24::-;8479:17;8499:4;-1:-1:-1;;;;;8499:17:36;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;8528:21:36;;8552:1;8528:21;;;:11;:21;;;;;:25;8479:39;-1:-1:-1;8567:34:36;8540:8;8479:39;8594:6;8567:5;:34::i;:::-;8563:224;;;8642:8;-1:-1:-1;;;;;8622:37:36;8631:9;-1:-1:-1;;;;;8622:37:36;;8652:6;8622:37;;;;804:25:37;;792:2;777:18;;658:177;8622:37:36;;;;;;;;1290:204:8;;;:::o;8563:224:36:-;-1:-1:-1;;;;;8690:21:36;;;;;;;:11;:21;;;;;;;:30;;;8739:37;8690:21;;8739:37;;;;;;;8714:6;804:25:37;;792:2;777:18;;658:177;7585:322:36;7677:6;7687:1;7677:11;7673:24;;7585:322;;;:::o;7673:24::-;7706:13;-1:-1:-1;;;;;7722:23:36;;;:70;;7786:6;7762:4;-1:-1:-1;;;;;7762:18:36;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7753:29;;;;:6;:29;:::i;:::-;7752:40;;;;:::i;:::-;7722:70;;;7748:1;7722:70;7706:86;-1:-1:-1;7806:9:36;;7802:49;;-1:-1:-1;;;;;7817:15:36;;;;;;;:4;:15;;;;;;;;:25;;;;;;;;;;;:34;;7846:5;;7817:15;:34;;7846:5;;7817:34;:::i;:::-;;;;-1:-1:-1;;7802:49:36;7886:14;7895:5;7886:6;:14;:::i;:::-;-1:-1:-1;;;;;7861:21:36;;;;;;:11;:21;;;;;:39;;:21;;;:39;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;7585:322:36:o;7913:421::-;-1:-1:-1;;;;;8005:13:36;;;7988:14;8005:13;;;:4;:13;;;;;;;;:23;;;;;;;;;;;;;8042:11;;;8038:24;;8055:7;7913:421;;:::o;8038:24::-;-1:-1:-1;;;;;8071:13:36;;;8097:1;8071:13;;;:4;:13;;;;;;;;:23;;;;;;;;;;;:27;8112:32;8085:8;8076:7;8137:6;8112:5;:32::i;:::-;8108:220;;;8183:8;-1:-1:-1;;;;;8165:35:36;8174:7;-1:-1:-1;;;;;8165:35:36;;8193:6;8165:35;;;;804:25:37;;792:2;777:18;;658:177;8108:220:36;-1:-1:-1;;;;;8231:13:36;;;;;;;:4;:13;;;;;;;;:23;;;;;;;;;;;;;:32;;;8282:35;;804:25:37;;;8282:35:36;;777:18:37;8282:35:36;658:177:37;9022:1244:8;9249:4;9243:11;-1:-1:-1;;;9116:12:8;9267:22;;;-1:-1:-1;;;;;9315:24:8;;9309:4;9302:38;9360:4;9353:19;;;9116:12;9436:4;9116:12;9424:4;9116:12;;9408:5;9401;9396:45;9385:56;;9653:1;9646:4;9640:11;9637:18;9628:7;9624:32;9614:606;;9785:6;9775:7;9768:15;9764:28;9761:165;;;9841:16;9835:4;9830:3;9815:43;9891:16;9886:3;9879:29;9761:165;10202:1;10194:5;10182:18;10179:25;10160:16;10153:24;10149:56;10140:7;10136:70;10125:81;;9614:606;10240:4;10233:17;-1:-1:-1;9022:1244:8;;-1:-1:-1;;;;9022:1244:8:o;14171:719:32:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14358:5:32;14324:17;14392:21;;;;;;;;:::i;:::-;14374:39;;14425:18;14445;14523:6;-1:-1:-1;;;;;14479:51:32;14495:8;-1:-1:-1;;;;;14479:51:32;;:93;;14555:6;14563:8;14479:93;;;14534:8;14544:6;14479:93;14424:148;;;;14633:9;-1:-1:-1;;;;;14587:56:32;14603:9;-1:-1:-1;;;;;14587:56:32;;14583:88;;14652:19;;-1:-1:-1;;;14652:19:32;;;;;;;;;;;14583:88;14689:194;;;;;;;;-1:-1:-1;;;;;14689:194:32;;;;;;;;;;;;;;14784:10;;;;;;;;:::i;:::-;14689:194;;;;;;14821:18;;;;;;;;:::i;:::-;14689:194;;;;;;14867:4;-1:-1:-1;;;;;14689:194:32;;;;14682:201;;;;;;14171:719;;;;;:::o;4351:276:27:-;4416:7;-1:-1:-1;;;;;4439:22:27;;4435:186;;-1:-1:-1;4486:21:27;;4351:276;-1:-1:-1;4351:276:27:o;4435:186::-;4545:65;;-1:-1:-1;;;4545:65:27;;4604:4;4545:65;;;2466:51:37;-1:-1:-1;;;;;4545:50:27;;;;;2439:18:37;;4545:65:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4435:186::-;4351:276;;;:::o;9160:842:36:-;9239:7;-1:-1:-1;;;;;9262:22:36;;9258:175;;9384:1;9381;9378;9375;9367:6;9363:2;9356:5;9351:35;9345:41;;9413:9;;9258:175;9474:8;-1:-1:-1;;;;;9497:17:36;;;9442:13;9497:22;9493:40;;9528:5;9521:12;;;;;9493:40;9563:45;;-1:-1:-1;;;;;29099:32:37;;9563:45:36;;;29081:51:37;29148:18;;;29141:34;;;9543:17:36;;29054:18:37;;9563:45:36;;;-1:-1:-1;;9563:45:36;;;;;;;;;;;;;;-1:-1:-1;;;;;9563:45:36;-1:-1:-1;;;9563:45:36;;;9746:11;;9563:45;;-1:-1:-1;;;;;;;;;;9719:5:36;9712;9707:57;9701:63;;9785:16;9777:24;;9826:4;9820;9817:14;9814:109;;;9871:4;9868:1;9865;9850:26;-1:-1:-1;9907:1:36;9901:8;9814:109;9949:2;:46;;;;-1:-1:-1;9956:9:36;;;:38;;;9978:2;9970:4;:10;;:23;;;;;9984:4;9992:1;9984:9;9970:23;9942:53;9160:842;-1:-1:-1;;;;;;;;9160:842:36:o;-1:-1:-1:-;;;;;;;;:::o;14:153:37:-;-1:-1:-1;;;;;111:31:37;;101:42;;91:70;;157:1;154;147:12;172:178;262:20;;291:53;262:20;291:53;:::i;355:298::-;443:6;496:2;484:9;475:7;471:23;467:32;464:52;;;512:1;509;502:12;464:52;551:9;538:23;570:53;617:5;570:53;:::i;840:461::-;937:6;945;998:2;986:9;977:7;973:23;969:32;966:52;;;1014:1;1011;1004:12;966:52;1053:9;1040:23;1072:53;1119:5;1072:53;:::i;:::-;1144:5;-1:-1:-1;1201:2:37;1186:18;;1173:32;1214:55;1173:32;1214:55;:::i;:::-;1288:7;1278:17;;;840:461;;;;;:::o;1306:171::-;1373:20;;-1:-1:-1;;;;;1422:30:37;;1412:41;;1402:69;;1467:1;1464;1457:12;1482:347;1533:8;1543:6;1597:3;1590:4;1582:6;1578:17;1574:27;1564:55;;1615:1;1612;1605:12;1564:55;-1:-1:-1;1638:20:37;;-1:-1:-1;;;;;1670:30:37;;1667:50;;;1713:1;1710;1703:12;1667:50;1750:4;1742:6;1738:17;1726:29;;1802:3;1795:4;1786:6;1778;1774:19;1770:30;1767:39;1764:59;;;1819:1;1816;1809:12;1764:59;1482:347;;;;;:::o;1834:481::-;1912:6;1920;1928;1981:2;1969:9;1960:7;1956:23;1952:32;1949:52;;;1997:1;1994;1987:12;1949:52;2020:28;2038:9;2020:28;:::i;:::-;2010:38;;2099:2;2088:9;2084:18;2071:32;-1:-1:-1;;;;;2118:6:37;2115:30;2112:50;;;2158:1;2155;2148:12;2112:50;2197:58;2247:7;2238:6;2227:9;2223:22;2197:58;:::i;:::-;1834:481;;2274:8;;-1:-1:-1;2171:84:37;;-1:-1:-1;;;;1834:481:37:o;2528:341::-;2595:6;2603;2656:2;2644:9;2635:7;2631:23;2627:32;2624:52;;;2672:1;2669;2662:12;2624:52;2695:28;2713:9;2695:28;:::i;3287:409::-;3357:6;3365;3418:2;3406:9;3397:7;3393:23;3389:32;3386:52;;;3434:1;3431;3424:12;3386:52;3474:9;3461:23;-1:-1:-1;;;;;3499:6:37;3496:30;3493:50;;;3539:1;3536;3529:12;3493:50;3578:58;3628:7;3619:6;3608:9;3604:22;3578:58;:::i;:::-;3655:8;;3552:84;;-1:-1:-1;3287:409:37;-1:-1:-1;;;;3287:409:37:o;3842:288::-;3883:3;3921:5;3915:12;3948:6;3943:3;3936:19;4004:6;3997:4;3990:5;3986:16;3979:4;3974:3;3970:14;3964:47;4056:1;4049:4;4040:6;4035:3;4031:16;4027:27;4020:38;4119:4;4112:2;4108:7;4103:2;4095:6;4091:15;4087:29;4082:3;4078:39;4074:50;4067:57;;;3842:288;;;;:::o;4135:217::-;4282:2;4271:9;4264:21;4245:4;4302:44;4342:2;4331:9;4327:18;4319:6;4302:44;:::i;4550:523::-;4629:6;4637;4645;4698:2;4686:9;4677:7;4673:23;4669:32;4666:52;;;4714:1;4711;4704:12;4666:52;4754:9;4741:23;-1:-1:-1;;;;;4779:6:37;4776:30;4773:50;;;4819:1;4816;4809:12;4773:50;4858:58;4908:7;4899:6;4888:9;4884:22;4858:58;:::i;:::-;4935:8;;4832:84;;-1:-1:-1;5039:2:37;5024:18;;;;5011:32;;4550:523;-1:-1:-1;;;;4550:523:37:o;5305:392::-;5396:6;5449:2;5437:9;5428:7;5424:23;5420:32;5417:52;;;5465:1;5462;5455:12;5417:52;5505:9;5492:23;-1:-1:-1;;;;;5530:6:37;5527:30;5524:50;;;5570:1;5567;5560:12;5524:50;5593:22;;5649:3;5631:16;;;5627:26;5624:46;;;5666:1;5663;5656:12;6333:184;6391:6;6444:2;6432:9;6423:7;6419:23;6415:32;6412:52;;;6460:1;6457;6450:12;6412:52;6483:28;6501:9;6483:28;:::i;6775:424::-;6852:12;;-1:-1:-1;;;;;6848:38:37;;;6836:51;;6940:4;6929:16;;;6923:23;6919:49;;6903:14;;;6896:73;7022:4;7011:16;;;7005:23;7030:8;7001:38;6985:14;;;6978:62;7103:4;7092:16;;;7086:23;7083:1;7072:38;7056:14;;;7049:62;7164:4;7153:16;;;7147:23;7143:49;7127:14;;7120:73;6775:424::o;7204:511::-;7464:3;7449:19;;7477:44;7453:9;7503:6;7477:44;:::i;:::-;7569:1;7558:21;;;7552:3;7537:19;;7530:50;7617:21;;;;7611:3;7596:19;;7589:50;-1:-1:-1;;;;;7676:32:37;7670:3;7655:19;;;7648:61;;;;7204:511;;-1:-1:-1;7204:511:37:o;7925:127::-;7986:10;7981:3;7977:20;7974:1;7967:31;8017:4;8014:1;8007:15;8041:4;8038:1;8031:15;8057:253;8129:2;8123:9;8171:4;8159:17;;-1:-1:-1;;;;;8191:34:37;;8227:22;;;8188:62;8185:88;;;8253:18;;:::i;:::-;8289:2;8282:22;8057:253;:::o;8315:255::-;8387:2;8381:9;8429:6;8417:19;;-1:-1:-1;;;;;8451:34:37;;8487:22;;;8448:62;8445:88;;;8513:18;;:::i;8575:275::-;8646:2;8640:9;8711:2;8692:13;;-1:-1:-1;;8688:27:37;8676:40;;-1:-1:-1;;;;;8731:34:37;;8767:22;;;8728:62;8725:88;;;8793:18;;:::i;:::-;8829:2;8822:22;8575:275;;-1:-1:-1;8575:275:37:o;8855:161::-;8922:20;;8982:8;8971:20;;8961:31;;8951:59;;9006:1;9003;8996:12;9021:118;9108:5;9105:1;9094:20;9087:5;9084:31;9074:59;;9129:1;9126;9119:12;9144:130;9210:20;;9239:29;9210:20;9239:29;:::i;9279:188::-;9347:20;;-1:-1:-1;;;;;9396:46:37;;9386:57;;9376:85;;9457:1;9454;9447:12;9472:1397;9556:6;9600:9;9591:7;9587:23;9637:3;9633:2;9629:12;9653:2;9650:22;;;9668:1;9665;9658:12;9650:22;-1:-1:-1;9710:22:37;;:::i;:::-;9752:4;9748:2;9744:13;9741:33;;;9770:1;9767;9760:12;9741:33;9798:22;;:::i;:::-;9783:37;;9857:9;9844:23;9876:55;9923:7;9876:55;:::i;:::-;9940:24;;10016:2;10001:18;;9988:32;10029:55;9988:32;10029:55;:::i;:::-;10113:2;10100:16;;10093:33;10160:37;10193:2;10178:18;;10160:37;:::i;:::-;10155:2;10146:7;10142:16;10135:63;10250:2;10239:9;10235:18;10222:32;10263:31;10286:7;10263:31;:::i;:::-;10323:2;10310:16;;10303:33;10388:3;10373:19;;10360:33;10402:55;10360:33;10402:55;:::i;:::-;10486:3;10473:17;;10466:34;10509:22;;;10563:38;10595:4;10580:20;;10563:38;:::i;:::-;10558:2;10551:5;10547:14;10540:62;10634:37;10666:3;10655:9;10651:19;10634:37;:::i;:::-;10629:2;10622:5;10618:14;10611:61;10704:39;10738:3;10727:9;10723:19;10704:39;:::i;:::-;10699:2;10692:5;10688:14;10681:63;10777:61;10833:3;10822:9;10818:19;10777:61;:::i;:::-;10771:3;10760:15;;10753:86;10764:5;9472:1397;-1:-1:-1;;;;9472:1397:37:o;11183:610::-;11550:44;11584:9;11576:6;11550:44;:::i;:::-;10975:12;;10972:1;10961:27;;;11666:3;11651:19;;10949:40;11052:4;11041:16;;11035:23;11021:38;;11005:14;;;10998:62;11109:4;11098:16;;11092:23;11076:14;;;11069:47;11165:4;11154:16;;11148:23;11132:14;;;11125:47;11708:3;11702;11687:19;;11680:32;;;11749:1;11728:19;;;11721:30;11783:3;11768:19;;11183:610;-1:-1:-1;;11183:610:37:o;11798:409::-;11943:6;11951;12004:2;11992:9;11983:7;11979:23;11975:32;11972:52;;;12020:1;12017;12010:12;11972:52;-1:-1:-1;;12065:16:37;;12171:2;12156:18;;;12150:25;12065:16;;12150:25;;-1:-1:-1;11798:409:37:o;12212:277::-;12279:6;12332:2;12320:9;12311:7;12307:23;12303:32;12300:52;;;12348:1;12345;12338:12;12300:52;12380:9;12374:16;12433:5;12426:13;12419:21;12412:5;12409:32;12399:60;;12455:1;12452;12445:12;12768:127;12829:10;12824:3;12820:20;12817:1;12810:31;12860:4;12857:1;12850:15;12884:4;12881:1;12874:15;12900:158;12993:6;12986:14;;;12970;;;12966:35;;13013:16;;13010:42;;;13032:18;;:::i;13063:117::-;13148:6;13141:5;13137:18;13130:5;13127:29;13117:57;;13170:1;13167;13160:12;13185:245;13243:6;13296:2;13284:9;13275:7;13271:23;13267:32;13264:52;;;13312:1;13309;13302:12;13264:52;13351:9;13338:23;13370:30;13394:5;13370:30;:::i;13709:521::-;13786:4;13792:6;13852:11;13839:25;13946:2;13942:7;13931:8;13915:14;13911:29;13907:43;13887:18;13883:68;13873:96;;13965:1;13962;13955:12;13873:96;13992:33;;14044:20;;;-1:-1:-1;;;;;;14076:30:37;;14073:50;;;14119:1;14116;14109:12;14073:50;14152:4;14140:17;;-1:-1:-1;14183:14:37;14179:27;;;14169:38;;14166:58;;;14220:1;14217;14210:12;14637:230;14707:6;14760:2;14748:9;14739:7;14735:23;14731:32;14728:52;;;14776:1;14773;14766:12;14728:52;-1:-1:-1;14821:16:37;;14637:230;-1:-1:-1;14637:230:37:o;15402:168::-;15475:9;;;15506;;15523:15;;;15517:22;;15503:37;15493:71;;15544:18;;:::i;15575:217::-;15615:1;15641;15631:132;;15685:10;15680:3;15676:20;15673:1;15666:31;15720:4;15717:1;15710:15;15748:4;15745:1;15738:15;15631:132;-1:-1:-1;15777:9:37;;15575:217::o;16144:243::-;16201:6;16254:2;16242:9;16233:7;16229:23;16225:32;16222:52;;;16270:1;16267;16260:12;16222:52;16309:9;16296:23;16328:29;16351:5;16328:29;:::i;16392:186::-;16451:6;16504:2;16492:9;16483:7;16479:23;16475:32;16472:52;;;16520:1;16517;16510:12;16472:52;16543:29;16562:9;16543:29;:::i;16903:186::-;16951:4;-1:-1:-1;;;;;16976:6:37;16973:30;16970:56;;;17006:18;;:::i;:::-;-1:-1:-1;17072:2:37;17051:15;-1:-1:-1;;17047:29:37;17078:4;17043:40;;16903:186::o;17094:685::-;17173:6;17226:2;17214:9;17205:7;17201:23;17197:32;17194:52;;;17242:1;17239;17232:12;17194:52;17275:9;17269:16;-1:-1:-1;;;;;17300:6:37;17297:30;17294:50;;;17340:1;17337;17330:12;17294:50;17363:22;;17416:4;17408:13;;17404:27;-1:-1:-1;17394:55:37;;17445:1;17442;17435:12;17394:55;17478:2;17472:9;17503:52;17519:35;17547:6;17519:35;:::i;:::-;17503:52;:::i;:::-;17578:6;17571:5;17564:21;17626:7;17621:2;17612:6;17608:2;17604:15;17600:24;17597:37;17594:57;;;17647:1;17644;17637:12;17594:57;17695:6;17690:2;17686;17682:11;17677:2;17670:5;17666:14;17660:42;17747:1;17722:18;;;17742:2;17718:27;17711:38;;;;17726:5;17094:685;-1:-1:-1;;;;17094:685:37:o;18132:271::-;18315:6;18307;18302:3;18289:33;18271:3;18341:16;;18366:13;;;18341:16;18132:271;-1:-1:-1;18132:271:37:o;18854:1083::-;19240:13;;-1:-1:-1;;;;;19236:39:37;;;19218:58;;19272:1;19308:17;;19302:24;19364:35;;;19357:4;19342:20;;19335:65;19263:3;19442:19;;;19463:8;19438:34;19431:4;19416:20;;19409:64;19529:3;19525:19;;;;19522:1;19511:34;;;19504:4;19489:20;;19482:64;19579:14;;19573:21;19635:36;;;19702:4;19687:20;;19680:61;19199:4;;19750:68;;19798:19;;19790:6;10981:5;10975:12;10972:1;10961:27;10956:3;10949:40;11052:4;11045:5;11041:16;11035:23;11032:1;11021:38;11014:4;11009:3;11005:14;10998:62;11109:4;11102:5;11098:16;11092:23;11085:4;11080:3;11076:14;11069:47;11165:4;11158:5;11154:16;11148:23;11141:4;11136:3;11132:14;11125:47;;;10874:304;19750:68;19855:3;19849;19838:9;19834:19;19827:32;19876:55;19926:3;19915:9;19911:19;3791:1;3779:14;;3826:4;3817:14;;3701:136;20669:213;20704:3;20752:5;20748:2;20737:21;20786:34;20782:39;20773:7;20770:52;20767:78;;20825:18;;:::i;:::-;20865:1;20861:15;;20669:213;-1:-1:-1;;20669:213:37:o;21529:345::-;21741:3;21726:19;;21754:44;21730:9;21780:6;21754:44;:::i;:::-;-1:-1:-1;;;;;21835:32:37;;;;21855:3;21814:19;;;;21807:61;21529:345;;-1:-1:-1;21529:345:37:o;21879:247::-;21947:6;22000:2;21988:9;21979:7;21975:23;21971:32;21968:52;;;22016:1;22013;22006:12;21968:52;22048:9;22042:16;22067:29;22090:5;22067:29;:::i;22131:605::-;22273:4;22315:3;22304:9;22300:19;22292:27;;22328:51;22369:9;22360:6;22354:13;22328:51;:::i;:::-;22449:4;22437:17;;22431:24;22428:1;22417:39;;;22410:4;22395:20;;22388:69;22527:4;22515:17;;22509:24;22495:39;;22488:4;22473:20;;22466:69;22595:4;22583:17;;22577:24;-1:-1:-1;;;;;22573:65:37;22566:4;22551:20;;22544:95;22701:4;22689:17;;;22683:24;-1:-1:-1;;;;;22679:50:37;22670:6;22655:22;;;22648:82;22131:605;:::o;22741:128::-;22808:9;;;22829:11;;;22826:37;;;22843:18;;:::i;22874:273::-;22944:6;22997:2;22985:9;22976:7;22972:23;22968:32;22965:52;;;23013:1;23010;23003:12;22965:52;23045:9;23039:16;23064:53;23111:5;23064:53;:::i;23427:127::-;23488:10;23483:3;23479:20;23476:1;23469:31;23519:4;23516:1;23509:15;23543:4;23540:1;23533:15;23559:324;23651:4;23709:11;23696:25;23803:3;23799:8;23788;23772:14;23768:29;23764:44;23744:18;23740:69;23730:97;;23823:1;23820;23813:12;23730:97;23844:33;;;;;23559:324;-1:-1:-1;;23559:324:37:o;23888:487::-;23931:5;23984:3;23977:4;23969:6;23965:17;23961:27;23951:55;;24002:1;23999;23992:12;23951:55;24042:6;24029:20;24073:52;24089:35;24117:6;24089:35;:::i;24073:52::-;24150:6;24141:7;24134:23;24204:3;24197:4;24188:6;24180;24176:19;24172:30;24169:39;24166:59;;;24221:1;24218;24211:12;24166:59;24286:6;24279:4;24271:6;24267:17;24260:4;24251:7;24247:18;24234:59;24342:1;24313:20;;;24335:4;24309:31;24302:42;;;;24317:7;23888:487;-1:-1:-1;;;23888:487:37:o;24380:1163::-;24480:9;24539:6;24531:5;24515:14;24511:26;24507:39;24504:59;;;24559:1;24556;24549:12;24504:59;24587:22;;:::i;:::-;24654:19;;24682:24;;24740:33;24769:2;24758:14;;24740:33;:::i;:::-;24735:2;24726:7;24722:16;24715:59;24808:33;24837:2;24830:5;24826:14;24808:33;:::i;:::-;24803:2;24790:16;;24783:59;24911:2;24900:14;;;24887:28;24931:16;;;24924:33;25026:3;25015:15;;;25002:29;25047:17;;;25040:34;25143:3;25132:15;;;25119:29;25164:17;;;25157:34;25260:3;25249:15;;;25236:29;25281:17;;;25274:34;25355:3;25344:15;;25331:29;-1:-1:-1;;;;;25372:30:37;;25369:50;;;25415:1;25412;25405:12;25369:50;25454:53;25492:14;25483:6;25476:5;25472:18;25454:53;:::i;:::-;25448:3;25435:17;;25428:80;-1:-1:-1;25439:7:37;24380:1163;-1:-1:-1;;24380:1163:37:o;25548:545::-;25641:4;25647:6;25707:11;25694:25;25801:2;25797:7;25786:8;25770:14;25766:29;25762:43;25742:18;25738:68;25728:96;;25820:1;25817;25810:12;25728:96;25847:33;;25899:20;;;-1:-1:-1;;;;;;25931:30:37;;25928:50;;;25974:1;25971;25964:12;25928:50;26007:4;25995:17;;-1:-1:-1;26058:1:37;26054:14;;;26038;26034:35;26024:46;;26021:66;;;26083:1;26080;26073:12;26098:600;26159:3;26197:5;26191:12;26224:6;26219:3;26212:19;26256:4;26251:3;26247:14;26240:21;;26295:4;26288:5;26284:16;26318:1;26328:345;26342:6;26339:1;26336:13;26328:345;;;26401:13;;26439:9;;26427:22;;26499:4;26491:13;;;26485:20;26469:14;;;26462:44;26560:4;26552:13;;;26546:20;-1:-1:-1;;;;;26542:46:37;26526:14;;;26519:70;;;;26618:4;26609:14;;;;26646:17;;;;26585:1;26357:9;26328:345;;;-1:-1:-1;26689:3:37;;26098:600;-1:-1:-1;;;;26098:600:37:o;26703:311::-;26791:19;;;26773:3;-1:-1:-1;;;;;26822:31:37;;26819:51;;;26866:1;26863;26856:12;26819:51;26902:6;26899:1;26895:14;26954:8;26947:5;26940:4;26935:3;26931:14;26918:45;26983:18;;;;27003:4;26979:29;;26703:311;-1:-1:-1;;;26703:311:37:o;27019:1310::-;27414:2;27403:9;27396:21;27459:6;27453:13;27448:2;27437:9;27433:18;27426:41;-1:-1:-1;;;;;27526:4:37;27518:6;27514:17;27508:24;27504:49;27498:3;27487:9;27483:19;27476:78;-1:-1:-1;;;;;27613:4:37;27605:6;27601:17;27595:24;27591:49;27585:3;27574:9;27570:19;27563:78;27696:2;27688:6;27684:15;27678:22;27672:3;27661:9;27657:19;27650:51;27756:3;27748:6;27744:16;27738:23;27732:3;27721:9;27717:19;27710:52;27820:3;27812:6;27808:16;27802:23;27793:6;27782:9;27778:22;27771:55;27881:3;27873:6;27869:16;27863:23;27857:3;27846:9;27842:19;27835:52;27377:4;27934:3;27926:6;27922:16;27916:23;27976:6;27970:3;27959:9;27955:19;27948:35;28003:51;28049:3;28038:9;28034:19;28020:12;28003:51;:::i;:::-;27992:62;;28101:9;28096:3;28092:19;28085:4;28074:9;28070:20;28063:49;28135;28180:3;28172:6;28135:49;:::i;:::-;28121:63;;28234:9;28226:6;28222:22;28215:4;28204:9;28200:20;28193:52;28262:61;28316:6;28308;28300;28262:61;:::i;:::-;28254:69;27019:1310;-1:-1:-1;;;;;;;27019:1310:37:o;28334:249::-;28403:6;28456:2;28444:9;28435:7;28431:23;28427:32;28424:52;;;28472:1;28469;28462:12;28424:52;28504:9;28498:16;28523:30;28547:5;28523:30;:::i;28588:125::-;28653:9;;;28674:10;;;28671:36;;;28687:18;;:::i;28718:184::-;28776:6;28829:2;28817:9;28808:7;28804:23;28800:32;28797:52;;;28845:1;28842;28835:12;28797:52;28868:28;28886:9;28868:28;:::i","linkReferences":{},"immutableReferences":{"4269":[{"start":877,"length":32},{"start":1604,"length":32},{"start":1802,"length":32},{"start":3939,"length":32},{"start":4527,"length":32},{"start":5181,"length":32},{"start":5286,"length":32},{"start":5436,"length":32},{"start":5475,"length":32},{"start":5670,"length":32},{"start":6002,"length":32},{"start":6318,"length":32}],"4272":[{"start":505,"length":32},{"start":2086,"length":32},{"start":8128,"length":32}],"4275":[{"start":826,"length":32},{"start":2014,"length":32}],"6363":[{"start":671,"length":32},{"start":3114,"length":32},{"start":7053,"length":32},{"start":8304,"length":32},{"start":8669,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"claimFees(uint64)","signatureHash4":"0xe0d0eac4","signatureHash32":"0xe0d0eac486a79477d02613226ee7965ded188a993ebbcea4ff8d87e9f0afb1d3"},{"signature":"deployer()","signatureHash4":"0xd5f39488","signatureHash32":"0xd5f39488f54e32975711ebf8f895091063a3a4953e442c37b83f4e804a13ef4e"},{"signature":"distributorCreationCodeHash()","signatureHash4":"0x672e608e","signatureHash32":"0x672e608ee3fe5901a19b8fd6328294560602d05820a92f3ff994e478ea6ad12d"},{"signature":"fees()","signatureHash4":"0x9af1d35a","signatureHash32":"0x9af1d35a83dfe45c88e25ac58b1911556cbeb7feb034255de36ec9e1916ddcfc"},{"signature":"launch((uint64,bytes32,bytes,bytes,bytes32,uint160,uint256,uint16,address,bytes32,uint64,uint64,address,uint24,int24,uint160,int24,int24,uint128,(bytes32,uint64,uint64,bytes32,bytes32,bytes32,bytes32,string),uint256[],address))","signatureHash4":"0xa7dd6d57","signatureHash32":"0xa7dd6d576682df3dd02b2e4dbdfb7eb0339489a344f5488aa478057bdc6224f5"},{"signature":"networkOwed(address)","signatureHash4":"0x21d4859c","signatureHash32":"0x21d4859c9be4dede427a2a0a610d03fb1845263299190253d8e3f6337356a7d4"},{"signature":"owed(address,address)","signatureHash4":"0x28079e4a","signatureHash32":"0x28079e4aaa49f3cb3741ffb99a535b9b9efd45a12645ba2eded0a54521e8510f"},{"signature":"poolManager()","signatureHash4":"0xdc4c90d3","signatureHash32":"0xdc4c90d3c2342c5afe26871a21a4ecf482fcb45ae1ac8294d1dcff7a134352c0"},{"signature":"positionOf(uint64)","signatureHash4":"0xfb2c8e23","signatureHash32":"0xfb2c8e23956509cb7dc47c0fe5e2d0e8431b96555bc2666d806de380f6fe101d"},{"signature":"predictHook(bytes,bytes32)","signatureHash4":"0x94e81bd1","signatureHash32":"0x94e81bd1e4c50f6d3215a784722e6ed907d4efdc0f80fe86225f520abb21edba"},{"signature":"predictToken(uint64,bytes)","signatureHash4":"0x31316a9a","signatureHash32":"0x31316a9a6360f1c8c1691c49bf3435987e366dba3e8cbf7cd6696c32fa50ba46"},{"signature":"registry()","signatureHash4":"0x7b103999","signatureHash32":"0x7b103999fc1cd0facbe4493f8316b30e59919b2d762e40147ced34e95799db04"},{"signature":"setRequester(uint64,address)","signatureHash4":"0x4a5706c7","signatureHash32":"0x4a5706c76728766723c87f554d010980d4500f5857969b5eae12088a7894e75b"},{"signature":"SWARM_BPS()","signatureHash4":"0x94c89b63","signatureHash32":"0x94c89b63b62f51dae3b54618c94382ce71bfdc44f48331dd0fffbd9aacb5e6ca"},{"signature":"unlockCallback(bytes)","signatureHash4":"0x91dd7346","signatureHash32":"0x91dd7346410d7d3e1561ab65859d8ebbee84f666c7eb10ddc6d9424bc35ec2ee"},{"signature":"withdraw(address,address)","signatureHash4":"0xf940e385","signatureHash32":"0xf940e3851549e5c2062f065152e2151c57f5902a4d0de0f053e7f80205e4aabf"},{"signature":"withdrawNetwork(address)","signatureHash4":"0xc9c62b16","signatureHash32":"0xc9c62b16bbee50e19404ea7948e996f64bd9c181c36b9b568dc647385756be4c"}],"event":[{"signature":"FeesClaimed(uint64,address,uint256,uint256)","signatureHash4":"0x92bb3dfe","signatureHash32":"0x92bb3dfe17df5319974aaca1e77895145ae67327ab5b3c58d40227a1d3966939"},{"signature":"FeesOwed(address,address,uint256)","signatureHash4":"0xd49499d4","signatureHash32":"0xd49499d4a614e879a04d4ce2a61a4fa995cd8ab77cc37acaeb7e633df8376758"},{"signature":"FeesPaid(address,address,uint256)","signatureHash4":"0x212133fc","signatureHash32":"0x212133fc9a2f9e7b8a0f823506161dee64a13efd4cd79271db78553883268ab5"},{"signature":"Launched(uint64,address,address,address,uint128)","signatureHash4":"0x81a480ee","signatureHash32":"0x81a480ee97308470997e0b8b5cbc5ed561408e4757971c1366ce3d55a28185a4"},{"signature":"PositionOpened(uint64,address,int24,int24)","signatureHash4":"0x50f1df6f","signatureHash32":"0x50f1df6f0052fbf210dbff91af22e7ba24529f00715272c284a47ec01a66cf51"},{"signature":"RequesterChanged(uint64,address,address)","signatureHash4":"0xd3eef478","signatureHash32":"0xd3eef478d5438996df22be12ca9da7dc78f9923be48b8ae431e8cde17b55f178"}],"error":[{"signature":"AlreadyLaunched(uint64)","signatureHash4":"0x400f4236","signatureHash32":"0x400f423602f58c23e3f4c6c8f41fc56e4e75eb9b911cf0cbed3815cc4d304f5e"},{"signature":"ClaimInProgress()","signatureHash4":"0x18012d4d","signatureHash32":"0x18012d4d0199616c84a9f4800f238fe20816611858c6bb4cc6755f6b57657df7"},{"signature":"CurrencyNotSorted()","signatureHash4":"0x150d08ff","signatureHash32":"0x150d08ffe48d9977cb9e788f9f4803bc75e940d350a81c8c7b2aeb8c1e866d90"},{"signature":"DeploymentFailed()","signatureHash4":"0x30116425","signatureHash32":"0x3011642595b52db2c854a6ba7204cc406419c7d6c628eeb9fe80adcc365544e4"},{"signature":"HookAddressMismatch(address,uint160,uint160)","signatureHash4":"0xd8ff75f4","signatureHash32":"0xd8ff75f4a3da5c85f4226b9f64c85e8a026f67ac52ce6b423ee25c61a06b1789"},{"signature":"HookTookFees(int128,int128)","signatureHash4":"0x5542327b","signatureHash32":"0x5542327b529517896a44af12fe18b2a6049c5839d89f841423e75a54907e88d9"},{"signature":"InitializationCallbackRequired()","signatureHash4":"0xf113feca","signatureHash32":"0xf113feca0df82732ea112ae9486cf1fafd57ad8d3ec6c2e824b3bf2c1677526f"},{"signature":"InvalidPoolShare(uint16)","signatureHash4":"0xb3e462e4","signatureHash32":"0xb3e462e4f175315298563754833f2cdd46c60691f2d78a0c9b8d4a2cc5b43e4b"},{"signature":"NoLiquiditySeeded()","signatureHash4":"0x2a675955","signatureHash32":"0x2a67595540b6e06e3d8c86e2aa42c484aaa2a49ecfc71dd2cf2fefe4b45b2cab"},{"signature":"NoPosition(uint64)","signatureHash4":"0x11557952","signatureHash32":"0x1155795243ae945b1b0c78b59ed2c9bfb810cae81f5e8d29d593d406362940d3"},{"signature":"NotDeployer()","signatureHash4":"0x8b906c97","signatureHash32":"0x8b906c9700ab2b52dbac68ba97746b76f841c655b82cbeaeb4a267404c6dd944"},{"signature":"NotPoolManager()","signatureHash4":"0xae18210a","signatureHash32":"0xae18210ab62e9620e84799499bafdb3202a30943ba8cb533c4bac9cdc8ced60b"},{"signature":"NotRequester(uint64)","signatureHash4":"0x4e8b9bd4","signatureHash32":"0x4e8b9bd40bc0a2188ef26865429725345cc5cd7c5cba5955c5ccb2e63eb8a5a9"},{"signature":"PairedCurrencySpent(uint256,uint256)","signatureHash4":"0x653788c6","signatureHash32":"0x653788c67fab589feb8710e8712cef9def68487efff2835f5c737ba93fb0a499"},{"signature":"PoolShareExceeded(uint256,uint256)","signatureHash4":"0x8d4cbe93","signatureHash32":"0x8d4cbe937ea55513eccbe1267af72abfa7500032ffd13bf0166ba34c37f482aa"},{"signature":"RemainderRecipientMissing()","signatureHash4":"0x5e909176","signatureHash32":"0x5e90917638db449b68ca7d84c6b1faa965ef947656dc13f316219b61425b8823"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"SupplyMismatch(uint256,uint256)","signatureHash4":"0xf076f48f","signatureHash32":"0xf076f48fc3efdb4deb93393c6f562f8f532a32c54a00fb42fb955bf9ed0357ac"},{"signature":"UnexpectedClaim()","signatureHash4":"0x023e799d","signatureHash32":"0x023e799d7c4f9e4d3c0256d0362d305c2673526ee8ae44d77347d9d7a7f86c9a"},{"signature":"ZeroRequester()","signatureHash4":"0x2df3ac6c","signatureHash32":"0x2df3ac6c527881947baf9692d3964a266d68cd5dc13c58fcc0864b1767809b89"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0x12C63b581d07093F6126bc02263c58f7EadaA96F"}